-
Notifications
You must be signed in to change notification settings - Fork 10
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
Bots: bots keep camping on opponents team lolly position #26
Comments
This issue is related to an far too high item weight for the lolly in CTL. I got this info:
|
I'm pretty sure there is a bug that has nothing to do with balancing. While carrying the lolly or even while their team carries it, bots should ignore the lolly in their item target selection. I think we tried to reproduce/fix this with no success. One symptom was that the carrier bot "forgot" that it was carrying. Hectics item weight change might only mask the problem, which could be a good enough solution for now. That absurd high 4000 item weight is meant to keep the bot on a straight and narrow path home: don't go for any items even if they are nearby. In general, balancing tasks are 90% about playtesting. So they should be done by people who play a lot vs bots, and that's not me. I can advise on how the system works (if I remember). |
I can not reproduce this. For me the LTG always looks right ( |
OK, this I found also in my old bug ticket from 2011-11-26 12:33:
I also have a demo file from back then showing the behaviour: I have now tried to reproduce this again locally and have started a match directly in the client, but was not yet successful, neither in the old 1.6 client, nor in the current dev client. But as you can see in the demo, the match was running for a very long time, over 4 hours. I simply joined the PadWorld server via internet back then, so no local server in my own LAN nor directly via the client. In addition, I have discovered yesterday when testing a several times briefly a very similar behavior with the bots, which carried just no lolly. If their own lolly was not in place, the bots sometimes camped in their own base at the lolly spawn. This behavior ended immediately as soon as their own lolly reappeared at the lolly spawn in their own base and they started moving again. In the following screenshot, the bot with the lolly ran into another bot from his own team shortly before and was briefly blocked by it. After that he didn't know anything any more. He just stood there and looked around several times in all directions and did nothing else until he was shot down. |
I can see the issue right now at PadWorld server. Both teams still have 0 points after nearly 18 hours of having a match. Some bots going for the opponents lolly and if they have it, they commute back and forth between bases but are not delivering it to the own base. Also bot team mates are camping at their own lolly spawn point, even if their own lolly is there. So they are not carrying any lolly. So the problem doesn't seem to be related to having the lolly, but simply camping on the own or the opponents lolly spawn point. So two status are critical:
Looks like something is mixed up here which leads to endless matches. It's also a serious problem for human players because they can't finish the match because they can't take over the lolly. The only workaround is to join the other team and shoot the lolly carrier, then finish the match with a point when the time limit is reached. |
Hmm, funny. When I see all the screenshots it is always the blue team camping with the red lolly. |
It would help to see this in spectactor mode with bot_developer set to 1 I've found one problem with gametype_t being different in botlib and the game code. that definitely produces problems for team based games. |
With the implementation of bot support for 1LCTL (#261) some changes and fixes were made, which could probably also solve the issue with camping at lolly spawn points. We need some long term dedicated server test if this issue still appears. To quote @mgerhardy: "There were definitely id problems in the bot files. There was an off-by-one with the flags. If it (this issue) was about the bot forgetting that it was the carrier, then 99% of the time it was due to the inventory." |
I played a CTL and a 1LCTL match to try to replicate the Issue. This was tested from the most recent available code from October the 29th. What was tested?
Of course this testing only affects local games. |
I could not observe this issue on the beta server, so will close this ticket. |
Ever since 1.5, bots have often struggled to play Capture the Lolly correctly. They get the correct lolly, then walk to their own teams base and walk right past where they should capture it - then they just go back to the other teams base to the exact spot where they collected grabbed it, and then camp there until they get killed. Although when i test it on my local server, this didn't seem to happen and they could capture it, although they still constantly walk off the map (colorstage) at a specific place. I may need to spend some time figuring out what causes them to do this, as on my network servers, they usually do.
~Ben the PadKing
The text was updated successfully, but these errors were encountered: