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

Debug 2 command is sent over the network and applies to all clients #213

Open
dcwatson opened this issue Jul 6, 2022 · 0 comments
Open
Labels
bug Something isn't working network

Comments

@dcwatson
Copy link
Member

dcwatson commented Jul 6, 2022

"Debug 1" (which doesn't do anything at the moment) and "Debug 2" (which turns on 'grenade sights' for all players incorrectly) should probably just be unmapped from the keyboard controls. I don't think anyone uses this seriously and pressing the "Debug 2" button causes frags. Alternatively we can fix debug 2 to only be local (do not send a keyfunc packet across the network with this key set).

https://github.com/avaraline/Avara/blob/main/src/gui/Preferences.h#L97-L98

if (debug2Flag) {
theHit.direction[0] = FMul((*mt)[2][0], PLAYERMISSILESPEED) + speed[0];
theHit.direction[1] = FMul((*mt)[2][1], PLAYERMISSILESPEED) + speed[1];
theHit.direction[2] = FMul((*mt)[2][2], PLAYERMISSILESPEED) + speed[2];
} else {

@assertivist assertivist added bug Something isn't working network labels Jul 6, 2022
@assertivist assertivist added this to Awaiting testing in Avara port 1.0 Aug 29, 2022
@assertivist assertivist moved this from Awaiting testing to Open Bugs in Avara port 1.0 Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working network
Projects
Status: Open Bugs
Avara port 1.0
  
Open Bugs
Development

No branches or pull requests

2 participants