Giter Club home page Giter Club logo

Comments (6)

ozon avatar ozon commented on July 22, 2024

I will investigate that.

The new slot system confused.
Commander/Spectrator slots will be deducted the total slots.
Example, if you want a 32 player with 2 Commanders then you need a 34 slot server.

from big-brother-bot.

ozon avatar ozon commented on July 22, 2024

There is no rcon command to recognize a spectator. Spectators have the team id 0 and differ by the following values ​​in the player info block versus normal players.

rank is -1
deaths is -1

My commit 49f4d14 put the players in the right team.

from big-brother-bot.

thomasleveil avatar thomasleveil commented on July 22, 2024

Could you come up with some automated test cases for it ?

from big-brother-bot.

ozon avatar ozon commented on July 22, 2024

Yes, i will try it.

from big-brother-bot.

spacepig avatar spacepig commented on July 22, 2024

A little cpu heavy perhaps but you could use 'spectatorList.list' to compare with playerlist to see who is spectators

from big-brother-bot.

ozon avatar ozon commented on July 22, 2024
Request:  spectatorList.list
Effect:  Return list of players in the spectator list

I think that this list is only a white list. This list is also taken into account only if the value vars.alwaysAllowSpectators is False. Correct me if I'm wrong.

Optionally, we could use this list to verification if vars.alwaysAllowSpectators is True.

from big-brother-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.