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

action

  1. Kuantikum

    TFS 0.3 Count monsters, fromX, toX.

    I would like to know if it is possible to count how many monsters there are in an area fromX toX ?? local top_left_corner = {x = 3341, y = 804, z = 6} local bottom_right_corner = {x = 3352, y = 811, z = 6} if monsters_summoned[1] then local monster_count = 0 for i = 1...
  2. wizinx

    TFS 1.X+ Action add addon with item requirement

    Hello everyone, I have a script to add an addon when using the item, but my problem is that I want to make it take an amount of X of items to add it. example: for the druid outfit ---> 100 wolf paw and bear paws. this is the script i currently have, i have tried but give up, thanks. function...
  3. thokito

    pass movement script to action

    hello guys, how are you? I would like to pass a movement script to action. Explaining how the script works: you put an item in the slot and get another outfit, I would like to click on the item and get the other outfit. would? 1617484361 up 1617491931 up
  4. nefinoo

    Lua Portal charged decay after 12 hours

    I made this script based on other scripts, it is practically a portal, that when using 5 moonlight crystals it "load" and changes its id to a "loaded rock", but I would like to know how to use the storage so that it can be loaded every 12 hours. setPlayerStorageValue(player,Storage.Moon.Rock...
  5. demon088

    Lua [TFS 1.X] Random Reward Action

    Hello OtLand! I wanted to share this action script that I have written with other scripts posted in this site. Review it and if someone wants to use, it would be cool! I'm using TFS 1.2 and it is working fine! It is useful to make this a random reward box. In my own OTS I use 6 different items...
  6. Lurk

    TFS 0.X Save pet health for 2 minutes

    Hello, I have a pet system and I have this problem: You summon your pet and it spawns full life, as intented. You can also at any time unspawn it by using the item again; If my pet loses let's say 80% of it's health, I can simply use my item again to unspawn and then use again to spawn it full...
  7. S

    Action OnUse Exhaust?

    I wish to make different exhaust times for each rune on my server and i do not understand why i am not getting any exhaustion. I am using Tibia version 10.98 and TFS version 1.3 Here is my code local exhaust = Condition(CONDITION_EXHAUST_HEAL) exhaust:setParameter(CONDITION_PARAM_TICKS...
  8. Raikou

    TFS 1.X+ Use item with uid x set storage id x

    I'm trying to do something simple, so at least i think. But can't get it to work. I have an item(book) with uid 6600, as soon as a player reads(use) it player.storage 6600 needs to be set. I thought I could do this with actionid 15000 (the standard reward box thing) but then I can't use the...
  9. demon088

    Lua Spells with charges

    Hello again OtLand! I need some assistance making a new series of spells for my OTS, and if someone would like to use it, I'm glad to explain how it works or help to insert or edit the spell. My team had the idea to make a spell which could get one charge each time you use it. So, if you have...
  10. M

    Can someone help me with the "look" action?

    Hello forum! Can someone tell me how to change the response text when u use the mouse action "look" ? When it says "You see a giant sword...." Wheres the "lua or xml" file, in order to change code? Im making my first server and my idea is to translate it to other idiom.
  11. E

    Movement Script to ActionScript

    Hello guys, Can someone helpme to transform this movements script in to Action Script? i'm using TFS 1.3 i get it from oen432 waypoint system by @oen432
  12. myalitth

    TFS 1.X+ Teleport Players - Lever Quest

    This script (Attach) teleport players from teleport tiles to boss room So i need, to edit this script to teleport players from boss rom to out of room. I've tryied a lot types... Some players stuck noob chars on boss room, to block boss... Script: local function removeBosst(fromArea1...
  13. J

    C++ (Action) Request SLOT MACHINE

    When I use the Item with actionid 5555 (Slot Machine) I can receive a random item between (10, 500, 600, 700, 855) or nothing. And the items have custom win % Item 500 is 10% win rate Item 10 is 80% win rate
  14. L

    [7.6]Transforming 2 items into one

    Hello, I'm looking for a script that will take 2 items from the inventory and give one. Items must be two with itemid 2311 and 2299, if the user does not have at least one item, a failure message will be displayed I tried to make such a simple script, but I do not know why It do not want to...
  15. falls13

    Lua Use storage value to restrict the consumption of food

    put storage here, so the player will eat the food every 15 min. * all foods * and continue to fill life and mana. tfs 0.3.6 local FOODS = { [2362] = {8, "Crunch."}, [2666] = {15, "Munch."}, [2667] = {12, "Munch."}, [2668] = {10, "Mmmm."}, [2669] = {17, "Munch."}...
  16. Nokturno

    Request action

    Hello ppl how r u doing today. i hope u can help me with this, or just tell if its possible it is possible to make a human corpse to work as a quest chest? what i have in mind is this: im gonna have a begining new zone but theres gonna be corpses of all classes: knight, pal sorc & druid and...
  17. JohnColner

    Actions Quest. NEED ITENS. HELP

    I need a quest to be done that needs 100x items and 200x items these items can be in the bag or also on top of something, which is easier for anyone to help. I'll thank you. I need some storage too.
  18. Lucas Primo

    [Cutting Trees] Help script

    Hello, OTLand! :) I would like help for a tree trimming action that works in tfs 1.x (my tfs is 1.3) I searched and did not find, those I found did not work, can anyone help me?
  19. Lucas Primo

    [Farming Action] Simple Help!

    Hello OTLand! I would like help to create a simple script for TFS 1.x (my tfs 1.3) Using a tool (itemid) in certain items (itemid's) I have a percentage of chance of winning another item (item) depending on the item where I use the tool. Example: Using the knife (id 2403) in the 2740 flower...
  20. demon088

    Lua On use item gives random item that could be rare

    Hello again OtLand! I've been working on mixing systems that gives you random equipment using an item and obtained items could be improved like this post from @zbizu - https://otland.net/threads/tfs-1-1-random-item-stats.228990. This system works giving creature loots with items that can be...
Back
Top