zeshan321 Posted July 13, 2014 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 5 Joined: 04/07/14 Last Seen: October 25, 2021 Share Posted July 13, 2014 (edited) My client crashes when spawning custom mobs.Mob db: 3500,Fire_Moth,Hellbat,141,118402,0,170000,186460,1,2100,2530,63,12,90,89,72,20,99,25,10,12,1,8,66,405,170,76,384,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 NPCidentity: ["JT_Fire_Moth"] = 3500, jobname: [jobtbl.Fire_Moth] = "Fire_Moth", Sprite: Bump. Edited July 13, 2014 by zeshan321 Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 13, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 13, 2014 i think should be [jobtbl.JT_Fire_Moth] = "Fire_Moth", Quote Link to comment Share on other sites More sharing options...
zeshan321 Posted July 13, 2014 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 5 Joined: 04/07/14 Last Seen: October 25, 2021 Author Share Posted July 13, 2014 (edited) I increased the id to 3600 now i'm getting "invalid mob id or name". 3600,Fire_Moth,Hellbat,141,118402,0,170000,186460,1,2100,2530,63,12,90,89,72,20,99,25,10,12,1,8,66,405,170,76,384,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 Edited July 13, 2014 by zeshan321 Quote Link to comment Share on other sites More sharing options...
jTynne Posted July 14, 2014 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Share Posted July 14, 2014 Make sure you've edited the monster ID range inside /src/map/mob.h -- if you're using an older version of rAthena (latest trunk has a sufficient ID range for the mob #ID you're attempting to use). #define MAX_MOB_DB 5000 in file, https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/mob.h -- If you need to increase this number, be sure to recompile and reboot your server, as it's a change to the source. If you haven't already, @reloadmobdb, and make sure your lua files now match the updated #ID for your Hellbat monster. You don't show where your sprite/act are located in your screenshots. Make sure they're located in data/sprite/¸ó½ºÅÍ/ -- If they're not already there, move them there/make a new folder at that path and place them there. Quote Link to comment Share on other sites More sharing options...
zeshan321 Posted July 14, 2014 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 5 Joined: 04/07/14 Last Seen: October 25, 2021 Author Share Posted July 14, 2014 (edited) Make sure you've edited the monster ID range inside /src/map/mob.h -- if you're using an older version of rAthena (latest trunk has a sufficient ID range for the mob #ID you're attempting to use). #define MAX_MOB_DB 5000 in file, https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/mob.h -- If you need to increase this number, be sure to recompile and reboot your server, as it's a change to the source. If you haven't already, @reloadmobdb, and make sure your lua files now match the updated #ID for your Hellbat monster. You don't show where your sprite/act are located in your screenshots. Make sure they're located in data/sprite/¸ó½ºÅÍ/ -- If they're not already there, move them there/make a new folder at that path and place them there. Is it okay that i'm putting the mob db info in db/import/mob_db.txt? Mob.h : #define MAX_MOB_DB 5000 npcidenity: ["JT_Fire_Moth"] = 3600, Jobname: [jobtbl.JT_Fire_Moth] = "Fire_Moth", Mob db: 3600,Fire_Moth,Hellbat,141,118402,0,170000,186460,1,2100,2530,63,12,90,89,72,20,99,25,10,12,1,8,66,405,170,76,384,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 Sprite: Edited July 14, 2014 by zeshan321 Quote Link to comment Share on other sites More sharing options...
jTynne Posted July 14, 2014 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Share Posted July 14, 2014 Client-side looks correct, so it must be something server-side. Are you using SQL? If so, you must put in an entry in your database. I'm not entirely certain if rA still has TXT based servers (haven't used it in nearly two years). Quote Link to comment Share on other sites More sharing options...
zeshan321 Posted July 14, 2014 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 5 Joined: 04/07/14 Last Seen: October 25, 2021 Author Share Posted July 14, 2014 (edited) Client-side looks correct, so it must be something server-side. Are you using SQL? If so, you must put in an entry in your database. I'm not entirely certain if rA still has TXT based servers (haven't used it in nearly two years). I've solved the spawning issue but now i'm having a different issue: http://rathena.org/board/topic/96503-mob-spawning-different-sprite/ Edited August 11, 2014 by zeshan321 Quote Link to comment Share on other sites More sharing options...
Question
zeshan321
My client crashes when spawning custom mobs.
Mob db:
NPCidentity:
jobname:
Sprite:

Bump.
Edited by zeshan321Link to comment
Share on other sites
6 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.