Log in

View Full Version : world.exe and zone.exe crash in Release mode


erde
09-28-2008, 01:07 PM
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:

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;

Dabloon
10-21-2008, 07:58 PM
I have the same issue except mines from a precompiled version. Difference is I cant figure out how to fix it lol