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

    Modifying player_storage

    Storages are cached into the servers memory and are only saved when the player logout or on server save. That's how almost everything works in TFS, so you can't expect to edit the database if the player is online and that this will update the cached information in the server. It would be better...
  2. Mkalo

    Lua Boat NPC - taking money from bank

    Probably something wrong with the way you have added this feature to remove money from bank and you didn't change StdModule.travel,
  3. Mkalo

    Lua "Imbuing system" Adding attributes to items by slot

    This is impossible without changing the source.
  4. Mkalo

    Lua "Imbuing system" Adding attributes to items by slot

    I don't think "Support" is not the right place for your post as you really didn't post anything but an image and 3 links. Maybe Jobs is what you're looking for.
  5. Mkalo

    The Forgotten Server 1.2

    @TheAllien This kind of code takes time to make and review, currently there is a pull request that is being worked on to implement that in: [WIP] Store System by brunominervino · Pull Request #2143 · otland/forgottenserver · GitHub If you'd like to see it in TFS, feel free to contribute to the...
  6. Mkalo

    Lua server crash

    You have to provide the Lua scripts that are causing it.
  7. Mkalo

    Linux ERROR: Couldn't estabilish connection to SQL database!

    There is no database named theforgottenserver. You should create a new database and import schema.sql
  8. Mkalo

    Linux Segmentation fault

    Are you sure that you compiled it again properly? It doesn't happen to me at all anymore. You have to do rm -rf build and run cmake + make again. I can try to help you through Team Viewer if you still keep getting the crash. You can just send me id and password through PM.
  9. Mkalo

    Linux Segmentation fault

    Can you pull the latest commit from the repository and try again @thomson9292. It should have been fixed. Thanks.
  10. Mkalo

    TFS 1.2 - NetworkMessage receiving packets

    Currently there is no way of getting packets from Lua without source edits. The only thing you can do is get extendedopcodes that are sent from OTClient only. However there is this custom change in OTX: Added Module System · mattyx14/otxserver@ef1a3f6 · GitHub That does exactly what you want.
  11. Mkalo

    Why I cant post new thread?

    Try disabling adblock.
  12. Mkalo

    Error - Config Manager::Load cannot open config.lua

    You should move the compiled executable to the main folder (this one): GitHub - otland/forgottenserver: A free and open-source MMORPG server emulator written in C++ In your case: C:\forgottenserver-master\
  13. Mkalo

    [TFS 1.2] Counting hits from weapons

    onUseWeapon forgottenserver/weapons.xml at master · otland/forgottenserver · GitHub
  14. Mkalo

    [Lua Function] [0.3.6] doPlayerAddGesiorPoints(cid, points) and doPlayerAddZnotePoints(cid, points)

    Place it before the return and it should work. For TFS 1.x there is player:save()
  15. Mkalo

    [TFS 1.3](CONDITION_INFIGHT) Doesn't work? or what?

    I think it uses subid CONDITIONID_DEFAULT for that and the default subid for getCondition is CONDITIONID_COMBAT Try changing it to player:getCondition(CONDITION_INFIGHT, CONDITIONID_DEFAULT)
  16. Mkalo

    AAC Account name Check not working

    Try that then: $account_db = new OTS_Account(); $account_db->find($account);
  17. Mkalo

    Action Advanced Monster Arena TFS 1.2

    The lib should be installed here: forgottenserver/data/lib/core at master · otland/forgottenserver · GitHub And you should add a dofile here: forgottenserver/core.lua at master · otland/forgottenserver · GitHub
  18. Mkalo

    AAC Account name Check not working

    Try replacing: $account_db = new OTS_Account(); $account_db->load($account); With: $account_db = new Account(); $account_db->load($account, Account::LOADTYPE_NAME);
  19. Mkalo

    Lua Verify how many enabled Addons a player have

    1) You would have to update the bonuses when you add a new outfit, to do that you could change the addOutfit / addOutfitAddon doing something like that in global.lua: local playerAddOutfitAddon = Player.addOutfitAddon function Player:addOutfitAddon(lookType, addon)...
  20. Mkalo

    Weird error(s) in console

    You should either post it using code tags: How to display CODE properly in your post Or if the code is too long you can post it on pastebin: Pastebin.com - #1 paste tool since 2002!
Back
Top