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

script

  1. M

    "doTransformItem" Function Bugging AutoLoot

    Hello everybody! Next... On my server every time someone opens a box the autoloot stops working (for the whole server, not just for the player that opened it). Both the box and the autoloot work perfectly, however, when someone uses the box and receives the pokemon, the autoloot stops working...
  2. potinho

    Lua [TFS 0.X] System Online Points

    Hi guys, how are you? Im looking for a system similar to this: https://otland.net/threads/system-online-points.250371/ local config = { storage = 20000, pointItemId = 2160, pointsPerHour = 1, checkDuplicateIps = false } local onlinePointsEvent =...
  3. A

    Lua Vocations tree and promotion for TFS 1.4.2

    Hello, and thank you for whoever sees this post and wants to help. I want to seek for help if there is a way to make a vocation tree. As a rough draft I will put an example of it so it is a bit more understanding (hopefully) in what it is that I want to have. Vocation A...
  4. leomarques

    [TFS 1.x] Procedural Cave Generation

    Hello Everyone! This is the first time I'm contributing to this community. i've been here for a long time just getting all sorts of resource and useful stuff and it's time to return something. I recently followed the Sebastian Lague's tutorial for a procedural cave generation based on...
  5. A

    RevScripts ImpactEffect/MagicEffect for weapon

    Hello! can someone help me on my script for a wand that when it damages something instead of the effect or the impact of the fire that looks like a fire field, instead it shows musical notes? I have this script that I got from the example.lua from the data/weapons folder. This is the code and...
  6. potinho

    TFS 0.X [LUA] Svargrond Arena - Bug after jump in with GM

    Hello everyone, everything good? I'm using this @Gesior.pl Arena system, but I had a bug: When teleporting with the GM into the arena and trying to go to the next level, the players who came next to the arena bugged to go to the next teleport. Used system bellow...
  7. S

    Lua Critical Chance and Hidden Attributes

    I apologize if this isn't the correct place to post this. I've been wracking my brain over this one and I could use some help. I'm trying to figure out a way to add 5% critical hit chance and 100% critical hit damage to all players by default, as baseline stats. Is there any way to do this...
  8. potinho

    Lua [TFS 0.X] Training AFK Script - Kicking char

    Good morning people, everything fine? I have a talkaction on the server that is an afk workout, eats food, releases magic and should have an anti-idle, but it doesn't always work correctly. Occasionally I get complaints from players who report that they had their char kicked. Could you help me...
  9. potinho

    Lua [TFS 0.X] Boss Room - Chance Reward every 24h

    Good afternoon guys, how are you? I have a boss room that works well, but I wanted to customize one thing: a reward chest that the player can use every 24 hours, which can give 10 different items, each with a specific chance. Could you help me create this script?
  10. K

    Problem with autoloot

    Hey, Tibia 8.60 The Forgotten Server 0.4 After using the commands !autoloot add name: I can't add items but a table appears: I have no bugs: mods/Autoloot.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Autoloot Revolution BT" version="1.0" author="Millhiore BT"...
  11. L

    TFS 0.X Check Backpack slots and player capacity (Already have working script)

    I have this working action script, when i click the corpse on the ground it gives me an obsidian lance, and starts a quest on it. function onUse(cid) local queststatus = getPlayerStorageValue(cid,50125) if queststatus == -1 then local bp = getPlayerSlotItem(cid...
  12. A

    ERROR EVENT TIME

    What can this error be happening in the function? tfs1.3 Lua Script Error: [Main Interface] in a timer event called from: (Unknown scriptfile) data/lib/lever.lua:131: attempt to index a nil value stack traceback: [C]: in function '__index' data/lib/lever.lua:131: in function...
  13. potinho

    Lua [TFS 0.X] Door with Storage

    Im trying to put a storage value in door to permit player to enter in quest, but got bugging. XML <action actionid="25125" event="script" value="azerusdoor.lua"/> LUA function onUse(cid, item, frompos, item2, topos) local storage = 6677 -- coloque o storage aqui if...
  14. potinho

    Lua [TFS 0.X] Global event daily

    Hello everyone, everything good? I have a global event where a TP is created for a room. If I put in the setup just one day, it works. If I put it every day, it doesn't start, it doesn't give an error on the console and it doesn't work. can you help me? local configuration = { day =...
  15. potinho

    Lua [TFS 0.X] Use only if you have "X" storage

    Good evening, how to make it possible to use a certain item only if you have "X" storage? I have an action that gives the player a storage, but I only want it to be able to use it if it already has another storage (313722) = 1. local storage = 396122 function onUse(cid, item, fromPosition...
  16. C

    Lua Attempting to better understand custom wands/rods (API docs?)

    Thanks in advance to whomever is taking the time to look this over with me. The short and sweet is that I'm trying to figure out how to best script in LUA with TFS 1.4 (unaltered source). I'm undertaking what I thought was a simple task: Make a custom wand which consumes less mana for a...
  17. K

    Lua Problem with script on super uh

    Hey, I have a working script on manarune and I try to do the same with super uh but it's not working. Tibia 10.98 theforgottenserver-v1.2-win64 data/actions <action itemid="2270" script="other/manarune.lua" /> data/actions/scripts/other/manarune.lua Script on manarune: function...
  18. potinho

    Lua [TFS 0.X]NPC who exchanges items for fee in premium points

    Good afternoon people, Many players on my server, after a while, ask to exchange VIP items. I would like to see the possibility of putting an NPC that exchanges the VIP items for the player with a fee of some premium points, is it possible to do? Can you help me?
  19. K

    how to display effect above the teleport

    Hey, I need a script to display the string above the teleport I was looking for a script for a long time, but none of it worked for me. I usually get this error: [C]: in function 'debugPrint' data/lib/compat/compat.lua:406: in function 'doSendAnimatedText' in...
  20. potinho

    Lua [TFS 0.X] Npc who teleport by item - consuming double money

    Hello everyone, everything good? I have an NPC that takes a player to a certain location asking for an item and an amount of money, but I have 2 problems: I asked him to request 5 crystal coins (50k) and he is asking for 100k. I would also like the NPC to ask for two items for sacrifice, how...
Back
Top