SoAnIs wrote: ↑Sun Apr 28, 2024 11:41 pm
It's a different issue. The FindNamedComponentByRTTIClass hook isn't working, as I reported. I don't have time to fix it, nor does SunBeam AFAICT. Look at lines 463-480 of the Initialize code, the offsets or byte arrays it's scanning for are wrong. Need to find the correct offsets.
That wasn't the issue. It's true that function would not stop looping, but that's because the array table pointer it's supposed to search in is wrong. If you
printf it, you'll get
0000000600000006 and that's not a pointer
And that's due to this:
Code: Select all
local InventoryWeapon = readPointer( PlayerWeaponController + 0xB0 )
In the latest build it changed to 0xC8.
Because of that, I added an extra scan that finds that offset dynamically and stores it so I can use it like this:
Code: Select all
local WieldableOrDroppableItemOffset = readInteger( getAddressSafe( "WieldableOrDroppableItemOffset" ) )
-- changed from 0xB0 to 0xC8
local InventoryWeapon = readPointer( PlayerWeaponController + WieldableOrDroppableItemOffset )
Will post the updated table in a bit.
EDIT:
Update #5 is live. There are some cosmetic adjustments, added some more messages to some of the scripts, Arena timer can now be frozen, as well as finally implemented the "Undetected By AIFaction (AIFaction = "Neutral")" script. And yeah, simplified a bit the dumper scripts, file is now in your %HOMEPATH% folder (which will open automatically when dumping is done).