friendly bump.
|
what i'm trying to do is make every item you have equipped/in inventory will write into the char file then delete all them items.
Code:in this format public int graveItems[] = new int[39];
????
friendly bump.
how do you mean write into the char file then delete all them items
this is savingand ive allowed 39 slots for it, so it has enough for every item in your inv and everything equipped.Code:public int graveItems[] = new int[39];
so when u die outside of wildy or any safe zones, i need a method that will save the item id's of everything you have into the char file
which looks like this
[GRAVEITEMS]
grave =
and keeps going
sorry if this is hard to understand.
yes, i just need it to save first, becuase i can just use deleteAllItems().
so i really just need the saving of it. i just dont understand how it would look.
Code:public void addToGrave() { for(int i = 0; i < c.playerItems.length; i++) { c.getItems().addGrave(c.playerItems[i], i,c.playerItemsN[i]); } }This is just looking at bank all, im thinking it would be similar to this?Code:public boolean addGrave(int itemID, int fromSlot, int amount) { }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |