Thread: [508-525] How can I make "null" unspawnable? [508-525]

Results 1 to 9 of 9
  1. #1 [508-525] How can I make "null" unspawnable? [508-525] 
    Registered Member
    Join Date
    Dec 2009
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Hi, I wanted to know how to make the item "null" or ::item 20000 1 unspawnable. I've gone into commands.java, i've tried putting the name there, and when I compiled, and saved, and I went on a test acc, I could still spawn it.

    Someone help please? All attempted help will be repped.

    Thanks,
    Mustang
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2010
    Posts
    641
    Thanks given
    73
    Thanks received
    47
    Rep Power
    54
    Just wondering, why would anyone try to spawn item 20000 ?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2009
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Umm its cause this source is dangerous pvp, and if you spawn item 20000 and have it in your inv while pking, and you use the prot item pray, when you die you keep all stuff >.>
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2010
    Posts
    641
    Thanks given
    73
    Thanks received
    47
    Rep Power
    54
    You could make it so only admin+ can spawn it.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2009
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Yea, how?
    Reply With Quote  
     

  6. #6  
    Adobe

    Dreamweaver's Avatar
    Join Date
    Jan 2010
    Posts
    1,067
    Thanks given
    38
    Thanks received
    149
    Rep Power
    246
    Ok go to Commands.Java then seach for deg,

    Then you'll see things like 25, 50, 75, and other stuff like that just add in null, and it should work Im sorry I cant be of more help but Im at school atm and my source is on other USB p.s. Teacher is total babe rofl
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2009
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Um that doesn't even work, someone please help..
    Reply With Quote  
     

  8. #8  
    Registered Member
    .Dan's Avatar
    Join Date
    Sep 2008
    Age
    25
    Posts
    873
    Thanks given
    54
    Thanks received
    115
    Rep Power
    494
    Tip:
    Code:
    	String command = "item 2 3";
    	String[] args = command.split(" ");
    	int itemID = Integer.parseInt(args[1]);
    	int amount = Integer.parseInt(args[2]);
    	if (itemID > 16000) /* this is the limit, any ID above 16000 in unspawnable */ {
    		/* your command content... player.addItem(itemID, amount); or something like this :D */
    	}
    Or post your command and I'll spoonfeed for you.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2009
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Uhm I don't really understand what is said in there, I have set a max spawn limit of 2000 also..
    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
  •