go need to add the item on item.cfg
|
Something is wrong. Every item i have has become "Not Existing." Does anyone have any ideas of what to do?
Here are two pictures
Any will be much appriciated, Thank you.
go need to add the item on item.cfg
they are already there. It does the same with every single item. Axes, rune stuff, adamant stuff etc.
make sure they are spelled correctly, and make sure u have the item numbers correct with ur class8.java from ur client
and u could be spawning the wronge item codes because if its in ur item.cfg then it wont say non existing...so
and if u havent compiled then lol
Try debugging.
Print out the string that's sent (sendString) when it's sent.
Then work your way back to the source untill you do see the correct string.
This can tell you where things go wrong.
Example:
When you click a weapon you wield it, you send a string:
That weaponName comes from somewhere else, it can be a getter for example, so in the getter you'd do something similar. Except for "Location 1:", which could be "Location 2:" to distinguish the prints.Code:(...)//Wield stuff System.out.println("Location 1: " + theWeaponNameThatSSent); (...)
Another location is upon loading of the cfg file...
You get what I'm trying to say.
Debugging this way can yield a lot of information. Whenever I'm stuck I do stuff like this.
You have messed up your weraritem packet or something
You need to implement items correctly.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |