Menu

#1013 Crash after winning a battle

trunk
closed
nobody
None
1
2014-06-03
2014-06-02
No

The title pretty much explains it all but I basically have an extremely high level hero ("Zam the Necromancer") standing directly outside an empty castle. I have a funny feeling that his extremely high level is part of the problem (perhaps a buffer overflow or something), though I have no way of testing this as I have not yet set up a debugging environment...

I already have a pretty sizable amount of castles too, so I'm not sure if there's a limit to how many castles and/or towns I can have either. (I really need to do my research...)

Steps to reproduce the problem:
1. Load the "Dominion_0074.sav" save to get the game in the state right before the events leading up to the crash.
1. End your turn. The AI will cause the castle Zam is standing outside of to produce a hero, who promptly engages Zam in battle (that guy has cojones!)
2. Defeat the enemy hero. Obviously, Zam has more than enough experience and monsters to defeat the enemy easily ;)
3. After the game gives you your level up bonus, it will return to the world map and promptly crash.

I would appreciate if you could help me understand what causes this intriguing problem... even more so if you could fix it in the next release, but I can be patient ;)

Thanks a bunch! I really love playing the game on the free engine (even though the AI is not that great) and I look forward to learning more about the way FH2 works and hopefully, if I have the time and knowledge, I will be able to get hacking and help fix some of the issues myself.

2 Attachments

Discussion

  • Michael Becker

    Michael Becker - 2014-06-02

    Also, I only just noticed this... good thing I kept my backup of r2930, because in r3181 I can't cast spells anymore! (They all show up as "Unknown [1]"!)

    This probably warrants a separate bug report, but considering how noticeable it is there probably already is a bug report filed for this issue anyway. I only mention it because I just noticed it when playing that save again ;)

    And it seems I can't edit bug reports here... I forgot to mention, this is fheroes2 r3181 (and r2930) on Windows 8. I will investigate this issue on other platforms when I have the chance.

    Thanks again :)

     
  • SandySandy

    SandySandy - 2014-06-03
    • status: open --> closed
     
  • SandySandy

    SandySandy - 2014-06-03

    crash fixed, rev. 3206.
    about "unknown spell" - this error I can not fix it, because the changed multiple versions of a savefile. this error could be corrected only for version 3180.
    but I can help you, check the file Dominion_0074.sav.
    thanks you!

     

Log in to post a comment.