This is not only for DeltaScape
I bet you think that DeltaScape the only RSPS is hmm?..
|
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.
I'll explain this.Code://abbysal npcdrop = 2263 5509 1 10 npcdrop = 2263 5510 1 7
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://abbysal
The 1 represents the monsters Id.Code:npcdrop = 1 2 3 4
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.
This means that my Id is 9999, and everytime I get killed, I'll drop 7500 coins (gp).Code://White Full Monster npcdrop = 9999 995 7500 100
If you want more than one drop per monster:
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).Code://White Full Monster npcdrop = 9999 995 7500 100 npcdrop = 9999 3101 1 10
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
This is not only for DeltaScape
I bet you think that DeltaScape the only RSPS is hmm?..
This is not needed everyone should know how to do this.
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.
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.
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.
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
How is it a bad explanation?
What does this mean then? i was adding drops and this came up as i ran my servCode: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)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |