View Single Post
  #1  
Old 09-28-2008, 01:07 PM
erde
Sarnak
 
Join Date: Sep 2006
Location: Germany
Posts: 82
Default world.exe and zone.exe crash in Release mode

Compiler: Visual Studio 2008

When i compile eqemu in release mode world.exe and zone.exe instantly crash when executed.
In debug mode everything works like expected. Any one else has this problem?

After a little research i found the problem:

Quote:
Index: C:/devel/eqemu/world/net.cpp
================================================== =================
--- C:/devel/eqemu/world/net.cpp (Revision 65)
+++ C:/devel/eqemu/world/net.cpp (Revision 66)
@@ -96,6 +96,7 @@
#include "LauncherList.h"
#include "wguild_mgr.h"

+TimeoutManager timeout_manager;
EQStreamFactory eqsf(WorldStream,9000);
EmuTCPServer tcps;
ClientList client_list;
Index: C:/devel/eqemu/common/timeoutmgr.cpp
================================================== =================
--- C:/devel/eqemu/common/timeoutmgr.cpp (Revision 65)
+++ C:/devel/eqemu/common/timeoutmgr.cpp (Revision 66)
@@ -21,9 +21,6 @@

#include "timeoutmgr.h"

-TimeoutManager timeout_manager;
-
-
Timeoutable::Timeoutable(int32 check_frequency)
: next_check(check_frequency)
{
Index: C:/devel/eqemu/zone/net.cpp
================================================== =================
--- C:/devel/eqemu/zone/net.cpp (Revision 65)
+++ C:/devel/eqemu/zone/net.cpp (Revision 66)
@@ -101,6 +101,7 @@
#include "guild_mgr.h"
#include "tasks.h"

+TimeoutManager timeout_manager;
NetConnection net;
EntityList entity_list;
WorldServer worldserver;
__________________
"Yes, the artwork is awful. I am an engineer, not an artist " - David H. Eberly
Reply With Quote