Wombleinc How do I cheat?
Reputation: 0
Joined: 03 Dec 2019 Posts: 8
|
Posted: Tue Jan 07, 2020 8:15 pm Post subject: How do I get into Fixing older tables? |
|
|
For anyone willing to help out, I can talk through discord if needed.
I am trying to find out if fixing older tables is as simple as finding new pointers for the old script or does the code need to be completely changed?
I was planning on trying to fix the Stardew Valley table but I can't seem to understand some of the script structure in auto assembly.
I am a noob although I do know little bits and pieces.
For example the first script on the table which is farmer pointer is now pointing to the wrong address. I was able to find the new address from Enumerate DLL.
The new address is below, I used similar code to what you had in the original script which I pasted below mine.
___________________________________________________________________________________________
aobscan(staminaInject,8B 89 30 02 00 00 BA 90 FC D7 05 E8 C // should be unique
alloc(newmem,$1000)
label(code)
label(return)
label(player_ptr)
newmem:
mov [player_ptr], ecx
code:
mov ecx,[ecx+00000230]
jmp return
player_ptr:
dd 0
staminaInject:
jmp newmem
nop
return:
registersymbol(staminaInject)
registersymbol(player_ptr)
[DISABLE]
staminaInject:
db 8B 89 30 02 00 00
unregistersymbol(staminaInject)
unregistersymbol(player_ptr)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 190570D8
// ---------- INJECTING HERE ----------
190570D8: 8B 89 30 02 00 00 - mov ecx,[ecx+00000230]
// ---------- DONE INJECTING ----------
190570DE: BA 90 FC D7 05 - mov edx,05D7FC90
190570E3: E8 C8 2B 3B F2 - call 0B409CB0
190570E8: C3 - ret
190570E9: 00 00 - add [eax],al
}
What this is doing when I enable it is changing my,
StardewValley.Farmer::get_Stamina - 8B 89 30020000
to
jmp 00A80000
which confuses me.
Your table is below
_________________________________________________________________________________________________
aobscan(staminaInject,8B 89 F4 01 00 00 BA * * * * E8 * * * * C3) // Not unique at all
alloc(newmem,$1000)
label(code)
label(return)
label(player_ptr)
newmem:
mov [player_ptr], ecx
code:
mov ecx,[ecx+000001F4]
jmp return
player_ptr:
dd 0
staminaInject:
jmp newmem
nop
return:
registersymbol(staminaInject)
registersymbol(player_ptr)
[DISABLE]
staminaInject:
db 8B 89 F4 01 00 00
unregistersymbol(staminaInject)
unregistersymbol(player_ptr)
dealloc(newmem)
//StardewValley.Farmer::get_Stamina - 8B 89 F4010000 - mov ecx,[ecx+000001F4]
//StardewValley.Farmer::get_Stamina+6- BA D879A505 - mov edx,05A579D8 { [01000210] }
//StardewValley.Farmer::get_Stamina+B- E8 D02775F4 - call 08F211E8
//StardewValley.Farmer::get_Stamina+10- C3 - ret
//StardewValley.Farmer::get_Stamina+11- 00 00 - add [eax],al
|
|