New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with drone distance chechs in >0.18.43 #17
Conversation
|
This fixed it for me, as well. @oiltanker how did you come up with those values? |
|
Actually, there's still a couple things not working. The seem to not be able to reliably place assemblers, and are unable to mine the large rocks (the ones with both stone and coal). |
|
Ah yes, i didn't test all the things, because it was late at night. But the values were taken through testing the distances while debugging. The thing is that the I guess i can try and comment out this constant and see the difference for myself. |
|
Alternative idea is to check whether there is a way to tell if drone completed movement order successfully , and won't move any closer without checking the distance. If it is possible, then we won't need to do random based value guessing. |
|
I just looked through change log fir 0.18.43 and there is this thing: Fixed that biters could attack entities beyond their attack range. Seems to be the culprit, as other things seem unrelated. |
|
I think I know what the issue is. As mentioned in my previous comment, there was some pathing or range changes. Through testing i figured out that disabling the This 1/2 offset is relevant not for target, but for closest blocking entity, so as the result, drones can't fix turrets behind walls, as difference in distance nears 1. Possible solutions:
|
|
I force pushed alternative fix, as it is more universal imho. |

There are issues with drone distance evaluations. Use as reference.
Discussion thread Bots unable to repair