Page 1 of 1

[2.0.8] error while running event base: on_init

Posted: Tue Oct 22, 2024 8:47 pm
by ThePower777
How to reproduce:
1.New game
2. Freeplay
3. Play

The next error message:

The mod Base mod (2.0.8) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event base::on_init()
__base__/sandbox.lua:147: attempt to index global 'global' (a nil value)
stack traceback:
__base__/sandbox.lua:147: in function 'on_init'
__core__/lualib/event_handler.lua:69: in function <__core__/lualib/event_handler.lua:64>

Re: 2.0.8 error while running event base: on_init

Posted: Tue Oct 22, 2024 8:50 pm
by vinzenz
Hey thank you for your report. Please attach the complete log file to this thread.

Re: 2.0.8 error while running event base: on_init

Posted: Tue Oct 22, 2024 9:04 pm
by ThePower777
Please see attache log file.

Re: 2.0.8 error while running event base: on_init

Posted: Tue Oct 22, 2024 9:07 pm
by vinzenz
This might be fixed in an upcoming release. One thing that could help now is clearing out old saves from your factorio steam cloud storage, it's basically full for your account.

Re: 2.0.8 error while running event base: on_init

Posted: Wed Oct 23, 2024 12:24 pm
by ThePower777
Thanks, I unchecked steam cloud check box and deleted all saves on my local PC.

The error message is:
7.735 Factorio initialised
7.737 Steam Storage Quota: 23210/23841
23.182 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
23.182 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
23.182 Loading blueprint storage: Local timestamp 1708546232, Cloud timestamp 1719616100
23.664 Loading level.dat: 661832 bytes.
23.664 Info Scenario.cpp:178: Map version 2.0.9-1
23.673 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
23.673 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
23.673 Loading blueprint storage: Local timestamp 1708546232, Cloud timestamp 1719616100
23.682 Checksum for script __level__/control.lua: 3780939624
23.686 Checksum for script __base__/control.lua: 4218711924
23.757 Error AppManagerStates.cpp:2649: The mod Base mod (2.0.9) caused a non-recoverable error.
Please report this error to the mod author.

Re: 2.0.8 error while running event base: on_init

Posted: Fri Oct 25, 2024 10:09 am
by vinzenz
ThePower777 wrote: Wed Oct 23, 2024 12:24 pm Thanks, I unchecked steam cloud check box and deleted all saves on my local PC.

The error message is:
7.735 Factorio initialised
7.737 Steam Storage Quota: 23210/23841
23.182 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
23.182 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
23.182 Loading blueprint storage: Local timestamp 1708546232, Cloud timestamp 1719616100
23.664 Loading level.dat: 661832 bytes.
23.664 Info Scenario.cpp:178: Map version 2.0.9-1
23.673 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
23.673 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
23.673 Loading blueprint storage: Local timestamp 1708546232, Cloud timestamp 1719616100
23.682 Checksum for script __level__/control.lua: 3780939624
23.686 Checksum for script __base__/control.lua: 4218711924
23.757 Error AppManagerStates.cpp:2649: The mod Base mod (2.0.9) caused a non-recoverable error.
Please report this error to the mod author.

Please try the download from our website and launch Factorio with a new and empty application directory: https://wiki.factorio.com/Application_directory

Re: [2.0.8] error while running event base: on_init

Posted: Fri Oct 25, 2024 10:26 am
by Genhis
Thanks for the report. Sandbox scenario is no longer supported. If you have a save file which used it, it won't work in 2.0.

Re: [2.0.8] error while running event base: on_init

Posted: Fri Oct 25, 2024 1:33 pm
by ThePower777
Thanks, reinstalling factorio helped with the error.