1

Topic: [HELP] Mod Server Crashes...

Hello every1,
me and Lealen are making City mod... It compiles, runs, but after some time it crashes... We dont know what exacly causes it, but we think it can be memory leak.
Here is screen from compiling (warnings)

warnings

As you see warns are in Player.cpp and Gamecontext.cpp... But the memory is freed in destructor... What can it be?

Btw, mod is based on XXLDDrace.
I can give more info if needed...

C++/Java my life ^^
If you like dislike button click it
NOW!

2

Re: [HELP] Mod Server Crashes...

If you use MSVC you should be able to "Debug" -> "Attach to process". Doing that on a crashed instance of a debug build will most likely give you additional information.

3

Re: [HELP] Mod Server Crashes...

Can you explain exacly what to do? Where to open Debug -> Attach to process?

C++/Java my life ^^
If you like dislike button click it
NOW!

4

Re: [HELP] Mod Server Crashes...

In your Microsoft Visual C++ (or something similar, it was a while since I did this) program, if you have it.

5 (edited by kittyPL 2011-08-13 14:54:25)

Re: [HELP] Mod Server Crashes...

I dont run Visual, only cmd with cmd E:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat x86... Then bam release... still dont know where to enable this. In Visual->Debug i have only Options and Settings...

OK i found it but what should i run in debug mode?

Merged two posts. /Kottizen

C++/Java my life ^^
If you like dislike button click it
NOW!

6

Re: [HELP] Mod Server Crashes...

kittyPL wrote:

OK i found it but what should i run in debug mode?

Teeworlds.

7

Re: [HELP] Mod Server Crashes...

client? server? its reaaly annoying... thx for help Kottizen

C++/Java my life ^^
If you like dislike button click it
NOW!

8

Re: [HELP] Mod Server Crashes...

kittyPL wrote:

client? server? its reaaly annoying... thx for help Kottizen

The debug version of your Teeworlds server. Compile it as follows (you might have to change to path to bam):
..\bam\bam server_debug