Thank You
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
There are still quirks when playing campaign and trying to figure it out.Tanagord wrote: ↑Sun Apr 26, 2020 1:53 pmYou are truly a hero, I lost hope that any kind of cheat table will be made for this gem of game.
Two things though, infinite resources works kinda wonky and I think that it also affects AI, also god mode doesn't work for walls and palisades. Once again I appreciate the work.
Code: Select all
define(gm3bytes, 8B 8D 24 FC FF FF)
[ENABLE]
aobscan(injGodMode3,8B 8D 24 FC FF FF 8B 09 89 8D 20 FC FF FF 8B)
alloc(gm3newmem,$1000)
label(gm3code)
label(gm3return)
registersymbol(injGodMode3)
gm3newmem:
mov ecx,[ebp-000003DC]
cmp dword ptr [ecx-08], 0
jne gm3code
mov dword ptr [ecx], #62000
gm3code:
jmp gm3return
injGodMode3:
jmp gm3newmem
nop
gm3return:
[DISABLE]
injGodMode3:
db gm3bytes
unregistersymbol(injGodMode3)
dealloc(gm3newmem)
One question, is it possible to manually find resource adresses, if yes, then how?kantoboy69 wrote: ↑Sun Apr 26, 2020 9:53 pmThere are still quirks when playing campaign and trying to figure it out.Tanagord wrote: ↑Sun Apr 26, 2020 1:53 pmYou are truly a hero, I lost hope that any kind of cheat table will be made for this gem of game.
Two things though, infinite resources works kinda wonky and I think that it also affects AI, also god mode doesn't work for walls and palisades. Once again I appreciate the work.
As for resources, I'm sure it doesn't update cpu players.
As for population it may affect cpu since there's no checking for it.
Although I have played with a breakpoint on the code but it didn't break except if I'm putting house or townhall.
Also the population script is being delegated somehow and spawn another function similar that's why sometimes it ain't working.
My alternate solution is create another script for it.
Try this for walls and gates. I'll just merge/add it later.Code: Select all
define(gm3bytes, 8B 8D 24 FC FF FF) [ENABLE] aobscan(injGodMode3,8B 8D 24 FC FF FF 8B 09 89 8D 20 FC FF FF 8B) alloc(gm3newmem,$1000) label(gm3code) label(gm3return) registersymbol(injGodMode3) gm3newmem: mov ecx,[ebp-000003DC] cmp dword ptr [ecx-08], 0 jne gm3code mov dword ptr [ecx], #62000 gm3code: jmp gm3return injGodMode3: jmp gm3newmem nop gm3return: [DISABLE] injGodMode3: db gm3bytes unregistersymbol(injGodMode3) dealloc(gm3newmem)
The value is negative
Users browsing this forum: Bing [Bot], Google [Bot], jonaaa, lazypotato, Myth666, soulhunter177, ZenichiiZenco