-
Notifications
You must be signed in to change notification settings - Fork 24
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
Automatic Votekicks #10
Comments
The vote command takes only an "option1" or "option2" parameter for F1 or F2 respectively. You don't need an ID to do those. You're right about everything else though, definitely worth investigating. |
What's your source on this? |
|
The TF2 wiki seems to be out of date. The page from the valve developers wiki I linked is more up to date: |
To detect a running vote, I propose multiple solutions:
|
Coordination will happen via the masterbase, no need to abuse chat. |
I thought that was the best option, I was worried it wouldn't be picked for resource usage reasons. If so, the Masterbase would also be able to send the vote ID, resolving both detection of a running vote and the F1'ing of said vote. 👏 |
Something I just thought about: Are we able to tell if a vote was correctly started? If not, if a vote is "tried" to be started while another vote is running and silently fails, and Masterbase tries to tell other clients to F1, we may end up votekicking someone innocent by mistake |
There has already been considerable thought put into this and a protocol proposed. Iirc it goes something like:
|
Oh, I was not aware, perhaps this conversation should be cross-referenced here for future contributors to this feature to look into? |
The planning for this part has mostly just been done through experimentation and verbal discussion without much documentation so far. I guess you can consider these comments the documentation lol. |
I would like to assert for future reference that multiple sources should be checked so that a malicious actor can't upload a fake "correct vote is started" to Masterbase. And I'd also like to ask why a use a demo file instead of a screenshot? You can use console commands such as "jpeg" to take one |
Screenshots and OCR would be extremely unreliable and have many considerations. Demos are officially supported by the game, we already have everything implemented to pull the information out, and all we would need is to add functionality to force a demo chunk to flush (as simple as spam The Masterbase will also not be telling the clients that a vote was successfully started, the clients are all independently checking the demo and verifying this on their own. |
With validation from @Bash-09, here is the diagram representing the current plan on how this should work: Some of the actions may not end up happening: It may not be necessary for clients to report if a vote was successful or not because that might be implicit in that player being reported as disconnected or not changing. |
In this video at 13:25 you claim that a player that is on the cheater list will be detected by the client program and it will automatically coordinate a vote kick by users of the program.
This requires:
Step 1 is fairly straight forward:
status
command and searches for steamids that are on the ban list.callvote kick player_id cheating
. The player id can be extracted from thestatus
commandStep 2 is not straight forward:
vote
command requires a vote ID. This ID is not shown on screen or logged into the console. Therefore the client won't be able to F1 valid votekicksTo me it looks like the promise of automatic vote kicks is not possible to be implemented. I would love to be proven wrong though. Does anyone know of alternative solutions?
The text was updated successfully, but these errors were encountered: