• 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. Sarah Wesker

    Programmer Tfs 1.3 work with multi-cores

    I think TFS can be optimized a little for certain specific tasks, but converting the entire engine cycle into multithreading is impossible due to the logic of how things work in Tibia, When I say impossible I mean that there will be no benefit in it, even if it is multithreaded it would behave...
  2. Sarah Wesker

    [TFS 1.5] ⚡ Bounce Spell ⚡

    Of course yes, check the main publication again and at the end of it you will find the script.
  3. Sarah Wesker

    Attempt to call method 'getType' (a nil value) TFS 1.5 downgrade

    This can occur if you try to use the getType method for a creature that is not a monster. That means that you are registering the onDeath event for a player. The correct solution is to simply register the event only for the boss, or monsters in question. The crappy solution is to check if the...
  4. Sarah Wesker

    [TFS 1.5] ⚡ Bounce Spell ⚡

    It should be possible to use in TFS 1.x+ versions you can try 😊
  5. Sarah Wesker

    [TFS 1.5] ⚡ Bounce Spell ⚡

    Some time ago I published a rebound spell, but it had many details that could be improved, and of course I heard the complaints and decided to recreate it from scratch, trying to make it better and more precise and realistic, so here you have the rebound spell rewritten. --[[ ⚡ Bounce Spell...
  6. Sarah Wesker

    TFS 1.X+ How to declare an summons counter for my spells?

    This should work fine: local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_NONE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_NONE) local area = createCombatArea(AREA_CIRCLE2X2) combat:setArea(area) local creatures = {"Rat", "Sibang", "Tarantula"} local maxSummons = 5...
  7. Sarah Wesker

    Lua Action that changes target item.

    By default this event is disabled, you just have to enable it. https://github.com/otland/forgottenserver/blob/feda3fedf6f26218853736e6c36f7768f77012e4/data/events/events.xml#L27 change 0 to 1
  8. Sarah Wesker

    🎃 Hallowen Tile 🎃

    This is a simple revscript that dresses the player with a lookType of some random monster when he steps on a tile with a specific action id or failing that a specific position. Available for TFS 1.x+ and Canary. hallowen_random_outfit.lua local config = { actionId = 8000, positions =...
  9. Sarah Wesker

    Lua Action that changes target item.

    As @Mateus Robeerto said this is a Revscript, you just have to create a LUA file inside the data/scripts/ folder and add this code fragment there. It is not necessary to register anything in any XML file, since this is a REVSCRIPT, these are registered in the same file.
  10. Sarah Wesker

    Lua Action that changes target item.

    Here is an example of how to do it, using the onItemMoved event local coalId = 1260 local coalAmount = 15 local ovenIdOff = 1780 local ovenIdOn = 1781 local event = EventCallback function event.onItemMoved(player, item, count, fromPosition, toPosition, fromCylinder, toCylinder) if...
  11. Sarah Wesker

    Possibile to change day/night ?

    Since this function affects everyone, it doesn't make sense to call it every time a player starts a section. the best place is in a globalevent, like for example onStartup or some repeating event with which you can control the time manually. You must remember that if you disable the...
  12. Sarah Wesker

    TFS 1.X+ How to repair Tfs 1.5 Nekiro 8.60

    You can try adding these changes: https://github.com/otland/forgottenserver/pull/4521 1693926949 It is not an error. It seems you haven't played Tibia RL xd
  13. Sarah Wesker

    RevScripts ❤ ℱ𝓇𝑒𝑒 𝒮𝒸𝓇𝒾𝓅𝓉𝒾𝓃𝑔 𝒮𝑒𝓇𝓋𝒾𝒸𝑒 𝒯ℱ𝒮 𝟷.𝟻+ ❤

    data/scripts/manatrain.lua local config = { talkAction = "!magictrain", regenManaPercent = 0.05, regenManaInterval = 1000, maxRegenMana = 500, minRegenMana = 35, dummySpellWords = "utamo mana" } local cache = {} local function magicTrain(playerGuid) local player =...
  14. Sarah Wesker

    Scripter I need scripter who rewrite scripts from 0.3.7 to 1.4.2.

    1) Doors local action = Action() function action.onUse(player, item, fromPos, target, toPos, isHotkey) if player:getStorageValue(2487) < 1 then return true end local pos = player:getPosition() if pos.y < toPos.y then local newPos = Position(pos.x, pos.y + 1...
  15. Sarah Wesker

    TFS 0.X Information when staff login.

    Revscript local creatureEvent = CreatureEvent("Staff Login Message") function creatureEvent.onLogin(player) if player:getGroup():getAccess() and not player:isInGhostMode() then Game.broadcastMessage(string.format("%s has now logged in. Role: %s", player:getName()...
  16. Sarah Wesker

    [TFS 1.3] Small Autoloot

    local autoloot = { talkaction = "!autoloottest", storageBase = 50000, freeAccountLimit = 10, premiumAccountLimit = 20, currencyToBank = true } local currencyItems = {} if autoloot.currencyToBank then for index, item in pairs(Game.getCurrencyItems()) do...
  17. Sarah Wesker

    [TFS 1.3] Small Autoloot

    The problem is probably that your client doesn't support text windows with too many characters, just change the script info messages and you're good to go.
  18. Sarah Wesker

    Lua [TFS 1.4.2] Make something happen when killing a monster

    Do not forget to leave information about the engine you are using: For example: TFS 1.x+ / TFS 0.4 / Canary / ect... This is very important so that we can fast help you.
  19. Sarah Wesker

    Open a tibia server locally

    You can practice with TFS 1.5+ OTLand have a guide https://docs.otland.net/ots-guide/
  20. Sarah Wesker

    Vocation based chest simple script! TFS 1.4.2

    Maybe it will work for you: https://otland.net/threads/tfs-1-3-reward-based-on-vocation.275986/#post-2656013
Back
Top