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

Search results

  1. lokolokio

    Lua Why this npc dont say nothing when i say hi

    I think you need to add start your NPC with: if msgcontains(msg, 'hi') or msgcontains(msg, 'hail king') then and after that you can add the lines or msge you want: if msgcontains(msg, 'hi') or msgcontains(msg, 'hail king') then selfSay("Hello PlayerName, tell me what you need here!", cid)...
  2. lokolokio

    Changing wand/rod range

    Hello. I think this could help you... maybe you can edit the 'weapons.xml' file and add a weapon, for example: 'server/data/weapons/weapons.xml' and add this line. <distance id="itemID" event="script" value="magicalWand.lua"/> <!-- Your WAND/ROD --> and then create inside the folder...
  3. lokolokio

    getMonsterInfo(name) on TFS1.X

    As the title say, i need a function in TFS1.X to get a monster information, but i only need the ".race", I just want to make a monster to fight diferent with each race type. thank you.
  4. lokolokio

    Spell Outfit Changer (for custom monster)

    I have made a spell that changes the creature random outfit once when you summon him. hope you like it. (For the moment I just added player outfits). 1: You just need to add this line to 'data/spells/spells.xml' <instant name="outfit" words="###1" aggressive="0" blockwalls="1" needtarget="0"...
  5. lokolokio

    Lua How to build local table?

    Do you already have added the script line to rat.xml, spider.xml? for example: <script> <event name="rat_death"> </script> (Is not correct script but you can find it the correct lines, I dont remember the script lines but it is the idea)
  6. lokolokio

    house tiles bug

    I think its because the house tiles are protection zone, you should make a zone in the house with no house tiles, just normal map, obiously inside the house. hope it works.
  7. lokolokio

    [creaturescript] Monster restore full health

    You can use the script of this ot land friend, see the thread. https://otland.net/threads/monsterpack-spellpack-and-creaturescriptspack-for-tibia-10-7-tfs-1-1-based-on-real-tibia.215685/ 1. Create a file in '/data/creaturescripts/scripts' called 'fullHealth.lua'. local condition =...
  8. lokolokio

    TFS 1.2 - if in protection

    sorry i do not see the param position and in the function the param position are not especified
  9. lokolokio

    (Solved) - Action to insert in a Table.

    the script that i try to make its for a Exura Sio Spell but this one is for monster, I making some kind of A.I.Spells, but this one is some hard for me because I dont know any about tables. I shot take the function function getFriendWhitLowHP(cid, magic, level) local c = Creature(cid) local t...
  10. lokolokio

    (Solved) - Action to insert in a Table.

    i know that theres errors, but its ONLY A EXAMPLE SCRIPT NOT A WORKING SCRIPT, its for take a idea of the script what i need.
  11. lokolokio

    (Solved) - Action to insert in a Table.

    Hello Im looking for a script with a table but i dont know how to manage tables, the script works something like this: local members = getSpectators(pos, 5, 5) local list = {} for i = 1, #members do local m = mebers[i] local hp = (m:getHealth()/m:getmaxhealth())*100 if hp <= 50 then...
  12. lokolokio

    (Solved) Info about Creaturescripts functions in TFS 1.X

    Can someone help me to tell me about all functions of creaturescripts in TFS 1.X, because I put onStatsChange(cid, X, Y, etc) and the server wont recognize the function onstatschange(), for that reason I make this thread to receive some help, and for EX. in the server cryingdamson there is a...
  13. lokolokio

    Monster Smart Monster Spell (For Sorcerer Monster).

    I should program it on TFS 1.2, i think i could work on 1.1 and @bulinho No Problem. just for fun
  14. lokolokio

    Monster Smart Monster Spell (For Sorcerer Monster).

    I have made a 3 monster spells to make a sorcerer monster and have more fun. hope you like it. (This monster have 3 options to be healed: exura, exura gran or exura vita, and get hasted, he will cast Hells Core if the Targets HP is below 30%, he soot SD and if target are far enough and the...
  15. lokolokio

    (Question) setCreatureStorage in TFS 1.1

    Yes @Karain I've used aswell but its much slow, and the server lags.
  16. lokolokio

    (Question) setCreatureStorage in TFS 1.1

    Is that function available on The Forgotten Server 1.xx?? If someone know about it, can tell me how to make it possible... Thank you. (I ask for monsters not for players, I've tried with: creature:setStorageValue(), but i think that it only aply to players and not for monsters.
  17. lokolokio

    Solved Problem with custom uh rune

    And you already have chequed the script Firstuh.lua?... check it maybe there is the problem.
  18. lokolokio

    Buying RPG City with spawns.

    Man, if i make the city and put a server online (just you and me will know the ip) to show you all te entire city, you can put the price?...
  19. lokolokio

    Monster Monster Element Reference

    WAAAAAAAAAAAA!!! How can i use this?... Looks very very good but i dont know how to use it?...
Back
Top