mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 14:37:26 +08:00
87774f26b6
Some fixes, code optimizations and changes to the `maxplayers` variable increment method
33 lines
1.6 KiB
C
33 lines
1.6 KiB
C
#ifndef _INCLUDE_L4D2_SIGNATURE_WIN32_
|
|
#define _INCLUDE_L4D2_SIGNATURE_WIN32_
|
|
|
|
const char* server_dll[] = {"server.dll", 0};
|
|
const char* engine_dll[] = {"engine.dll", 0};
|
|
const char* matchmaking_dll[] = {"matchmaking_ds.dll", "matchmaking.dll", 0};
|
|
|
|
const char* max_players = "\x27\x83\xBE\xC3\xC3\x00\x00\x00\x74\xC3\x8B\xC3\xC3\x8B\x06\x8B\x7A\xC3\x8B\x50\x10\x8B\xCE\xFF\xD2\x2B\xF8\x8B\x06\x8B\x50\x08\x8B\xCE\xFF\xD2\x03\xC7\x3B\x86";
|
|
unsigned char max_players_new[]= {0x06, 0x25, 0x83, 0xF8, 0x3C, 0x90, 0x90, 0x90};
|
|
void* max_players_org = NULL;
|
|
|
|
const char* lobby_sux_new = "\x02\x07\x90\x90";
|
|
void* lobby_sux_org = NULL;
|
|
|
|
const char* server_bplayers = "\x36\xF7\x05\xC3\xC3\xC3\xC3\x00\x10\x00\x00\x74\x07\xB8\xC3\xC3\xC3\xC3\xEB\x11\xA1\xC3\xC3\xC3\xC3\x8B\x40\x24\x85\xC0\x75\x05\xB8\xC3\xC3\xC3\xC3\x8B\x0D\xC3\xC3\xC3\xC3\x8B\x11\x50\x8B\x42\x10\xFF\xD0\x85\xC0\x74\x17";
|
|
unsigned char server_bplayers_new[] = {0x06, 0x00, 0xB8, 0x3C, 0x00, 0x00, 0x00, 0xC3};
|
|
void* server_bplayers_org = NULL;
|
|
|
|
const char* players = "\x0F\x56\x8B\xF1\x8B\x86\xC3\x02\x00\x00\x8B\x4D\xC3\x3B\xC8\x7F";
|
|
const char* players_new = "\x02\x0E\x90\x90";
|
|
void* players_org = NULL;
|
|
|
|
const char* unreserved = "\x21\x55\x8B\xEC\x81\xEC\xC3\xC3\x00\x00\xA1\xC3\xC3\xC3\xC3\x33\xC5\x89\xC3\xC3\x53\x8B\xC3\xC3\x56\x8B\xC3\xC3\x57\x8B\xC3\xC3\x3B\xBE";
|
|
const char* unreserved_new = "\x01\x00\xC3";
|
|
void* unreserved_org = NULL;
|
|
|
|
const char* lobby_match = "\x06\xB8\x08\x00\x00\x00\xC3";
|
|
unsigned char lobby_match_new[] = {0x01, 0x01, 0xC3};
|
|
void* lobby_match_org = NULL;
|
|
|
|
#endif //_INCLUDE_L4D2_SIGNATURE_WIN32_
|
|
|