rtxa / agmodx

An improved Mini AG alternative, built as an AMXX plugin from the ground up. It includes many bug fixes, improvements and is easy to customize.
https://rtxa.github.io/agmodx/
GNU General Public License v3.0
24 stars 9 forks source link

Explore improving AG pause reliability #25

Open rtxa opened 1 year ago

rtxa commented 1 year ago

Currently I use the id of the connected player, if he's not present, we use another player. This is not reliable and we should add a function in ReHLDS or something to pause the server whenever we need it from server-side.

Anyway, we should go back to use only the connected player, like AG does to avoid showing in console or make think other players that one player pause, but he actually didn't....

rtxa commented 1 year ago

We could also try emulated the "pause" command on the client, my main issue was the client lagging and the command not being send, but using engclient_cmd we'll make sure the command gets to the server instantly.

rtxa commented 2 months ago

Awaiting for ReHLDS pull request of Host_Pause to implement this feature.