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

Support bots #259

Open
FlashFyreMods opened this issue Jun 7, 2020 · 7 comments
Open

Support bots #259

FlashFyreMods opened this issue Jun 7, 2020 · 7 comments

Comments

@FlashFyreMods
Copy link

Trying to be able to play retakes with bots but it doesn't seem to work,

Expected behavior

Bots are added to the teams as usual when doing bot_add

Actual behavior

Bots are moved to spectate automatically and in the following round the game constantly kicks and adds the bots and thus starts a new round constantly until bot_kick is typed.

Steps to reproduce

  • Plugin version: 0.3.4
  • Sourcemod version: 1.10.0.6488
  • Steps to reproduce (please be specific): Add a bot to the server when retakes is active
@splewis
Copy link
Owner

splewis commented Jun 7, 2020

The plugin isn't designed to work with bots.

@FlashFyreMods
Copy link
Author

What difference do bots make? All you have to do is let them spawn like a player and they will work normally.

@FlashFyreMods
Copy link
Author

It would be very helpful to simply allow bots to spawn as it's the best way to test out all the spawns and timings and stuff if you are making your own.

@splewis
Copy link
Owner

splewis commented Jun 7, 2020

What difference do bots make?

Not much. The plugin could work with bots, but somebody would need to send a pull request to make the needed changes. There's lots of IsFakeClient calls that would need to be adjusted to remove gotv clients and such.

@FlashFyreMods
Copy link
Author

Ah gotcha, I see what you mean. Anyway this would be really nice if someone could implement it in the future.

@borzaka
Copy link
Contributor

borzaka commented Jun 8, 2020

You can test your spawns as mentions here: https://github.com/splewis/csgo-retakes#creating-and-editing-spawns

use sm_goto to go to a spawn. Spawns are indexed from 0 upwards. Example: !goto 10 to go to spawn 10.

use sm_iteratespawns to fake sm_goto commands every few seconds to visit every spawn in the map.

But you can't test the timings, but I'am not sure that the BOTs would run straight to the bombsite.

@FlashFyreMods
Copy link
Author

Yeah I know you can see where the spawns are but it would just be nice to see the gamemode working fully with bots. Bots should work fine, as long as the bomb is planted, so it might work better with the auto plant plugin, but I think it should still work fine regardless, the bots just might be a bit lost until the one on site plants the bomb.

@splewis splewis changed the title Bots are moved to spectate and causes rounds to end constantly Support bots Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants