Hello, I'currently working on a retro tibia server 7.6 with a downgraded version of tfs. I think it's the version 0.3 and i've used gesior aac. I've made many change to this acc to works fine for this version of tfs and now the shop system is perfectly working. I've used a global event script to deliver the items and I cant find out the issue. Here is the bug:
local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'LOGIN';")
cid = getCreatureByName(tostring(result_plr:getDataString("name")))
if isPlayer(cid) == TRUE then
And in the console it says : Attempt to call global 'getCreatureByName' a nil value:
Can someone explain me how to solve it please
local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'LOGIN';")
cid = getCreatureByName(tostring(result_plr:getDataString("name")))
if isPlayer(cid) == TRUE then
And in the console it says : Attempt to call global 'getCreatureByName' a nil value:
Can someone explain me how to solve it please
Attachments
-
image.png20 KB · Views: 22 · VirusTotal