Solving Communitas Map errors

Thalassicus

Bytes and Nibblers
Joined
Nov 9, 2005
Messages
11,057
Location
Texas
If any map script encounters an error, it stops creating the map, producing a blank map with no units. The game then bumps us back to the main menu. It sends an error message to lua.log when this happens.

If you ever encounter this with the Communitas map, please take the following steps to help identify the issue:

  1. Move the map from folder 1 to 2:
    1: \Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas Map\Communitas.lua
    2: \Documents\My Games\Sid Meier's Civilization 5\Maps\Communitas.lua
  2. Delete the mod: MODS\Communitas Map
  3. Enable the error log (click for details).
  4. Start a new game on the Communitas map.
  5. If map creation ever fails, attach your lua.log to a new post in this thread.
 
Here you go.
This is one I just generated now to test for myself.

No other mods are loaded, just the map script in the MAPS folder.
 

Attachments

I made two new posts over in the Perfect Word 3 thread today, regarding bugfixes.

The first needs some testing to verify that it's netting intended results (where it's being used) though I'm pretty confident that it is. The second post regards fixes for the only major bugs I'm aware of inherent in Perfect World 3.
 
Hello,

Followed steps 1 to 4 but still the same problem. My log attached.

Thanks in advance!
 

Attachments

Thank you spqr753, that was very helpful. I realized I had only tested the map with BNW, and not older versions of Civ. Which version are you using?

I've changed the map to make it compatible with GNK, and it should also work with vanilla. I'm releasing an update now.
 
GnK, using the luaJIT.dll (though I don't think that's related from a quick glance, it will most likely be required to force a crash with that seed because it's math.random produces different results; alternatively, it may just be that there's no coastal-biased civs in the failed map that produced this log).
 

Attachments

That's the problem I found, which today's update should fix. CivNeedsPlaceFirstCoastalStart was a function added in BNW for Venice which does not exist in vanilla or GNK. The map now checks to make sure the function exists before calling it. It's used only for Venice.
 
Thanks a lot!:)
Yes, I have G&K, not BNW yet.

All is just fine now! Works great!

Thanks again!
 
I was trying to get this to work with JdH's multiplayer mod manager, but no luck for either of the Communitas mods. Any idea what is happening?

The line for the map mod is "... wants to use 'Text/DE_DE/Text.sql for OnModActivated UpdateDatabase,but this file is not in the files list!"
 
You are obviously playing the game in German then?

Communitas map doesn't have any German text defined as yet.

Spoiler :
Code:
-- Insert SQL Rules Here 

UPDATE Language_EN_US SET Text = [COLOR="Red"]'Isles[/COLOR]' WHERE Tag = 'TXT_KEY_FEATURE_ATOLL';
UPDATE Language_EN_US SET Text = '[COLOR="Red"]Isles[/COLOR]' WHERE Tag = 'TXT_KEY_CIV5_FEATURES_ATOLL';
UPDATE Language_EN_US SET Text = '[COLOR="Red"]An island is any piece of sub-continental land that is surrounded by water. Very small islands can be called isles, cays or keys.[/COLOR]' WHERE Tag = 'TXT_KEY_CIV5_FEATURES_ATOLL_TEXT';

That's the only text defined in the map mod. If you translate the RED text into German, I can provide the German Text.sql and updated modinfo for you if you like.
 
Back
Top Bottom