a p Posted October 3, 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 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 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...
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