@VampTY
Heya, mersi pt GOG version codes. Just wanted to add when using the "throwables" section of the cheat table, when doing an upgrade at the ship, all material resources get bumped to 9999 right after upgrade. So this is telling us the registers are shared, to fix this we would need to do a special scan and alter the code to only apply to throwables. Other than that is all good.
A simpler bypass would be to turn off cheats when doing upgrades in the ship. I also changed the #9999 to #2500 just so when it happens it will not bump all my resources to 9999. When it first happend I searched for 9999 and changed them back to what I thought I had.
Oricum merci mult am invatat mult analizind codul tau simplificat. I still was unable to find the value for the light timer 60sec countdown until the light flower expires. If you can find it or have an idea what to search for let me know. Its for learning more than the need for the flashlight etc.
An nou fericit!
Here is a script to decrease the death count so it decreases when dying:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"Towers-Win64-Shipping.exe"+7CD82D)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
dec [rax+24]
lea rdx,[rsp+30]
exit:
jmp returnhere
"Towers-Win64-Shipping.exe"+7CD82D:
jmp newmem
nop 3
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Towers-Win64-Shipping.exe"+7CD82D:
inc [rax+24]
lea rdx,[rsp+30]
//Alt: db FF 40 24 48 8D 54 24 30
And here is a script to pause game-play timer:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"Towers-Win64-Shipping.exe"+7CE7B5)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
nop
nop
nop
nop
nop
exit:
jmp returnhere
"Towers-Win64-Shipping.exe"+7CE7B5:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Towers-Win64-Shipping.exe"+7CE7B5:
movss [rax+24],xmm0
//Alt: db F3 0F 11 40 24