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

    [TFS 1.2+] Performance tuning

    As far as I know TFS properly implements the scheduler-dispatcher design pattern, which means that the scheduler does not do work related to game logic. The only thing it does, is putting work items into the dispatcher's work queue at the right moment in time, so there is no data race here...
  2. Damc

    Compiling error compiling in centos 6.7

    g++4.8 or higher is required to compile TFS. To check your version use: g++ -v
  3. Damc

    [TFS 1.2+] Performance tuning

    [Reserved for the future]
  4. Damc

    [TFS 1.2+] Performance tuning

    [Reserved for the future]
  5. Damc

    [TFS 1.2+] Performance tuning

    Introduction. A few questions asked on GitHub recently have convinced me that it might be necessary to write a tutorial about some quirks and new performance characteristics of the upcoming 1.2 release of TFS. I won't go very deep into the internals as I know that most people reading this...
  6. Damc

    Using Flash Client in Ots

    What open-source? The flash client is a proprietary piece of software authored by CipSoft. Hosting a modified version on your own server is sort of a grey area when it comes to legality, but straight up posting the modified source code on GitHub would be a complete violation of the license, most...
  7. Damc

    Nightlies Security Threat?

    AFAIK VS2013 doesn't support a few C++11 features that we might start using in TFS in the near future. Apart from that, you have some compiler efficiency and IDE improvements.
  8. Damc

    Notepad++

    Seriously, if you have 10k lines of code that are not commited to a git repository on an external server, you're just asking for trouble. Doesn't matter what IDE you use, there are a gazillion things that might end up destroying the code in your local copy. Git is not that hard to use! Just some...
  9. Damc

    [TFS 1.0] How do I remove a tile?

    @Acedayz While it is possible to do, I don't recommend it because it would be extremely hard to do it right. The map and tile code is in a dire need of a rewrite because it's really messy. If you want, you can start a discussion in the TFS issue tracker (a map code rewrite is sort of hanging in...
  10. Damc

    [TFS 1.0] How do I remove a tile?

    Considering the way it is currently implemented there is no safe way to remove a tile completely. There is no guarantee that the tile you want to remove is not referenced by other internal server objects. Oh and BTW. I think you're trying to optimize prematurely. A DynamicTile occupies only 88...
  11. Damc

    Nightlies Security Threat?

    Assuming that the security of the nightly build service hasn't been compromised, it is most likely a false positive because a certain signature has been detected in the executable.
  12. Damc

    Compiling Reload Error TFS 0.4 with Sources

    I don't mean to be rude, but I've once played around with TFS 0.4 and it's a complete mess internally. It's also no longer officially supported by the authors. You'll probably have more luck trying to migrate to the newest TFS.
  13. Damc

    OpenTibia OTClient that unpack map.otbm to .png files

    The proper way to cleanup a thread is: thread.join(); //make sure thread destructor is called, preferably through RAII That is, assuming you want the thread to complete before `this_thread`. If you want the thread to run in the background, possibly forever, like a daemon, you need to call...
  14. Damc

    OpenTibia OTClient that unpack map.otbm to .png files

    @Gesior.pl https://github.com/gesior/otclient/pull/1 As for the threading scheme you're using - it's quite inefficient to create a thread for each task (at least on some platforms). And you're leaking the thread objects themselves (you should also use std::thread, because boost::thread has some...
  15. Damc

    OpenTibia OTClient that unpack map.otbm to .png files

    The crashes most likely occur due to the refcounter of Image objects being non-atomic, thus causing a data race when multiple threads access cached sprites. I have a patch almost ready, I'll create a PR on github later today or tomorrow when I get the time to clean it up.
  16. Damc

    Create a Tibia Install file of my server

    One warning - I believe that rebundling the client like that is against the license.
  17. Damc

    Linux Problem with apache2 and php5

    Have you tried entering the full url of a php file? If that doesn't work, have you added the php module to the apache conf file (usually it's there, just commented) ?
  18. Damc

    Error compiling tfs 1.2 on ubuntu 12.04

    sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo add-apt-repository ppa:apokluda/boost1.53 -y sudo apt-get update sudo apt-get install libboost1.53-dev g++-4.8 This should work on 12.04 (the Travis CI system that is used by TFS is still based on 12.04 so it must work there, because...
  19. Damc

    Solved TFS [1.2] Assistance Shortening LUA Scripts

    Though this is more of a general tip: my personal rule is that if a function doesn't fit on a typical developer's screen (22") it's way too long and should be broken up into several functions. As for the nested ifs, try to analyse all possibilities. If you look closely, you do the same action in...
  20. Damc

    Compiling Need Libboots Ubuntu 14.04.

    sudo apt-get install libboost1.53-all-dev
Back
Top