• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Heroid

    Autoloot problem tfs 1.5

    Try this: -- !autoloot clear -- !autoloot list -- !autoloot add, itemName / ex: !autoloot add, fire sword -- !autoloot remove, itemName / ex: !autoloot remove, fire sword local autoloot = { freeAccountLimit = 10, storageBase = 50000, premiumAccountLimit = 20, } local...
  2. Heroid

    Snowball tfs 1.5 Problem

    I added loadEvent() temporary in there to see if you had called that function anywhere since I could not find it in any of the scripts you sent. You should probably remove that from line 32 and add it on startup instead. Just something like this: data/scripts local globalEvent =...
  3. Heroid

    Lua TFS1.5 Thais Lighthouse Quest Support

    Any errors in console?
  4. Heroid

    Snowball tfs 1.5 Problem

    See if this changes anything: function startGame(rounds) if rounds == 0 then if #CACHE_GAMEPLAYERS < SnowBall_Configurations.Event_MinPlayers then for _, players in ipairs(CACHE_GAMEPLAYERS) do...
  5. Heroid

    Lua TFS1.5 Thais Lighthouse Quest Support

    I realized you figured it out after I already wrote this, so I'll post it anyway, maybe someone can learn something from it or you can improve your script somehow. We want to use a MoveEvent instead of an Action for this, since we want something to happen when we step on something, instead of...
  6. Heroid

    Snowball tfs 1.5 Problem

    Are there any more scripts you have that are related to this?
  7. Heroid

    Snowball Event Error TFS 1.5 downgrade 8.6

    Try changing the syntax for positions, here for example: posArena = {{x = 31436, y = 32228, z = 7}, {x = 31490, y = 32275, z = 7}}, Change to this: posArena = {Position(31436, 32228, 7), Position(31490, 32275, 7)}, Do this for every occurence where there is a position.
  8. Heroid

    Pay exp for Time Problem

    Did you copy everything? Including the local variables at the top? local teleportPosition = Position(32487, 32570, 14) local templePosition = Position(160, 54, 7) local magicCoinId = 10558 local amountRequired = 100 local cooldownInSeconds = 5
  9. Heroid

    Pay exp for Time Problem

    local teleportPosition = Position(32487, 32570, 14) local templePosition = Position(160, 54, 7) local magicCoinId = 10558 local amountRequired = 100 local cooldownInSeconds = 5 function onUse(player, item, fromPosition, target, toPosition, isHotkey) local lastTeleportTime =...
  10. Heroid

    OTClient OTClient error map

    Press Ctrl+T in OTClient to show the terminal and see if there are any error messages.
  11. Heroid

    TFS 1.X+ Inconsistency in runonhealth behavior

    Try adding monster.runHealth = monster.health on line 16.
  12. Heroid

    Lua Count items in chest [HELP]

    I'm not sure what you are asking, but it's possible to edit this one or make a new script that can do that, yes.
  13. Heroid

    Lua Count items in chest [HELP]

    Sure, I'm just saying since he wanted Annihilator-type chests he probably only want the players to take a reward from one of the chests. Was mainly just a heads up for @darkangel1 if he decided to use your script.
  14. Heroid

    Lua Count items in chest [HELP]

    They will be able to take all items once with this script though because different storage values.
  15. Heroid

    TFS 1.X+ No use object help

    Keep in mind, players can still take the item by using Browse Field and moving the item from there if you use that method. What I would do is add an actionId to the item and then add something like this into data/scripts: local actionId = 13366 local blockMove = EventCallback...
  16. Heroid

    utevo res ina unlock

    The lines Apollos referred to in his example do exist in there, I can see them! You can find them too, I believe in you!
  17. Heroid

    TFS 1.X+ clones in tfs game 1.4.2

    monster:rename(name[, nameDescription]) Example: local clone = Game.createMonster("Rat", player:getPosition()) clone:setMaster(player) clone:rename(player:getName())
  18. Heroid

    Charges on quest item

    Yep!
  19. Heroid

    Charges on quest item

    You could do it in Lua by making an action script to give the item when player clicks on a specific chest. local it = player:addItem(itemId) it:setAttribute(ITEM_ATTRIBUTE_CHARGES, amount)
  20. Heroid

    [TFS 1.4.X] Quest similar to annihilator

    Here is the reward script from annihilator, try to edit it to your needs. https://github.com/otland/forgottenserver/blob/master/data/actions/scripts/quests/quests.lua
Back
Top