Better Bots Technologies


Adds more technologies for roboports and robots, including additional roboports charge pads and expanded bot power cells. Instead of giving them out for free like many other mods, this one strives to blend into the existing game balance.

Content
4 years ago
0.16 - 0.18
159
Logistic network

i Where are 5ms per frame used?

6 years ago

https://www.reddit.com/r/factorio/comments/8owwhw/1m_active_entities_let_this_be_a_warning/

Hello!
I'm a happy user of your Mod Plash.
One pain point that came up is that it take 5ms per update on the BetterBots mod so I wondered whether the work there is necessary.

Additionally I'd like to ask whether you could add a toggle to disable wires connecting to other structures.

Thank you for thinking about it!

6 years ago

The hickups happen every couple of seconds(every 5 to 10 seconds flair up of activity). Can you reduce it?

6 years ago
(updated 6 years ago)

Hey, thanks for reporting this problem

I'm wondering too where that time could be wasted, honestly aside from roboport upgrades (which is a one-time task for each research / mod reset) which is very demanding and may take a long time depending on the amount of roboports on the map, I can't think of anything else that could be causing this problem...

Upgraded roboports behave as normal roboports (they are, in fact, a mildly modified version of the same prototype) so they won't be taking more resources than vanilla roboports do.

The power wires / powerfield come from a dummy power pole which is nothing more than a sprite-less invisible pole placed on top of the port itself. This, again, shouldn't be taking more resources than any other power pole...

Maybe the sensor array upgrade is the only other thing that may impact performances on huge maps, but I haven't been able to test it in such extreme conditions...

Are you sure that screenshot wasn't actually made during an upgrade process? The scheduler should have its own interface showing what is going on behind.

About the wires, do you mean power wires? Unfortunately as i said earlier I use an invisible power pole entity to generate the zero-radius power field that powers the roboport itself, so once this dummy entity is placed it behaves as any other power pole, connecting itself to nearby poles; if it didn't it wouldn't be powering anything.
Normally, the player could un-wire those poles with a copper cable if they please, but since those dummy poles are invisibile this is something that is not possible.

The only suggestion i could give is to avoid using the research altogether. Unfortunately there's only so much we modders can do with entity behaviors (which are coded in the game engine and can't be changed from the LUA side of things), so it's an "either all or nothing" scenario.

Anyway, I'm finding myself with less free time that i used to, so I can't tell if and when I'll be looking into this issue, but thanks again for this report, any more detailed information that you could have may help me track down the problem faster!

Bye!

6 years ago

In my power tab is says 8.5k roboports are powered. I tried reset once and there it said it would reset 10k roboports, dunno whether it helps or not.

I'll try without this mod for a time since my base is lagging enough already and there's no improvement in the immediate future.

Thank you for developing this mod anyway, was good as long as ups was 20+ :)

6 years ago

there is indeed a little lagspikes when the script updates every 300 ticks, but not as bad as the on_entity_died lags...

New response