Jump to content
  • 0

Mob crash


zeshan321

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   5
  • Joined:  04/07/14
  • Last Seen:  

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:

N7A7O0p.png


Bump.

Edited by zeshan321
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

i think should be

[jobtbl.JT_Fire_Moth] = "Fire_Moth",
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   5
  • Joined:  04/07/14
  • Last Seen:  

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 by zeshan321
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   5
  • Joined:  04/07/14
  • Last Seen:  

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:

vK3pgv4.png

Edited by zeshan321
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

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).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   5
  • Joined:  04/07/14
  • Last Seen:  

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 by zeshan321
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...