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

Error log, exception_tracer..

Kaboo

New Member
Joined
Feb 14, 2009
Messages
142
Reaction score
0
How do i see an error log when my OTServ crash?
I think that i need to compile it using:
__EXCEPTION_TRACER__ flag, right?
How can i do it? I've tried to put -EXCEPTION_TRACER on Linker option, but it doesn't gave me any erro log...

Thanks.
 
-D__EXCEPTION_TRACER__ for Dev-Cpp as I assume.
 
All okay, compiled, but when i try to open the compiled file:
Failed Loading Symbols, forgottenserver.map file not found.
Do you know what i need to do? :D.

Thanks.
 
You need to copy forgottenserver.map from the place you complied FTS into the main TFS folder.
 
I didn't quite understand your post, but for anyone reading this post in the future, the way to correct this is go to the place where your .exe file will be... then you add a file called "forgottenserver.map" and it should be empty. The server will now run ;)
 
in linux how make? to enable error log?
 
in linux how make? to enable error log?

On console/terminal:

~: sudo aptitude install gdb
~: gdb
~: cd path/to/your/server
~: file theforgottenserver
~: run

When it crash type "bt" to get the backtrace....

If you are having issues getting the backtrace just type:
~: ulimit -c unlimited
 
Back
Top