bencbartlett / Overmind

AI for Screeps, a multiplayer programming strategy game
MIT License
542 stars 155 forks source link

Road-planner odd behavior #45

Open paralyser opened 6 years ago

paralyser commented 6 years ago

Issue summary

Roadplanner is planning multiple road layouts.

Description of issue:

Roadplanner is planning multiple road layouts. One for the real bunker location, and one for the suggested bunker location. Idk, if its a general bug, which happens at everyone, or just 1 of my rooms has it. All my other rooms has their flags at the suggested location. If I open the roomplanner it is clearly visible the suggested room bunker and road layout. The roads are counting as errant structures, and they can be demolished by the command destroyErrantStructures, but they get rebuilt. Outposts connected to this room are also affected by the same way.

Steps to reproduce:

Do not place Your bunker flag where its suggested.

Error message:

// Console output:
// Offending line:

Suggested fix (optional):

Other information:

‣ Version: Overmind v0.5.0 ‣ Checksum: 0x40008107590 ‣ Assimilated: (not yet implemented) ‣ Operating mode: semiautomatic screenshot 2018-09-01 at 23 40 51 screenshot 2018-09-01 at 23 41 12 screenshot 2018-09-01 at 23 44 03

bencbartlett commented 6 years ago

This was probably due to the change in the roadPlanner routing behavior that was introduced when the new "headless" mining overlords were introduced in this commit, but it should have stabilized by now.. I'm closing this issue for now, but if you still see strange behavior from the roadPlanner, please re-open the issue.

paralyser commented 5 years ago

You can reopen issue #45, what I can Update in the issue: I moved the whole bunker 2 tiles, so right now it is the same place, where it is suggested. Destroying errant structures will destroy around 60 roads, which will be rebuilt in the next few hours anyway. The room looks exactly the same again, having duplicate roads to everywhere. These duplicate roads are also built inside the bunker. Current state of the room: https://screeps.com/a/#!/room/shard2/E52N47