Sid Meier's Civilization VI

Sid Meier's Civilization VI

Yet (not) Another Maps Pack
tze.mallory 2020 年 4 月 26 日 上午 2:41
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


< >
正在显示第 1 - 3 条,共 3 条留言
Gedemon  [开发者] 2020 年 4 月 26 日 上午 3:35 
thanks, was in the todo list (reported on gitHub too), should be fixed in next version.
tze.mallory 2020 年 4 月 26 日 上午 6:58 
Ha. Knew you'd be all over it :)
Gedemon  [开发者] 2020 年 4 月 26 日 上午 10:06 
should be fixed now
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50