Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to save inventory?
#1
Well, I finished my visual inventory and, when I move things around (click and drag), the image updates, also, I set the players inventory to the new spaces, but when I exit/reopen the game, it doesn't save the spaces. Is their an existing packet I can't find, or do I have to make a new one?
Reply
#2
Where might this sub be (the one that saves player things, client side)?
Reply
#3
Code:
SendSaveItem
Reply
#4
That is for saving an item from the item editor. I want to save where an item is in the players inventory.
Reply
#5
Again, the sendsaveitem call saved the item itself, from the item editor...it doesn't save any of the player's inventory...
Reply
#6
lol, what was I thinking about.. just press on the inventory slot and look at the sending packet.
Reply
#7
What? Explain please. At the moment I set the players inventory slots to switch items, but it is only client side and doesn't save it to the player's .ini
Reply
#8
Instead of bothering with this, I just made a packet that saves the player's inventory. If you find an existing packet, do tell me.

Now, the visual inventory works perfectly! Just need to add in special affects later XP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)