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

    Script request

    Good morning, I've tried writing a code, however could not make it work. My codding skills are below basic. I need a script that makes the player say a specific sentence once the monster health hit a certain percentage. For example, if a Juggernaut hits the 30% HP mark, the player will use a...
  2. C

    Lua Whats wrong with this script?

    I made a EXP script that forces the player to get a certain amount of exp in rookgaard and when he moves to main island he get the normal exp. The script is working until level 20, after that it is like I am playing 1x server... Whats going on? PS: I am sure I disabled Stages in XML. This...
  3. 1

    Bug in War of Emperium System

    Firstly sorry for my bad english: I've installed the Woe System in my Otserv, but when the empes die, these bugs appear > Broadcasted message: "one of Pre-Empes have been broken...". [17:17:02.671] [Error - CreatureScript Interface] [17:17:02.671] domodlib('Loot_func') [17:17:02.671] function...
  4. Loremaster7

    How to create an item and then remove it with certain time? (using addEvent)

    I created a lever, and I need it to disappear after 3 seconds ... My code 1 : function onUse(cid, item, frompos, item2, topos) time = 3 lever = {x = 2892, y = 2687, z = 8, stackpos=1} getlever = getThingfromPos(lever) if item.uid == 60115 and item.itemid == 1945 then...
  5. Loremaster7

    Script Remove 2 Stone with time and make a new lever (help)

    Hello, my friends, how are you? I'm trying to make a lever that removes a stone and under that stone another lever appears and that lever removes another stone, but the 2 stones with a time of 5 seconds to go back (stones) and remove the lever that was created under the first stone ...
  6. C

    Lua Dawnport vocation changer

    Hello! I AM trying to make a script that looks like global... Everything is looking fine, I can choose my vocation lvl 1, but the problem is If I choose sorcerer, for example, I Will have 285 mana instead of 80 (like global) when I reach lvl 8. Same Goes for Knight (higher Hp at lvl 8). My...
  7. bybbzan

    Convert from 1.2 to 0.4

    Could someone please convert this script to 0.4? Would save my day. Script from @Stigma Thanks in advance. -- <event type="death" name="boss death" script="filename.lua"/> local rewardRoom = Position(x, y, z) function onDeath(creature, corpse, killer, mostDamageKiller, lastHitUnjustified)...
  8. H

    !pvp on/off

    Good evening, can anyone help me? I'm in need of a script for the player to choose whether it wants to be PVP or NOPVP. I tried to use this one ---> TalkAction - !pvp - own world type! : ) (https://otland.net/threads/pvp-own-world-type.31889/) , but it is giving this error: INVALID EVENT...
  9. bybbzan

    Replace item script?

    Hello I need a script that replaces items, in this case so the gate looks open. Here is a picture how i would like it to look before and after you pull a lever. Then the gate closes again after like 30 sec. Is that possible? Thanks in advance.
  10. H

    Lua I Need help in the script

    Hello Guys, someone can help me? function onStepIn (creature, item, position, fromposition) local player = creature:getplayer() if not player then return end if creature:getplayer player:teleportTo(Position(32722, 32242, 8)...
  11. H

    Lua Help with Script Skill Points.

    Hello, how are you? So I am using this script for every lvl that upa earns "Skills Points" I am with 2 doubt. 1st I wanted that when the upa character appeared a message on the screen something like "+1 Skill Points!" I saw that in Script there is a message area, but it is not working...
  12. Asheex

    Super Promotion Scroll TFS 1.2

    Hey, I need a script that after clicking on a given item will change the character's profession to a better one For example: knight> super knight> ultra knight Knight have ID 4 on Vocation.xml Super Knight have ID 8 on Vocation.xml Ultra Knight have ID 12 on Vocation.xml So generally there...
  13. marvado

    Discount game n-store

    Good night. I have a TFS 1.2 server and would like to buy a premium premium on their website to buy tibia coins. All the items on my server, all the purchase is made by the store. Does anyone know how to do it and can you help me? Thank you.
  14. Asheex

    A script that changes the player's ID Group after use

    Hello, I need a script that will change the player ID group after using the item. For example, after using an item with ID 1750 ID, the group from the player will change to Tutor. So from Group 1 to 2 I need a script that will change player group 1 to tutor group 2 Automatically: <group...
  15. villelagui

    NPC Bless Talk

    So, i have all bless npcs on my server, the bless system changes the price depending on the level, till this point it's working great, but the npc always says the wrong price but charges the right one, wanted to know if i can make a math with the basecost + (value per level starting from 30...
  16. villelagui

    Help with Globalevent

    So, i got this script , already configured everything and it's working great, however i wanted to add an exception, for when the player is in protected zone the script wont affect them... Here's the script: function onThink(interval, lastExecution) for x=1,#getOnlinePlayers() do if...
  17. Sotomayor

    Gesior 0.3.7 support.php bug script

    Hello greetings for all, i have a problem with this scripth i try to fix my problem are the last access and status online or offline dont work, but down they work all, but i want the first table not the second tables because i dont like it jeje, could someone can help to fix this please? good...
  18. W

    Need help with script.

    It has probably been over 5 years since i last worked on an ot. But i remember having a rune that removed utamo and i know kummerack 8.0 used the same kind of script on the sword that removed utamo. But i forgot what the code was. Can any1 help? Also: any cool scripts/effects for items u know or...
  19. B

    Health/Mana Potion for all vocations script help

    Hello someone can help me with this script? I want one potion for all vocations Example: 800-850 mana for mages. 400-450 Health and 350-400 Mana for paladins. 1300-1350 Health and 200-250 Mana for knights. TFS 0.4 local t = {level = 8, mana = {600, 650}, health = {1100, 1150}, voc_add = {...
  20. J

    Use the conversation window, when we do not have the modal

    I would like the script to use the window of choice of converts, (Chanel) for me to do as if it were a modal, I want me to get through an area so that when I step on the tile the window appears and I clicking on the chosen one takes me to a certain place, making me something and of course. as...
Back
Top