• 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

    Solved Multiple values in questlog?

    It isn't possible without source edits with the current quest log. You do have the alternative to use this: Moving Questlog to Lua by Mkalo · Pull Request #1973 · otland/forgottenserver · GitHub That is not what he meant.
  2. Mkalo

    Future of OTs, Game Scripting directly in Map Editor! (sharing my vision)

    If not made correctly, it could be a pain in the ass to locate a single script I don't feel comfortable about storing scripts inside the map binary file, that should be done as a data pack manager that would interact with the map editor, but still save files as .lua in a folder and have a tag...
  3. Mkalo

    [RME] Added in possibility to script map based actions and movements directly?

    Saving Lua code inside the OTBM would make it a pain to edit it without running RME. That destroys the purpose of using Lua. If you wanna integrate the data folder with RME, that would be more interesting, but if you were to do that you should just make a data pack manager integrated with RME...
  4. Mkalo

    C++ Push Delay [TFS 1.3]

    Idk about what delay you're talking but it's probably this: if (!player->canDoAction()) { uint32_t delay = player->getNextActionTime(); SchedulerTask* task = createSchedulerTask(delay, std::bind(&Game::playerMoveCreatureByID, this, player->getID()...
  5. Mkalo

    Solved Prestige huge problem, i can pay

    UMR is the character in my avatar. Change everywhere that you have stuff like: getCreatureStorage(cid, "XXXstone") * 5000 To: math.max(0, getCreatureStorage(cid, "XXXstone")) * 5000 I can't do it for you cause I'm on cellphone :3
  6. Mkalo

    Solved Prestige huge problem, i can pay

    So you said you pay with sprites, what about an UMR doll? :rolleyes:
  7. Mkalo

    C++ Global storage in c++ tfs 1.2

    Global storage in TFS 1.2 is just a global Lua table. If you wanna get values from it you have to something with lua_State* luaState = g_luaEnvironment.getLuaState(); lua_getglobal(luaState, "globalStorageTable"); That will push the table reference to the stack, make sure to pop it after...
  8. Mkalo

    Restart server every day at 10:00

    You mean one like this? forgottenserver/serversave.lua at master · otland/forgottenserver · GitHub
  9. Mkalo

    C++ How to check storage in C++? tfs 1.2

    forgottenserver/luascript.cpp at master · otland/forgottenserver · GitHub
  10. Mkalo

    Compiling Error LNK1104 cannot open file

    You should install boost in C:/ (or any other folder without spaces) And the SDK should also be inside C:/ (same reason) Also when you open the CMD register files you should run them as admin.
  11. Mkalo

    C++ SIGSEGV at Tile::hasProperty(ITEMPROPERTY)

    You should compile it as Debug.
  12. Mkalo

    Lua IntelliSense in a Visual Studio

    I'd use this: OpenTibia - Sublime Text 3 - Lua TFS Autocomplete But you won't be able to check for syntax errors.
  13. Mkalo

    Solved item on bag

    creature:removeCondition(conditionType[, conditionId = CONDITIONID_COMBAT[, subId = 0[, force = false]]]) You don't pass a condition userdata to this function.
  14. Mkalo

    TFS 7.6

    GitHub - mattyx14/otxserver: OTX Server 3 are based on: The Forgotten Server Version: 1.3 - Special Thanks(s): The Forgotten Server Team. It's 7.7 tho.
  15. Mkalo

    Feature Embedded proxy in your server.

    Make sure you have nginx-full installed. The normal nginx doesnt comme with the stream directive enabled.
  16. Mkalo

    Feature Embedded proxy in your server.

    A modal window script to change the proxy server inside the game: [Lua] function Player:sendProxyModalWindow() local proxyList = configManager.getStri - Pastebin.com You need this lib to run this script: [TFS 1.2] Modal Window Helper Lib
  17. Mkalo

    Feature Embedded proxy in your server.

    Change the value in config to make easier for AAC's to parse the proxy list now the format is a string with: "ID,IP,PORT,NAME;ID,IP,PORT,NAME..." Each proxyInfo contains 4 values and they are separated by ";".
  18. Mkalo

    OT Server Proxy

    It's here! Feature - Embedded proxy in your server.
  19. Mkalo

    Feature Embedded proxy in your server.

    This was made in TFS 1.3 but should work in any TFS distribution as long you implement it correctly. It works by changing the gameserver ip and port that the client is going to connect to. The proxyId is bound to the account and should be changed through your website. I won't provide any web...
  20. Mkalo

    setMaster(player) , does not work TFS 1.2

    criatura:setMaster(player) There is no "player" in your code it should be: criatura:setMaster(cid)
Back
Top