Thread: [pi] Turn drops off

Results 1 to 2 of 2
  1. #1 [pi] Turn drops off 
    Banned
    Join Date
    Oct 2011
    Posts
    270
    Thanks given
    20
    Thanks received
    3
    Rep Power
    0
    I know this is a real stupid question, but how do I turn drops off on my server [PI]
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2009
    Posts
    630
    Thanks given
    79
    Thanks received
    24
    Rep Power
    52
    look for public void dropItems

    and remove this

    Code:
    			for(npc = 0; npc < Config.NPC_DROPS.length; npc++){
    				if(npcs[i].npcType == Config.NPC_DROPS[npc][0]) {
    					if(Misc.random(Config.NPC_DROPS[npc][3]) == 0) {
    						Server.itemHandler.createGroundItem(c, Config.NPC_DROPS[npc][1], npcs[i].absX, npcs[i].absY, Config.NPC_DROPS[npc][2], c.playerId);
    or do it like this

    Code:
    /*			for(npc = 0; npc < Config.NPC_DROPS.length; npc++){
    				if(npcs[i].npcType == Config.NPC_DROPS[npc][0]) {
    					if(Misc.random(Config.NPC_DROPS[npc][3]) == 0) {
    						Server.itemHandler.createGroundItem(c, Config.NPC_DROPS[npc][1], npcs[i].absX, npcs[i].absY, Config.NPC_DROPS[npc][2], c.playerId);*/
    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

Similar Threads

  1. [Tutorial] How to turn drops off
    By tylarc in forum Tutorials
    Replies: 16
    Last Post: 08-24-2012, 12:26 PM
  2. Replies: 3
    Last Post: 09-11-2011, 05:32 PM
  3. Turn on drops or npc reset command[PI]
    By trayswizzle25 in forum Help
    Replies: 0
    Last Post: 11-03-2010, 01:27 AM
  4. Turn PvP Drops ON
    By Nuked in forum Help
    Replies: 2
    Last Post: 07-07-2010, 09:57 PM
  5. My Drops Turn off
    By Neekage in forum Help
    Replies: 0
    Last Post: 03-20-2010, 02:58 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •