I see, thanks =p
anybody knows how the iventory struct is saved in the dat file?
Printable View
I see, thanks =p
anybody knows how the iventory struct is saved in the dat file?
I know it's very close to how an .itm file is saved. Altering it tends to "invalidate" and I never managed to get the item validator program to work properly. (I could do with someone who has writing a guide)
It stores X and Y co-ordinates within the inventory, and I did manage to put more in my inventory by having each item only a couple of pixels away from each other... but it introduces many bugs, and my character ended up with inventory I could not pick up and move. :(:
I'd like to know how to read all the items I have in my dat char. but not using anything like a string.contains(item name) method, you know?
I am making the game formulas inside my emulator and some of them require the additional which is given by the item :huh:
Dunno if it helps but in the very first line where the item table on the dat beings, the second integer value I guess its the item count you have in your character. dunno if it helps to unveil the mistery of the item table! lol
Here is .war file example:
http://forum.ragezone.com/f286/war-s...3/#post5724387
Good start but its not completed. Items are complicated, usually when I change one thing whole item disappear :/ So there must be many checks in server that are not allowing for spawning bugged/edited items. Probably I have to update checksums every time I change something.
One items have huge structure.
you could generate a valid new checksum... telatoro's emulator has this function, but I dunno how to use.
I think I'll have to save this table as it is then.. I'd like to use my own format to save the character info..