Help in editing Tables

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
uciu
Noobzor
Noobzor
Posts: 6
Joined: Tue Jan 28, 2020 12:15 pm
Reputation: 2

Help in editing Tables

Post by uciu »

Help in editing Tabes

[ENABLE]
aobscanmodule(fleet,BattleFleetGothic-Win64-Shipping.exe,44 8B B9 ?? ?? ?? ?? 33 F6 39)
alloc(fleet_bkp,7)

fleet_bkp:
readmem(fleet,7)

fleet:
db 4D 31 FF 49 FF C7 90 (??????????)
registersymbol(fleet)
registersymbol(fleet_bkp)

[DISABLE]
fleet:
readmem(fleet_bkp,7)
unregistersymbol(fleet)
unregistersymbol(fleet_bkp)
dealloc(fleet_bkp)

Is it possibile to change the cost of ships 1 point to 20 point?
Sorry for my English I use a translator...

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1480
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 736

Re: Help in editing Tables

Post by TheyCallMeTim13 »

This just modifies the existing bytes to:

Code: Select all

xor r15,r15
inc r15
nop
To be able to set the value you'll need to setup a code redirect, because it'll be more than the 7 bytes. Something like this:

Code: Select all

[ENABLE]
aobscanmodule(fleet,BattleFleetGothic-Win64-Shipping.exe,44 8B B9 ?? ?? ?? ?? 33 F6 39)
alloc(fleet_bkp,7)
registersymbol(fleet_bkp)

fleet_bkp:
readmem(fleet,7)

alloc(newmem, 0x400, fleet)

label(n_code)
label(exit)
label(return)

newmem:
	n_code:
		mov r15,(int)20
	exit:
		jmp return


////
//// ---------- Injection Point ----------
fleet:
	jmp n_code
	nop
	nop
	return:

////
//// ------------------------------ DISABLE ------------------------------
[DISABLE]
fleet:
readmem(fleet_bkp,7)
unregistersymbol(fleet)
unregistersymbol(fleet_bkp)
dealloc(fleet_bkp)
dealloc(newmem)

uciu
Noobzor
Noobzor
Posts: 6
Joined: Tue Jan 28, 2020 12:15 pm
Reputation: 2

Re: Help in editing Tables

Post by uciu »

Thank you very much !!!

Post Reply

Who is online

Users browsing this forum: No registered users