Does this functionally on avesta branch server ? Can you adapt it to avesta branch 0.6.0 ?
[25/10/2008 17:59:15] Lua Script Error: [TalkAction Interface]
[25/10/2008 17:59:15] data/talkactions/scripts/pets/!petcarry.lua:onSay
[25/10/2008 17:59:15] data/talkactions/scripts/pets/!petcarry.lua:13: attempt to call global 'getItemWeight' (a nil value)
[25/10/2008 17:59:15] stack traceback:
[25/10/2008 17:59:15] data/talkactions/scripts/pets/!petcarry.lua:13: in function <data/talkactions/scripts/pets/!petcarry.lua:2>
Code:[25/10/2008 17:59:15] Lua Script Error: [TalkAction Interface] [25/10/2008 17:59:15] data/talkactions/scripts/pets/!petcarry.lua:onSay [25/10/2008 17:59:15] data/talkactions/scripts/pets/!petcarry.lua:13: attempt to call global 'getItemWeight' (a nil value) [25/10/2008 17:59:15] stack traceback: [25/10/2008 17:59:15] data/talkactions/scripts/pets/!petcarry.lua:13: in function <data/talkactions/scripts/pets/!petcarry.lua:2>
Error! :/
Can you help me
[16/11/2008 18:10:50] The Forgotten Server - Version 0.3 (Alpha 4).
[16/11/2008 18:10:50] A server developed by Talaturen, Kiper, Kornholijo, Jonern, Lithium & Elf.
[16/11/2008 18:10:50] Visit our forum for updates, support and resources: http://otland.net/.
[16/11/2008 18:10:52] Tucki has logged out.
[16/11/2008 18:10:52] Trekes has logged in.
[16/11/2008 18:10:54] Lua Script Error: [TalkAction Interface]
[16/11/2008 18:10:54] in a timer event called from:
[16/11/2008 18:10:54] data/talkactions/scripts/pets/!pet.lua:onSay
[16/11/2008 18:10:54] luaGetPlayerStorageValue(). Player not found
[16/11/2008 18:10:54] Lua Script Error: [TalkAction Interface]
[16/11/2008 18:10:54] in a timer event called from:
[16/11/2008 18:10:54] data/talkactions/scripts/pets/!pet.lua:onSay
[16/11/2008 18:10:54] luaSetPlayerStorageValue(). Player not found
[16/11/2008 18:10:54] Trekes has logged out.
[16/11/2008 18:10:55] Tucki has logged in.
I can't even summon the pet. It says I don't have enough space.
I dont got a logout script please help me
maybe its called something else, i dont know
where could it be?
<event type="logout" name="PlayerLogout" script="logout.lua"/>
dofile("./petConfig.lua")
function onLogout(cid)
if isCreature(getPlayerStorageValue(cid, storages.petUid)) == 1 then
if getPlayerStorageValue(cid, storages.petIsOnline) == 2 then
setPlayerStorageValue(cid, storages.petIsOnline, 1)
end
end
return TRUE
end