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

Make bots immune from spawnkill_autokick #55

Closed
ge0rdie opened this issue Jun 27, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ge0rdie
Copy link

commented Jun 27, 2018

It looks like bots can be auto kicked for spawn killing. This can result in unbalanced teams when all humans have left the server.

Requesting that bots be made immune from this the same way admins are.

I have made the following small change to see if it fixes the problem, but I am not a Python programmer and I have only guessed how to identify a player as a bot:

# spawn kill warning
if self.spawnkill_autokick and killer.get_admin_role() < 40 and killer.get_ip_address() != 'bot':
@alexanderkress

This comment has been minimized.

Copy link
Member

commented Jun 27, 2018

You are right, it is possible to identify bots (with a small different approach).
However, since I saw your request in your forum, I was already working a solution and I took over some of your ideas:

  • spawnkilling bots will be killed and never warned
  • there will be a new option, that the operator can choose to kill spawn killers or to warn/kick them. also the combination of both options is possible

Additionally, low score warning and TKs will also not lead to warnings of bots to avoid unbalanced teams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.