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

action

  1. J

    Pay exp for Time Problem

    Hello guy I use Tfs 1.5 And when I click on lever I have this error in console How I can fix it? error Lua Script Error: [Action Interface] data/actions/scripts/online/exp3.lua:onUse luaAddEvent(). Argument #3 is unsafe stack traceback: [C]: in function 'addEvent'...
  2. J

    Timer Problem

    Hello guys I use tfs 0.4 tibia 8.6 and I have this script local teleportPosition = {x=32351, y=31994, z=7} local magicCoinId = 6527 local amountRequired = 100 function onUse(cid, item, fromPosition, itemEx, toPosition) if not doPlayerRemoveItem(cid, magicCoinId, amountRequired) then...
  3. donabimbo

    RevScripts Problem with position in Revscripts (Action)

    Greetings, I noticed something that I don't know that I would have to add to make it work. I have a Revscripts type Movements, which I can place position on, without the need to use id, aid or uid. local wayOut = MoveEvent() function wayOut.onStepIn(creature, item, position, fromPosition)...
  4. Udun

    TFS 1.X+ Help with this script: Treasure Action.

    Hi guys! I'm having problems with this script. TFS 1.2, Tibia 10.98 Should do this: The player use a shovel (or any item of your election) and you can make a hole in any ground (grass, desert, snow etc.) could be a custom "hole" item, and you can hide items inside like a depot, then after a X...
  5. potinho

    TFS 0.X [LUA] Casino - Item Roulette

    Hello guys, how are you? I have this script bellow to roll items in a casino, works fine, but i guess can be improved. When roll finishes, person needs to wait few more seconds before roll again, i want to put exaust just during items rolling. I find some unused variables too, i guess this...
  6. potinho

    Lua [TFS 0.X] Creaturescript its not removing storage

    Guys, I have a strange problem, I thought it was simple but maybe it's not. I tried to put in my script to activate VIP to set a storage for the players and I have a creaturescript that validates this VIP, and if the time is up it removes it. The problem is that if I put it in the VIP action to...
  7. potinho

    Lua [0.X] Anihilator summon monster like NPC error

    Good morning people, everything fine? Looking at my server logs, I noticed something strange: an error in the anihilator lever script, where it tries to summon the demon as an NPC. I've been using the script for over a year and it seems to have always worked fine. I don't have duplicate...
  8. Z

    Creating an item with actionid

    0.4 Ok, its not that simple. I'm trying to make the following idea. Player clicks in an item, the item breaks and after some time, the script create the same item and set an actionid 2 things that I'm having trouble with: How to destroy an item but the script will remember where it was (using...
  9. potinho

    Lua [TFS 0.3.7] Item that completely fills mana and life

    Hello everyone, everything good? I need a script to put in an item (action on use) that fully completes a player's mana and life (like the new tibia foods). can you help me?
  10. potinho

    Lua [0.4] Item who buff skills

    I have a custom item on my server (ID 5152) I would like to create a script for it that gives the following benefit (for 30 minutes) varying by vocation, for example: ED/MS: ML +5 Knight: all skills +30 Paladin: distance +15 and ml +3 After the 30 minute period has passed, the skills will...
  11. wizinx

    TFS 1.X+ Help in an action, add a mount but remove money.

    Hello everyone, I need help to finish the action, I need you to take money away from using the item and add the mount, could someone finish it? Thanks. function onUse(player, item, fromPosition, target, toPosition, isHotkey) local mountId = {7, 8, 9}...
  12. Varianek

    TFS 0.4 Work Quest Log

    Hi, I would like to give you a configured quest log in client from my evo OTS (work TFS 0.4) Script use storage 2253,1 and you can see this quest1 Done quest chest (use script questsystem search in otland or system.lua in yourtfs/data/action/quest/system.lua) have 50080,1 storage but you can use...
  13. 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...
  14. 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...
  15. 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
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top