ManiaPlanet-Crash when saving huge MacroBlock

Talk about the map editor here

Moderator: English Moderator

Post Reply
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

ManiaPlanet-Crash when saving huge MacroBlock

Post by steeffeen »

Hey,

i tried to save a macroblock of a whole map with about 5000C. But everytime i click on save the game just crashs, even when selecting smaller parts of the map the game crashs (before hitting save!).
But it worked with another map which has 5000C as well.
I tried to close every other running program to get more free memory. But even having 5 gigabyte memory doesn't help...
Is there a special block combination which causes the crash? or am i just unlucky today? ;)

Here are two log files:
http://dl.dropbox.com/u/58886549/ManiaP ... -03-31.txt
http://dl.dropbox.com/u/58886549/LogCrash_00742AEB.txt

(I don't use the unlimiter or stuff like that.)

Any help would be appreciated.
Thanks.
Steff
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: ManiaPlanet-Crash when saving huge MacroBlock

    Post by steeffeen »

    LOL.
    i somehow found the source of the crash... I had a 2x1 spawn (stone) on the map, when selecting it with the copy&paste tool the game crashed. after removing the block i was able to save the whole map as macroblock.

    :roflol:

    Edit: Crash happens with other blocks, too. Sometimes even when selecting simple high terrain... -.-
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      angry_duck
      Nadeo
      Nadeo
      Posts: 185
      Joined: 14 Oct 2011, 12:17

      Re: ManiaPlanet-Crash when saving huge MacroBlock

      Post by angry_duck »

      Thanks for your report (and your clues ;) ).
      I have checked your log files: it seems that the crash is caused by an old large spawn block, just as you said. I suppose that the map you loaded was an old map (tell me if I am wrong). I have fixed the code, so after next update, these old blocks won't cause crash anymore. Before that, you can simply replace these old blocks by their new version (just remove them and place them again in the editor) to avoid the crash.
      steeffeen wrote:Edit: Crash happens with other blocks, too. Sometimes even when selecting simple high terrain... -.-
      Which blocks? Also blocks which create 2 big castle pillars down to the ground, just like the large spawn block? Or others?
      And the game don't crash when I select terrain... How do you do that?
      angry_duck
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2463
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: ManiaPlanet-Crash when saving huge MacroBlock

      Post by steeffeen »

      You're absolutely right. I tried to save the blocks out of quite old maps.
      Big thanks for the fix. :thumbsup:
      angry_duck wrote:Which blocks? Also blocks which create 2 big castle pillars down to the ground, just like the large spawn block? Or others?
      And the game don't crash when I select terrain... How do you do that?
      i will post a log file and screenshots as soon as possible
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        Post Reply

        Return to “Map Editor”

        Who is online

        Users browsing this forum: No registered users and 1 guest