Page 1 of 1
GetNPCByID Error
Posted: Sun Apr 13, 2014 9:43 am
by tagban
Getting errors in my Game Server, well, warnings, but an error at the end about conquest.lua:1164 attempt to index a nil value
As for the others, they are "Warnings" about NPC's that don't exist from SetFieldManual.
Re: GetNPCByID Error
Posted: Sun Apr 13, 2014 10:15 am
by demolish
Usually get those errors after a retail update as they shift NPC IDs and Text IDs.
Scripts that use GetNPCByID() and SQL tables for elevators need updating to use the new IDs instead of the IDs pre-update.
Re: GetNPCByID Error
Posted: Sun Apr 13, 2014 10:49 am
by tagban
Gotcha. I update from DSP almost daily. Whenever the server crashes, I log into the VPS in the morning and PULL from GIT. So I tend to test everything pretty regularly. But maybe it will be fixed near future, it wasn't happening til the pull this morning.