Code: Select all
.../rom/classes/memorytable.lua:7: bad argument
#2 to 'memoryReadIntPtr' (number expected, got nil)
What did they change this time?
Code: Select all
.../rom/classes/memorytable.lua:7: bad argument
#2 to 'memoryReadIntPtr' (number expected, got nil)
Code: Select all
.../rom/classes/memorytable.lua:7: bad argument
#2 to 'memoryReadIntPtr' (number expected, got nil)
Both are correct, so the first one is mine and the second one yoursBillDoorNZ wrote:lol...surely you can just try both???
but:
tablesBase = 0x9FF4C8,
is the right one
Code: Select all
local tablePointer;
local startAddressOffsets;
local dataPointer;
for i=0,(4*100),4 do
tablePointer = memoryReadIntPtr( getProc(), addresses.tablesBase+(i), addresses.tablesBaseOffset )
if ((tablePointer) and ((tablePointer or 0) > 10000)) then
printf("-"..i..": "..tablePointer.."\n");
startAddressOffsets = {0,addresses.tableStartPtrOffset, addresses.tableDataStartPtrOffset}
dataPointer = memoryReadIntPtr( getProc(), tablePointer , startAddressOffsets );
if (dataPointer) then
printf("-"..i..": "..tablePointer.." - "..dataPointer.."\n");
dataPointer = dataPointer - lineSize;
break;
end;
end;
end;
Confirmed. Works nicely. Thank you.BillDoorNZ wrote: tablesBase = 0x9FF4C8,
is the right one
Admin would have just added in the tablebase address, so people would still need to do a rom/update to update the rest of the addresses.SpiralV wrote:Hmmm,
the SVN addresses.lua is not OK, looks like there is no auto-update has been made.
I'll post mine, changes to previous version:
- run update.lua
-tablesBase = 0x9FF4C4, (got a problem with 0x9FF4C8 on a different PC)
-partyMemberList_address = 0x9FE238,
Code: Select all
rom/bot path:commandline
Code: Select all
testaddresses()
Code: Select all
Command> testaddresses()
staticbase_char: Confirmed
staticInventory: Confirmed
moneyPtr: Confirmed
eggPetBaseAddress: No pet to test with
zoneId: Confirmed
partyMemberList_address: Unconfirmed as not in a party
Swimhack ACTIVATED!
Am I flying??
>>yes
swimAddress: Confirmed
Swimhack DEactivated.
Command>
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest