Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Disable the WorldServer profiler

Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
Don't you hate right-clicking the worldserver GUI everytime to disable the profiler? Here's a simple fix that will disable the profiler. But first, for the ones that do not know what the profiler is, some screenshots:

WorldServer with profiler on:
Maples - Disable the WorldServer profiler - RaGEZONE Forums


It generates data like this:
Maples - Disable the WorldServer profiler - RaGEZONE Forums


How to disable it:
  1. Open VersionCommon.h in the WorldServer project
  2. Find all occurrences of #define __NEW_PROFILE and comment those lines out (two slashes at the beginning of the line //)
  3. Do the same from above for #define __PROFILE_RUN
  4. Compile the WorldServer and you're done.

Maples - Disable the WorldServer profiler - RaGEZONE Forums


Result:
Maples - Disable the WorldServer profiler - RaGEZONE Forums


Voila, no more profiler logs.
 
Trust your senses
Joined
Sep 12, 2009
Messages
661
Reaction score
173
Why not make it be off by default and when someone right clicks the WorldServer it turns on? Not having this might make you debugging a bit harder.
 
Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
Why not make it be off by default and when someone right clicks the WorldServer it turns on? Not having this might make you debugging a bit harder.

That could be nice, however, I highly doubt 99% of the community will ever have to, or need to, use the profiler.
 
Flyff Developer
Loyal Member
Joined
Apr 6, 2009
Messages
1,873
Reaction score
384
Besides, the profiler doesn't tell you exactly what the problem is when you're debugging. Using Visual Studio to debug is usually a lot more helpful.
 
Back
Top