renoth / factorio-alien-module

A mod for factorio
MIT License
14 stars 16 forks source link

Suggestion: Rescan button for hyper-stuff #65

Open GamyGamer opened 3 years ago

GamyGamer commented 3 years ago

As title says, sometimes modules won't update, because at particular time was on ground/belt where it's not upgrading. I would like to have button or command that will scan from lvl 1 to lvl right now aquired by player.

unhott commented 3 years ago

It is my opinion that the surfaces should be constantly scanned in a fixed number of chunks per tick. I have shown this is possible via chunk iterators with low lag. It was moved into the mod but ultimately reversed due to an implementation oversight-- it was originally just scanning 10 chunks per tick per surface or something like that. Players with say 50 surfaces were having to scan 500 chunks per tick and it made their games unplayable. That is easily fixed with a surface, chunk iterator, to keep it down to some fixed or configurable amount of chunks per tick (like my example of 10).