View Single Post
  #6  
Old 12-31-2010, 01:22 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

This seems to work, however I was wondering if you actually need to do the check for being a client, or if you could just not cast to client, as parse->Event is just looking for a mob pointer, not specifically a client pointer. I haven't looked at what EVENT_GROUP_CHANGE is used for, and it may be something that would be desired to function with bots. Who knows. Anyway, by adding the check for being a client, I no longer crash when zoning.

But, now I have a different problem. Instead of creating another thread, I'll add it here. I doubt this is related, but after zoning with my bots twice (from PoK to the Nexus and back), I crash after I tried to use #mystats, which I can reproduce. I do not have Caryatis' changes from today (or whenever he added the color to the HP/Mana), but everything up to that. I was given an error message from VS stating that there was corruption of the stack near class_name, blah blah, and in the call stack, it listed Zone!boot_NPC, then Zone!FailWithMessage, then some other stuff that wasn't useful because I didn't do a good job of creating my debugging info. I am rebuilding my stuff to try and debug this further, but wanted to post it here in case anyone has seen this before.

My one issue is time.... I usually get only one shot a night to test things out by the time I load up VS, build and deploy, start my server, load EQ, attach my debugger, log in, crash it, log out, try and debug, etc, I've wasted almost an hour. Oh, well, I'll try and figure it out tomorrow night.
Reply With Quote