Author Topic: [Fixed] instant crash with broken scenario (rev 4253)  (Read 521 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
If there is any scenario with an xml error in it, MG crashes instantly when entering the scenario menu .
Entering the new game menu shows a stackrace too, but does not crash MG ( which is better ).

for example this error raises it.
Code: [Select]
...
<players>
<player control=human" faction="tech" team="1"/>
...
where " is missing before human.

( And btw why are all scenarios parsed when entering scenario menu ? To remove the network scenarios there ? And in Custom menu its all parsed too, to find just network menus ? )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: instant crash with broken scenario (rev 4253)
« Reply #1 on: 3 May 2013, 06:04:15 »
Fixed in svn rev#: 4254

WE load all scenarios to get the translated native language name of the scenario