Fermantor
Active Member
I have found a 9.6 TFS Server and Updated my old 8.62 and started to test all my scripts, for errors. Everything worked fine except those two.
I have a movement function, when you step on a field a "lever" is pulled, and "click" apears.
gittertür.lua
But then comes this error
And my second problem is, that a npc doesn't want to sell an item anymore.
This npc doesn't sell vial anymore :/
I hope someone can help me, with one of this problems, thank you
I have a movement function, when you step on a field a "lever" is pulled, and "click" apears.
gittertür.lua
Lua:
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) == TRUE then
if getGlobalStorageValue(item.actionid) ~= 1 then
doSendAnimatedText(position, 'Click', TEXTCOLOR_ORANGE)
setGlobalStorageValue(item.actionid, 1)
end
end
return TRUE
end
Code:
[07/10/2012 16:08:02] Lua Script Error: [MoveEvents Interface]
[07/10/2012 16:08:02] data/movements/scripts/quests/Pantra/Befreiung/gittertür.lua:onStepIn
[07/10/2012 16:08:02] LuaScriptInterface::luaDoSendAnimatedText(). Deprecated function.
[07/10/2012 16:08:02] stack traceback:
[07/10/2012 16:08:02] [C]: in function 'doSendAnimatedText'
[07/10/2012 16:08:02] .../movements/scripts/quests/Pantra/Befreiung/gittertür.lua:4: in function <.../movements/scripts/quests/Pantra/Befreiung/gittertür.lua:1>
And my second problem is, that a npc doesn't want to sell an item anymore.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Toxina" script="data/npc/scripts/Pantra/magic.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="138" head="79" body="119" legs="81" feet="115" addons="1"/>
<parameters>
<parameter key="module_shop" value="3"/>
<parameter key="shop_buyable" value="small health potion,8704,40;antidote potion,8474,50;vial,2006,100"/>
<parameter key="shop_sellable" value="empty potion flask,7636,5;empty vial,2006,5;flask,8205,150,tarantula poison"/>
<parameter key="message_farewell" value="Auf Wiedersehen, |PLAYERNAME|.Ich muss wieder an meine Arbeit! Also, zwei Bonelord Eyes, drei Fish Fins, acht...!"/>
</parameters>
</npc>
I hope someone can help me, with one of this problems, thank you