Skip to content
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

[BUG] Attacking Barracks #186

Closed
Nostrademous opened this issue Mar 27, 2017 · 12 comments · Fixed by #187
Closed

[BUG] Attacking Barracks #186

Nostrademous opened this issue Mar 27, 2017 · 12 comments · Fixed by #187

Comments

@Nostrademous
Copy link
Owner

Our bots no longer right click barracks, no idea why.

They are fine on towers, shrines, and Ancient ( I believe ).

@Keithenneu
Copy link
Contributor

I'll check it

@Nostrademous
Copy link
Owner Author

Nostrademous commented Mar 27, 2017

FYI - this was happening before your pull request, so not your fault.

It's part of pushlane mode

@Keithenneu
Copy link
Contributor

pushlane:Desire() only checks if there are towers nearby. So barracks are just pushed ins some edge cases.
I wouldn't bother fixing it, as I'm about to rewrite pushing determination anyway.

@Keithenneu
Copy link
Contributor

Nvm, I'll fix it now. pushing looks somewhat fine for now. I'll work on global movement for now. This should improve push and defense further.

@Nostrademous
Copy link
Owner Author

Lane switching code is in decision.lua ... b/c I was lazy implementing it.

@Nostrademous
Copy link
Owner Author

btw... the pushlane:Desire() has other checks ... I still don't think it would work (for whatever reason) even if you added a rax check into Desire()

@Keithenneu
Copy link
Contributor

yeah, mode is actually pushlane. I'm checking the think method right now.

@Keithenneu
Copy link
Contributor

Ok. so bot:GetNearbyTowers() seems to return barracks as well. great.

@Nostrademous
Copy link
Owner Author

and what does bot:GetNearbyBarracks() return? I assume nothing?

@Keithenneu
Copy link
Contributor

exactly. I'll file a bug on dev.dota2.com and split up the tower list by names for now.

@Keithenneu
Copy link
Contributor

Keithenneu commented Mar 27, 2017

Had a fix. Deleted it. The end.

@Keithenneu Keithenneu mentioned this issue Mar 27, 2017
@Keithenneu
Copy link
Contributor

aight, rewrote it. #187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants