The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
[Question] Spriting Support (a nil value)
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
iFoxkun
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.