• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Action Advanced quest chests 1.x

Still wasn't doing the trick. I was able to get it working by fixing the syntax. This is a SWEET script buddy.

You totally ROCK for sharing this.

Here's what I fixed:

Lua:
questChests = {
    ---------------------------------------------------------
   -- Example Quest Box 1
   ---------------------------------------------------------
   [1234] = {
       minLevel = 50,
       items = {
           [1] = {type = "item", item = 2160, count = 1},
           [2] = {type = "experience", amount = 20000},
           [3] = {type = "outfit", name = "assassin", femaleId = 156, maleId = 152},
           [4] = {type = "addon", outfit = "nobleman", addonNumber = 1, femaleId = 140, maleId = 132},
           [5] = {type = "mount", mountName = "Orc", mountId = 20},
       },
   },
} -- This closing bracket was missing.

woops looks like those bold tags glitched or some shit.. glad you like it =)
 
woops looks like those bold tags glitched or some shit.. glad you like it =)
I really do. I notice it doesn't give the player the mount tho. Can't really tell what's going on there.

EDIT:
Found it, it's in the lib. A variable isn't referenced properly.

Line 90~ish
Lua:
       -----------------------------------------------------------------------------------
       -- Mount Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "mount" then
           local mountName = questChests[questChest].items[i].mountName
           local mountId = questChests[questChest].items[i].mountId
           player:addMount(mountId) -- was written as addMount(mount) rewrote to addMount(mountId)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You have unlocked the "..mountName.." mount.")
       end
   end

Duuuude, your script is almost perfect now. The outfits aren't being awarded at this time.

Thank you so much for making this.
 
Last edited:
I really do. I notice it doesn't give the player the mount tho. Can't really tell what's going on there.

EDIT:
Found it, it's in the lib. A variable isn't referenced properly.

Line 90~ish
Lua:
       -----------------------------------------------------------------------------------
       -- Mount Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "mount" then
           local mountName = questChests[questChest].items[i].mountName
           local mountId = questChests[questChest].items[i].mountId
           player:addMount(mountId) -- was written as addMount(mount) rewrote to addMount(mountId)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You have unlocked the "..mountName.." mount.")
       end
   end

Duuuude, your script is perfect now. Thank you so much for making this.
I'm glad you found the errors and repaired them yourself =) enjoy
 
I'm glad you found the errors and repaired them yourself =) enjoy
Not a problem. I bet it is refreshing for a scripter to not have to completely set it up for the user lol.

Also, in main post there are bold tags in your code.
 
Now getting this error:
[Warning - Event::checkScript] Can not load script: scripts/quests/quest_chests.lua
data/actions/scripts/quests/quest_chests.lua:18: 'then' expected near '='
 
it's 1:1 the same like main post.

Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
   -----------------------------------------------------------------------------------
   -- Local Variables --
   -----------------------------------------------------------------------------------
   local questChest = item:getUniqueId()
   -----------------------------------------------------------------------------------
   -- Check if player has already opened box --
   -----------------------------------------------------------------------------------
   if player:getStorageValue(questChest) == 1 then
       player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The chest is empty.")
       return true
   end
   -----------------------------------------------------------------------------------
   -- Check if player meets level requirment
   -----------------------------------------------------------------------------------
   local playerLevel = player:getLevel()
   local minLevel = questChests[questChest].minLevel
   if questChests[questChest].minLevel => playerLevel then
       player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You need to be level "..minLevel.." to open this chest.")
       return true
   end
   -----------------------------------------------------------------------------------
   -- Give rewward if player has not yet opened box --
   -----------------------------------------------------------------------------------
   for i = 1, #questChests[questChest].items do
       local rewardType = questChests[questChest].items[i].type
       -----------------------------------------------------------------------------------
       -- Item Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "item" then
           local item = questChests[questChest].items[i].item
           local count = questChests[questChest].items[i].count
           player:addItem(item, count)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You earned ["..count.."x] "..capAll(getItemName(item)))
       end
       -----------------------------------------------------------------------------------
       -- Experience Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "experience" then
           local amount = questChests[questChest].items[i].amount
           player:addExperience(amount)
           player:say(amount.." EXP gained!", TALKTYPE_MONSTER_SAY)
           player:getPosition():sendMagicEffect(CONST_ME_STUN)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained "..amount.." experience points.")
       end
       -----------------------------------------------------------------------------------
       -- Outfit Type Reward --
       ----------------------------------------------------------------------------------- 
       if rewardType == "outfit" then
           local outfitName = questChests[questChest].items[i].name
           local maleOutfit = questChests[questChest].items[i].maleId
           local femaleOutfit = questChests[questChest].items[i].femaleId
           if player:getSex() == 0 then
               player:addOutfit(femaleOutfit)
           else
               player:addOutfit(maleOutfit)
           end
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the "..outfitName.." outfit.")
       end
       -----------------------------------------------------------------------------------
       -- Addon Type Reward --
       ----------------------------------------------------------------------------------- 
       if rewardType == "addon" then
           local outfitName = questChests[questChest].items[i].outfit
           local addon = questChests[questChest].items[i].addonNumber
           local maleAddon = questChests[questChest].items[i].maleId
           local femaleAddon = questChests[questChest].items[i].femaleId
           if player:getSex() == 0 then
               player:addOutfitAddon(femaleAddon, addon)
           else
               player:addOutfitAddon(maleAddon, addon)
           end
           if addon == 1 then
               player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the first "..outfitName.." outfit addon.")
           elseif addon == 2 then
               player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the second "..outfitName.." outfit addon.")
           elseif addon == 3 then
               player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the third "..outfitName.." outfit addon.")
           end
       end
       -----------------------------------------------------------------------------------
       -- Mount Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "mount" then
           local mountName = questChests[questChest].items[i].mountName
           local mountId = questChests[questChest].items[i].mountId
           player:addMount(mountId)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You have unlocked the "..mountName.." mount.")
       end
   end
   -----------------------------------------------------------------------------------
   -- Add in any cooldowns/storages --
   -----------------------------------------------------------------------------------
   player:setStorageValue(questChest, 1)
   return true
