Page 1 of 1

Help in editing Tables

Posted: Sat May 16, 2020 9:34 am
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...

Re: Help in editing Tables

Posted: Sat May 16, 2020 1:38 pm
by TimFun13
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)

Re: Help in editing Tables

Posted: Sat May 16, 2020 6:45 pm
by uciu
Thank you very much !!!

Re: Help in editing Tables

Posted: Sun Jun 13, 2021 4:15 pm
by Luciu
Pls update the table, Version is 2.0.26100

Re: Help in editing Tables

Posted: Sun Jun 13, 2021 4:33 pm
by Luciu
hello, Is there a guide on how to update the table yourself? to run on the new version.

Sorry my English.

Re: Help in editing Tables

Posted: Sun Jun 13, 2021 4:39 pm
by ShyTwig16
Luciu wrote:
Sun Jun 13, 2021 4:15 pm
Pls update the table, Version is 2.0.26100
There is no table posted here. So there's no table to update. You might be better off asking where ever the table is posted.
Luciu wrote:
Sun Jun 13, 2021 4:33 pm
hello, Is there a guide on how to update the table yourself? to run on the new version.

Sorry my English.
Most likely no, but there are countless tutorials on how to make and update tables in general. Just try google, and there is some stuff in the tutorials section of the forum.

Re: Help in editing Tables

Posted: Thu Jun 17, 2021 7:57 pm
by Luciu
viewtopic.php?t=207 this table is not up to date

Re: Help in editing Tables

Posted: Mon Jun 21, 2021 10:47 pm
by ShyTwig16
Luciu wrote:
Thu Jun 17, 2021 7:57 pm
viewtopic.php?t=207 this table is not up to date
It was posted 4 years ago, so you're likely on your own with this one.

Re: Help in editing Tables

Posted: Tue Jun 22, 2021 10:15 pm
by Luciu
I understand. Thanks for trying to help.