Thread: Adding drops

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Adding drops 
    x19
    Guest
    Purpose: How to add drops, yes I know it has been done before... but when I looked to learn, I couldn't find a decent one

    Difficulty: 4

    Assumed Knowledge: Copy and paste, and a little bit of java if you want to change

    Server Base: Nathspkserv

    Classes Modified: npchandler.java, item3.java and autospawn

    Step 1:
    Open up autospawn.cfg and add this, this spawns a rat in varrok square
    Code:
    spawn = 87	3211	3422	0	0	0	0	0	0	Giant Rat
    You can change co-ords and were it walks if you want

    Step 2:
    Open npchandler.java and find
    Code:
    public static boolean IsDropping = false;
    Scroll down and you will see it, underneath the last } add this
    Code:
    if(npcs[NPCID].npcType == 87) 
    {
    ItemHandler.addItem(Item3.randomrat(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
    }
    Step 3:
    Close npchandler, and open item3.java, and search for
    Code:
    public static int WolfDrop[] = {
    And once again under the last } add this
    Code:
    	public static int rat[] = {4151};
    	public static int randomrat()
    	{
    		return rat[(int)(Math.random()*rat.length)];
    	}
    Save compile and run, and you will have a rat in varrok that drops whips

    Credits:
    100% me, I have not leeched this from anyone.

    Ell390
     

  2. #2  
    Javotoshop
    Guest
    This is common knowledge 0.-...
     

  3. #3  
    x19
    Guest
    Like I stated... I posted this because when I didn't know how to.. I coudn't find anything to help me.
    Hence why I created this.

    Ell390
     

  4. #4  
    Javotoshop
    Guest
    Hence why I've seen it a thousand times on moparscape... You probably leeched it like your 'lvl 6 enchant'
     

  5. #5  
    x19
    Guest
    Can you not read...
    yes I know it has been done before... but when I looked to learn, I couldn't find a decent one
    And again...
    Like I stated... I posted this because when I didn't know how to.. I coudn't find anything to help me.
    Hence why I created this.
    Stop flaming my threads ok.

    Ell390
     

  6. #6  
    Javotoshop
    Guest
    Well one is leeched, why wouldn't this one be...

    You seem like a noob in everything including GFX....
     

  7. #7  
    Community Veteran


    Join Date
    Jul 2006
    Posts
    789
    Thanks given
    31
    Thanks received
    80
    Rep Power
    177
    1 this was first posted by me:
    [Only registered and activated users can see links. ]

    That is the earliest one therefore everyone leeched me (that i could find)
     

  8. #8  
    x19
    Guest
    Stone I looked at that.. it dosn't work for pimp.. and that is what I have here.

    Ell390
     

  9. #9  
    Registered Member Icepkz's Avatar
    Join Date
    May 2007
    Posts
    219
    Thanks given
    0
    Thanks received
    0
    Rep Power
    24
    Quote Originally Posted by Javotoshop View Post
    This is common knowledge 0.-...
    Dude, does it matter if u know it. What about all those other people who don't know. Why do you think this site has a tutorial section! GOD SO PEOPLE CAN LEARN!

    Quote Originally Posted by Javotoshop View Post
    Hence why I've seen it a thousand times on moparscape... You probably leeched it like your 'lvl 6 enchant'
    OMG! IS THIS MOPARSCAPE? TOTALLY DIFFERENT SITE! STOP FLAMMING

    Quote Originally Posted by Javotoshop View Post
    Well one is leeched, why wouldn't this one be...

    You seem like a noob in everything including GFX....
    WELL HE SEEMS BETTER THAN YOU! How about you show us something you know, you noob. GTFO!

    BTW, nice post ell, but already have this on my source
    PS: Get on msn

    .::.. 1033 R3p Thx ALL ! ..::.
     

  10. #10  
    Community Veteran


    Join Date
    Jul 2006
    Posts
    789
    Thanks given
    31
    Thanks received
    80
    Rep Power
    177
    Dude, does it matter if u know it. What about all those other people who don't know. Why do you think this site has a tutorial section! GOD SO PEOPLE CAN LEARN!



    OMG! IS THIS MOPARSCAPE? TOTALLY DIFFERENT SITE! STOP FLAMMING
    It does matter and if you read the sticky its clearly against the rules, nevertheless I posted this first and Im asking for him to take it down


    WELL HE SEEMS BETTER THAN YOU! How about you show us something you know, you noob. GTFO!
    well seeing how I posted this tut first...I wouldnt say he is better then me =)
     

Page 1 of 2 12 LastLast

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. PI Adding Pvp Drops
    By owner iwan in forum Help
    Replies: 3
    Last Post: 01-31-2011, 10:53 PM
  2. adding drops to npc
    By iviast3r in forum Help
    Replies: 2
    Last Post: 06-25-2010, 05:28 PM
  3. NPC drops adding on npc
    By lolo in forum Help
    Replies: 3
    Last Post: 12-23-2009, 12:22 AM
  4. [525]Adding pvp drops[525]
    By Adam™ in forum Help
    Replies: 3
    Last Post: 04-01-2009, 12:15 AM
  5. [REQ] Adding NPC drops [REQ]
    By forgodsake in forum Tutorials
    Replies: 2
    Last Post: 12-18-2007, 03:13 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
  •