Cze
Dzisiaj przenosiłem serwer z 8.54 na 8.62
Wszystkie questy, które w actionid mają 2000 i 2001 okej działają.
Natomiast te questy, które znajdują się w movements/actions jako skrypt, wywalają debuga gdy chce się je otworzyć.
Oto kilka przykładowych questów:
Na justice sekker :
Yalahar legs:
Będę bardzo wdzięczny za pomoc.
Pozdrawiam
Dzisiaj przenosiłem serwer z 8.54 na 8.62
Wszystkie questy, które w actionid mają 2000 i 2001 okej działają.
Natomiast te questy, które znajdują się w movements/actions jako skrypt, wywalają debuga gdy chce się je otworzyć.
Oto kilka przykładowych questów:
Na justice sekker :
Code:
-----------Config-----------
local message = "You have found a Justice Seeker!"
----------End Config---------
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,66666) == 1 then
doPlayerSendTextMessage(cid,25,"Gamemasters are not able to collect rewards from the quests.")
else
if getPlayerStorageValue(cid,60360) == -1 then
doPlayerAddItem(cid, 7390, 1)
doPlayerSendTextMessage(cid,25,message)
doSendMagicEffect(frompos, 12)
setPlayerStorageValue(cid,60360,1)
elseif getPlayerStorageValue(cid,60360) == 1 then
doPlayerSendTextMessage(cid,25,"The chest is empty.")
end
end
end
Code:
-----------Config-----------
local message = "You have found a Yalahari Leg Piece and an Vampiric Crest."
----------End Config---------
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,66666) == 1 then
doPlayerSendTextMessage(cid,25,"Gamemasters are not able to collect rewards from the quests.")
else
if getPlayerStorageValue(cid,60203) == -1 then
doPlayerAddItem(cid, 9777, 1)
doPlayerAddItem(cid, 9955, 1)
doPlayerSendTextMessage(cid,25,message)
doSendMagicEffect(frompos, 12)
setPlayerStorageValue(cid,60203,1)
elseif getPlayerStorageValue(cid,60203) == 1 then
doPlayerSendTextMessage(cid,25,"The chest is empty.")
end
end
end
Pozdrawiam