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

Increase default cl_maxfps and cl_maxpackets to 125 #367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/client.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cl_maxpackets::
Number of packets client sends per second. 0 means no particular limit.
Unless connected using Q2PRO protocol, this variable is ignored and packets
are sent in sync with client physics frame rate, controlled with
‘cl_maxfps’ variable. Default value is 30.
‘cl_maxfps’ variable. Default value is 125.

cl_fuzzhack::
Enables ‘cl_maxpackets’ limit even if Q2PRO protocol is not in use by
Expand Down Expand Up @@ -83,7 +83,7 @@ r_maxfps::
cl_maxfps::
Specifies client physics frame rate if ‘cl_async’ 1 or 2 is used.
Otherwise, limits both rendering and physics frame rates. Default value is
60.
125.

cl_gibs::
Controls rendering of entities with ‘EF_GIB’ flag set. When using Q2PRO
Expand Down
2 changes: 1 addition & 1 deletion src/client/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ void CL_RegisterInput(void)
Cmd_Register(c_input);

cl_nodelta = Cvar_Get("cl_nodelta", "0", 0);
cl_maxpackets = Cvar_Get("cl_maxpackets", "30", 0);
cl_maxpackets = Cvar_Get("cl_maxpackets", "125", 0);
cl_fuzzhack = Cvar_Get("cl_fuzzhack", "0", 0);
cl_packetdup = Cvar_Get("cl_packetdup", "1", 0);
#if USE_DEBUG
Expand Down
4 changes: 2 additions & 2 deletions src/client/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@ static void CL_InitLocal(void)
cl_predict->changed = cl_predict_changed;
cl_kickangles = Cvar_Get("cl_kickangles", "1", CVAR_CHEAT);
cl_warn_on_fps_rounding = Cvar_Get("cl_warn_on_fps_rounding", "1", 0);
cl_maxfps = Cvar_Get("cl_maxfps", "62", 0);
cl_maxfps = Cvar_Get("cl_maxfps", "125", 0);
cl_maxfps->changed = cl_sync_changed;
cl_async = Cvar_Get("cl_async", "1", 0);
cl_async->changed = cl_sync_changed;
Expand Down Expand Up @@ -2796,7 +2796,7 @@ static void CL_InitLocal(void)
info_spectator = Cvar_Get("spectator", "0", CVAR_USERINFO);
info_name = Cvar_Get("name", "unnamed", CVAR_USERINFO | CVAR_ARCHIVE);
info_skin = Cvar_Get("skin", "male/grunt", CVAR_USERINFO | CVAR_ARCHIVE);
info_rate = Cvar_Get("rate", "15000", CVAR_USERINFO | CVAR_ARCHIVE);
info_rate = Cvar_Get("rate", "60000", CVAR_USERINFO | CVAR_ARCHIVE);
info_msg = Cvar_Get("msg", "1", CVAR_USERINFO | CVAR_ARCHIVE);
info_hand = Cvar_Get("hand", "0", CVAR_USERINFO | CVAR_ARCHIVE);
info_hand->changed = info_hand_changed;
Expand Down