Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Share Posted July 18, 2012 mob_db.txt I used this line, but the mob doesn't drop anything even the drop is 100% and it's not the correct monster sprite? 2400,RAWR,Rawr,Rawr,141,1005000,1,10000,10000,3,2895,6101,588,506,196,131,125,276,267,156,10,12,2,8,86,0x37B5,100,576,576,480,0,0,0,0,0,0,0,7539,500,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 Is your map server spitting anything out? Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 Is your map server spitting anything out? Lol what do you mean? There's no errors? Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) Is your map server spitting anything out? Lol what do you mean? There's no errors? Just making sure you don't have an extra column or anything. Anyways, have you added your mob correctly into your luas? o_O Btw, I suggest you DO NOT use 2400 as a starting range for your custom mobs.. you will get it overwritten when kRO comes out with new mobs. Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 Is your map server spitting anything out? Lol what do you mean? There's no errors? Just making sure you don't have an extra column or anything. Anyways, have you added your mob correctly into your luas? o_O I have not.. Lol, the wiki never mentioned that? ): Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) You need to add your custom mobs in jobname.lua: http://svn6.assembla...nfo/jobname.lua and npcidentity.lua: http://svn6.assembla...npcidentity.lua In npcidentity.lua, the first last monster is: ["JT_MONSTER_LAST"] = 2463, As you can see, the ID that is used is 2463.. Thus, I suggest you change your starting custom mob range. What you can do after this, is either do: -- Custom Mobs ["<YOUR MOB NAME>"] = <YOURID>, right after ["JT_MONSTER_LAST"] = 2463, Or you can add what I did towards the end of the file.. thought I've always done it right after the very last monster and never got into problems. In your jobname.lua, you can find: [jobtbl.JT_TREASURE_BOX_TE_10] = "TREASUREBOX_2.gr2" at the very bottom. That's the very last mob. Basically, just copy and paste the same template for your own custom mob. Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 (edited) You need to add your custom mobs in jobname.lua: http://svn6.assembla...nfo/jobname.lua and npcidentity.lua: http://svn6.assembla...npcidentity.lua Will these work? jobname.lua [jobtbl.JT_VALKYRIE_N] = "RAWR" npcidentify.lua ["JT_VALKYRIE_N"] = 2400 Edited July 18, 2012 by Kurby Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) Personally, in my sprite/mob folder (dont know the gibberish wording by heart lol) I would just put RAWR as the monster name. Then in your jobname, do: [jobtbl.RAWR] = "RAWR" and in your npcidentity.lua: ["RAWR"] = <PICK A DIFFERENT ID> I basically do it the same way I add items into my luas.. and I've never ran into problems. kRO's last monster ID is: 2463 and you need to find a different starting range. Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 Personally, in my sprite/mob folder (dont know the gibberish wording by heart lol) I would just put RAWR as the monster name. Then in your jobname, do: [jobtbl.RAWR] = "RAWR" and in your npcidentity.lua: ["RAWR"] = <PICK A DIFFERENT ID> I basically do it the same way I add items into my luas.. and I've never ran into problems. kRO's last monster ID is: 2463 and you need to find a different starting range. Alright.. Umm, I did @monster, then I got an error and my client shut off..? Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) Personally, in my sprite/mob folder (dont know the gibberish wording by heart lol) I would just put RAWR as the monster name. Then in your jobname, do: [jobtbl.RAWR] = "RAWR" and in your npcidentity.lua: ["RAWR"] = <PICK A DIFFERENT ID> I basically do it the same way I add items into my luas.. and I've never ran into problems. kRO's last monster ID is: 2463 and you need to find a different starting range. Alright.. Umm, I did @monster, then I got an error and my client shut off..? Are you using a different ID as mentioned? o_O Lemme find my old luas. Hold on. Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 Personally, in my sprite/mob folder (dont know the gibberish wording by heart lol) I would just put RAWR as the monster name. Then in your jobname, do: [jobtbl.RAWR] = "RAWR" and in your npcidentity.lua: ["RAWR"] = <PICK A DIFFERENT ID> I basically do it the same way I add items into my luas.. and I've never ran into problems. kRO's last monster ID is: 2463 and you need to find a different starting range. Alright.. Umm, I did @monster, then I got an error and my client shut off..? Are you using a different ID as mentioned? o_O Lemme find my old luas. Hold on. Alright, Yes I tried ID 2500. Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) Personally, in my sprite/mob folder (dont know the gibberish wording by heart lol) I would just put RAWR as the monster name. Then in your jobname, do: [jobtbl.RAWR] = "RAWR" and in your npcidentity.lua: ["RAWR"] = <PICK A DIFFERENT ID> I basically do it the same way I add items into my luas.. and I've never ran into problems. kRO's last monster ID is: 2463 and you need to find a different starting range. Alright.. Umm, I did @monster, then I got an error and my client shut off..? Are you using a different ID as mentioned? o_O Lemme find my old luas. Hold on. Alright, Yes I tried ID 2500. Alright, so for example, what I did was I named my mob "Absol" and placed the .spr and .act into the mob folder. Next, in my jobname.lua, I did: [jobtbl.Absol] = "Absol", and in my npcidentity.lua, I did: ["Absol"] = 2126, Everything must be spelt correctly or you'd error. Now, A) Make sure your client reads data folder first so that the changes you do, the client can read it B ) Make sure your luas are in the right place.. depending on the client version you're using C) Make sure your client isn't reading lubs first.. make it read lua before lub Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 (edited) Personally, in my sprite/mob folder (dont know the gibberish wording by heart lol) I would just put RAWR as the monster name. Then in your jobname, do: [jobtbl.RAWR] = "RAWR" and in your npcidentity.lua: ["RAWR"] = <PICK A DIFFERENT ID> I basically do it the same way I add items into my luas.. and I've never ran into problems. kRO's last monster ID is: 2463 and you need to find a different starting range. Alright.. Umm, I did @monster, then I got an error and my client shut off..? Are you using a different ID as mentioned? o_O Lemme find my old luas. Hold on. Alright, Yes I tried ID 2500. Alright, so for example, what I did was I named my mob "Absol" and placed the .spr and .act into the mob folder. Next, in my jobname.lua, I did: [jobtbl.Absol] = "Absol", and in my npcidentity.lua, I did: ["Absol"] = 2126, Everything must be spelt correctly or you'd error. I'm using a monster "valkyrie" as my monster sprite, all I'm doing is editing it's name/stats/drops. Still getting errors.. Edited July 18, 2012 by Kurby Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) You could always use: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/mob_avail.txt but since you want your own stats and drops.. Do this in your jobname.lua: [jobtbl.JT_RANDGRIS] = "RANDGRIS", In your npcidentity.lua: ["JT_RANDGRIS"] = 2500, and in your mob_db: 2500,RANDGRIS,Rawr,Rawr,141,1005000,1,10000,10000,3,2895,6101,588,506,196,131,125,276,267,156,10,12,2,8,86,0x37B5,100,576,576,480,0,0,0,0,0,0,0,7539,500,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 Since you're using and already pre-existing mob sprite.. you need to use it's full name and not replace it with RAWR. You only use your "Custom Name" when you get to your mob_db as I showed you in my above code. Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 You could always use: https://rathena.svn....b/mob_avail.txt but since you want your own stats and drops.. Do this in your jobname.lua: [jobtbl.JT_RANDGRIS] = "RANDGRIS", In your npcidentity.lua: ["JT_RANDGRIS"] = 2500, and in your mob_db: 2500,RANDGRIS,Rawr,Rawr,141,1005000,1,10000,10000,3,2895,6101,588,506,196,131,125,276,267,156,10,12,2,8,86,0x37B5,100,576,576,480,0,0,0,0,0,0,0,7539,500,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 Since you're using and already pre-existing mob sprite.. you need to use it's full name and not replace it with RAWR. You only use your "Custom Name" when you get to your mob_db as I showed you in my above code. Where would I view the .spr and .act files for pre-existing mobs? Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 (edited) You wouldn't need too. They're already set in the mob folder because they're already existing sprites. o_O Although, they could be found here: /data/sprite/¸ó½ºÅÍ Edited July 18, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 18, 2012 You wouldn't need too. They're already set in the mob folder because they're already existing sprites. o_O Although, they could be found here: /data/sprite/¸ó½ºÅÍ Thanks for your help!! Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 18, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 18, 2012 You wouldn't need too. They're already set in the mob folder because they're already existing sprites. o_O Although, they could be found here: /data/sprite/¸ó½ºÅÍ Thanks for your help!! Haha, no problem . Does everything work though? Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted October 31, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share Posted October 31, 2012 i got a problem the monster when i spawn it show poring spr. Quote Link to comment Share on other sites More sharing options...
Mystery Posted November 2, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted November 2, 2012 i got a problem the monster when i spawn it show poring spr. That's because you didn't add your correct sprite for the mob or you configured the name/id of your mob wrong in your lua/lub files and in your mob_db. Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted November 2, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share Posted November 2, 2012 i did add it correctly . ive checked it so many times i really dont know. chck heres my config [jobtbl.JT_JUGGERNAUT] = "juggernaut", << jobname.lua ["JT_JUGGERNAUT"] = 4000, << npcidentity.lua heres my sprite name juggernaut.spr juggernaut.act heres my mob_db2.txt 4000,juggernaut,Juggernaut,Juggernaut,99,10000000,0,7610,2826,1,824,1084,37,26,25,20,30,5,77,35,10,12,2,0,80,181,300,2612,912,288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 Quote Link to comment Share on other sites More sharing options...
Question
Kurby
mob_db.txt I used this line, but the mob doesn't drop anything even the drop is 100% and it's not the correct monster sprite?
Link to comment
Share on other sites
20 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.