end
 
Uhm now that i implemented the script i get the same error which is wierd cuz it says that a " then " is missing near = but its not?

minLevel => playerLevel then

@strutZ insight please? really trying here haha
 
Uhm now that i implemented the script i get the same error which is wierd cuz it says that a " then " is missing near = but its not?

minLevel => playerLevel then

@strutZ insight please? really trying here haha
You need to change line 18 to this if you want it to work.

Lua:
    if questChests[questChest].minLevel >= playerLevel then

Also, I'm not getting the outfit when I use the chest. So there is still some work to be done here. No console errors, just nothing happens. Anyone got an idea on that? :p

I tried changing:
Lua:
           if player:getSex() == 0 then
               player:addOutfit(femaleOutfit)
           else
               player:addOutfit(maleOutfit)
           end
to:
Lua:
           if player:getSex() == 0 then
               player:addOutfit(femaleOutfit, 0)
           else
               player:addOutfit(maleOutfit, 0)
           end
But still same thing.

Here is my (mostly) working actions file (credit to OP):
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
   -----------------------------------------------------------------------------------
   -- Local Variables --
   -----------------------------------------------------------------------------------
   local questChest = item:getUniqueId()
   -----------------------------------------------------------------------------------
   -- Check if player has already opened box --
   -----------------------------------------------------------------------------------
   if player:getStorageValue(questChest) == 1 then
       player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The chest is empty.")
       return true
   end
   -----------------------------------------------------------------------------------
   -- Check if player meets level requirment
   -----------------------------------------------------------------------------------
   local playerLevel = player:getLevel()
   local minLevel = questChests[questChest].minLevel
   if questChests[questChest].minLevel >= playerLevel then
       player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You need to be level "..minLevel.." to open this chest.")
       return true
   end
   -----------------------------------------------------------------------------------

   -- Give rewward if player has not yet opened box --

   -----------------------------------------------------------------------------------
   for i = 1, #questChests[questChest].items do
       local rewardType = questChests[questChest].items[i].type
       -----------------------------------------------------------------------------------
       -- Item Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "item" then
           local item = questChests[questChest].items[i].item
           local count = questChests[questChest].items[i].count
           player:addItem(item, count)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You earned ["..count.."x] "..capAll(getItemName(item)))
       end
       -----------------------------------------------------------------------------------
       -- Experience Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "experience" then
           local amount = questChests[questChest].items[i].amount
           player:addExperience(amount)
           player:say(amount.." EXP gained!", TALKTYPE_MONSTER_SAY)
           player:getPosition():sendMagicEffect(CONST_ME_STUN)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained "..amount.." experience points.")
       end
       -----------------------------------------------------------------------------------
       -- Outfit Type Reward --
       -----------------------------------------------------------------------------------  
       if rewardType == "outfit" then
           local outfitName = questChests[questChest].items[i].name
           local maleOutfit = questChests[questChest].items[i].maleId
           local femaleOutfit = questChests[questChest].items[i].femaleId
           if player:getSex() == 0 then
               player:addOutfit(femaleOutfit, 0)
           else
               player:addOutfit(maleOutfit, 0)
           end
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the "..outfitName.." outfit.")
       end
       -----------------------------------------------------------------------------------
       -- Addon Type Reward --
       -----------------------------------------------------------------------------------  
       if rewardType == "addon" then
           local outfitName = questChests[questChest].items[i].outfit
           local addon = questChests[questChest].items[i].addonNumber
           local maleAddon = questChests[questChest].items[i].maleId
           local femaleAddon = questChests[questChest].items[i].femaleId
           if player:getSex() == 0 then
               player:addOutfitAddon(femaleAddon, addon)
           else
               player:addOutfitAddon(maleAddon, addon)
           end
           if addon == 1 then
               player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the first "..outfitName.." outfit addon.")
           elseif addon == 2 then
               player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the second "..outfitName.." outfit addon.")
           elseif addon == 3 then
               player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You gained the third "..outfitName.." outfit addon.")
           end
       end
       -----------------------------------------------------------------------------------
       -- Mount Type Reward --
       -----------------------------------------------------------------------------------
       if rewardType == "mount" then
           local mountName = questChests[questChest].items[i].mountName
           local mountId = questChests[questChest].items[i].mountId
           player:addMount(mountId)
           player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "You have unlocked the "..mountName.." mount.")
       end
   end
   -----------------------------------------------------------------------------------
   -- Add in any cooldowns/storages --
   -----------------------------------------------------------------------------------
   player:setStorageValue(questChest, 1)
   return true
