| You can get free backpack slots easily because the GUIDs of the items are stored in your character descriptors, if the GUID of item X is 0 then that space is free. For each bag you can call the function at 58CCE0h passing a pointer to the bag object in ecx to get the number of free slots. You could also rewrite it, it's pretty easy as far as reversing goes. |