Jump to content
  • 0

Q> about bAddMonsterDropItem


boosack20

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  01/08/14
  • Last Seen:  

Hi,

 

I create a custom coin and headgear. the effect of this headgear is that there is a 1% chance to  get the custom coin when a monster is killed. My problem is that everytime I kill a monster the coin drops. 15/15 coin drop.

 

Please Help

 

Thanks.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

do you get any map error?

 

try to get some items by using any of these cards

 

http://ratemyserver.net/index.php?page=item_db&item_id=&iname=&itype=6&iclass=-1&islot_sign=-1&islot=-1&ij%5B+%5D=-1&iju=-1&idesc=box+of&iscript=&i_ele=-1&i_status=-1&i_race=-1&i_bonus=-1&icfix=&sort_r=0&sort_o=0&isearch=Search

 

then if you get any one it means that it should work

 

also, try to set the drop chance of one of that cards to 100% so you can make sure it works

 

here is mine drop

// The rate adjustment for card-granted item drops.
item_rate_adddrop: 10000
item_drop_add_min: 10000
item_drop_add_max: 10000

give a try and let me know if you get any errors lol

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

this? 

bonus3 bAddMonsterDropItem,YourItemID,RaceOfTheMonster,Percentage;

example

bonus3 bAddMonsterDropItem,12058,RC_Insect,50;

?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  01/08/14
  • Last Seen:  

Hi,

 

I already did that. Here is mine

 

bonus3 bAddMonsterDropItem,20197,RC_Insect,10;

 

but still everytime they kill an insect or brute monster coin drops. its like 100% sure that there will be a coin drop.. i wanted it to be 1 is to 10..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

hmmm weird, try to set the 10 to 1

 

i don't see why you get 100%

 

aaaah right give me a min.. .

 

 

......searching  .......

 

 

trunk/conf/battle/drops.conf

 

liik at this line

// The rate adjustment for card-granted item drops.

you will find something like this

// The rate adjustment for card-granted item drops.
item_rate_adddrop: 100
item_drop_add_min: 1
item_drop_add_max: 10000

those rates of drops i believe affect the bAddMonsterDropitem o:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  01/08/14
  • Last Seen:  

ok i see that.

 

sorry I'm noobs about that.. hahaha.. so how can i make mine 1% drop chance?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

dont call yourself like that lol

 

read this please o:

// Use logarithmic drops? (Note 1)
// Logarithmic drops scale drop rates in a non-linear fashion using the equation 
// Droprate(x,y) = x * (5 - log(x)) ^ (ln(y) / ln(5))
// Where x is the original drop rate and y is the drop_rate modifier (the previously mentioned item_rate* variables)
// Use the following table for an idea of how the rate will affect drop rates when logarithmic drops are used:
// Y: Original Drop Rate
// X: Rate drop modifier (eg: item_rate_equip)
//  X\Y | 0.01 0.02  0.05  0.10  0.20  0.50  1.00  2.00  5.00 10.00 20.00
// -----+---------------------------------------------------------------
//   50 | 0.01 0.01  0.03  0.06  0.11  0.30  0.62  1.30  3.49  7.42 15.92
//  100 | 0.01 0.02  0.05  0.10  0.20  0.50  1.00  2.00  5.00 10.00 20.00
//  200 | 0.02 0.04  0.09  0.18  0.35  0.84  1.61  3.07  7.16 13.48 25.13
//  500 | 0.05 0.09  0.22  0.40  0.74  1.65  3.00  5.40 11.51 20.00 33.98
// 1000 | 0.10 0.18  0.40  0.73  1.30  2.76  4.82  8.28 16.47 26.96 42.69
// 2000 | 0.20 0.36  0.76  1.32  2.28  4.62  7.73 12.70 23.58 36.33 53.64
// 5000 | 0.50 0.86  1.73  2.91  4.81  9.11 14.45 22.34 37.90 53.91 72.53
//10000 | 1.00 1.67  3.25  5.28  8.44 15.24 23.19 34.26 54.57 72.67 91.13
//20000 | 2.00 3.26  6.09  9.59 14.83 25.49 37.21 52.55 77.70 97.95  100%
//50000 | 5.00 7.87 13.98 21.12 31.23 50.31 69.56 92.48  100%  100%  100%
item_logarithmic_drops: no

this too: 

 

http://svn.rathena.org/svn/rathena/trunk/conf/battle/drops.conf

 

and this wiki

 

http://rathena.org/wiki/Category:Configuration#Setting_Drop_rates

 

on the siki llok for this title lol

Setting Drop rates

seriously, i feel more like a google guy that a support guy lol

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  01/08/14
  • Last Seen:  

Hi Kido,

 

still cant fix it..  /whisp  /whisp

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  01/08/14
  • Last Seen:  

yey. its working now. thanks kido. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

i'm glad to know that it worked, if you have more questiosn don't hesitate to as on the support forums (:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  01/08/14
  • Last Seen:  

I will.. Thanks again..  /no1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...