• 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. K

    Add more attributes in doItemSetAttribute

    *I'm using tfs 0.X (0.4 or 0.6) *Client 8.60 I would like to know how I can add more attributes to doItemSetAttribute, for example: doItemSetAttribute(item, "maxhealth", 300) doItemSetAttribute(item, "maxmana", 700) doItemSetAttribute(item, "speed", 300) doItemSetAttribute(item...
  2. Sunset

    Lua Potions Heal Over Time

    Hey there! I found this script while looking for this but I'd love to have one modification to it: I don't want it to stack. Atm spamming potions stacks the effect of each of them making it very difficult to balance. Is it possible to make them non stackable with themselves but stackable with...
  3. L

    Lifesteal on attack onHealthChange

    I'm trying to create a script that when I attack with a monster or player part of the damage heals me, for example, if I take 100 life, I heal 50% back, I knew how to do that with onStatsChange in tfs 0.4 but in 1.0 I don't I'm getting it, in this version it uses onHealthChange, and also the...
  4. K

    create a new tooltip in .lua otclientv8

    I'm implementing a rarity system on my server, but for that, it seems I need to do everything from 0 (since I can't find it anywhere around) One of the things in the rarity system that I want to do, is also to put the item description for when I hover over it. I'm doing it based on what...
  5. K

    Lua Request item that unequips after X seconds and goes back to bp

    Hello, I would like to know if anyone could help me with an item I need to make (actually there are 3 items, but if you can help me with any amount I will be immensely grateful) I've already added the item on the server and everything else, I put its ID and put it as ring, however, I would...
  6. N

    Pokemon stats increase change

    Hello, Since some time I am working on my pokemon server. I am very begginer, so please forgive me for my lack of knowledge. I do hope one of you guys could help me with the below. So I have found that there is a lua file that is responsible for pokemon stats increase by level. It takes it's...
  7. potinho

    TFS 0.X [LUA] Offer expire auction system - Not sending amount of items

    Hello everyone, everything good? I'm using the script from the post below but I found a bug: If an offer is for more then 1 items (20 SSA, for example) it only returns one within the parcel. Can you help me fix the script? function getPlayerNameByGUID(guid) local name = 0 local resultId...
  8. potinho

    Lua [TFS 0.X] Door with cooldown between use

    Hello everyone, everything good? I didn't find anything like it so I'm asking you: is there a way to put a cooldown on a door, where each player has a cooldown to open and cross it? I want each player to be able to access a certain room after "x" hours.
  9. 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...
  10. 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 =...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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?
  18. 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"...
  19. 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...
  20. 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...
Back
Top