• 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

    Trap Rune problem

    I use tfs 1.3 tibia 8.6 I try make trap rune but player must be max 1sqm from (Target Player ) but i would like when have distance 5 sqm can use rune and make trap trapRuneId = 31194 -- ID runy, którą gracz używa (zmień na odpowiednią) local bushId = 1499 -- ID krzaków, które mają pojawić...
  2. miguelshta

    Monsters Grenade TFS 1.4+

    Hello Otland Community! Hello everyone! In my free time, I plan to share some simple but (hopefully) useful scripts with you all. I have a special affection for this community, as I’ve been a member since I was a kid. Even though Lua scripting or RevScripts aren’t my strongest skills, I...
  3. sallem

    Lua put exhaustion on this item, or time to use again

    teleport scroll - tfs 0.3.6
  4. K

    TFS 0.X set a time of 2 hours to be able to use the item again

    version 0.3.6 tfs local config = { effect = 0, -- textType = 0, -- msg = "Mana Refilled." -- } function onUse(cid, item, fromPosition, itemEx, toPosition) doCreatureAddMana(cid, getCreatureMaxMana(cid)) doRemoveItem(item.uid, 1)...
  5. potinho

    Lua [TFS 0.X] Bossroom script is not removing players or creatures

    Hello guys, i tried to adapt an anihilator script to create some bossrooms, monster is summoned and player position are validating, but when new players try to jump in, they can. Script is not validating players inside room or cleaning previous bosses created. What im doing wrong? None errors on...
  6. highsanta

    [TFS 1.0+] Bag with random items inside 2024-05-19

    Use the bag to get random items and some gold.
  7. 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'...
  8. 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...
  9. 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)...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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?
  16. 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...
  17. 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}...
  18. 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...
  19. 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...
  20. 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...
Back
Top