end

EDIT:
What I'm doing to fix the "problem" tho there isn't one... with getting outfits. Instead of using the "outfit" option I'll be using the "addons" option and just set addons to "0" if you just want the outfit to be given. Totally works.

Lua:
   [42059] = {
       minLevel = 40,
       items = {
           [1] = {type = "item", item = 26388, count = 1},
           [2] = {type = "mount", mountName = "Glooth Glider", mountId = 71},
           [3] = {type = "experience", amount = 80000},
           [4] = {type = "addon", outfit = "Jersey", addonNumber = 0, femaleId = 619, maleId = 620}, -- Set addonNumber to ZERO for just the outfit.
       },
   },

I've actually concluded, finally that the outfit i chose for testing, (jersey) is the only one that DOESN'T work with this script. lmfao

Other than that, GREAT job. (and honestly, who can fault u. TFS is WEIRD since I came back to OTs after 6 years.
 
Last edited:
questChests = {
---------------------------------------------------------
-- Example Quest Box 1
---------------------------------------------------------
[35700] = {
minLevel = 150,
items = {
[5] = {type = "mount", mountName = "Death Crawler", mountId = 46},
},
[35701] = {
minLevel = 150,
items = {
[5] = {type = "mount", mountName = "Steelbeak", mountId = 34},
},
},
[35702] = {
minLevel = 150,
items = {
[5] = {type = "mount", mountName = "Ironblight", mountId = 29},
},
},
[35703] = {
minLevel = 150,
items = {
[5] = {type = "mount", mountName = "Magma Crawler", mountId = 30},
},
},
[35704] = {
minLevel = 150,
items = {
[5] = {type = "mount", mountName = "Gnarlhound", mountId = 32},
},

like this to add more chests?

what actionid shuld i use?
 
  1. <action fromuid="35700" touid="75800" script="quest_chests.lua" /> i have it like this since it said i can use 100 chests, will this cause an problem? shuld i use ex 35700 as action id or uniceid on chest in mapeditor? and what whuld be in the left over box? uid/aid
 
also i cant add
  1. dofile('data/lib/quest_chests.lua') in global.lua
it causes me an error with stamina in my global file for some reason
 
culdnt edit here is the error

"
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/login.lua:eek:nLogin
data/creaturescripts/scripts/others/login.lua:65: attempt to index global 'nextUseStaminaTime' (a nil value)
stack traceback:
[C]: in function '__newindex'
data/creaturescripts/scripts/others/login.lua:65: in function <data/creaturescripts/scripts/others/login.lua:48>

Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/logout.lua:eek:nLogout
data/creaturescripts/scripts/others/logout.lua:3: attempt to index global 'nextUseStaminaTime' (a nil value)
stack traceback:
[C]: in function '__index'
data/creaturescripts/scripts/others/logout.lua:3: in function <data/creaturescripts/scripts/others/logout.lua:1>"
 
Upgraded this system a little. Added support for:
-Quest Status
-Key requirement
-Multiple rewards for items, outfits, addons, mounts

The possibilities are endless now.

lib
Code:
questChests = {
   [2000] = {
        questStorage = 10000,
        questStatus = 5,
        questMsg_success = "You have found the item now go do blah blah blah",
        questMsg_fail = "You are not ready to open this chest. Go do blah blah blah"
        levelReq = 40,
        keyReq = 2143,
        item_reward = {
        [1] = {itemid = 1111, count = 1},
        [2] = {itemid = 1111, count = 1}
        },
        outfit_reward = {
        [1] = {male = 111, female = 111, addons = 0}
        },
        addon_reward = {
        [1] = {male = 111, female = 111, addons = 1}
        },
        mount_reward = {
        [1] = {mountId = 1}
        }
       
   },
   
}

action script
Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    chest = questChests[item:getAttribute('uid')]
    if not chest then return true end
   
    --------------Check if player has already opened the chest-----
    if player:getStorageValue(item:getAttribute('uid')) == 1 then
        return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "The chest is empty.")
    end
   
    --------------Check if player has quest status-----------------
    if chest.storage and chest.status then
        if player:getStorageValue(chest.storage) ~= chest.status then
            return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, chest.questMsg_fail)
        end
    end
   
    ---------------Check if player has level requirement------------
    if chest.levelReq then
        if player:getLevel() < chest.levelReq then
            return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "You must be level "..chest.levelReq.. " to open this chest.")
        end
    end
   
    --------------Check if player has key required-------------------
    if chest.keyReq then
        if player:getItemCount(chest.keyReq) < 1 then
            return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "This chest requires a key to open.")
        end
    end
   
    ------------Give player reward items---------------------
    if quest.item_reward then
        for i = 1, #quest.item_reward do
            player:addItem(quest.item_reward[i].itemid, quest.item_reward[i].count, 1)
        end
    end
   
    ------------Give player outfit reward--------------------
    if quest.outfit_reward then
        for i = 1, #quest.outfit_reward do
            if player:getSex() == 0 then
                player:addOutfit(quest.outfit_reward[i].female, quest.outfit_reward[i].addons)
            else
                player:addOutfit(quest.outfit_reward[i].male, quest.outfit_reward[i].addons)
            end
        end
    end
   
    -----------Give player addon reward-----------------------
    if quest.addon_reward then
        for i = 1, #quest.addon_reward do
            if player:getSex() == 0 then
                if quest.addon_reward.addons = 1 then
                    player:addOutfitAddon(quest.addon_reward[i].female, 1)
                else
                    player:addOutfitAddon(quest.addon_reward[i].female, 1)
                    player:addOutfitAddon(quest.addon_reward[i].female, 2)
                end
            else
                if quest.addon_reward.addons = 1 then
                    player:addOutfitAddon(quest.addon_reward[i].male, 1)
                else
                    player:addOutfitAddon(quest.addon_reward[i].male, 1)
                    player:addOutfitAddon(quest.addon_reward[i].male, 2)
                end
            end
        end
    end
   
    ----------Give player mount reward--------------------------
    if quest.mount_reward then
        for i = 1, #quest.mount_reward do
            player:addMount(quest.mount_reward.mountId)
        end
    end
   
    if quest.questStatus then
        player:setStorageValue(quest.questStorage, quest.questStatus + 1)
    end
   
    player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "You have recieved your reward.")
    player:setStorageValue(item:getAttribute('uid'), 1)
    return false
