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

movements

  1. tdp157

    OTX2 - trap hit is accumulating.

    Hello, can anyone help me? I have an OTX 2 07 Server - Codename LORD ZEDD. And it is now possible to add the damage from traps to kill monsters. I send my trap.lua movements script for analysis. function onStepIn(cid, item, pos) if (isInArray(TRAP_OFF, item.itemid) == TRUE) then...
  2. Addams

    C++ DeEquip and Stackable items

    Is this how DeEquip is supposed to work with stackable items on TFS 1.4.2? Shouldn't it only remove attributes when the whole stack is unEquipped? Example: Using a normal spear for testing. This is how it's added to items.xml: <item id="2389" article="a" name="spear"> <attribute...
  3. 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...
  4. 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 =...
  5. Jaki Maoh

    Lua Help with "Basic" .Lua (movements) Scripting

    Hello Community! I can't figure out what is wrong with the script. 😵‍💫 The idea is to add back (to the original tile) a small stone after x time with addEvent function. The problems: 1 when the item is created, it spawns without the aID needed to activate the onRemoveItem function. 2 when the...
  6. Q

    TFS 1.X+ OnEquip arguments muliplies by 3?

    Hi, I'm playing with onEquip / onDeEquip methods and I don't know what is happening. This is my test code : And when I'm trying to get the slot number or item id all values are "multiplies" by 3. So for example: head slot should be 1 but it is 3 armor slot should be 4 but it is 12 and so...
  7. Alkenyx

    TFS 1.X+ TFS 1.3 - Poison Fields seems to be buggy.

    Hello ppl. My players told me, that step in poison fields always do fix 100 dmg IF you aren't already poisoned. Otherwise you won't get dmg. All monsters can move across it without getting any dmg. I've already checked the step in but can't find a file that handles dmg of poison fields. Can...
  8. ckripz

    condition addon in outfit

    Hello! good afternoon, I have a detail with a script. I have a movement script, what it does is that when you step on the floor the script gives you an outfit, everything is fine here, if you give me the outfit but what it doesn't give me is the addon, I suppose it is because I don't have it...
  9. VictorOtInfinit

    Boss Room

    Hi guys, i have this code that i found in the internet but is not working 100% The boss is spawning, and the timmer is working ( player got kicked before 10m in the room ), but the clear isn't. I create an item that give a player "Storage 9000", then he can acess the portal and kill the...
  10. Sir Richard

    [The OTServBR based on TFS 1.3] - Swimming Send Effect [Movement]

    Greetings everyone! Could anyone help me figure this one out? The basic concept is the one used in real tibia: When the player enters a swimming area (tiles from id 4620 to id 4625), an effect should be sent to that position, but only when entering the area, walking around said tiles shouldn't...
  11. V

    Event onStepIn not found in movements

    Hello. I'm trying to create a complete working server with latest content possible. I'm total rookie in terms of coding, so I'm basically learning while working on this project. If you want to contribute PM me. I'm not making server for money, actually I'm not gonna set up server for players...
  12. falls13

    put that floor to summon monster for 4 minutes, after that time would summon a boss.

    tfs 0 3 6 local monster = {"demon", {x = 1, y = 1, z = 1}} local timetoremove = {2, "min"} function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if getCreatureByName(monster[1]) then return true end local m = doCreateMonster(monster[1], monster[2])...
  13. Sacarus

    TFS 1.X+ Where are movements functions? onEquipItem, onDeEquip...

    Hi, where may I find those functions that we can target in movements.xml? onEquipItem, onDeEquipItem, onStepInField..? (TFS 1.2) (example: <movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem" />) Is it only in sources, movement.cpp>MoveEvent::EquipItem ?? Another...
  14. 3alola1

    C++ The Time Portal !

    I need a movement teleport that when you enter it it gives you a time with hours and when time finish it take you out from place
  15. Bash

    Vocation restriction OTX

    Hello! Im using OTX 7.72 based on tfs 0.3. I want to add the vocation restriction (i know it is in movements.xml) for some items that gives magic level for example dwarven armor: i tried both codes, and didnt work, still all vocations can wear it. <!-- Dwarven Armor --> <movevent...
  16. B

    C++ Movements.xml | help plox

    Hello! From nowhere i couldnt load my movement.xml anyone got a suggestion what's wrong? [09/06/2017 10:24:01] [Warning - BaseEvents::loadFromXml] Cannot open movements.xml file. [09/06/2017 10:24:01] Line: 975, Info: Premature end of data in tag movements line 2 [09/06/2017 10:24:01] > ERROR...
  17. Dohko

    Lua STORAGE TELEPORT AFTER TIME

    Hello, good evening friends, I apologize for my bad English, my problem is in my movement script, I have tfs 1.2 on my server, and I would like to adapt my code to when the player's storage change he would be teleported to the temple, script In question -> function onUse(cid, item, frompos...
  18. M

    Lua how i can add time in antitrash script

    this scripts for remove items on ground i need add time for remove in 30 seconds if is possible msg for player Tfs 1.2 events player>onMoveItem local cls = Tile(toPosition) if cls and not cls:getHouse() then if cls:hasFlag(TILESTATE_PROTECTIONZONE) then item:remove() return...
  19. Crixpx

    Lua [movement][help] telepor every 24 hours

    hola!! I would like to know if anyone can edit this script for me :D Is a war zone script But what I want is that it can only be used every 24 hours My idea is to make an area where you can only enter every 24 hours for vip players :D this is my base script I'm using OTX 3 for 10.90 ot...
  20. pasiak12

    Lua Custom ring function

    I would like to replace stealth ring with new item called 'mana ring'. I have edited items.xml <item id="2202" article="a" name="mana ring&#10;(1% max mana / sec)"> <attribute key="weight" value="100" /> <attribute key="slotType" value="ring" /> <attribute...
Back
Top