vmangos / core

Progressive Vanilla Core aimed at all versions from 1.2 to 1.12
GNU General Public License v2.0
668 stars 483 forks source link

[Alterac Valley] Massive AI flaws #1411

Closed Revo86 closed 2 years ago

Revo86 commented 2 years ago

Current behavior:

Alliance base almost impossible to conquer, matches take forever, because:

Therefore Horde runs in 1onX, dying, no bg progress. I'd say this happens 8/10 matches.

Expected behavior:

Steps to reproduce:

  1. Take all graveyards beside enemy base grayeyard
  2. Enjoy infinite, impossible to end matches
  3. No honor, no r14, no r14 gear, cry in corner.

Client version:

Commit hash:

Operating system:

Kittnz commented 2 years ago

Suggestions?

celguar commented 2 years ago

closest one I can think of is to disable 2 paths for horde bots vPath_AV_Alliance_Cave_Slop_Crossroad_to_Alliance_Slope_Crossroad vPath_AV_Alliance_Cave_to_Alliance_Cave_Slop_Crossroad

crude but doubt any horde bot needs to go to ally cave though if issue is big disabling those 2 paths may make horde bots stuck alltogether and not go into ally base. Need to test

I coulnd't find why it happens though...

Kittnz commented 2 years ago

We can always make some paths one way, so they won't go back and forth.

celguar commented 2 years ago

From what it looks like it's that bots pick a different path to start from. So a proper path to Ally base is close, but for some reason they pick a different one and move to the start of it. Maybe it's closer I dunno. 1) Horde moves by blue path (vPath_AV_Alliance_Slope_Crossroad_to_Stormpike_Crossroad) 2) After capping GY they need to go to Ally base (green path) (vPath_AV_Stormpike_Crossroad_to_Alliance_Base_Bunker_First_Crossroad) 3) Instead they go to begining (or some waypoint) of red path (It's not reversable but they go (more like climb a big slope) to its begining (or a waypoint) so they don't go reverse) and make that big hook vPath_AV_Alliance_Cave_Slop_Crossroad_to_Alliance_Slope_Crossroad & blue again alt_text

celguar commented 2 years ago

Actually I think after blue path they also have a small path from Crossroad to flag (vPath_AV_Stormpike_Crossroad_to_Stormpike_Flag) So maybe when they try to go back Flag->Crossroad they calculate that start of path from Ally cave is closer so they move there...No idea, sorry. And no math skills to calculate 😒

Revo86 commented 2 years ago

Exactly, that's the behavior I tried to explain.

For the almost unconquerable ally base I'd suggest the AI prioritizing the graveyard there before the bunkers. Also don't conquer all graveyards south of it because that will force allies to spawn north and dramatically increasing the game‘s length. That's the first rule you learn if you play AV a lot and want to avoid endless fighting.

Besides these things playing with AI is lots of fun!

celguar @.***> schrieb am So., 5. Dez. 2021, 00:31:

Actually I think after blue path they also have a small path from Crossroad to flag (vPath_AV_Stormpike_Crossroad_to_Stormpike_Flag) So maybe when they try to go back Flag->Crossroad they calculate that start of path from Ally cave is closer so they move there...No idea, sorry. And no math skills to calculate 😒

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vmangos/core/issues/1411#issuecomment-986130221, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZGZKCI34Y3PVAUXSSVNILUPKQEBANCNFSM5JL4XBRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.