zeshan321 Posted July 13, 2014 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
Emistry Posted July 13, 2014 Posted July 13, 2014 i think should be [jobtbl.JT_Fire_Moth] = "Fire_Moth", Quote
zeshan321 Posted July 13, 2014 Author 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
jTynne Posted July 14, 2014 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
zeshan321 Posted July 14, 2014 Author 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
jTynne Posted July 14, 2014 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
zeshan321 Posted July 14, 2014 Author 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
Question
zeshan321
My client crashes when spawning custom mobs.
Mob db:
NPCidentity:
jobname:
Sprite:

Bump.
Edited by zeshan3216 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.