magu5026 / ElectricTrain

Mod for Factorio
GNU General Public License v3.0
8 stars 10 forks source link

Debugging ElectricTrain mod - not working but only on one game server #12

Open bplein opened 1 year ago

bplein commented 1 year ago

Hello! I know you haven't updated this in a long time.

I run 5 factorio public servers. All of them run the same code, and the same mods. 2 of them run a version of OARC, and only ONE game server is exhibiting this problem.

The electric trains are showing as having no fuel!

It's very strange. I've fired up a new game with all the same mods on my desktop, it works fine. ElectricTrain mod is running fine on 4 of the 5 other servers. The only difference is that this server was started from scratch on 1.1.87 while the other OARC server was started on 1.1.86. Both are at 1.1.88 now.

Anyhow, I don't think it's a bug per se, but I'd like to see if you had any recommendations for maybe console LUA or debugging I can turn on to see if we can toggle this back to working. I tried a console command to remove the technology and then I re-researched it, and that did not help.

Thanks in advance.

bplein commented 1 year ago

I found the problem. One player, on their base, had placed a control station. Their base was overrun and knocked out by biters and abandoned.

There was enough solar left that minimal power would be applied during the day, and the control station was still there on the shattered grid. It would get a little power during the day and stay alive part of the night but not really working.

So it was misbehaving.

I walked in a spidertron over to that base, found it, removed it, and the other control stations started working again.

Still a bug, possibly, but not critical.