Thread: Server crashes
View Single Post
  #23  
Old 05-25-2013, 01:43 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Looks like it's trying to spawn a merc that it couldn't load?

The crash can easily be avoided by checking for merc before calling spawn(merc, false); on line 5530 of merc.cpp. But I would also be interested in knowing what the templateId was when it crashed. What mercs do you have? Level?

Of course debugging into LoadMerc() to find why it's not returning a valid merc would be helpful. I'm assuming it's hitting something and jumping to the bottom where it returns 0. Knowing where would help tremendously.
Reply With Quote