Jump to content

Question

Posted

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.

3 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...