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. http://192.168.1.101/cohpvp/images/debugerror.jpg 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, |
Can't post links to images on local network addresses (192.168.x.x). Gotta be a public address for us to see it.
|
Yikes, I can't believe I did that. My apologies. Oops! Here is the screenshot:
http://68.63.72.149/cohpvp/images/debugerror.jpg |
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.
|
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 |
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! |
missing code
special_attack.cpp (line 941)
is the function Code:
void NPC::DoClassAttacks(Mob *target) { bool did_attack = false; |
All times are GMT -4. The time now is 01:47 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.