Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2006, 10:59 AM
Dymerius
Sarnak
 
Join Date: Oct 2004
Posts: 74
Default Zone crash after recompile

I downloaded the 7.0.871 binaries and everything works properly.

However, I created a new build of zone and made no changes. The follow error is produced when (after numerous trials, this seems to be the case) a player character engages a caster NPC in combat.



Zone freezes up when this error occurs, but it can be ignored which causes zone to resume running normally until the error is produced again seconds later.

Does anyone know what might be causing this error?

Thanks in advance for your time,
Reply With Quote
  #2  
Old 10-26-2006, 12:14 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Can't post links to images on local network addresses (192.168.x.x). Gotta be a public address for us to see it.
Reply With Quote
  #3  
Old 10-26-2006, 12:45 PM
Dymerius
Sarnak
 
Join Date: Oct 2004
Posts: 74
Default

Yikes, I can't believe I did that. My apologies. Oops! Here is the screenshot:

Reply With Quote
  #4  
Old 10-26-2006, 03:38 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

That's a little out of my scope of knowledge, sorry... you sure things are compiling ok? And what are you using to compile? VS Express, 2003, 2005? Might help others help you if they knew about your environment.
Reply With Quote
  #5  
Old 10-26-2006, 06:55 PM
cbodmer
Fire Beetle
 
Join Date: Oct 2006
Posts: 24
Default

Open special_attacks.cpp in an editor, go to line 964 and change:

bool did_attack;

to

bool did_attack=false;

Try to compile again and see if it works any better. From looking at the code, the variable did_attack is in undefined state if the switch doesn't enter any case statements, ie if GetClass() is DRUID or WIZARD for example.

-Chris
Reply With Quote
  #6  
Old 10-27-2006, 12:23 AM
Dymerius
Sarnak
 
Join Date: Oct 2004
Posts: 74
Default

John Adams: Yea, things have are compiling correctly as far as I know.. I use VS2005pro

cbodmer: Thanks a lot. I'll give that a shot and let you know if it helps!
Reply With Quote
  #7  
Old 10-27-2006, 01:54 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default missing code

special_attack.cpp (line 941)
is the function
Code:
void NPC::DoClassAttacks(Mob *target) {
the varailble "did_attack" is not defined. We need to add a line after line 941

bool did_attack = false;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:58 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3