Split coop


Creates 2 friendly teams and splits the map into two sides. Sides are connected by small lines wide enough for 1 rail track. Both teams have some recipes disabled to enforce cooperation and it is possible to choose which resources spawn on which side/s.

18 days ago
1.1 - 2.0
303
Environment

b Mining productivity 4

18 days ago

We played the mod and had a lot of fun! But when we researched mining productivity 4, the game crashed with:

Error while running event split-coop::on_research_finished (ID 22)
split-coop/control.lua:212: C stack overflow
stack traceback:
split-coop/control.lua:212: in function <split-coop/control.lua:210>
stack traceback:
[C]: in function 'newindex'
__split-coop
/control.lua:219: in function <split-coop/control.lua:210>

We tried 2 times (from savegame) with the same result. Also we tried to do another infinite research instead of mining productivity 4. In this case we didn't got a crash so it's not related to the number of finished researches.

Interesting was that after the crash the research menu showed mining productivity 54 as available, so looks like the number of finished mining productivity researches has been messed up.

18 days ago

The crash should be fixed.

Infinite technologies do not toggle "researched=true/false" but increase their level instead, which was not accounted for. When a team unlocked a research (through labs or by other team) the mod checked if the other team had it already researched, which was never true for infinite technologies. It then gave the research to the other team, which triggered this whole check again from beginning, looping endlessly.

Glad you are having fun with the mod :)

New response