end

If there are any errors post them here.
 
Forgot exp rewards oops...

lib
Code:
questChests = {
   [2000] = {
        questStorage = 10000,
        questStatus = 5,
        questMsg_success = "You have found the item now go do blah blah blah",
        questMsg_fail = "You are not ready to open this chest. Go do blah blah blah"
        levelReq = 40,
        keyReq = 2143,
        expReward = 10000,
        item_reward = {
        [1] = {itemid = 1111, count = 1},
        [2] = {itemid = 1111, count = 1}
        },
        outfit_reward = {
        [1] = {male = 111, female = 111, addons = 0}
        },
        addon_reward = {
        [1] = {male = 111, female = 111, addons = 1}
        },
        mount_reward = {
        [1] = {mountId = 1}
        }
       
   },
   
}

Action
Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    chest = questChests[item:getAttribute('uid')]
    if not chest then return true end
   
    --------------Check if player has already opened the chest-----
    if player:getStorageValue(item:getAttribute('uid')) == 1 then
        return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "The chest is empty.")
    end
   
    --------------Check if player has quest status-----------------
    if chest.storage and chest.status then
        if player:getStorageValue(chest.storage) ~= chest.status then
            return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, chest.questMsg_fail)
        end
    end
   
    ---------------Check if player has level requirement------------
    if chest.levelReq then
        if player:getLevel() < chest.levelReq then
            return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "You must be level "..chest.levelReq.. " to open this chest.")
        end
    end
   
    --------------Check if player has key required-------------------
    if chest.keyReq then
        if player:getItemCount(chest.keyReq) < 1 then
            return player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "This chest requires a key to open.")
        end
    end
   
    ------------Give player EXP reward-------------------------------
    if chest.expReward then
        player:addExperience(chest.expReward, true)
    end
   
    ------------Give player reward items---------------------
    if quest.item_reward then
        for i = 1, #quest.item_reward do
            player:addItem(quest.item_reward[i].itemid, quest.item_reward[i].count, 1)
        end
    end
   
    ------------Give player outfit reward--------------------
    if quest.outfit_reward then
        for i = 1, #quest.outfit_reward do
            if player:getSex() == 0 then
                player:addOutfit(quest.outfit_reward[i].female, quest.outfit_reward[i].addons)
            else
                player:addOutfit(quest.outfit_reward[i].male, quest.outfit_reward[i].addons)
            end
        end
    end
   
    -----------Give player addon reward-----------------------
    if quest.addon_reward then
        for i = 1, #quest.addon_reward do
            if player:getSex() == 0 then
                if quest.addon_reward.addons = 1 then
                    player:addOutfitAddon(quest.addon_reward[i].female, 1)
                else
                    player:addOutfitAddon(quest.addon_reward[i].female, 1)
                    player:addOutfitAddon(quest.addon_reward[i].female, 2)
                end
            else
                if quest.addon_reward.addons = 1 then
                    player:addOutfitAddon(quest.addon_reward[i].male, 1)
                else
                    player:addOutfitAddon(quest.addon_reward[i].male, 1)
                    player:addOutfitAddon(quest.addon_reward[i].male, 2)
                end
            end
        end
    end
   
    ----------Give player mount reward--------------------------
    if quest.mount_reward then
        for i = 1, #quest.mount_reward do
            player:addMount(quest.mount_reward.mountId)
        end
    end
   
    if quest.questStatus then
        player:setStorageValue(quest.questStorage, quest.questStatus + 1)
    end
   
    player:sendTextMessage(MESSAGE_STATUS_CONSOLE_GREEN, "You have recieved your reward.")
    player:setStorageValue(item:getAttribute('uid'), 1)
    return false
