vimara78922 (03-29-2011)
Go to server/model/player/packets/ and open Commands.java
Add this command:
Now save and close and go to server/model/items/ and open up Item.javaCode:if(playerCommand.equalsIgnoreCase("reloaditems")) { Server.itemHandler.reloadItems(); c.sendMessage("Item list refreshed"); }
Add this method.
Save and compile.Code:public void reloadItems() { for(int i = 0; i < Config.ITEM_LIMIT; i++) { ItemList[i] = null; } loadItemList("item.cfg"); loadItemPrices("prices.txt"); }
vimara78922 (03-29-2011)
............ Nice guide i guess id recomend making like 15 of these in 1 post that way it can be a mega guide
Last edited by Versa; 03-20-2011 at 02:07 PM.
Read the end u should post 15 in one
nice. this is very good.
eem be clearer. where can i find the map server tell me
yes the map server where can i find
i mean the map server i nowhere can find
server/ect.
tell me is it in c:/
or what?
I have no clue what a 'map server' is. Do you have a Project Insanity source downloaded?
server/model/player/packets/Commands.java
where can i find this map
That's a package, not a map lol.
Looks good...
Yea thanks. I'll post a few more tuts later.