Internal
7 days ago
1.1 - 2.0
2.62K

b [✓] [afce - 0.2.4] Starting equipment spawning mid-game

a month ago

I updated to Version: 0.31.18. Now every few minutes in my game a bunch of starting equipment gets spawned in my inventory. Personal roboports, batteries, modular armor etc..
It was working fine a few days ago but when I updated some of the mods versions today it started happening.
I suspect it is this mod since it was one of the one which updated recently and it has a dependency of freeplay_starting_equipment.
Thanks.

a month ago

Hi! Did you change factoriogame version too (maybe last updates)?

Can you provide save file pls, I will try reproduce and debug it. Today I will try on my save and new one game to reproduce it(

a month ago
(updated a month ago)

Does it happen on stable (2.0.60) or experimental version of game (2.0.62)?

a month ago

There are 3 condition to trigger adding starting equipment (https://github.com/ldinc/factorio-sa-starting-equipment/blob/master/src/control.lua):
- starting freeplay cutscene canceled by player: on_cutscene_cancelled
- starting freeplay cutscene successfully finished: on_cutscene_finished
- new player on map created: on_player_created

a month ago
(updated a month ago)

I am on 2.0.60. I don't tend to play the experimental version.

I did some investigation myself. It might be related to the train screensaver mod. It tends to happen fairly regularly when I leave and come back to that screensaver thing. I will disable that mod for the time being since it is aesthetic only. Perhaps that mod is creating a player entity or something and triggering it.

Do you have any preferences for where to put the save file?

Edit: This is the train screensaver mod I was referring to https://mods.factorio.com/mod/trainsaver
Perhaps when I exit out of that it is counting as ending the curscene.

Edit2. Yes. Whenever I manually trigger the train screensaver with that mod, it creates new starting equipment.

a month ago

You can use any file sharing or hosting: gdrive, discord link, mega and etc =)

I'll locally check "trainsaver" code. It seems to be needed add some work around with it.

a month ago
(updated a month ago)

Many thanks!

I took a quick look at the code and the mod use cutscenes to change view for player. And on switch use player.exit_cutscene() for returning back control to user ) You were right to suggest that the case could be in cutscenes!

I will try to come up with a solution soon.

a month ago
(updated a month ago)

I released new version with fix, try it pls

a month ago

Yes, that seems to have fixed it. Many thanks for the quick responses.

New response