[02/12/2008 18:27:55] Lua Script Error: [Npc interface]
[02/12/2008 18:27:55] data/npc/scripts/addons.luanCreatureSay
keywordHandler:addKeyword({'addons'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can give you citizen, hunter, knight, mage, nobleman, summoner, warrior, barbarian, druid, wizard, oriental, pirate, assassin, beggar, shaman, norseman, nighmare, jester, yalaharian and brotherhood addons.'})
Then send e-mail to CipSoft it's not depending on me. I'm just releasing this as it is, just to show Otland community that Hermes rox
Regards,
Hermes
PS. And I have fixed "demonhunter" to list of addons yesterday ;o
Outfits = {
-- citizen (done)
[10001] = {Outs={136, 128}, addon=1},
[10002] = {Outs={136, 128}, addon=2},
-- hunter (done)
[10003] = {Outs={137, 129}, addon=1},
[10004] = {Outs={137, 129}, addon=2},
-- knight (done)
[10005] = {Outs={139, 131}, addon=1},
[10006] = {Outs={139, 131}, addon=2},
-- mage (done)
[10007] = {Outs={138, 130}, addon=1},
[10008] = {Outs={138, 130}, addon=2},
-- summoner (done)
[10009] = {Outs={141, 133}, addon=1},
[10010] = {Outs={141, 133}, addon=2},
-- barbarian (done)
[10011] = {Outs={147, 143}, addon=1},
[10012] = {Outs={147, 143}, addon=2},
-- druid (done)
[10013] = {Outs={148, 144}, addon=1},
[10014] = {Outs={148, 144}, addon=2},
-- nobleman (done)
[10015] = {Outs={140, 132}, addon=1},
[10016] = {Outs={140, 132}, addon=2},
-- oriental (done)
[10017] = {Outs={150, 146}, addon=1},
[10018] = {Outs={150, 146}, addon=2},
-- warrior (done)
[10019] = {Outs={142, 134}, addon=1},
[10020] = {Outs={142, 134}, addon=2},
-- wizard (done)
[10021] = {Outs={149, 145}, addon=1},
[10022] = {Outs={149, 145}, addon=2},
-- assassin (done)
[10023] = {Outs={156, 152}, addon=1},
[10024] = {Outs={156, 152}, addon=2},
-- beggar (done)
[10025] = {Outs={157, 153}, addon=1},
[10026] = {Outs={157, 153}, addon=2},
-- pirate (done)
[10027] = {Outs={155, 151}, addon=1},
[10028] = {Outs={155, 151}, addon=2},
-- shaman (done)
[10029] = {Outs={158, 154}, addon=1},
[10030] = {Outs={158, 154}, addon=2},
-- norseman (done)
[10031] = {Outs={252, 251}, addon=1},
[10032] = {Outs={252, 251}, addon=2},
-- jester (done)(custom)
[10033] = {Outs={270, 273}, addon=1},
[10034] = {Outs={270, 273}, addon=2},
-- demonhunter (done)(custom)
[10035] = {Outs={288, 289}, addon=1},
[10036] = {Outs={288, 289}, addon=2},
-- nightmare (done)(custom)
[10037] = {Outs={269, 268}, addon=1},
[10038] = {Outs={269, 268}, addon=2},
-- brotherhood (done)(custom)
[10039] = {Outs={136, 278}, addon=1},
[10040] = {Outs={136, 278}, addon=2}
}
dofile("./outfits.lua")
for o = 10001, 10040 do
if getPlayerStorageValue(cid, o) == 1 then
for x = 1, 2 do
doPlayerAddOutfit(cid, Outfits[o].Outs[x], Outfits[o].addon)
end
end
end
-- yalaharian (done)(custom)
local outfit_node = keywordHandler:addKeyword({'first yalaharian addon'}, playerBuyAddonNPC, {premium = true, cost = 0, items = {{9955,1}}, outfit_female = 324, outfit_male = 325, addon = 1, storageID = 10041})
outfit_node:addChildKeywordNode(yesNode)
outfit_node:addChildKeywordNode(noNode)
local outfit_node = keywordHandler:addKeyword({'second yalaharian addon'}, playerBuyAddonNPC, {premium = true, cost = 0, items = {{9955,1}}, outfit_female = 324, outfit_male = 325, addon = 2, storageID = !!!!!!!-->10041<--!!!!!!})
20:02 Leduzin [57]: first yalaharian addon
20:02 Varkhal: Did you bring me 1 vampiric crest for first yalaharian addon?
20:02 Leduzin [57]: yes
20:02 Varkhal: Here you are.
---------------
20:03 Leduzin [57]: second yalaharian addon
20:03 Varkhal: You already have this addon!
Wrong ERROR!! i only got the first addon
but i know whats wrong please edit it in your script
change to 10042
btw thanks for the nice script