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

script

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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?
  6. 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"...
  7. 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...
  8. 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...
  9. 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...
  10. 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 =...
  11. 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...
  12. 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...
  13. 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...
  14. 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?
  15. 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...
  16. 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...
  17. brianmoreno1996

    HELP, I AM ASKED TO DESTROY 4 SPIDER EGGS BUT CLICKING ON THE EGGS DOES NOT DESTROY THEM

    could someone help me or send me the script to work on daniel steelsoul's quest of the spider cult, since they give me the mission to destroy 4 spider eggs but when clicking on the eggs, they are not destroyed, Help ME! If someone could explain me in detail, and of course send me all the scripts...
  18. potinho

    TFS 0.X Login queue - Change order

    Hello everyone, everything good? My server is growing and I'm getting close to the supportable engine/host limit. I would like that, in case of a day of queue to login, I prioritize the players that have VIP in my OT, how to do it? Follow my VIP system.
  19. danio4don

    rook levelbridge.lua not work

    Hello. I have a problem with the levelbridge.lua script. the script doesn't work at all. do i need to configure any more scripts for this? tfs 1.5 12.81 local failPosition = Position(31704, 32279, 6) function onStepIn(creature, item, position, fromPosition) local player =...
  20. potinho

    Lua [OTX 2 (TFS 0.X)] Reduce death penalty beyond bless

    Hello everyone, everything good? I would like to implement a system (it could be something sold by NPC, some item that is used, etc) that reduces the penalty for the player's next death. This item would be sold or crafted and would reduce by 50% (for example) the next level and skill loss...
Back
Top