Thread: HELP - item ids

Results 1 to 5 of 5
  1. #1 HELP - item ids 
    Registered Member

    Join Date
    Mar 2008
    Posts
    799
    Thanks given
    515
    Thanks received
    134
    Rep Power
    78
    i cant :ickup or use items with ids over 10,000.

    i can pickup rune defender (9800 or something) but not an ags (11694) even though i have the ints and models in the client. any help?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2008
    Posts
    799
    Thanks given
    515
    Thanks received
    134
    Rep Power
    78
    anyone help?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    20
    Thanks received
    30
    Rep Power
    161
    post the code of ur pickup command
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Mar 2008
    Posts
    799
    Thanks given
    515
    Thanks received
    134
    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");
    				}
    			}

    I really wanna add stuff like accumulators and torso and other items like that. got all the ints and models ready but just cant pick them up l0l
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Mar 2008
    Posts
    799
    Thanks given
    515
    Thanks received
    134
    Rep Power
    78
    like basically anything over 10000 doesnt work ive tryed putting them items in shops comes up as dwarf heads
    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

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