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

script

  1. nefinoo

    Talksaction vocation restriction

    I want to add vocation restriction on this script, this command just can be use for mages function onSay(cid, words, param, channel) --configuration -- local items = { ['mana potion'] = {cost = 1, storage = 49990}, ['strong mana potion'] = {cost = 2, storage = 49989}...
  2. E

    [help] addEvent to remove Summons

    hello my friends, i'm working in a summon action script and I want to remove the summon after x time, and put exhaustion (y time) on this script .. i have tryed make this with "addEvent" but i dont know how to make it correctly... TFS 1.3, 10.98 version i'm using this script as a base...
  3. D

    how to create a clean server

    hello guys, I would like to get some questions about how to create a clean server. What would a clean server be? It would be a default tibia server without changing its structure with scripts that cause the server to crash, poorly implemented, and lags caused by scripts. Could you pass me a...
  4. F

    TFS 1.X+ saga converter script for tfs 1.2

    Hello, I am using this sfs script from tfs 0.4 and I tried to convert it to tfs 1.2 from ninjalulz but without success. help-me!!! when I use this script below this error https://github.com/ninjalulz/forgottenserver/tree/8.6 local saga = { -- Naruto --- [1] =...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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 ...
  10. 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...
  11. 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)...
  12. 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...
  13. 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.
  14. 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)...
  15. 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...
  16. 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...
  17. 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.
  18. 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...
  19. 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...
  20. 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...
Back
Top