[Oxyd] [1.0.0] Enemy wayfinding/performance bug

This subforum contains all the issues which we already resolved.
Post Reply
AndreKR
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Sep 11, 2020 7:08 pm
Contact:

[Oxyd] [1.0.0] Enemy wayfinding/performance bug

Post by AndreKR »

This is mainly a problem with the wayfinding of biters/spitters, but it only bothers me because it causes a performance issue.

I have placed a spidertron on a small island in a lake. Somehow this causes the enemy units that come around the lake to just stop there and not move anymore. (My guess is they are afraid of the spidertron.)

2020-09-11-21-10-48-dllhost.png
2020-09-11-21-10-48-dllhost.png (27.81 KiB) Viewed 3878 times

After a few minutes a decent number of enemy units has accumulated and the game performance drops dramatically:

2020-09-11-20-47-08-factorio.png
2020-09-11-20-47-08-factorio.png (491.41 KiB) Viewed 3878 times

Then I have to walk the spidertron closer to the enemy so that it will shoot them. Game performance then returns to normal:

2020-09-11-20-47-52-factorio.png
2020-09-11-20-47-52-factorio.png (519.67 KiB) Viewed 3878 times

As you can see, the update time has dropped from 20.144 to 3.791.

I have attached a savegame where already some enemy units have accumulated. You'll find the situation on the left side of the map, close to the station "Iron southwest".
Attachments
einsnull.zip
(16.21 MiB) Downloaded 135 times

AndreKR
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Sep 11, 2020 7:08 pm
Contact:

Re: [Oxyd] [1.0.0] Enemy wayfinding/performance bug

Post by AndreKR »

Actually, after giving this some thought, the wayfinding might not be a bug. The enemy units are attracted to the spidertron, walk towards it and get caught in the coastline. What else are they supposed to do, there's no better way to reach their target.

So it's only the performance thing, but maybe that's simply expected behavior when large groups of bugs accumulate?

I simply have to make sure they get shot when they come as close as possible to the spidertron.

I think you can close this issue.

AndreKR
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Sep 11, 2020 7:08 pm
Contact:

Re: [Oxyd] [1.0.0] Enemy wayfinding/performance bug

Post by AndreKR »

Hm, no, something is wrong. Wherever I place a turret, they always accumulate just out of range.

AndreKR
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Sep 11, 2020 7:08 pm
Contact:

Re: [Oxyd] [1.0.0] Enemy wayfinding/performance bug

Post by AndreKR »

I made it work with more turrets. So you decide if it's a bug. :P

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd] [1.0.0] Enemy wayfinding/performance bug

Post by Oxyd »

Thanks, this will be fixed in 1.1.0.

Post Reply

Return to “Resolved Problems and Bugs”