Page 1 of 1

Game address in code injection keeps changing

Posted: Mon Nov 06, 2017 2:53 pm
by Fenekie
Hello there again,
sooo... I came here with another issue... O.o
I'm trying to make another simple code which will "freeze" battery drain for any device/tool in Subnautica.
The problem is, that the game address keeps changing and I dunno what to do about it... >.<

Code: Select all

define(address,2415E868)
define(bytes,E9 93 17 EA DB)

[ENABLE]

assert(address,bytes)
alloc(newmem,E868)

label(code)
label(return)

newmem:

code:
  // movss [rsi+1C],xmm5
  jmp return

address:
  jmp newmem
return:

[DISABLE]

address:
  db bytes
  // movss [rsi+1C],xmm5

dealloc(newmem)
Any idea how to solve it? ^.^

Re: Game address in code injection keeps changing

Posted: Mon Nov 06, 2017 5:12 pm
by Bloodybone
Fenekie wrote:
Mon Nov 06, 2017 2:53 pm
Hello there again,
sooo... I came here with another issue... O.o
I'm trying to make another simple code which will "freeze" battery drain for any device/tool in Subnautica.
The problem is, that the game address keeps changing and I dunno what to do about it... >.<

Code: Select all

define(address,2415E868)
define(bytes,E9 93 17 EA DB)

[ENABLE]

assert(address,bytes)
alloc(newmem,E868)

label(code)
label(return)

newmem:

code:
  // movss [rsi+1C],xmm5
  jmp return

address:
  jmp newmem
return:

[DISABLE]

address:
  db bytes
  // movss [rsi+1C],xmm5

dealloc(newmem)
Any idea how to solve it? ^.^
Use aob injection instead

Re: Game address in code injection keeps changing

Posted: Mon Nov 06, 2017 7:05 pm
by Squall8
Activate mono features. You can do this through the main UI or with a parent script using the lua call LaunchMonoDataCollector(). Also make sure Show Symbols is checked under View. I think it's checked by default anyways.

Now you can use whatever appears in the address list as a valid address for every restart.