Ghost Creations
Active Member
This is killing me. I got this error and can't figure it out
Info:
Server: 8.54 - The Forgotten Server - Version 0.2.07 (Mystic Spirit) -win32gui
What it does: I have 3 chairs it checks to see if you have done the Quest and if so allows you to teleport to location, if you have not done the Quest it gives you a message that you need to do the Quest.
The Error happens every 30sec.
Error:
Other than the error the script works fine.
Info:
Server: 8.54 - The Forgotten Server - Version 0.2.07 (Mystic Spirit) -win32gui
What it does: I have 3 chairs it checks to see if you have done the Quest and if so allows you to teleport to location, if you have not done the Quest it gives you a message that you need to do the Quest.
The Error happens every 30sec.
Error:
Code:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/tp spawn.lua:onStepIn
luaDoPlayerSendTextMessage(). Player not found
Lua:
function onStepIn(cid, item, pos)
if item.uid == 1041 and getPlayerStorageValue(cid,97250) == 1 then
doPlayerSendTextMessage(cid, 20, 'You have finished! Use your new power carefully!!')
local npos = {x=736,y=634,z=7}
doTeleportThing(cid,npos)
else if item.uid == 1042 and getPlayerStorageValue(cid,97250) == 1 then
doPlayerSendTextMessage(cid, 20, 'You have finished! Use your new power carefully!!')
local npos1 = {x=764,y=634,z=7}
doTeleportThing(cid,npos1)
else if item.uid == 1043 and getPlayerStorageValue(cid,97250) == 1 then
doPlayerSendTextMessage(cid, 20, 'You have finished! Use your new power carefully!!')
local npos2 = {x=806,y=634,z=7}
doTeleportThing(cid,npos2)
else
doPlayerSendTextMessage(cid, 20, 'Only those who have finished the quest can use the power of those tiles!')
end
end
end
end
Other than the error the script works fine.