a p Posted October 3, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 09/15/13 Last Seen: October 19, 2013 Share Posted October 3, 2013 Is there like a program to edit Monster Data? It's tiring changing numbers in Notepad form. I'm trying to down level every monster to like Max Lv 50~, since i've set max level for players to Lv 50 too. Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 3, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Yesterday at 12:58 PM Share Posted October 3, 2013 you can try http://rathena.org/board/files/file/2252-rathena-database-editor/ Quote Link to comment Share on other sites More sharing options...
Sunzuke Posted October 3, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 76 Reputation: 3 Joined: 02/24/12 Last Seen: October 19, 2013 Share Posted October 3, 2013 (edited) Hey.. setting all mobs to lvl 50 seems a bit hard to do manually I wrote you a php script to which does it for you http://www.file-upload.net/download-8139132/mobdb.rar.html it contains a default renewal mob db with max monster lvl 50 too here's the code found in the rar file: <?php $index = str_replace('\\', '/', realpath(dirname(__FILE__))); $LV = 50; $original_mob = "ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper"; $original_mob = explode(',', $original_mob); $mob_db = file("".$index."/mob_db.txt"); foreach($mob_db as $mob) { $mob2 = explode(',', $mob); if(substr($mob, 0, 2) != "//" && count($mob2) == count($original_mob)) { for($i = 0; $i < count($mob2); $i++) $mobs[$original_mob[$i]] = $mob2[$i]; $end = 0; foreach($original_mob as $key) { if(strpos(nl2br($mobs[$key]), '<br />') !== false) { $mobs[$key] = "".str_replace('<br />', '', nl2br($mobs[$key])).""; $end = 1; } if(empty($$key)) { echo "".$mobs[$key].""; } else { if($$key < $mobs[$key]) { echo "".$$key.""; } else { echo "".$mobs[$key].""; } } if($end == 1) { echo "<br>"; $end = 0; } else { echo ","; } } } else { echo "$mob<br>"; } } ?> Edited October 3, 2013 by Sunzuke Quote Link to comment Share on other sites More sharing options...
Question
a p
Is there like a program to edit Monster Data? It's tiring changing numbers in Notepad form.
I'm trying to down level every monster to like Max Lv 50~, since i've set max level for players to Lv 50 too.
Link to comment
Share on other sites
2 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.