Hello every one , im trying to make a valheim cheat using visual basic . i have a cheat table with pointer and more but the problem is that in cheat engine is using [_localPlayer] as a pointer to localplayer because the adress changes all the time and i was wondering how can i use _localPlayer + 511 lets say in visual basic or read the value of the [_localPlayer] and then add it to the code like WriteMemory(Of Single)(&H28EF249C560 + 511 , 75). When i use WriteMemory(Of Single)(&H28EF249C560, 75) its all okay but after the restart the _localplayer changes and the adress is useless . there is this info there LocalPlayer (20124AC1800 is the base offset) but if i try to put the adress of base offset + 511 it wont work even in cheat engine .
thanks in advance .