source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[ALL] Fix: player at entity index 99 being treated as server

Open Pandaptable opened this issue 8 months ago • 3 comments

Description

Currently, on 100 player servers, the player with entity index 99 is treated as dedicated server; this allows them to call Eternaween votes, their votekicks are displayed publicly, and they don't automatically vote yes (and by extension can only vote by using a command) demonstration of the issue: https://awau.moe/9hcNwPf.mp4

Pandaptable avatar Apr 11 '25 05:04 Pandaptable

Is there a reason DEDICATED_SERVER wasn't set to 0? This is the index used for chat messages, and can't ever be occupied by a player.

mastercoms avatar Sep 18 '25 06:09 mastercoms

honestly? not sure, this was months ago and I'm not sure I ever tested that.

Pandaptable avatar Sep 20 '25 23:09 Pandaptable

CNextLevelIssue::RequestCallVote checks 99 rather than using DEDICATED_SERVER. Please correct this.

mastercoms avatar Dec 12 '25 10:12 mastercoms