Jump to content
  • 0

modify mob item ratio more than 10 ids


Kido

Question


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

hello, i would like to know what's the max number of ids that i can put on here

 

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/mob_item_ratio.txt

 

it says

// - By default you can list up to 10 MonsterIDs per ItemID.
//   It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS.

what i want to know is what is the max to put on MAX_ITEMRATIO_MOBS o:

 

thank you so much in advance o:!

 

(i wasn't sure at all if this was a src or db topic, since this touches both folders and affect in both a file D: sry if it was wrong section)

 

 

Link to comment
Share on other sites

9 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:  

well finally got some free time to test it lol

 

i supposed that there would be around 1600 mobs (rAthena pre-re r17702) and even if so, i wouldn't adjust the drop rate for each mob lol so, i just wanted to see if i ca set it with all of them

 

so it worked o:! 

 

// - By default you can list up to 10 MonsterIDs per ItemID.
// It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS.

 

now on src/map/mob.c

 

i seted it to 1600 and it worked o:!

 

then recompile and no errors appeared

 

however there was something weird lol

 

22p1.png

when i do @whodrops itemDropEdited it shows 2 drop rates

the global one for the conf/battle/drops

and the edited one from db/mob_item_ratio

 

first i was like "lol what's that"

 

then when i did @mi fallen & @mi crothen this appeared

K2JGGV7.png

the drops are setted properly then o:!!

 

so i wanted to stay 100% and went to test if that's the real drop and well.. it is o:!

J9WUXBu.png

so that answers basiclly my question

unlimitted lol

 

the drops i had

 

4359,7000{,1647}
4357,8000{,1646}
4361,9000{,1648}
4363,10000{,1649}
4367,11000{,1650}
4365,11200{,1651}
//
4399,1000{,1708}
4430,2000{,1832}
4403,3000{,1734}
4441,4000{,1871}
4451,5000{,1957}
4001,100{,1002}

 

thank you sandbox for the repplies o;

 

SUCCESS!!!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  10/09/18
  • Last Seen:  

db/mob_item_ratio
4399,50000 // Thanatos Card 50%

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Based on my understanding..

 

It's a value to specify which mob drops to be adjusted. As it says, by default 10 monsters can be specified at the same time

 

Based on the example..

909,100,1002,1004,1183

That would adjust Poring, Hornet, Chon Chon's Jellopy drop rate to 1x

 

If you have more than 10 mobs that drops the same item and you want to adjust it, that's the time you might wanna edit the max mobs..

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:  

Based on my understanding..

 

It's a value to specify which mob drops to be adjusted. As it says, by default 10 monsters can be specified at the same time

 

Based on the example..

909,100,1002,1004,1183

That would adjust Poring, Hornet, Chon Chon's Jellopy drop rate to 1x

 

If you have more than 10 mobs that drops the same item and you want to adjust it, that's the time you might wanna edit the max mobs..

 

right o: but i want to know what's the maxium max mobs to add? deffault is 10 but let's say i need 100, but what about if the limit is 30 or soemthing like D:? so i'm asking the maxium mobs there o:

 

ty for the repply o:!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Ugh, 10?

 

// - By default you can list up to 10 MonsterIDs per ItemID.
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:  

//   It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS.

deffault is 10, maxium is XX?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

I am not sure, though I think It would only be either 127, 32767, or unlimited..

 

In what way would you be using it above 3 digits anyhow?

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 am not sure, though I think It would only be either 127, 32767, or unlimited..

 

In what way would you be using it above 3 digits anyhow?

 

dunno D: yeah i thinked too that it could be those numebrs but not sure

 

what im goign to so is put 99999999999 to see what error throws and discover the max ammount lol

 

no errors would mean unlimited right xD?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Yeah, probably, but I doubt putting 999999999999 wouldn't give you errors xD safest is 127.

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...