Skip to content

Stop broadcasting spectators sync data. - #939

Merged
AmyrAhmady merged 2 commits into
masterfrom
ksn/fixes
Jul 26, 2024
Merged

AmyrAhmady merged 2 commits into
masterfrom
ksn/fixes

Conversation

@ksenonadv

@ksenonadv ksenonadv commented Jul 26, 2024 •

Copy link
Copy Markdown
Member
  1. First commit removes a call to amx_RaiseError while attempting to call a timer code if there's not enough memory to continue.
    Raising errors in this state seems to break the whole current script.
    It's samething we've dealt with in beta (75619d0) when we removed 1 call but forgot this one.

  2. Check if player is in spectator mode before broadcasting any sync updates. Some bad actors are using sync updates (prob camera sync or idk - didn't bother to actually check) to obtain a list of spectators. This will solve that.

@ksenonadv
ksenonadv requested a review from AmyrAhmady July 26, 2024 15:48
@AmyrAhmady
AmyrAhmady merged commit d5f2ebd into master Jul 26, 2024
@AmyrAhmady
AmyrAhmady deleted the ksn/fixes branch July 26, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants