Hi, i like playing megaglest in single mod, especially playing mods that are not played so much as the megapack. I usually modify the xml files to make the game more fast at the start (so i usually skip the "gather resources" phase). Today i played a game on the latest svn with the mod "enemies and allies" with the modified xml file and i got a segmentation fault! I think (but i am not sure) the error happened because the map i played was too small to contain all the units. It's not the first i have too many units for a map, it happened two other times and i got 2 different results:
1 time ) megaglest shown me an error message saying like "there are too many units for the map"
2 time ) megaglest loaded/shown just one faction (of the two that should have been loaded/shown)
And this time (the third) i got a segmentation fault as i said above.
This error is reproducible (at the least on my system: lucid linx 32 bits,4gb of ram (but just 3 and something used), amd athlon x2,ATI HD raedon 3200) following these steps:
1) modify the xml file called "enemies_and_allies.xml" that you can find in:
/home/yourusername/.megaglest/techs/enemies_and_allies/factions/enemies_and_allies like this:
<?xml version="1.0" standalone="no"?>
<faction>
<starting-resources>
<resource name="gold" amount="4000"/>
<resource name="wood" amount="2000"/>
<resource name="stone" amount="2000"/>
<resource name="oil" amount="2000"/>
</starting-resources>
<starting-units>
<unit name="oil" amount="200"/>
<unit name="headquarters" amount="1"/>
<unit name="recruit" amount="10"/>
<unit name="rifleman" amount="150"/>
<unit name="outpost_i" amount="20"/>
<unit name="flame_thrower" amount="50"/>
<unit name="gun_trap" amount="0"/>
<unit name="nuclear_missile_launcher" amount="0"/>
<unit name="sleeping_gas_solder" amount="0"/>
<unit name="uragan_vehicle" amount=""/>
<unit name="carbine_solder" amount="100"/>
<unit name="leclerc_tank" amount="0"/>
<unit name="conqueror_tank" amount="0"/>
<unit name="boeing_bomber" amount="0"/>
<unit name="motorcycle" amount="0"/>
</starting-units>
<music value="true" path="music/the_shining_city.ogg"/>
</faction>
2) run megaglest (svn r3455) from the terminal
3) create an offline game with the following specs:
-map: conflict
-player0: you, player1: CPU easy,player 2: CPU easy, player 3: CPU easy
-2vs2
-pathfinder type: regular
-fog of war: on
-tileset: pine peat
-techtree: enemies and allies
4) start the game
5) megaglest will load everything but then the screen will become black and after some seconds you will get a segmentation fault similar to this (at the least i got it two times):
http://pastebin.com/XMk8ZLSRI know that the first part is truncated but that's all i got in the terminal!