Thread: Adding Npc drops in Delta (better explained)

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 Adding Npc drops in Delta (better explained) 
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    I used this to help another player so I decided to post it in here for availability.

    In Delta:
    Go to the config folder then open npcdrops.cfg with notepad, or whatever you use to code, it should look something like this.

    Code:
    //abbysal
    npcdrop = 2263	5509	1	10
    npcdrop = 2263	5510	1	7
    I'll explain this.

    Code:
    //abbysal
    Anything that starts with // doesn't have any effect, it's just used for making it simpler to find things, or explain things. it only works for one line things. If you want more than one lines, you need /* and *\.

    Code:
     npcdrop = 1	2	3	4
    The 1 represents the monsters Id.
    The 2 represents the item Id.
    The 3 represents the amount of the item being dropped.
    The 4 is the chances of getting the item.

    Ex.

    Code:
    //White Full Monster
    npcdrop = 9999	995	    7500	    100
    This means that my Id is 9999, and everytime I get killed, I'll drop 7500 coins (gp).
    If you want more than one drop per monster:

    Code:
    //White Full Monster
    npcdrop = 9999	995	    7500	    100
    npcdrop = 9999	3101    1		    10
    This means everytime the monster dies, it drops 7500 gp for sure, and there is a 10% chance that it will drop 1 rune defender (3101).

    I hope this helps you all and teaches you some basic comments in Java, lol.

    PS: This is compatible with many other servers.
    Last edited by white full; 02-03-2009 at 03:24 AM. Reason: Thanks UltiG for reminding me lol
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jun 2008
    Posts
    734
    Thanks given
    8
    Thanks received
    14
    Rep Power
    148
    This is not only for DeltaScape
    I bet you think that DeltaScape the only RSPS is hmm?..
    S Quare Quxx: Raul > paladin end of the story
    Reply With Quote  
     

  3. #3  
    Donator

    Sir Lethal's Avatar
    Join Date
    Mar 2008
    Posts
    2,286
    Thanks given
    9
    Thanks received
    74
    Rep Power
    426
    This is not needed everyone should know how to do this.
    Reply With Quote  
     

  4. #4  
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    Quote Originally Posted by UltimateG View Post
    This is not only for DeltaScape
    I bet you think that DeltaScape the only RSPS is hmm?..
    Lol no, but I've been asked for a lot of help with delta so I'm more familiar with it, but it should work with most server bases lol.

    Also, this is for people who don't know it, since I saw people asking in help section..

    Why not make this, it'll stop questions.
    Reply With Quote  
     

  5. #5  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    no everyone using delta should change the whole drop system as this one leads to stackable items, multiplying the chance of getting a great drop. Not good if you are trying to build a good econ by having some rare drops in there.
    Reply With Quote  
     

  6. #6  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    33
    Posts
    6,017
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    Well since hes only telling you how it works it wouldn't really affect any of you, he just explains what each number means, hes not telling you how to add full drops.
    Reply With Quote  
     

  7. #7  
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    Yea, anyways, it doesn't matter if you get more than 1 drops. You still have the same chances, so it's barely any different.
    Reply With Quote  
     

  8. #8  
    Registered Member
    killamess's Avatar
    Join Date
    Dec 2007
    Age
    33
    Posts
    1,508
    Thanks given
    51
    Thanks received
    284
    Rep Power
    1956
    this is the worst explanation ever


    npcdrop = 1 526 1 100

    npcdrop = 1, 1 stands for the npcs id. this being 1 so its a man.
    526, is the id of the item being dropped.
    1, means how many you want it to drop
    100, means the chance of getting it, 100 being always, 1 being 1 out of 100 chance


    Reply With Quote  
     

  9. #9  
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    How is it a bad explanation?
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Dec 2008
    Posts
    3,004
    Thanks given
    10
    Thanks received
    198
    Rep Power
    0
    Code:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 45
            at NPCHandler.loadNPCDrops(NPCHandler.java:2295)
            at NPCHandler.<init>(NPCHandler.java:576)
            at server.main(server.java:111)
    What does this mean then? i was adding drops and this came up as i ran my serv
    Reply With Quote  
     

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

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