• 0
GreenMagic793

Custom mob sprite issue

Question

Hey guys,

I've been trying to add custom mob sprites to my server and I'm having a lot of weird things happen. I followed instructions exactly: put my .act and .spr files for a custom Poring in the right folder in my grf, edited the lua files, added the monster to my mob_db, but then when I actually spawn it in the game... it comes out as a bartender NPC that uses cloaking and attacks me... what the hell?

I don't understand. My monster doesn't even have skills in the db, how is it using cloaking? And why is it coming out as a bartender when I've set it to my custom sprite in the lua files? I'm at my wit's end here, I don't get it. Any help would be appreciated.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You've said a lot but given us very few.
Post your entries on each file and DB so we can analyze where you could have made any mistake.

Share this post


Link to post
Share on other sites
  • 0
32 minutes ago, Haziel said:

You've said a lot but given us very few.
Post your entries on each file and DB so we can analyze where you could have made any mistake.

Okay, I uploaded my files. This is what I did step by step:

1. Added new mob to mob_db under id 1929, called it TESTPORING, gave it same stats as a normal poring, no skills

2. Went into jobname.lua and added this line to the bottom: [jobtbl.JT_TESTPORING] = "TESTPORING"

3. Went into npcidentity.lua and added this line to the bottom: ["JT_TESTPORING"] = 1929

4. took my .spr and .act files and put them under npc\ó½ºÅÍ\

Then, I start up my server, run the client, use @spawn 1929... and it spawns as bartender (NPC sprite 46), has cloaking even though I didn't give it any skills. I just don't get it. Thanks for your help.

jobname.lua

npcidentity.lua

mob_db.txt

Share this post


Link to post
Share on other sites
  • 0

I'm pretty sure the ID 1929 is in use for an official mob. You'll have to use a higher ID. Try 3000+

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now