Posted: Sun May 14, 2017 8:29 am Post subject: address size issue
I seem to be having a problem with addresses that have more than 8 digits long.
When I subtract or add and address that has more than 8 digits, the new result only shows the last 8 digits and not the rest of the digits that are in front of it. Example:
These are for stats for a backpack in the game Wayward
original set of addresses are:
25575C920F4 No desc 4 bytes 946
25575C920FC item type 4 bytes 126
25575C92104 No desc 4 bytes 653
25575C9210C MAX durability 4 bytes 55555
25575C92118 Weight double 0.1
25575C92124 item quality 4 bytes 4
25575C9212C MAX wt capcity 4 bytes 88888
25575C92138 Current durability 4 bytes 55555
So I find another bag with the Current durability with the address of:
So I find the difference of the two addresses:
So I copy the whole set of address under the header bag1.
then selected all the address of the entries above and do
right lick -> change entry -> smart edit address
then fill out the "adjust address by" field with:
Here's the results:
F05F660C No desc 4 bytes ??
F05F6614 item type 4 bytes ??
F05F661C No desc 4 bytes ??
F05F6624 MAX durability 4 bytes ??
F05F6630 Weight double ??
F05F663C item quality 4 bytes ??
F05F6644 MAX wt capcity 4 bytes ??
F05F6650 Current durability 4 bytes ??
As you can see, the the resulting addresses are all missing the first 3 hex digits. The Current durability address should be 27AF05F6650 not just F05F6650.
I had to go through each address and manual add "27A" in front of the address to make the correction.
This is what the table should look like after smart edit address is executed:
27AF05F660C No desc 4 bytes ??
27AF05F6614 item type 4 bytes ??
27AF05F661C No desc 4 bytes ??
27AF05F6624 MAX durability 4 bytes ??
27AF05F6630 Weight double ??
27AF05F663C item quality 4 bytes ??
27AF05F6644 MAX wt capcity 4 bytes ??
27AF05F6650 Current durability 4 bytes ??
I'm not sure if this issue is a bug or something in my settings. But this problems seems to be repeatable and constant for editing groups of address more than 8 digits longs. This problem shows up with 9 to 12 digit address adjusting.
What I find better is to create the base address (25575C920F4) as a parent record.
Then, drag and drop a memory record on top of that address to make it a child.
Now give the child an address of "+8" and it will now point to the Item Type location.
Now when you find a new item's address, you need only change the parent address.
All of the children set with "+x" offsets will automatically update.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum