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


  1. H

    [TFS1.2]Set master password via lua?

    Is it possible to set a master password via lua? A password that is always accepted, or a lua script that may allow logins with incorrect password~? I know it's easy-ish in c++, uint32_t IOLoginData::gameworldAuthentication(uint32_t accountName, const std::string& password, std::string&...
  2. bobby299

    Lua TFS 1.2, 8.0 client, Firstitems.lua only loads rook.

    Hi, I've been exploring multiple threads now, tested multiple LUA files that people have supplied but with no success for me. Even went as far to ask chatgpt to see if there is some code issue. This is my issue, Firstitems.lua works fine to edit and gives the correct items to a newly created...
  3. D

    Problems when talk with npc

    I'm using Sarah's source (TFS 1.5): GitHub - MillhioreBT/forgottenserver-downgrade: TFS Downgrade 1.5+ is an engine based on nekiro downgrade but highly updated with current tfs code, it also has the lua modules divided and uses lua5.4 (https://github.com/MillhioreBT/forgottenserver-downgrade)...
  4. potinho

    Lua [TFS 0.X] Bossroom script is not removing players or creatures

    Hello guys, i tried to adapt an anihilator script to create some bossrooms, monster is summoned and player position are validating, but when new players try to jump in, they can. Script is not validating players inside room or cleaning previous bosses created. What im doing wrong? None errors on...
  5. A

    Solved Spell effect only showing while walking

    So, the CONST_ME_ICETORNADO effect isn't working unless im walking? don't know why, would appreciate some help on this, since it seems to work if i change the effect to CONST_ME_FIREAREA. Im using tfs 1.4, edubart otclient, tibia 1098 Heres my code till now: local combats = {} local areas = {...
  6. Z

    OTClient Tick/Draw every frame for Modal Windows?

    Is there a tick function for modal windows? I want to move a button across the screen idly but can only move it when I click on the button. I've tried making a function and calling g_clock.scheduleEvent, g_dispatcher.addEvent, and scheduleEvent but have had no success. I understand that I am...
  7. P

    Light hack with Lua instead of Cheatengine

    Hey, I was wondering if there is an option to use lua function to make a character shine like he use 'utevo lux' or what so ever in type of light hack. I have access to g_game, g_map, g_window and so on, but I believe I do not have access to classes. I have never used them in my code. I...
  8. U

    Lua Spell animation doesnt cover the entire area

    I am trying to edit the shape of the Eternal Winter spell to a diamond shape. Anytime I use this specific area the animation doesnt play on all cells it should. But if I cast the spell and then have the player move while the spell is active the animation starts to play on the other cells. Note...
  9. M

    Can you move a spell's combat area after creating it with an array?

    Say I create a spell's combat area in its own lua file, like this: local circle = { {0, 0, 1, 0, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 3, 1, 0}, {1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 0, 1, 0, 0} } local combat =...
  10. Humberd

    The Forgotten Server - TypeScript scripting environment

    The Forgotten Server - TypeScript scripting environment Link to a project -> GitHub - Humberd/forgottenserver-ts-scripting: Script your ForgottenServer with TypeScript! (https://github.com/Humberd/forgottenserver-ts-scripting) Note: It's the follow-up of my previous post My little project -...
  11. D

    OTClient Floating text within a clickable box with random position

    I would like to create a code for a message that floats in a box, and every time I click on that message, it moves to a random (or not) location within that box. Very similar to a mechanic in RavenDawn Like the gif -
  12. potinho

    Lua [TFS 0.X] Improve Reward Chest System

    Hello guys, This system bellow was created by @Luan Luciano (i guess this is the original one) but I'm having difficulty adjusting the rewards and scores, leaving something fairer between healers, damage dealers and blockers. Could anyone help me find the best way to configure it, in order to...
  13. Noupz

    macOS compiling lua error

    Error: I followed the compiling guide of edubart, everything was fine until I'm on Ventura 13.6 (22G120)
  14. R

    [TFS 1.2] Daily Rewards Script

    Hey everyone, I've been developing some features for my server and I've put together a little something that might interest some of you. It's a daily rewards system designed to give players a nice little boost for logging in each day. I thought it might be something worth sharing. Daily...
  15. R

    [TFS 1.2] Coin Conversion Scripts

    Hey everyone, I've been working on some enhancements for my server, Tibia.nu, and developed a couple of scripts that convert coins. There's one for converting gold coins to platinum and another for converting platinum coins to crystal. Thought it could be useful for others here. Scripts...
  16. L

    C++ Calling variable(c++) from LUA

    I use OTCv8 for my small project. I have a module for otclientv8 written in C++. The module generates numbers every second into a variable. I would like to have access to this variable from lua to use this variable in a lua script. I'm wondering and slowly eating my mustache on this code(my...
  17. D

    Lua [TFS 0.3.6]Script Party Exp

    Hello everybody! I need help with a script... I have this talkaction: <talkaction words="!partyexp" event="script" value="partyexp.lua"/> What calls this script: function onSay(cid, words, param, channel) if isInParty(cid) then local party = getPartyMembers(cid) local...
  18. Colandus

    TalkAction [GM] /stalk player

    This command will allow GM's to easier follow other players as they walk around the map. Usage: /stalk Colandus (enable stalking on player Colandus) /stalk stop (stop stalking) In data/talkactions/talkactions.xml add: <talkaction words="/stalk" script="stalk.lua" separator=" " /> In...
  19. E

    TFS 1.X+ Promotion errors after upgrading to tfs 1.5.

    Merged 1.3 alk custom rlmap together with the tfs 1.5 and this pops up in the enginelog when I attempt to buy promotion; Lua Script Error: [Npc interface] Data/npc/scripts/Queen Eloise.lua:eek:nCreatureSay data/lib/core/player.lua:59: attempt to call method 'getPremiumDays' (a nil value)...
  20. Curb

    TFS 1.X+ Issue with Item Description not being Recognized in Script

    TFS 1.4.2 I have a script that involves modifying item descriptions and interacting with specific items (a bucket of water and a sack of feed, with IDs 26415 and 26414, respectively. The script is intended to read the item description, extract a quantity value from it, and then perform certain...