Jump to content
  • 0

[Question] Spriting Support (a nil value)


iFoxkun

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

I can't really tell if this is a sprite issue, script issue, or a client issue. Heres the problem, I tried to add a custom sprite, lets say a Icering.

My .act / .spr are: (added indata\sprite\¸ó½ºÅÍ )

icering.act

icering.spr

My jobname.lua:

[jobtbl.JT_ICERING] = "Icering",

My npcidentity.lua:

["JT_ICERING"] = 7005,

And my mob_db2: (This is SQL server, so the spaces in between are commas (,).

7005 ICERING Icering Icering 255 100 100 1000 1000 1 32676 32676 50 50 255 255 70 255 255 255 10 12 0 2 40 925 150 100 672 480 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 0

My mob.h: (Already compiled).

#define MAX_MOB_DB 10000

After doing all of this, it shows "attempting to call a nil value" and some other one. These are all .lua files, but I want to keep it as this (not .lub) so I can continuously keep adding. Any help? I've been searching through the old forums as well.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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