Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on game load #23

Open
mkaito opened this issue Dec 15, 2017 · 6 comments
Open

Crash on game load #23

mkaito opened this issue Dec 15, 2017 · 6 comments
Assignees
Labels

Comments

@mkaito
Copy link

mkaito commented Dec 15, 2017

When loading a game after enabling autofill:

88.771 Error AppManagerStates.cpp:1195: Error while running on_init: __autofill__/stdlib/event/event.lua:163: __autofill__/autofill/sets.lua:73: attempt to index field 'forces' (a nil value)

@Nexela Nexela self-assigned this Dec 16, 2017
@Nexela Nexela added the bug label Dec 16, 2017
@thearn
Copy link

thearn commented Dec 16, 2017

I see the same error as well

@Nexela
Copy link
Owner

Nexela commented Dec 16, 2017 via email

@GustOfTime
Copy link

image
Hi! I get several different errors after loading or building anything.

@pfrenssen
Copy link

I can confirm this is fixed in the 2.0.0-meta2 branch.

@jonfairbanks
Copy link

jonfairbanks commented Dec 30, 2018

Unfortunately, I am still seeing this error on v2.0.1 when launching a new 0.16.x Multiplayer server.

9.582 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: "Error while running on_init: __autofill__/stdlib/event/event.lua:163: __autofill__/autofill/sets.lua:73: attempt to index field 'forces' (a nil value)"
9.582 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(CreatingGame) to(InitializationFailed)
9.582 Info GlobalContext.cpp:696: Waiting for child processes to exit:
9.584 Info ServerMultiplayerManager.cpp:142: Quitting multiplayer connection.
9.584 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(InitializationFailed) to(Closed)
9.680 Info UDPSocket.cpp:206: Closing socket
9.681 Goodbye

@arlyoneel
Copy link

i think a have similar issue, idk if this is relevant

Context: old save (0.15.19) that uses autofill,

when i try to load with game version (0.16.51-0) with autofill (2.0.1) throws:

autofill/stdlib/event/event.lua:163
autofill/stdlib/event/sets.lua:73: attempt to inxed field 'forces' (a nil value)

If i disable autofill load successfully, but if i active this mode again i have same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants