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

    TFS 1.2 Any Optimization suggestion

    void Game::cleanup() { //free memory for (auto creature : ToReleaseCreatures) { creature->decrementReferenceCounter(); } ToReleaseCreatures.clear(); for (auto item : ToReleaseItems) { item->decrementReferenceCounter(); } ToReleaseItems.clear()...
  2. Tbol

    TFS 1.2 Any Optimization suggestion

    gonna push it and check if there is any slight difference in performance 1758643298 edit: it seems like deleting cleanup() from checkSpawns and checkCreatures fucks monster spawning, after this change monster dont spawn anymore :D
  3. Tbol

    TFS 1.2 Any Optimization suggestion

    damn okay. Nice catch
  4. Tbol

    TFS 1.2 Any Optimization suggestion

    So you mean deleting it from checkCreatures, void Game::shutdown() and void Spawn::checkSpawn() ?
  5. Tbol

    TFS 1.2 Any Optimization suggestion

    Difference with those two commits. Small improvement, but could be better [23/09/2025 16:06:58] Thread: 1 Cpu usage: 85.1682% Idle: 14.1816% Other: 0.650216% Time (ms) Calls Rel usage % Real usage % Description 5475 127118 21.43194% 18.25320%...
  6. Tbol

    TFS 1.2 Any Optimization suggestion

    Damn thats cool. Sadly about the decay the tfs 1.2 game.cpp is a bit different so some changes doesnt match. Like if (moveItem->getDecaying() != DECAYING_TRUE) { doesnt exist 1758569805 about onhealth change 242 10927 5.73298% 0.80707%...
  7. Tbol

    TFS 1.2 Any Optimization suggestion

    About the commit you posted it compiled just fine, but isnt it quite a dangerous change and risky to push or im tripping? About lua.log this is the only three lua files that actually uses quite a bit, other ones are like 1 or 2%. 614 2029 14.52248% 2.04719%...
  8. Tbol

    TFS 1.2 Any Optimization suggestion

    [No, using new distro is not the option, sticking with legendary tfs 1.2, so any optimization comits would be appreciated, but legit ones that are tested] [22/09/2025 18:06:07] Thread: 1 Cpu usage: 94.0832% Idle: 5.35844% Other: 0.55837% Time (ms) Calls Rel usage % Real usage %...
  9. Tbol

    Lua Item that reflects damage

    Anyone got a action script of item, if player uses the item all incoming physical damage is being reflected back for 2 seconds, after two seconds everything wears out like nothing happened. Should apply only if player targets player not player vs monster
  10. Tbol

    How to enable guild emblems

    H Hmm i think it needs like a lua code and add creature:setEmblem(GUILDEMBLEM_MEMBER) if player is in guild. Because gesior solution is about updating emblems when on war
  11. Tbol

    How to enable guild emblems

    Any ideas?
  12. Tbol

    How to enable guild emblems

    Using tfs 1.2 how can i enable guild emblems when players is in guild?
  13. Tbol

    Linux Debian how to generate better crash dump file?

    Hello! Right now, I’m compiling my source without any debug flags, just using commands like make clean and make -j4. As a result, when my server crashes, it generates a rather useless crash dump file that doesn’t provide much useful information. Is there a way to compile the source with some...
  14. Tbol

    TFS 1.X+ Set item move cooldown

    Uch okay so gonna use action script i just thought maybe there is something already made in src that i dont know and cooldown i set to zero, but okay thanks
  15. Tbol

    TFS 1.X+ Set item move cooldown

    How can i set cooldown on item pick from the ground,corpse? Tried editing in config.lua timeBetweenActions, timeBetweenExActions but this seems to affect stuff like opening container and similar stuff
  16. Tbol

    Lua How to put random bounty on random player?

    adding like the player that has the bounty receive more exp so he dont want to logout 1742592912 I wrote a global event using onThink that sets a storage value for a player. If the player has the storage, it broadcasts a message announcing that they have a bounty. The storage is set to 1 when...
  17. Tbol

    Lua How to put random bounty on random player?

    TFS 1.X. How can i put random kill bounty on random player? Player above level X can get bounty randomly who ever is online Once per day, when that player gets killed the bounty will start next day again on random player Broadcast message on the chat on X interval would always remind who got...
  18. Tbol

    TFS 1.X+ Remove share exp c++/lua

    How to disable share exp?
  19. Tbol

    OnLogin addMapMark is it safe performance point

    Hello wrote this simple script, at first i wanted to create it onStartup instead of onLogin because onLogin it loops on every login and i have quite a few onlogin scripts already so idk if its actually smart to use this code or not, or i can ignore it because it have equal to zero impact local...
Back
Top