Sid Meier's Civilization VI

Sid Meier's Civilization VI

Yet (not) Another Maps Pack
tze.mallory 26 Apr, 2020 @ 2:41am
Game Setup - Can't Start a Game With Blank Seed Values
HI,

Love the new setup choices but I think there might be a problem in specific circumstances. I use Advances Game Setup Configurations to create games with my preferred presets for maps/civs/CS....

Because I re-use the configs I leave the seeds blank to ensure some randomness - this has previously worked fine but since the latest mod update it seems to cause an issue and game will not start (i.e. click Start Game, nothing appears to happen).

<lua.log snippet>

AdvancedSetup: Using Map Random seed for GetShuffledCopyOfTable : nil
Runtime Error: bad argument #1 to 'math.randomseed' (integer expected, got nil)
stack traceback:
[C]: in function 'math.randomseed'
D:\steam\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:210: in function 'GetShuffledCopyOfTable'
D:\steam\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:1411: in function 'OnStartButton'
[C]: in function '(anonymous)'

</lua.log snippet>

Which suggests it does not like the blank seed values. I simply entered the digit "1" and the game will start so fairly sure this is the issue.

Obviously I have a workaround but any chance you can check your implementation and put in a default value for blank seeds?

Thanks


< >
Showing 1-3 of 3 comments
Gedemon  [developer] 26 Apr, 2020 @ 3:35am 
thanks, was in the todo list (reported on gitHub too), should be fixed in next version.
tze.mallory 26 Apr, 2020 @ 6:58am 
Ha. Knew you'd be all over it :)
Gedemon  [developer] 26 Apr, 2020 @ 10:06am 
should be fixed now
< >
Showing 1-3 of 3 comments
Per page: 1530 50