c2greentea Posted August 1, 2014 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 173 Reputation: 0 Joined: 06/07/14 Last Seen: December 17, 2014 Share Posted August 1, 2014 (edited) Is there an existing list of monster IDs in pre-renewal / classic RO online? Or I have to get them one by one? I am trying to put it in my disguise event script. Im using this script: http://upaste.me/e35214119344c4280 Edited August 1, 2014 by c2greentea Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 2, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 2, 2014 Maybe with a query, select a random monster in mob_db sql (no boss) select `ID` from mob_db where ~Mode & 32 order by rand() limit 1 Quote Link to comment Share on other sites More sharing options...
c2greentea Posted August 3, 2014 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 173 Reputation: 0 Joined: 06/07/14 Last Seen: December 17, 2014 Author Share Posted August 3, 2014 Capuche how am i going to do that with the given script above? Sorry Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 3, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 3, 2014 replace do { set .@guessrepeat, 0; set $monster, 1000 + rand(1,950); for (set .@k, 0; .@k <getarraysize($Forbidden); set .@k, .@k+1) { if ($monster == $Forbidden[.@k]) { set .@guessrepeat, 1; break; } } } while (.@guessrepeat); by query_sql "select `ID` from mob_db where ~Mode & 32 order by rand() limit 1", $monster; Quote Link to comment Share on other sites More sharing options...
Question
c2greentea
Is there an existing list of monster IDs in pre-renewal / classic RO online? Or I have to get them one by one?
I am trying to put it in my disguise event script. Im using this script: http://upaste.me/e35214119344c4280
Edited by c2greenteaLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.