Rocket-Silo Construction


Building a Rocket Silo is now a 6 stages process. Each silo needs to be excavated, filled and built, while requiring a lot of power, materials and generating pollution. Custom Space Exploration, Bob&Angels, Industrial Revolution and Exotic Industries compatibility News: new graphics by snouz

Content
7 months ago
0.17 - 1.1
33.5K
Manufacturing

g Lag spike when no biters on map

4 years ago
(updated 4 years ago)

There seems to be a high UPS lag spike when there's no biters on the map and a stage completes. In our case we have disabled all biters by command and have a large map and town style base. It also seems to be more obvious on an MP server compared to SP.

4 years ago
(updated 4 years ago)

https://gfycat.com/scentedunfortunateamericanpainthorse

In SP my UPS drops from 60/60 with 9 update game time to 52/60 for a second or two.

It seems to be the use of
target.surface.find_entities_filtered({type = "unit-spawner",limit=1})
in control.lua/CallFrenzyAttack()
As I see the same UPS drop in the SP game when I run this command in console.

These sort of entity checks get more UPS costly as the entity counts get larger. Maybe a search for enemy bases within a radius of the silo would avoid this.
In our case we have disabled biters using the below, so theres no need to search at all:
surface.map_gen_settings.autoplace_controls["enemy-base"].size = "none"

4 years ago

I will add these checks to a new version. Thanks for the report

4 years ago

Opps forgot to say this seems to have resolved this UPS hit, thanks.

New response