Newbie Spellweaver
- Joined
- Dec 6, 2007
- Messages
- 29
- Reaction score
- 1
Hi when i first started doing droprates and i read all guides i could find but they just didnt describe it enough, and made my wonder and think even more, and i have been watching that some others have same problem as i had , so i decided to post this little guide and explain as much and as good as possible.
If you allready got your server and ur server files, you just need 2 files to edit your droprates.
- ItemGroup.txt
- InitMonster.txt
Since im guessing you are using a repack and not whole clean files, you allready got droprates but wont edition to be done.
First open your ItemGroup.txt and InitMonster.txt, minimize the initmonster,
and now i will explain how this goes in the simplest way i can, and this made me understand so i hope it will help you too.
Now for example i will use : Demon Worker, and make it drop something custom, with a specific dropchance.
I go to my itemgroup and at the bottom i write first:
(group (index 2001) (item (10 372 0) (20 373 0) (30 374 0)))
and then:
(group (index 2002) (item (50 444 0) (100 445 0) (150 446 0)))
now the index you can write any number u want just make sure the index number dosent exist anywhere else in the ItemGroup.txt.
Now i write this below:
(itemgroup (index 3001) (group (200 2001) (700 2002)))
now we made 2 groups and 1 itemgroup that relates to the groups, now minimize your ItemGroup.txt
and there i will find the Demon worker,with the index (299) and then move to the side and you see theres a little text beside the demon workers stats wich look something like (itemgroup 4001 1) or something like it, maybe theres some more , but what i do now is i delete the (itemgroup xxxx x) text and instead i write (itemgroup 3001 1) .
Now done, save the files and load them.
Now to understand what you just did this is what it does:
We got the so called itemgroup and the groups.
First in the groups and itemgroups, you must know that u cant write a group like:
(group (index 2003) (item (10 424 0) (5 134 0) (500 314 0) (3 444 0)))
because you must go atleast 1 number higher at the dropchance x , or it will give error when loading it, that means if u put (500 414 0) you must atleast make (501 414 0) at the next item you want to drop.
Another thing is, the dropchance numbers .. You must devide the number with 10 and thats the % it will drop, so if its (10 414 0) the chance of dropping item 414 is 1%, and so on, and if u want 2 items in same group to be like 1% but u thinkin "argh i cant write the number 10 twice so what do i do?" well then you allways make the distance from the numbers and thats the next dropchance, so if u want 1% at evry item in the group make the group this way: (group (index xxxx) (item (10 445 0) (20 446 0) (30 444 0)))
so first 10 is 1% dropchance at item 445, then next one is 20, distance from 10-20 is 10, so dropchance 1% also to drop item 446, and distance from 20-30 is 10 so 1% chance to drop 444 item too. and so on.
Now go ingame after you loaded the files,
And this is how it works:
evrytime you kill the demon worker you edited drops at,
it will go into your itemgroup that you placed at the initmonster.txt
and it will roll between the groups you placed in it (2001+2002) and the chance it chooses group 2001 is 20% and chance it chooses group 2002 is 50%, so it rolls and chooses one of the groups, and then if it chooses the group 2002, it goes into the group and rolls once more, and chance to drop item 445 is 5% and same with the other items, so chance is 15% that it drops one of the 3 items, and 85% chance it drops money or nothing, when it rolled the following drawed item/money/nothin will drop.
Same with the other group. if it got choosed.
Okay this might not be as simple as i thought it was in the beginning but, i hope you understand it, and spelling mistakes etc, sorry, else tell me if i forgot something.
hope it helps.
//christian.
If you allready got your server and ur server files, you just need 2 files to edit your droprates.
- ItemGroup.txt
- InitMonster.txt
Since im guessing you are using a repack and not whole clean files, you allready got droprates but wont edition to be done.
First open your ItemGroup.txt and InitMonster.txt, minimize the initmonster,
and now i will explain how this goes in the simplest way i can, and this made me understand so i hope it will help you too.
Now for example i will use : Demon Worker, and make it drop something custom, with a specific dropchance.
I go to my itemgroup and at the bottom i write first:
(group (index 2001) (item (10 372 0) (20 373 0) (30 374 0)))
and then:
(group (index 2002) (item (50 444 0) (100 445 0) (150 446 0)))
now the index you can write any number u want just make sure the index number dosent exist anywhere else in the ItemGroup.txt.
Now i write this below:
(itemgroup (index 3001) (group (200 2001) (700 2002)))
now we made 2 groups and 1 itemgroup that relates to the groups, now minimize your ItemGroup.txt
and there i will find the Demon worker,with the index (299) and then move to the side and you see theres a little text beside the demon workers stats wich look something like (itemgroup 4001 1) or something like it, maybe theres some more , but what i do now is i delete the (itemgroup xxxx x) text and instead i write (itemgroup 3001 1) .
Now done, save the files and load them.
Now to understand what you just did this is what it does:
We got the so called itemgroup and the groups.
First in the groups and itemgroups, you must know that u cant write a group like:
(group (index 2003) (item (10 424 0) (5 134 0) (500 314 0) (3 444 0)))
because you must go atleast 1 number higher at the dropchance x , or it will give error when loading it, that means if u put (500 414 0) you must atleast make (501 414 0) at the next item you want to drop.
Another thing is, the dropchance numbers .. You must devide the number with 10 and thats the % it will drop, so if its (10 414 0) the chance of dropping item 414 is 1%, and so on, and if u want 2 items in same group to be like 1% but u thinkin "argh i cant write the number 10 twice so what do i do?" well then you allways make the distance from the numbers and thats the next dropchance, so if u want 1% at evry item in the group make the group this way: (group (index xxxx) (item (10 445 0) (20 446 0) (30 444 0)))
so first 10 is 1% dropchance at item 445, then next one is 20, distance from 10-20 is 10, so dropchance 1% also to drop item 446, and distance from 20-30 is 10 so 1% chance to drop 444 item too. and so on.
Now go ingame after you loaded the files,
And this is how it works:
evrytime you kill the demon worker you edited drops at,
it will go into your itemgroup that you placed at the initmonster.txt
and it will roll between the groups you placed in it (2001+2002) and the chance it chooses group 2001 is 20% and chance it chooses group 2002 is 50%, so it rolls and chooses one of the groups, and then if it chooses the group 2002, it goes into the group and rolls once more, and chance to drop item 445 is 5% and same with the other items, so chance is 15% that it drops one of the 3 items, and 85% chance it drops money or nothing, when it rolled the following drawed item/money/nothin will drop.
Same with the other group. if it got choosed.
Okay this might not be as simple as i thought it was in the beginning but, i hope you understand it, and spelling mistakes etc, sorry, else tell me if i forgot something.
hope it helps.
//christian.
Last edited: