commit
a95618ac7c
@ -9,7 +9,9 @@ namespace Components
|
|||||||
Utils::Cryptography::ECC::Key Auth::GuidKey;
|
Utils::Cryptography::ECC::Key Auth::GuidKey;
|
||||||
|
|
||||||
std::vector<std::uint64_t> Auth::BannedUids = {
|
std::vector<std::uint64_t> Auth::BannedUids = {
|
||||||
0xf4d2c30b712ac6e3
|
0xf4d2c30b712ac6e3,
|
||||||
|
0xf7e33c4081337fa3,
|
||||||
|
0x6f5597f103cc50e9
|
||||||
};
|
};
|
||||||
|
|
||||||
void Auth::Frame()
|
void Auth::Frame()
|
||||||
|
@ -748,7 +748,7 @@ namespace Components
|
|||||||
{
|
{
|
||||||
if (Dedicated::IsEnabled()) return;
|
if (Dedicated::IsEnabled()) return;
|
||||||
|
|
||||||
Dvar::Register<bool>("r_useD3D9Ex", true, Game::dvar_flag::DVAR_FLAG_SAVED, "Use extended d3d9 interface!");
|
Dvar::Register<bool>("r_useD3D9Ex", false, Game::dvar_flag::DVAR_FLAG_SAVED, "Use extended d3d9 interface!");
|
||||||
|
|
||||||
// Hook Interface creation
|
// Hook Interface creation
|
||||||
Utils::Hook::Set(0x6D74D0, D3D9Ex::Direct3DCreate9Stub);
|
Utils::Hook::Set(0x6D74D0, D3D9Ex::Direct3DCreate9Stub);
|
||||||
|
@ -66,6 +66,7 @@ namespace Components
|
|||||||
int Stats::SaveStats(char* dest, const char* folder, const char* buffer, size_t length)
|
int Stats::SaveStats(char* dest, const char* folder, const char* buffer, size_t length)
|
||||||
{
|
{
|
||||||
const auto fs_game = Game::Dvar_FindVar("fs_game");
|
const auto fs_game = Game::Dvar_FindVar("fs_game");
|
||||||
|
|
||||||
if (fs_game && fs_game->current.string && strlen(fs_game->current.string) && !strncmp(fs_game->current.string, "mods/", 5))
|
if (fs_game && fs_game->current.string && strlen(fs_game->current.string) && !strncmp(fs_game->current.string, "mods/", 5))
|
||||||
{
|
{
|
||||||
folder = fs_game->current.string;
|
folder = fs_game->current.string;
|
||||||
|
Loading…
Reference in New Issue
Block a user