Zandronum Chat on our Discord Server Get the latest version: 3.2.1
Source Code

View Revisions: Issue #2033 Back to Issue ]
Summary 0002033: Problems while in "requesting snapshot" state.
Revision 2014-12-22 20:22 by Leonard
Description The client loads the map before requesting a snapshot.
This is problematic because the map will be loaded but the client won't have a body yet until he actually receives the snapshot.
Because of this, while being in the "requesting snapshot" state, you can hide the console by bringing the menu (gamestate set to GS_LEVEL) and it will cause a massive HOM.
Even worse is if after that you open the automap, you instantly crash.
You don't even need to open up the menu to get a HOM, if you have con_alpha < 1, a HOM will always appear and it's even worse for people like me who have con_alpha set to 0: instant full screen HOM everytime you connect.
Revision 2014-12-29 17:46 by cobalt
Description The client loads the map before requesting a snapshot.
This is problematic because the map will be loaded but the client won't have a body yet until he actually receives the snapshot.
Because of this, while being in the "requesting snapshot" state, you can hide the console by bringing the menu (gamestate set to GS_LEVEL) and it will cause a massive HOM.
Even worse is if after that you open the automap, you instantly crash.
You don't even need to open up the menu to get a HOM, if you have con_alpha < 1, a HOM will always appear and it's even worse for people like me who have con_alpha set to 0: instant full screen HOM everytime you connect.
Revision 2014-12-22 20:22 by Leonard
Additional Information I thought myself how we could fix this issue:
-Setting the gamestate to GS_FULLCONSOLE again might not even work and could cause problems.
-Setting gameaction to bring the fullconsole won't fix the problem since the console will still have alpha applied to it.
-Making the client spawn on himself while waiting for the snapshot sounds like a total mess.

Here's the solution I've come up with:
Load the map in client_BeginSnapshot instead.

I tested this myself and it works flawlessly.
I will make a pull request shortly after making this ticket.
Revision 2014-12-29 17:46 by cobalt
Additional Information I thought myself how we could fix this issue:
-Setting the gamestate to GS_FULLCONSOLE again might not even work and could cause problems.
-Setting gameaction to bring the fullconsole won't fix the problem since the console will still have alpha applied to it.
-Making the client spawn on himself while waiting for the snapshot sounds like a total mess.

Here's the solution I've come up with:
Load the map in client_BeginSnapshot instead.

I tested this myself and it works flawlessly.
I will make a pull request shortly after making this ticket.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker