English Tibia - NPC error

No replies
Goto Page
To the start Previous 1 Next To the start
25.10.17 10:38:02 pm
Up
Melve
User
Offline Off
Dunno what is the problem.
CONSOLE:
LUA ERROR: sys/lua/cs2dtibia/npcs.lua:507: attempt to index field '?' (a nil value)

and line 507 is:
Code:
1
text = text .. ITEMS[itemid].name .. "|" .. l[2] .. ","

When im deleting this everytime game works but npc menu is crashed because players can't see the name of the items. They can see only: "buy buy buy" "sell sell sell".
edited 1×, last 26.10.17 12:55:53 pm
To the start Previous 1 Next To the start