Closed hetong007 closed 1 month ago
Some heroes are considered weak for bots in my opinion so I limited those heroes to get picked no more than one in a team. If there are more than one of those heroes to be picked in the selected names, the rest of names will be randomized so you see sometimes bots won't pick the one you want - this is to protect your gaming experience because more than 1 weak heroes in a game is even more annoying and just hard to win if the other side is with all strong picks.
See the appendix notes in Customize/general.lua file. You can allow bots to pick more than one of those heroes by changing the flag Allow_Repeat...
Real Players are on the top of the team list while picking so bots may not follow the pick order strictly. This option was to designed for a full bot team. As you can see there is no notes for how players can choose their pos if they mix with bots. Please try out combinations and add notes if you can find a workaround, or feel free to help me to add the support that's in your mind
I've been playing with a 5 men team lately for the past months so didn't really know what's happening to the mix scenario where human and bots are in a customized team. Let me find some time later to see what actual is going wrong. Thanks
Thanks for the response, I confirm that Customize.Allow_Repeated_Heroes = true
fixes the hero picks. Still, the random positioning & laning issue happends, and it does almost only for Dire. I'll see what patterns I can find and update here.
The position shouldn't be random, nor the laning. Are you using the latest of my script?
It's a tricky bug from Valve to resolve it for Dire and can take a lot of mental energy, good luck if you want to resolve it yourself on a different use case tho
Try the new version I just released in Workshop
With the latest workshop version I very briefly checked the hero selection/position w.r.t. Dire lobby slot, seems to work. Will have time to check more later and update here. Appreciate the quick fix!
I'm curious to learn about the code change as well, so it would be great if you'll also bring the changes to github.
crack the buggy Valve bot script when you still have some patient. I will merge the changes probably when I feel bots reach another level later. right now I have mixed testing stuff and dont want to bother messing with my workspace.
The specific context: I usually play with another friend with this bot script filling all the other 8 slots. We sometimes go different sides and pick our own lineup heroes to play against each other. This is supposed to be configurable in
general.lua
. One sample code from our customization:By definition we create the local lobby and each player join a specific slot on each side, and we'll occupy the slot for that hero, and the rest slots are taken over by the bot script. A concrete example: I take Radient 2nd slot and my friend takes Dire 4th, then we expect that I'll pick dark willow for midlane and he'll play sand king as pos4, with other heroes picked and laned by the script.
However, we observe some random behaviors in bot's hero selection and laning, including:
!pos X
command.Without changing code, these behaviors happens randomly by re-starting the lobby game. It's a bit annoying because we can only hope that by restarting the lobby it'll behave as expected for once.
This also happened to Sirious AI as well, after 7.37, actually this is part of the reason that drove me to search for a more customizable bot script. I'm opening this issue to check if the dev & community are aware of this behavior, and would like to know if this is a bug on Valve's end or if there are solutions/workarounds by scripting.