end
 
culdnt edit here is the error

"
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/login.lua:eek:nLogin
data/creaturescripts/scripts/others/login.lua:65: attempt to index global 'nextUseStaminaTime' (a nil value)
stack traceback:
[C]: in function '__newindex'
data/creaturescripts/scripts/others/login.lua:65: in function <data/creaturescripts/scripts/others/login.lua:48>

Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/logout.lua:eek:nLogout
data/creaturescripts/scripts/others/logout.lua:3: attempt to index global 'nextUseStaminaTime' (a nil value)
stack traceback:
[C]: in function '__index'
data/creaturescripts/scripts/others/logout.lua:3: in function <data/creaturescripts/scripts/others/logout.lua:1>"

Thats because you dont put it in your global.lua you put it in: data>lib>lib.lua
 
Did you try doing it my way?
yeah got this error now....
data/global.lua
data/lib/quest_chests.lua:34: unexpected symbol near '<eof>'
stack traceback:
[C]: at 0x7ff60bc42e20
[C]: in function 'dofile'
data/lib/libs.lua:14: in main chunk
[C]: in function 'dofile'
data/global.lua:1: in main chunk
[Warning - ScriptingManager::loadScriptSystems] Can not load data/global.lua
[Warning - InstantSpell::loadFunction] Function "" does not exist.
[Warning - Event::checkScript] Can not load script: scripts/quest_chests.lua
data/actions/scripts/quest_chests.lua:19: 'then' expected near '='
 
Back
Top