Bump protocol & hotfix sv_network_fps
This commit is contained in:
parent
932e9b2560
commit
cb3e244885
@ -70,7 +70,6 @@ namespace Components
|
|||||||
Command::Execute("xblive_privateserver 0");
|
Command::Execute("xblive_privateserver 0");
|
||||||
Command::Execute("xstartprivatematch");
|
Command::Execute("xstartprivatematch");
|
||||||
//Command::Execute("xstartlobby");
|
//Command::Execute("xstartlobby");
|
||||||
Command::Execute("sv_network_fps 1000");
|
|
||||||
Command::Execute("cl_maxpackets 125");
|
Command::Execute("cl_maxpackets 125");
|
||||||
Command::Execute("snaps 30");
|
Command::Execute("snaps 30");
|
||||||
Command::Execute("com_maxfps 125");
|
Command::Execute("com_maxfps 125");
|
||||||
|
@ -251,7 +251,7 @@ namespace Components
|
|||||||
const Game::dvar_t* Dvar::Dvar_RegisterSVNetworkFps(const char* dvarName, int value, int min, int /*max*/, std::uint16_t /*flags*/, const char* description)
|
const Game::dvar_t* Dvar::Dvar_RegisterSVNetworkFps(const char* dvarName, int value, int min, int /*max*/, std::uint16_t /*flags*/, const char* description)
|
||||||
{
|
{
|
||||||
// bump limit up to 1000
|
// bump limit up to 1000
|
||||||
return Game::Dvar_RegisterInt(dvarName, value, min, 1000, Game::DVAR_NONE, description);
|
return Game::Dvar_RegisterInt(dvarName, Dedicated::IsEnabled() ? 1000 : value, min, 1000, Game::DVAR_NONE, description);
|
||||||
}
|
}
|
||||||
|
|
||||||
const Game::dvar_t* Dvar::Dvar_RegisterPerkExtendedMeleeRange(const char* dvarName, float value, float min, float /*max*/, std::uint16_t flags, const char* description)
|
const Game::dvar_t* Dvar::Dvar_RegisterPerkExtendedMeleeRange(const char* dvarName, float value, float min, float /*max*/, std::uint16_t flags, const char* description)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define PROTOCOL 0x97
|
#define PROTOCOL 0x98
|
||||||
#define NUM_CUSTOM_CLASSES 15
|
#define NUM_CUSTOM_CLASSES 15
|
||||||
#define FX_ELEM_FIELD_COUNT 90
|
#define FX_ELEM_FIELD_COUNT 90
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user