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

Search results

  1. A

    Lua GlobalStorage dont save

    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
  2. A

    Lua GlobalStorage dont save

    same error GlobalStorage = { ... FerumbrasAscendant = { ZamuloshSummon = 566015, FerumbrasEssence = 566026, FlowerPuzzleTimer = 1008559, ShulgraxTimer = 100822, PlagirathTimer = 100844, TheLordoftheLiceTimer = 1008444...
  3. A

    Lua GlobalStorage dont save

    forgive me for my lack of attention, now that I understand what was warning me XD, this error appeared now 1715451587 local chains = { West = { [1] = {itemid = 23656, position = Position(33401, 32419, 14)}, [2] = {itemid = 23655, position = Position(33402, 32419, 14)}...
  4. A

    Lua GlobalStorage dont save

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

    Lua GlobalStorage dont save

    got this far, I realize that no script with globalStorage is saving local chains = { West = { [1] = {itemid = 23656, position = Position(33401, 32419, 14)}, [2] = {itemid = 23655, position = Position(33402, 32419, 14)}, [3] = {itemid = 23655, position =...
  6. A

    Lua GlobalStorage dont save

    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
  7. A

    Lua GlobalStorage dont save

    I can't get it to work =/
  8. A

    Lua GlobalStorage dont save

    dont work
  9. A

    Lua GlobalStorage dont save

    Excuse my ignorance but I didn't understand
  10. A

    Lua GlobalStorage dont save

    Good morning, I tested several solutions from other topics and they don't work, does anyone have any solution? compat.lua function getGlobalStorageValue(key) local query = db.storeQuery("SELECT `value` FROM `global_storage` WHERE `key` = " .. key .. ";") if query ~= false then...
  11. A

    Lua Condition_cursed

    How do I make the damage increase instead of decreasing? local condition = Condition(CONDITION_CURSED, CONDITIONID_COMBAT) condition:setParameter(CONDITION_PARAM_DELAYED, true) condition:setParameter(CONDITION_PARAM_MINVALUE, -1) condition:setParameter(CONDITION_PARAM_MAXVALUE, -1000)...
  12. A

    Tfs 1.5 by nekiro palladin no attack weapon when use pot

    config.lua change: -- Item Usage timeBetweenActions = 200 timeBetweenExActions = 1000 to timeBetweenActions = nil timeBetweenExActions = nil
  13. A

    how to make the monster use teleport?

    how to make the monster use teleport? local teleport = MoveEvent() function teleport.onStepIn(creature, item, position, fromPosition) if creature:isMonster() then if creature:getName() == "Rat" then return true --false? end if item.actionid == 42555 then...
  14. A

    Lua Monster move direction

    How do I set the monster to just walk? because he keeps trying to reach the player and doesn't move
  15. A

    Lua Monster move direction

    up! Sorry to revive the topic but I have the same problem, I can't do this code
  16. A

    Lua Magic attack monster

    yes 1714192455 I managed to make this script but I'm not able to make sure that the magic effect doesn't occur in the same sqm as the monster, can anyone help me? local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_SMALLCLOUDS) combat:setParameter(COMBAT_PARAM_DISPEL...
  17. A

    Lua Magic attack monster

    Good morning, does anyone know how I can make this spell damage monsters? local condition = Condition(CONDITION_REGENERATION, CONDITIONID_DEFAULT) condition:setParameter(CONDITION_PARAM_SUBID, 88888) condition:setParameter(CONDITION_PARAM_TICKS, 5 * 1000)...
  18. A

    Lua Script summon

    I'm trying to make this script work, I need it to only summon the amount defined in maxMonster, but it summons the monsters infinitely, could anyone help me? And I also need you to summon 2 different monsters, you can use Demon as an example local function getRandomPosition(minPosition...
Back
Top