mirror of
https://github.com/0TheSpy/Seaside.git
synced 2024-12-23 00:27:23 +08:00
Add files via upload
This commit is contained in:
parent
0bfa2f6ce6
commit
30a99985c6
@ -242,10 +242,8 @@ void NETSetConVar(const char* cvarname, const char* cvarvalue)
|
||||
|
||||
char name[1024]; char value[1024];
|
||||
strcpy(name, cvarname);
|
||||
strcpy(value, cvarvalue);
|
||||
|
||||
static void* pvSetConVar = (void*)FindPatternV2(("engine.dll"), ("8D 4C 24 1C E8 ? ? ? ? 56"));
|
||||
|
||||
strcpy(value, cvarvalue);
|
||||
static void* pvSetConVar = (void*)FindPatternV2(("engine.dll"), ("8D 4C 24 1C E8 ? ? ? ? 56"));
|
||||
printfdbg("NETSetConVar %s %s\n", cvarname, value);
|
||||
|
||||
if (pvSetConVar) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#pragma once
|
||||
|
||||
//do not delete
|
||||
#define DEBUG
|
||||
//#define DEBUG
|
||||
|
||||
#ifdef DEBUG
|
||||
#define printfdbg(data, ...) printf(XorStr(data), __VA_ARGS__)
|
||||
|
@ -1718,6 +1718,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
|
||||
printfdbg("m_fnChangeCallbacks %x\n", (DWORD)&nameConvar->m_fnChangeCallbacks.m_Size);
|
||||
//nameConvar->SetValue(MakeControlChars(g_Options.playername.value->mystring));
|
||||
*g_Options.changing_name = 1;
|
||||
|
||||
NETSetConVar("name", MakeControlChars(g_Options.playername.value->mystring));
|
||||
|
||||
}
|
||||
|
@ -166,7 +166,7 @@ DWORD WINAPI HackThread(HMODULE hModule)
|
||||
while (!GetModuleHandleA("serverbrowser.dll"))
|
||||
Sleep(1000);
|
||||
|
||||
#ifdef CONSOLE
|
||||
#ifdef DEBUG
|
||||
AllocConsole();
|
||||
FILE* f;
|
||||
freopen_s(&f, "CONOUT$", "w", stdout);
|
||||
@ -455,7 +455,7 @@ DWORD WINAPI HackThread(HMODULE hModule)
|
||||
|
||||
Sleep(1000);
|
||||
|
||||
#ifdef CONSOLE
|
||||
#ifdef DEBUG
|
||||
if (f) fclose(f);
|
||||
FreeConsole();
|
||||
#endif
|
||||
|
@ -181,7 +181,7 @@ void SetViewModelSequence(const CRecvProxyData* pDataConst, void* pStruct, void*
|
||||
|
||||
}
|
||||
|
||||
printfdbg("Sequence %s %d (%s)\n", (char*)pViewModel->GetSequenceActivity(m_nSequence), m_nSequence, szModel);
|
||||
//printfdbg("Sequence %s %d (%s)\n", (char*)pViewModel->GetSequenceActivity(m_nSequence), m_nSequence, szModel);
|
||||
|
||||
pData->m_Value.m_Int = m_nSequence;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user