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

Search results

  1. Gesior.pl

    OTClient tooltips issue

    It looks like AI hallucination. You cannot modify element damage attributes with OTS engine. They are not stored in database, they are always loaded from items.xml, so each item with ID X must have same element damage value. To make it work, you would need a lot of C++ changes in engine, to...
  2. Gesior.pl

    Problem with basic attack

    You can try to switch config.lua ( forgottenserver/config.lua.dist at 1.4 · otland/forgottenserver (https://github.com/otland/forgottenserver/blob/1.4/config.lua.dist#L88) ): classicAttackSpeed = false to true. It should let players attack, when they are using items.
  3. Gesior.pl

    SCRIPT HIDE GUILD IN BATTLE OTCLIENT V8!

    I assumed that thread author is not an owner of OTS. He is a player, who wants to hide own guild players on Battle List. If you plan to check, if player is in same guild using tibia protocol, you don't pass guild ID when login in client (as you are not an owner of OTS). You parse it from Look...
  4. Gesior.pl

    Error when compiling latest Canary on a Ubuntu 24.04

    fatal error: Killed signal terminated program cc1plus Looks like it runs out of RAM. As I reported on Github: [GitHub Wiki] Ubuntu 22.04/24.04 instruction · Issue #2695 · opentibiabr/canary (https://github.com/opentibiabr/canary/issues/2695) and they added -j4 in WSL tutorial: Compiling on WSL...
  5. Gesior.pl

    SCRIPT HIDE GUILD IN BATTLE OTCLIENT V8!

    As @Danger II posted, OTS does not send list of guild members to client. OTCv8 battle list is filtered here: https://github.com/OTCv8/otclientv8/blob/master/modules/game_battle/battle.lua#L293-L326 You can filter some names, by adding under function doCreatureFitFilters(creature) ex.: if...
  6. Gesior.pl

    TFS 1.X+ How to save players log?

    What engine? What is players log? Do you want to save a lot of data from OTS ex. all what players talk on public and private channels? Just dump it to OTS console (ex. std::cout << "player talk:" << player->getGUID() << ", whatever log:" << text << std::endl) and save OTS console log to file...
  7. Gesior.pl

    Export RME map

    HD mode checkbox in Kasteria client changes loading of textures from Tibia.spr to Tibia.cwm. In .cwm are 64x64 sprites upscaled by AI.
  8. Gesior.pl

    Export RME map

    How to export RME map to image: answer from private conversation with @leonardovsilva You must use https://github.com/gesior/otclient_mapgen/releases/download/v5.1/otclient_mapgen_v5.1_win-x64.zip Example of big image with TFS 1.4 files and Tibia 10.98 files put into data/things/1098/...
  9. Gesior.pl

    OpenTibia OTClient that unpack map.otbm to .png files - v4.0

    It looks like you are using "transparency" feature in .spr. You have to enable it in otclient_mapgen. Edit modules/game_things/things.lua and under: local errorMessage = '' add line: g_game.enableFeature(GameSpritesAlphaChannel)
  10. Gesior.pl

    frozen server

    That's problem with Windows console. If you select some text in console ex. to copy it, it will freez console and OTS will be not able to write to frozen console, so when it try to login player and show message "X logged in." it will freez whole OTS, as it will wait until console will be...
  11. Gesior.pl

    [Clang][Boost] TFS project compilation problem.

    Did you try to compile with Visual Studio and vcpkg libraries? Maybe it's just some OTS bug, not your compiler. Do you have logs from OTS console? Maybe there is some error message printed before crash, it generates some signal that then crashes in asyncWait. If it's signals related, maybe...
  12. Gesior.pl

    BlackTek-Server Development Thread

    Not really. This is TFS 1.4/Black-Tek code for onEquip: onEquip(player, item, slot, isCheck) someone even reported that onEquip is called twice, but it's first time called with isCheck = true (before equip) and second time with isCheck = false. With current item attributes storage method...
  13. Gesior.pl

    Allocation failed, server out of memory - Only Admin Character

    Most obvious thing that may result in RAM going 100% is some invalid items structure in database. You can try to remove player_items, player_depotitems and player_inbox items of GOD character and check, if it fixed anything. Other possible reason is some bugged Lua script, but it can't be that...
  14. Gesior.pl

    Element attribute

    Element damage is only loaded from items.xml (or Lua on new servers) ex. Fire Sword: <attribute key="elementFire" value="11" /> It's not stored anywhere, when item saves in database, so it can't be changed for given item. You would need to rewrite C++ to make it store/load element damage from...
  15. Gesior.pl

    How to connected?

    Owner of that server release own version of OTCv8 client. Probably to block bots, so his server won't allow you to connect with clear otclient/tibia client.
  16. Gesior.pl

    TFS 1.2 setCreatureMetatable Crash

    What to search for: There are 2 cases when addEvent crashes OTS: script passed object Player/Monster/Item/Container as parameter, that does not exist in moment, when addEvent executes function called by addEvent uses variable from outer scope that points to object Player/Monster/Item/Container...
  17. Gesior.pl

    Feature [TFS 1.4] OTS statistics (C++/Lua/SQL) by kondra

    TFS 1.6 version - without C++ dispatcher events stats, as it's impossible with TFS 1.6+ dispatcher tasks code: https://github.com/otland/forgottenserver/pull/4874 but it generates stats for Lua and SQL. You can track C++ functions with AutoStat. I've tested this AutoStat on my PC...
  18. Gesior.pl

    Offline training - bed problem

    I hope you also followed (replace -1 to 0): https://otland.net/threads/offline-training-onlogin-problem.282601/#post-2740525 Otherwise 'offline training time` won't regenerate, when you are offline and NOT training. IDK, if it regenerates with change from -1 to 0 at all. Official TFS change was...
  19. Gesior.pl

    Offline training - bed problem

    Maybe it's engine bug, but it can be also problem with running bugged Lua code before. Maybe sleeper ID is stored or is not stored in house data saved in database. If it's test server, shut down OTS, then in MySQL remove all rows (truncate) table tile_store and start server again.
  20. Gesior.pl

    Offline training - bed problem

    TFS 1.4 function setOfflineTrainingSkill is bugged. You got to replace ( https://github.com/otland/forgottenserver/blob/1.4/src/luascript.cpp#L8772 ): uint32_t skillId = getNumber<uint32_t>(L, 2); player->setOfflineTrainingSkill(skillId); with: int32_t skillId =...
Back
Top