Giter Club home page Giter Club logo

Comments (12)

lewisandrew avatar lewisandrew commented on August 19, 2024 1

I commented out all the regrowth related code being called outside of the regrowth_map.lua. Couple hours of playing and I haven't seen the issue again yet. Will update again in the future if I see it happen

from factorioscenariomultiplayerspawn.

vfinn avatar vfinn commented on August 19, 2024 1

A fix for this was submitted today into vfinn/FactorioScenarioMultiplayerSpawn branch. If anyone would like to test merge:
oarc_utils.lua and regrowth_map.lua into your game save or mod for a new game. Run the bots across a large span away from main base to build - say a long wall, or defenses. When the bots run out of energy they should just slow to 20% speed. If a regrowth occurred while they are travelling long distance they would previously explode in groups. This fix keeps them from exploding.

JustGoFly

from factorioscenariomultiplayerspawn.

lewisandrew avatar lewisandrew commented on August 19, 2024

I encountered this also and mentioned it in the Discord server, but didn't look into it too far. I'm currently seeing similar bizarre behavior where long electric poles are getting deleted/destroyed out of the blue. I'm going to turn off regrowth setting (chunk deletion) and see if that fixes the issue
image

from factorioscenariomultiplayerspawn.

lewisandrew avatar lewisandrew commented on August 19, 2024

Turning that setting off didn't fix this related issue. I don't have bots traveling very far distances over water much anymore, but I think this maybe the same root cause
image

from factorioscenariomultiplayerspawn.

bplein avatar bplein commented on August 19, 2024

I've had construction bots in my personal roboport self destruct too, but I can't swear if they were in or outside my direct "vision", i.e. mass deconstruct of a forest, I run in and run away and next thing you know, bots are dying.

Then again, I've had individual small groups of bots fly across a great map distance to catch up with me if I took a train and forgot to wait for them.

For bots, it only seems to occur if there's a lot of them flying in one area.

from factorioscenariomultiplayerspawn.

Oarcinae avatar Oarcinae commented on August 19, 2024

Yeah this is definitely an odd one... We discussed on discord but I have no idea what I could be doing in my scenario. This might be worth reporting on the official factorio forum for help. This might be something obscure where my chunk deletion caused robot pathing to fail and subsequently to self destruct or some weird unknown side effect like that... I don't have time to look into this myself and haven't been touching the scenario or the game for quite awhile now, please let me know if you find something that I can do to help fix this.

from factorioscenariomultiplayerspawn.

bplein avatar bplein commented on August 19, 2024

I've reported it there and basically they want me to test removing every mod one at a time.

I actually find it sort of cool.

Tired bots trudge on. But if you overexcite a bunch of them to the point of exhaustion, they expire and die.

Sort of like working animals and humans.

Not a big deal actually. But if you had some way to log items destroyed by your map reclamation or some other hints at LUA I could add to log things, id be happy to try it.

Cheers.

from factorioscenariomultiplayerspawn.

vfinn avatar vfinn commented on August 19, 2024

Any update on this ?
I'm working on a mod that removes the player - merging "Brave New World" with Oarc. This means you MUST use bots, you start with 100 construction, and 50 logistic. Since power is the first thing to get the bots need to work pretty hard at the start, and it is likely you will run out of power. I've had 88 of the starting 100 construction bots self destruct going on low power to remove trees on the perimeter. The base is increased from normal 32 CHUNK_SIZE to 48. This will be the thing that keeps me from proceeding with this
Factorio bots dieing
.

from factorioscenariomultiplayerspawn.

vfinn avatar vfinn commented on August 19, 2024

I noticed this in config:
-- Cleans up unused chunks periodically. Helps keep map size down.
ENABLE_REGROWTH = true

I'll set this to false and see what happens...
I played for four hours on Brave New Oarc, all bots remain. I may selectively destroy chunks. Possibly clean up manually after people log off, to speed up the map.

I also found a race condition where chunks were not deleted, on next tick, since the tick was set, next tick occurred that would have triggered destruction of a tagged area, but it didn't until I added +1 to the current tick, tagging it in the next loop to perform the clean up. I test this by resetting a player. I can post specifics to this, once I get on the other PC.

from factorioscenariomultiplayerspawn.

William0216 avatar William0216 commented on August 19, 2024

A fix for this was submitted today into vfinn/FactorioScenarioMultiplayerSpawn branch. If anyone would like to test merge: oarc_utils.lua and regrowth_map.lua into your game save or mod for a new game. Run the bots across a large span away from main base to build - say a long wall, or defenses. When the bots run out of energy they should just slow to 20% speed. If a regrowth occurred while they are travelling long distance they would previously explode in groups. This fix keeps them from exploding.

JustGoFly

If you've confirmed this fixes it you should probably make a pull request so @Oarcinae sees it. Would be awesome to see this old bug finally squashed.

from factorioscenariomultiplayerspawn.

vfinn avatar vfinn commented on August 19, 2024

Oarcinae did merge this into FactorioScenarioMultiplayerSpawn last year

Oarc code

JustGoFly

from factorioscenariomultiplayerspawn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.