zone crashing when player dies, returns
I have a build I got from SVN a few days ago, I compiled it myself, Debug 64x using Visual Studio 2012.
I was testing something and noticed if my character died, then quickly returned to the same zone I died in, the zone would crash and assert on the server leaving that zone unavailable.
I did some digging around and found some code in embparser.cpp that gets a list off all the *.pl files in plugins and then calls main::eval_file, where we crash and nothing useful is written in any of the logs.
I modified empperl.cpp ~ line 286 adding "print \"Reading file: $filename\\n\";" which causes a line to be written to the zone console when each *.pl file is evaluated. By doing this I was able to determine GetSpawn2IDs.pl was causing the exception. I'm not a Perl expert and even less so in how it relates to eqemu, for my own resolution I just named the file *.pl.bad and it resolved the issue.
Hope someone finds it useful.
|