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

    Lua TFS 1.4 Script Table and Texto

    Hi all, Does anyone know how I could do to present the text with all possible variations if my variable nx1, nx2, nx3, nx4, nx5, nx6 and nx7 is different from 0? I tried to do this but it's getting too long and it's not getting all the variations. local t1 = {} local t2 = {} local t3 =...
  2. L

    RevScripts RevScript

    Can anyone convert this script to revscript? https://otland.net/threads/tfs-1-3-1-4-upgrade-system.264672/
  3. L

    Compiling TFS 1.6 Compiling

    I compiled using the release 64x option following this tutorial Compiling on Windows (vcpkg) (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29) When I run the file from the server, this window opens and then it closes, without error. Where can I discover this...
  4. L

    RevScripts TFS 1.4.2 - Defense Monter

    Hi, How could I acquire the monster's defense in a spell? On the example below I took it from the dragon xml monster.defenses = { defense = 30, armor = 25, mitigation = 0.99, { name = "combat", interval = 2000, chance = 15, type = COMBAT_HEALING, minDamage = 40, maxDamage = 70...
  5. L

    TFS 1.2 Blessed

    Hello guys, I implemented the script below, but it doesn't work properly here. In this part of adding the blessing "player: addBlessing (1)" despite the script does not give errors the player also does not receive the blessing...
  6. L

    TFS 1.2 Cap attribute

    Could someone help me put the "add Cap" as an attribute in the source? Example of the attribute in the item <attribute key="cap" value="20" /> (when equipping the item he gains 20 in the total cap)
  7. L

    TFS 1.2 Task Error

    I made a comment on this topic below. I don't know if I did it in the right field. https://otland.net/threads/advanced-task-npc.266598/ Would I like a button option to return to choose the initial tasks would also be good. Could anyone help?
  8. L

    TFS 1.2 Script

    How would i do for this situation? If I throw 1 item (any) on the floor (pos x, x, x) and then throw another item (any) on top of item 1 does it become another item x? It would have to be automatic like movements, but I believe it’s not here when it comes to items.
  9. L

    TFS 1.2 Movements

    Hello guys, I have this script (movements) that when equipping a backpack provides player 6 in the total cap. It works well but whenever I relog add 2 to the total cap because it happens? I simply want to add 6 to the total cap and when I remove the bp, return the normal cap. The numbers "200"...
  10. L

    TFS 1.2 add Cap on item

    How do I add cap on the item. Ex. When equipping a backpack the player gains 200 cap. and when you remove backpack the cap it goes back to normal. I tried using the "weapons" script player:setCapacity(player:getCapacity() + 200) but dont work. I think because it is not a weapon itself I would...
  11. L

    TFS 1.2 Spell Buff Weapon

    Is it difficult to make a spell to buff weapons? Ex. 20% of the damage of the equipped weapon will be extra poison damage. Can anyone help to develop this?
  12. L

    TFS 1.2 NPC Aldo

    Does anyone know why this error is happening when i buy an item from this npc? the .xml file is this <?xml version="1.0" encoding="UTF-8"?> <npc name="Aldo" script="Aldo.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="128" head="40" body="37"...
  13. L

    TFS 1.2 Npc Error.

    Anyone can help me? I have this error for deposit gold. I also went to buy an item from npc Aldo and gave this error. Do I need to rewrite any missing functions? Someone must have removed something from the server that I use as a base. I would like help to solve the problem and not change...
  14. L

    Tfs 1.2 Custom items look

    Can i change the color of this text? how would i do? 1577629528 I'd like to do a customization like this below the Cyntara server. Is very difficult?
  15. L

    TFS 1.2 Summon Spell

    Would it be possible in the spell a monster to summon him and hit other targets without hitting the person who summoned him and without adding him master? Example. I summon a rat and he hits the other targets but not me without me sending attack.
  16. L

    TFS 1.2 Text Screen

    how i can represent the text whenever regenerate using food like the picture?
  17. L

    TFS 1.2 Move Item For bp

    Do you have any function to move the equipped item to bp? Ex. I use a spell that makes the equipped helmet go to bp. Can you do that?
  18. L

    TFS 1.2 Spell Check Pos

    How could I check if the player (selftarget) is in the same position after 2 and 5 seconds?
  19. L

    TFS 1.2 Walk function

    Is there any function to check if the player is walking?
  20. L

    Tfs. 1.2 getAttack()

    Guys, how do I get the physical attack of the sword for example after it has been added Attribute. I'm using it this way below but it takes the base item as a reference. function onCastSpell(creature, var) local player = Player(creature) local leftHand2 =...
Back
Top