Kristoffer
Web designer
Master Voice Quest is broken.
Oldrak won't give you hallowed axe.
Oldrak won't give you hallowed axe.
Attachments
-
errors.png24.3 KB · Views: 36 · VirusTotal
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Zoltan" script="zoltan.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100" />
<look type="130" head="95" body="113" legs="95" feet="76" addons="0" />
<parameters>
<parameter key="message_greet" value="Welcome player, student of the arcane arts."/>
<parameter key="message_farewell" value="Good bye, and don't come back too soon."/>
</parameters>
</npc>
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
-- Storage IDs --
mage = 22005
summoner = 22011
newaddon = 'I bow to you, player, and hereby grant you the right to wear Ferumbras hat as accessory. Congratulations!'
noitems = 'You do not have all the required items.'
noitems2 = 'You do not have all the required items or you do not have the first addon, which by the way, is a requirement for this addon.'
already = 'It seems you already have this addon, don\'t you try to mock me son!'
-- MAGE START --
function MageSecond(cid, message, keywords, parameters, node)
if(not npcHandler:isFocused(cid)) then
return false
end
if isPremium(cid) then
addon = getPlayerStorageValue(cid,mage+1)
if addon == -1 then
if getPlayerSex(cid) == 0 then
if getPlayerItemCount(cid,5903) >= 1 then
if doPlayerRemoveItem(cid,5903,1) then
selfSay(newaddon, cid)
doSendMagicEffect(getCreaturePosition(cid), 13)
doPlayerAddOutfit(cid, 141, 2)
setPlayerStorageValue(cid,summoner+1,1)
end
else
selfSay(noitems, cid)
end
elseif getPlayerSex(cid) == 1 then
if getPlayerItemCount(cid,5903) >= 1 then
if doPlayerRemoveItem(cid,5903,1) then
selfSay(newaddon, cid)
doSendMagicEffect(getCreaturePosition(cid), 13)
doPlayerAddOutfit(cid, 130, 2)
setPlayerStorageValue(cid,mage+1,1)
end
else
selfSay(noitems, cid)
end
end
else
selfSay(already, cid)
end
end
end
-- MAGE END --
node5 = keywordHandler:addKeyword({'proof'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = '... I cannot believe my eyes. You retrieved this hat from Ferumbras remains? That is incredible. If you give it to me, I will grant you the right to wear this hat as addon. What do you say?'})
node5:addChildKeyword({'yes'}, MageSecond, {})
node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got all neccessary items.', reset = true})
npcHandler:addModule(FocusModule:new())
To fix sam old backpack quest you need change the unique ID of door to 2234:
So what is the problem? you can login but not others?
You will have to rescript most of thr npcs, actions, creaturescripts.How I can activate the Questlog-system?
Have somebody the same problem with entchanting of ruby and other stones.
I always get lua errors.
How can I fiix that`?
Congratulations, great job.
But contains a small problem,
Warzone The Teleport's not Funcionão Of Bosses and access to NPCs.
Have somebody the same problem with entchanting of ruby and other stones.
I always get lua errors.
How can I fiix that`?
If you check globalevents/scripts/serversave.lua and edit the time in globalevents/globalevents.xmlIs there auto-save system or I have to add it manually? If there isn't is there any tutorial?
<globalevent name="Server Save" time="09:55:00" script="serversave.lua"/>
It is standard forgottenserver pulled straight from the source thats listed in OPthe already compiled version of the server that is included in the download does it have any changes compared to the source? i mean like if you have done anything your self with the code or running it as standard
the already compiled version of the server that is included in the download does it have any changes compared to the source? i mean like if you have done anything your self with the code or running it as standard
the already compiled version of the server that is included in the download does it have any changes compared to the source? i mean like if you have done anything your self with the code or running it as standard
The only difference is the "Data" folder