Thread: Help please

Results 1 to 5 of 5
  1. #1 Help please 
    Registered Member

    Join Date
    Mar 2008
    Posts
    800
    Thanks given
    515
    Thanks received
    135
    Rep Power
    78
    I'm using galkons refactored client.

    I cannot :ickup items with an I'd 10,000 and over.

    Also if I try adding an item such as ags (id 11694) into a shop it comes up as null, even if I have the ints and models in the client already.


    I want to add neit helm and accumulator Also. I got the ints and models but cannot pick them up.


    Any help? I need to find a way to add items with ids 10000+
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    it's a server side command problem, post your ::command method I'll try and fix ;P
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Mar 2008
    Posts
    800
    Thanks given
    515
    Thanks received
    135
    Rep Power
    78
    Kk sec
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Mar 2008
    Posts
    800
    Thanks given
    515
    Thanks received
    135
    Rep Power
    78
    Code:
    if (playerCommand.startsWith("pickup")) {
    				String[] args = playerCommand.split(" ");
    				if (args.length == 3) {
    					int newItemID = Integer.parseInt(args[1]);
    					int newItemAmount = Integer.parseInt(args[2]);
    					if ((newItemID <= 20000) && (newItemID >= 0)) {
    						c.getItems().addItem(newItemID, newItemAmount);		
    					} else {
    						c.sendMessage("No such item.");
    					}
    				} else {
    					c.sendMessage("Use as ::pickup 995 200");
    				}
    			}
    Is it server side problem?
    Reply With Quote  
     

  5. #5  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    Please do not double post and read the new sticky please.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •