Communitas Map Script crash (CEP 3.18)

Gothic_Empire

AKA, Ramen Empire
Joined
Aug 5, 2008
Messages
1,502
Allo,

The communitas map script is (I think) crashing my game 100% of the time. After I set up the game and tell it to launch, the cursor changes to the loading globe. Forever. I have to go into the task manager and kill the process.

I've tried this on several sizes--standard, large, and huge. I also always have had a random civ. I play on Windows 7.
 
I got it to start three small games in a row. Trying to make a huge game crashed.
 
Oh.

It's not crashing. It's just taking three or four minutes to get to the leader splash screen.
 
That's still strange (if it doesn't do that in vanilla). Logged it?
 
I believe map generation is almost completely CPU dependent and coded in LUA, which is not the quickest language to execute. The original PerfectWorld3 map had a ton of LUA to execute and Thal's excellent additions only added more. If you want to test if LUA is slowing you down try using LuaJIT, though I will warn you that you will not see appreciable gains in speed in anything other than map generation in LUA heavy maps.
 
Are you certain it's a crash, or is it a delay? Try creating a map on Duel size to see what happens.

I've been tracking down the source of the long map creation time. It appears to be mostly one or two functions, created by a different author than myself. I'm going to see if I can optimize his code to run faster.
 
It's a delay that sometimes crashes, I think -- I've let it go ten minutes with no results on a huge map at least twice. I can get small and duel sized maps without any problem. Large and Huge ones seem to just have some percent chance to fail.
 
I always play on Huge.

I can confirm that there is ALWAYS a huge delay (I am operating from a quadcore desktop with a decent graphics card).

Sometimes it crashes (showing an End Task popup in Windows). But this is rare.
 
Back
Top Bottom