Hey I know this is a old post and we're in ver.1.2.0 now but just a quick few questions about this if someone would kindly reply. Using the earlier example of Brave Sword posted, the old version say it looks like this:
[Inf.-Convoy/Inventory-Slot-1-Brave Sword]
04000000 019D7700 24040013
24 <------This is the Actual Amount of the item
04 <------These are the Durability Amount
0013 <----- This is the Desired-Value(s) to Change/Mod* the item you want to in convoy-(this example is Brave Sword)..
I'm assuming
019D7700 is Slot [#1] in the Convoy/Inventory and
04000000 is whatever; in my case the HEAP (address size 32 bit assuming that is what we're using here) came back as 041F0000 but what got me confused is how does
24040013 determine that Slot 1 will be a Brave Sword if
24 is the item amount,
04 is just durability, and
0013 is the inventory amount? I also don't see anywhere that it states to dictate that swords go under the sword category in Convoy/Inventory so if I have Killer Lance and Brave Sword, what part of the code tell each respective weapon to appear in Slot 1 in their weapons category in the Convoy/Inventory?
I'm asking because I want to ultimately write a more updated version to include Arrow of Indra, the only magic lance in the game obtainable through 1 of 2 routes towards mid/end game

Thanks in advance for anyone who can point me in the right direction.