post some code?
|
Lots of people on my server need to sell their junk.
I made an empty shop and you could sell items into it.
But when it was full and if you try to sell 1 more item it crashes the client.
I want to have a fix for that, that it just says "You cant sell anymore items".
And if that is done it would be great if somehow the shop would refresh every 10-15min. So it cleares the items for only that shop.
I hope someone can help me with this
post some code?
Code:// Note to replace all variables and methods with your own, I'm just guessin these :P if (shop.getItemCount() > Constants.SHOP_MAX_ITEMS) player.appendMessage("Shop full."); else { // Handle shopping in here }
Stop. Bumping.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |