• 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!

Lua GlobalStorage dont save

Azerty

Active Member
Joined
Apr 15, 2022
Messages
332
Solutions
4
Reaction score
36
Good morning, I tested several solutions from other topics and they don't work, does anyone have any solution?

compat.lua
Lua:
function getGlobalStorageValue(key)
    local query = db.storeQuery("SELECT `value` FROM `global_storage` WHERE `key` = " .. key .. ";")
    if query ~= false then
        local val = result.getDataString(query, "value")
        result.free(query)
        return val
    end
    return -1
end

function setGlobalStorageValue(key, value)
    db.query("INSERT INTO `global_storage` (`key`, `value`) VALUES (".. key ..", ".. value ..") ON DUPLICATE KEY UPDATE `value` = ".. value ..";")
    return true
end

GlobalStorage
Lua:
    FerumbrasAscendant = {
        ZamuloshSummon = 566015,
        FerumbrasEssence = 566026,
        FlowerPuzzleTimer = 1008559,
        ShulgraxTimer = 100822,
        PlagirathTimer = 100844,
        TheLordoftheLiceTimer = 1008444,
        TheShattererLever = 1098999,


actions script
Lua:
local chains = {
    West = {
        [1] = {itemid = 23656, position = Position(33401, 32419, 14)},
        [2] = {itemid = 23655, position = Position(33402, 32419, 14)},
        [3] = {itemid = 23655, position = Position(33403, 32419, 14)},
        [4] = {itemid = 23657, position = Position(33404, 32419, 14)},
        [5] = {itemid = 23656, position = Position(33405, 32419, 14)},
        [6] = {itemid = 23657, position = Position(33406, 32419, 14)},
        [7] = {itemid = 1495, position = Position(33403, 32418, 14)},
        [8] = {itemid = 1495, position = Position(33404, 32418, 14)}
    },
    North = {
        [1] = {itemid = 23659, position = Position(33407, 32414, 14)},
        [2] = {itemid = 23658, position = Position(33407, 32415, 14)},
        [3] = {itemid = 23660, position = Position(33407, 32416, 14)},
        [4] = {itemid = 23659, position = Position(33407, 32417, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32418, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32415, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32416, 14)}
    },
    East = {
        [1] = {itemid = 23656, position = Position(33408, 32419, 14)},
        [2] = {itemid = 23657, position = Position(33409, 32419, 14)},
        [3] = {itemid = 23656, position = Position(33410, 32419, 14)},
        [4] = {itemid = 23655, position = Position(33411, 32419, 14)},
        [5] = {itemid = 23657, position = Position(33412, 32419, 14)},
        [6] = {itemid = 1495, position = Position(33408, 32418, 14)},
        [7] = {itemid = 1495, position = Position(33409, 32418, 14)}
    },
    South = {
        [1] = {itemid = 23659, position = Position(33407, 32420, 14)},
        [2] = {itemid = 23660, position = Position(33407, 32421, 14)},
        [3] = {itemid = 23659, position = Position(33407, 32422, 14)},
        [4] = {itemid = 23658, position = Position(33407, 32423, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32424, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32420, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32421, 14)}
    }
}

local ferumbrasAscendantTheShattererLevers = Action()
function ferumbrasAscendantTheShattererLevers.onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.FerumbrasAscension.TheShatterer) >= 1 then
        player:sendCancelMessage('You cannot use this lever again.')
        return true
    end
    if item.itemid == 9825 then
        item:transform(9826)
        if item:getPosition() == Position(33385, 32410, 14) then
            for i = 1, #chains.West do
                local chain = chains.West[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Fury", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33403, 32391, 14) then
            for i = 1, #chains.North do
                local chain = chains.North[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Destroyer", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33430, 32418, 14) then
            for i = 1, #chains.East do
                local chain = chains.East[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33410, 32441, 14) then
            for i = 1, #chains.South do
                local chain = chains.South[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        end
        player:say('CLICK', TALKTYPE_MONSTER_SAY, false, nil, toPosition)
    elseif item.itemid == 9826 then
        player:sendCancelMessage('Sorry, not possible.')
        return true
    end
    return true
end

ferumbrasAscendantTheShattererLevers:uid(1031,1032,1033,1034)
ferumbrasAscendantTheShattererLevers:register()
 
You actually have to use the function for it to work. lol

anywhere you are using Game.getStorageValue or Game.setStorageValue
you'd have to replace with getGlobalStorageValue or setGlobalStorageValue
 
You actually have to use the function for it to work. lol

anywhere you are using Game.getStorageValue or Game.setStorageValue
you'd have to replace with getGlobalStorageValue or setGlobalStorageValue
Excuse my ignorance but I didn't understand
 
Excuse my ignorance but I didn't understand

In your script you have:
Lua:
Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)

He's saying to replace
Code:
Game.setStorageValue and Game.getStorageValue

So it should look like this instead:
Code:
setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)

This is because you are currently trying to use something that wouldn't work because you're not even using the getGlobalStorageValue or setGlobalStorageValue functions.
 
In your script you have:
Lua:
Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)

He's saying to replace
Code:
Game.setStorageValue and Game.getStorageValue

So it should look like this instead:
Code:
setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)

This is because you are currently trying to use something that wouldn't work because you're not even using the getGlobalStorageValue or setGlobalStorageValue functions.
dont work
 
More info would be helpful, what does your script look like now, do you get any kind of messages? In your database do you see any changes in global_storage table? etc.
no type of error in the console and no changes to the database, What can I tell you more? I use TFS 1.5 downgrade 8.6
 
show current script you're testing it with
Share your script with the changes you've made.
got this far, I realize that no script with globalStorage is saving

Lua:
local chains = {
    West = {
        [1] = {itemid = 23656, position = Position(33401, 32419, 14)},
        [2] = {itemid = 23655, position = Position(33402, 32419, 14)},
        [3] = {itemid = 23655, position = Position(33403, 32419, 14)},
        [4] = {itemid = 23657, position = Position(33404, 32419, 14)},
        [5] = {itemid = 23656, position = Position(33405, 32419, 14)},
        [6] = {itemid = 23657, position = Position(33406, 32419, 14)},
        [7] = {itemid = 1495, position = Position(33403, 32418, 14)},
        [8] = {itemid = 1495, position = Position(33404, 32418, 14)}
    },
    North = {
        [1] = {itemid = 23659, position = Position(33407, 32414, 14)},
        [2] = {itemid = 23658, position = Position(33407, 32415, 14)},
        [3] = {itemid = 23660, position = Position(33407, 32416, 14)},
        [4] = {itemid = 23659, position = Position(33407, 32417, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32418, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32415, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32416, 14)}
    },
    East = {
        [1] = {itemid = 23656, position = Position(33408, 32419, 14)},
        [2] = {itemid = 23657, position = Position(33409, 32419, 14)},
        [3] = {itemid = 23656, position = Position(33410, 32419, 14)},
        [4] = {itemid = 23655, position = Position(33411, 32419, 14)},
        [5] = {itemid = 23657, position = Position(33412, 32419, 14)},
        [6] = {itemid = 1495, position = Position(33408, 32418, 14)},
        [7] = {itemid = 1495, position = Position(33409, 32418, 14)}
    },
    South = {
        [1] = {itemid = 23659, position = Position(33407, 32420, 14)},
        [2] = {itemid = 23660, position = Position(33407, 32421, 14)},
        [3] = {itemid = 23659, position = Position(33407, 32422, 14)},
        [4] = {itemid = 23658, position = Position(33407, 32423, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32424, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32420, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32421, 14)}
    }
}

local ferumbrasAscendantTheShattererLevers = Action()
function ferumbrasAscendantTheShattererLevers.onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.FerumbrasAscension.TheShatterer) >= 1 then
        player:sendCancelMessage('You cannot use this lever again.')
        return true
    end
    if item.itemid == 9825 then
        item:transform(9826)
        if item:getPosition() == Position(33385, 32410, 14) then
            for i = 1, #chains.West do
                local chain = chains.West[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Fury", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end

            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33403, 32391, 14) then
            for i = 1, #chains.North do
                local chain = chains.North[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Destroyer", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33430, 32418, 14) then
            for i = 1, #chains.East do
                local chain = chains.East[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33410, 32441, 14) then
            for i = 1, #chains.South do
                local chain = chains.South[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        end
        player:say('CLICK', TALKTYPE_MONSTER_SAY, false, nil, toPosition)
    elseif item.itemid == 9826 then
        player:sendCancelMessage('Sorry, not possible.')
        return true
    end
    return true
end

ferumbrasAscendantTheShattererLevers:uid(1031,1032,1033,1034)
ferumbrasAscendantTheShattererLevers:register()
 
got this far, I realize that no script with globalStorage is saving

Lua:
local chains = {
    West = {
        [1] = {itemid = 23656, position = Position(33401, 32419, 14)},
        [2] = {itemid = 23655, position = Position(33402, 32419, 14)},
        [3] = {itemid = 23655, position = Position(33403, 32419, 14)},
        [4] = {itemid = 23657, position = Position(33404, 32419, 14)},
        [5] = {itemid = 23656, position = Position(33405, 32419, 14)},
        [6] = {itemid = 23657, position = Position(33406, 32419, 14)},
        [7] = {itemid = 1495, position = Position(33403, 32418, 14)},
        [8] = {itemid = 1495, position = Position(33404, 32418, 14)}
    },
    North = {
        [1] = {itemid = 23659, position = Position(33407, 32414, 14)},
        [2] = {itemid = 23658, position = Position(33407, 32415, 14)},
        [3] = {itemid = 23660, position = Position(33407, 32416, 14)},
        [4] = {itemid = 23659, position = Position(33407, 32417, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32418, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32415, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32416, 14)}
    },
    East = {
        [1] = {itemid = 23656, position = Position(33408, 32419, 14)},
        [2] = {itemid = 23657, position = Position(33409, 32419, 14)},
        [3] = {itemid = 23656, position = Position(33410, 32419, 14)},
        [4] = {itemid = 23655, position = Position(33411, 32419, 14)},
        [5] = {itemid = 23657, position = Position(33412, 32419, 14)},
        [6] = {itemid = 1495, position = Position(33408, 32418, 14)},
        [7] = {itemid = 1495, position = Position(33409, 32418, 14)}
    },
    South = {
        [1] = {itemid = 23659, position = Position(33407, 32420, 14)},
        [2] = {itemid = 23660, position = Position(33407, 32421, 14)},
        [3] = {itemid = 23659, position = Position(33407, 32422, 14)},
        [4] = {itemid = 23658, position = Position(33407, 32423, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32424, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32420, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32421, 14)}
    }
}

local ferumbrasAscendantTheShattererLevers = Action()
function ferumbrasAscendantTheShattererLevers.onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.FerumbrasAscension.TheShatterer) >= 1 then
        player:sendCancelMessage('You cannot use this lever again.')
        return true
    end
    if item.itemid == 9825 then
        item:transform(9826)
        if item:getPosition() == Position(33385, 32410, 14) then
            for i = 1, #chains.West do
                local chain = chains.West[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Fury", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end

            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33403, 32391, 14) then
            for i = 1, #chains.North do
                local chain = chains.North[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Destroyer", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33430, 32418, 14) then
            for i = 1, #chains.East do
                local chain = chains.East[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33410, 32441, 14) then
            for i = 1, #chains.South do
                local chain = chains.South[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if Game.getStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        end
        player:say('CLICK', TALKTYPE_MONSTER_SAY, false, nil, toPosition)
    elseif item.itemid == 9826 then
        player:sendCancelMessage('Sorry, not possible.')
        return true
    end
    return true
end

ferumbrasAscendantTheShattererLevers:uid(1031,1032,1033,1034)
ferumbrasAscendantTheShattererLevers:register()
You're still doing the same thing on this script.

This function is doing nothing for you because you're never using setGlobalStorageValue or getGlobalStorageValue.

Unless you sent the old script by mistake? This looks like you haven't changed the functions at all.
 
I tried several things in other script too, like:

Lua:
local storageValue = Game.getStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats)if storageValue == -1 then
    storageValue = 0
end
Game.setStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats, storageValue + 1)
 
I tried several things in other script too, like:

Lua:
local storageValue = Game.getStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats)if storageValue == -1 then
    storageValue = 0
end
Game.setStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats, storageValue + 1)
That's still wrong bro, what you're doing is:

Code:
Game.setStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats, storageValue + 1)

Do you see how this has nothing to do with getGlobalStorageValue or setGlobalStorageValue functions? You're never using them.

Like I mentioned in a couple posts above it should be like this instead (Actually using the setGlobalStorageValue and getGlobalStorageValue functions:

Lua:
setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)

I see you may have these functions
Lua:
setGlobalStorage and getGlobalStorage
have you tried using that?
 
Last edited:
That's still wrong bro, what you're doing is:

Code:
Game.setStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats, storageValue + 1)

Do you see how this has nothing to do with getGlobalStorageValue or setGlobalStorageValue functions? You're never using them.

Like I mentioned in a couple posts above it should be like this instead (Actually using the setGlobalStorageValue and getGlobalStorageValue functions:

Lua:
setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)

I see you may have these functions
Lua:
setGlobalStorage and getGlobalStorage
have you tried using that?
forgive me for my lack of attention, now that I understand what was warning me XD, this error appeared now

1715451327712.png
Post automatically merged:

Lua:
local chains = {
    West = {
        [1] = {itemid = 23656, position = Position(33401, 32419, 14)},
        [2] = {itemid = 23655, position = Position(33402, 32419, 14)},
        [3] = {itemid = 23655, position = Position(33403, 32419, 14)},
        [4] = {itemid = 23657, position = Position(33404, 32419, 14)},
        [5] = {itemid = 23656, position = Position(33405, 32419, 14)},
        [6] = {itemid = 23657, position = Position(33406, 32419, 14)},
        [7] = {itemid = 1495, position = Position(33403, 32418, 14)},
        [8] = {itemid = 1495, position = Position(33404, 32418, 14)}
    },
    North = {
        [1] = {itemid = 23659, position = Position(33407, 32414, 14)},
        [2] = {itemid = 23658, position = Position(33407, 32415, 14)},
        [3] = {itemid = 23660, position = Position(33407, 32416, 14)},
        [4] = {itemid = 23659, position = Position(33407, 32417, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32418, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32415, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32416, 14)}
    },
    East = {
        [1] = {itemid = 23656, position = Position(33408, 32419, 14)},
        [2] = {itemid = 23657, position = Position(33409, 32419, 14)},
        [3] = {itemid = 23656, position = Position(33410, 32419, 14)},
        [4] = {itemid = 23655, position = Position(33411, 32419, 14)},
        [5] = {itemid = 23657, position = Position(33412, 32419, 14)},
        [6] = {itemid = 1495, position = Position(33408, 32418, 14)},
        [7] = {itemid = 1495, position = Position(33409, 32418, 14)}
    },
    South = {
        [1] = {itemid = 23659, position = Position(33407, 32420, 14)},
        [2] = {itemid = 23660, position = Position(33407, 32421, 14)},
        [3] = {itemid = 23659, position = Position(33407, 32422, 14)},
        [4] = {itemid = 23658, position = Position(33407, 32423, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32424, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32420, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32421, 14)}
    }
}

local ferumbrasAscendantTheShattererLevers = Action()
function ferumbrasAscendantTheShattererLevers.onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.FerumbrasAscension.TheShatterer) >= 1 then
        player:sendCancelMessage('You cannot use this lever again.')
        return true
    end
    if item.itemid == 9825 then
        item:transform(9826)
        if item:getPosition() == Position(33385, 32410, 14) then
            for i = 1, #chains.West do
                local chain = chains.West[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Fury", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            Game.setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33403, 32391, 14) then
            for i = 1, #chains.North do
                local chain = chains.North[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Destroyer", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            Game.setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33430, 32418, 14) then
            for i = 1, #chains.East do
                local chain = chains.East[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33410, 32441, 14) then
            for i = 1, #chains.South do
                local chain = chains.South[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            Game.setGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever, Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) + 1)
            if Game.getGlobalStorageValue(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        end
        player:say('CLICK', TALKTYPE_MONSTER_SAY, false, nil, toPosition)
    elseif item.itemid == 9826 then
        player:sendCancelMessage('Sorry, not possible.')
        return true
    end
    return true
end

ferumbrasAscendantTheShattererLevers:uid(1031,1032,1033,1034)
ferumbrasAscendantTheShattererLevers:register()
 
Don't use Game. just type setGlobalStorageValue or getGlobalStorageValue, I think it may also work like this:

using
Code:
setGlobalStorage
and
Lua:
getGlobalStorage


Lua:
local chains = {
    West = {
        [1] = {itemid = 23656, position = Position(33401, 32419, 14)},
        [2] = {itemid = 23655, position = Position(33402, 32419, 14)},
        [3] = {itemid = 23655, position = Position(33403, 32419, 14)},
        [4] = {itemid = 23657, position = Position(33404, 32419, 14)},
        [5] = {itemid = 23656, position = Position(33405, 32419, 14)},
        [6] = {itemid = 23657, position = Position(33406, 32419, 14)},
        [7] = {itemid = 1495, position = Position(33403, 32418, 14)},
        [8] = {itemid = 1495, position = Position(33404, 32418, 14)}
    },
    North = {
        [1] = {itemid = 23659, position = Position(33407, 32414, 14)},
        [2] = {itemid = 23658, position = Position(33407, 32415, 14)},
        [3] = {itemid = 23660, position = Position(33407, 32416, 14)},
        [4] = {itemid = 23659, position = Position(33407, 32417, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32418, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32415, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32416, 14)}
    },
    East = {
        [1] = {itemid = 23656, position = Position(33408, 32419, 14)},
        [2] = {itemid = 23657, position = Position(33409, 32419, 14)},
        [3] = {itemid = 23656, position = Position(33410, 32419, 14)},
        [4] = {itemid = 23655, position = Position(33411, 32419, 14)},
        [5] = {itemid = 23657, position = Position(33412, 32419, 14)},
        [6] = {itemid = 1495, position = Position(33408, 32418, 14)},
        [7] = {itemid = 1495, position = Position(33409, 32418, 14)}
    },
    South = {
        [1] = {itemid = 23659, position = Position(33407, 32420, 14)},
        [2] = {itemid = 23660, position = Position(33407, 32421, 14)},
        [3] = {itemid = 23659, position = Position(33407, 32422, 14)},
        [4] = {itemid = 23658, position = Position(33407, 32423, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32424, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32420, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32421, 14)}
    }
}

local ferumbrasAscendantTheShattererLevers = Action()
function ferumbrasAscendantTheShattererLevers.onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.FerumbrasAscension.TheShatterer) >= 1 then
        player:sendCancelMessage('You cannot use this lever again.')
        return true
    end
    if item.itemid == 9825 then
        item:transform(9826)
        if item:getPosition() == Position(33385, 32410, 14) then
            for i = 1, #chains.West do
                local chain = chains.West[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Fury", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end

            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33403, 32391, 14) then
            for i = 1, #chains.North do
                local chain = chains.North[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Destroyer", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33430, 32418, 14) then
            for i = 1, #chains.East do
                local chain = chains.East[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33410, 32441, 14) then
            for i = 1, #chains.South do
                local chain = chains.South[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        end
        player:say('CLICK', TALKTYPE_MONSTER_SAY, false, nil, toPosition)
    elseif item.itemid == 9826 then
        player:sendCancelMessage('Sorry, not possible.')
        return true
    end
    return true
end

ferumbrasAscendantTheShattererLevers:uid(1031,1032,1033,1034)
ferumbrasAscendantTheShattererLevers:register()
 
Don't use Game. just type setGlobalStorageValue or getGlobalStorageValue, I think it may also work like this:


Lua:
local chains = {
    West = {
        [1] = {itemid = 23656, position = Position(33401, 32419, 14)},
        [2] = {itemid = 23655, position = Position(33402, 32419, 14)},
        [3] = {itemid = 23655, position = Position(33403, 32419, 14)},
        [4] = {itemid = 23657, position = Position(33404, 32419, 14)},
        [5] = {itemid = 23656, position = Position(33405, 32419, 14)},
        [6] = {itemid = 23657, position = Position(33406, 32419, 14)},
        [7] = {itemid = 1495, position = Position(33403, 32418, 14)},
        [8] = {itemid = 1495, position = Position(33404, 32418, 14)}
    },
    North = {
        [1] = {itemid = 23659, position = Position(33407, 32414, 14)},
        [2] = {itemid = 23658, position = Position(33407, 32415, 14)},
        [3] = {itemid = 23660, position = Position(33407, 32416, 14)},
        [4] = {itemid = 23659, position = Position(33407, 32417, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32418, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32415, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32416, 14)}
    },
    East = {
        [1] = {itemid = 23656, position = Position(33408, 32419, 14)},
        [2] = {itemid = 23657, position = Position(33409, 32419, 14)},
        [3] = {itemid = 23656, position = Position(33410, 32419, 14)},
        [4] = {itemid = 23655, position = Position(33411, 32419, 14)},
        [5] = {itemid = 23657, position = Position(33412, 32419, 14)},
        [6] = {itemid = 1495, position = Position(33408, 32418, 14)},
        [7] = {itemid = 1495, position = Position(33409, 32418, 14)}
    },
    South = {
        [1] = {itemid = 23659, position = Position(33407, 32420, 14)},
        [2] = {itemid = 23660, position = Position(33407, 32421, 14)},
        [3] = {itemid = 23659, position = Position(33407, 32422, 14)},
        [4] = {itemid = 23658, position = Position(33407, 32423, 14)},
        [5] = {itemid = 23660, position = Position(33407, 32424, 14)},
        [6] = {itemid = 1495, position = Position(33406, 32420, 14)},
        [7] = {itemid = 1495, position = Position(33406, 32421, 14)}
    }
}

local ferumbrasAscendantTheShattererLevers = Action()
function ferumbrasAscendantTheShattererLevers.onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.FerumbrasAscension.TheShatterer) >= 1 then
        player:sendCancelMessage('You cannot use this lever again.')
        return true
    end
    if item.itemid == 9825 then
        item:transform(9826)
        if item:getPosition() == Position(33385, 32410, 14) then
            for i = 1, #chains.West do
                local chain = chains.West[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Fury", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end

            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33403, 32391, 14) then
            for i = 1, #chains.North do
                local chain = chains.North[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                    Game.createMonster("Destroyer", { x=player:getPosition().x+math.random(-3, 3), y=player:getPosition().y+math.random(-3, 3), z=player:getPosition().z })
                end
            end
            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33430, 32418, 14) then
            for i = 1, #chains.East do
                local chain = chains.East[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        elseif item:getPosition() == Position(33410, 32441, 14) then
            for i = 1, #chains.South do
                local chain = chains.South[i]
                local bla = Tile(chain.position):getItemById(chain.itemid)
                if bla then
                    bla:remove()
                end
            end
            setGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever, math.max(getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever), 0) + 1)
            if getGlobalStorage(GlobalStorage.FerumbrasAscendant.TheShattererLever) >= 4 then
                local boss = Tile(Position(33406, 32418, 14)):getTopCreature()
                if boss:getName():lower() == 'the shatterer' then
                    boss:teleportTo(Position(33400, 32415, 14))
                    boss:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
                    return true
                end
            end
        end
        player:say('CLICK', TALKTYPE_MONSTER_SAY, false, nil, toPosition)
    elseif item.itemid == 9826 then
        player:sendCancelMessage('Sorry, not possible.')
        return true
    end
    return true
end

ferumbrasAscendantTheShattererLevers:uid(1031,1032,1033,1034)
ferumbrasAscendantTheShattererLevers:register()
same error

Lua:
GlobalStorage = {
...
    FerumbrasAscendant = {
        ZamuloshSummon = 566015,
        FerumbrasEssence = 566026,
        FlowerPuzzleTimer = 1008559,
        ShulgraxTimer = 100822,
        PlagirathTimer = 100844,
        TheLordoftheLiceTimer = 1008444,
        TheShattererLever = 1098999,  -- STORAGE TheShattererLever
        TheShattererTimer = 179883,
        RagiazTimer = 100809,
        Crystals = {
            Crystal1 = 566027,
            Crystal2 = 566028,
...
 
Try doing setGlobalStorageValue and getGlobalStorageValue instead, I'm guessing you're using Canary and those functions should have been available but if not try using these two but without Game.

Basically just search and replace
Lua:
setGlobalStorage
with
Code:
setGlobalStorageValue
and
Code:
getGlobalStorage
with
Code:
getGlobalStorageValue

You can also try these two, as well just the function itself no need to put Game. you would just replace (If you use canary)

Lua:
function getGlobalStorageValueDB(key)
    local resultId = db.storeQuery("SELECT `value` FROM `global_storage` WHERE `key` = " .. key)
    if resultId ~= false then
        local val = Result.getString(resultId, "value")
        Result.free(resultId)
        return val
    end
    return -1
end


function setGlobalStorageValueDB(key, value)
    db.query("INSERT INTO `global_storage` (`key`, `value`) VALUES (".. key ..", ".. value ..") ON DUPLICATE KEY UPDATE `value` = ".. value)
end
 
Try doing setGlobalStorageValue and getGlobalStorageValue instead, I'm guessing you're using Canary and those functions should have been available but if not try using these two but without Game.

Basically just search and replace
Lua:
setGlobalStorage
with
Code:
setGlobalStorageValue
and
Code:
getGlobalStorage
with
Code:
getGlobalStorageValue

You can also try these two, as well just the function itself no need to put Game. you would just replace (If you use canary)

Lua:
function getGlobalStorageValueDB(key)
    local resultId = db.storeQuery("SELECT `value` FROM `global_storage` WHERE `key` = " .. key)
    if resultId ~= false then
        local val = Result.getString(resultId, "value")
        Result.free(resultId)
        return val
    end
    return -1
end


function setGlobalStorageValueDB(key, value)
    db.query("INSERT INTO `global_storage` (`key`, `value`) VALUES (".. key ..", ".. value ..") ON DUPLICATE KEY UPDATE `value` = ".. value)
end
Now I woke up, I thought the canary script worked in TFS and that the functions would be the same, now this error is occurring with Value

1715452516140.png
 
Back
Top