All pastes #283607 Raw Edit

Untitled

public text v1 · immutable
#283607 ·published 2006-12-18 13:41 UTC
rendered paste body
/********************
  www.nixcoders.org
********************/

#pragma once

const static et_t etlist[] = {
	{
		"2.55",			// version
		0xd88f0f0a,		// crc32

		0x445810,		// syscall
		0x422e80,		// Cvar_Get
		0x41e8a0,		// Cmd_AddCommand
		0x9ffcc8,		// fs_searchpaths
		0x427700,		// FS_PureServerSetLoadedPaks
	},
	{
		"2.60",			// version
		0x539e3563,		// crc32

		0x448780,		// syscall
		0x425760,		// Cvar_Get
		0x41fd20,		// Cmd_AddCommand
		0x9daa94,		// fs_searchpaths
		0x429620,		// FS_PureServerSetLoadedPaks
	},
	{
		"2.60b",		// version
		0x4bc60dd5,		// crc32

		0x4488a0,		// syscall
		0x425760,		// Cvar_Get
		0x41fd20,		// Cmd_AddCommand
		0x9daa94,		// fs_searchpaths
		0x429620,		// FS_PureServerSetLoadedPaks
	},
};

const static cgMod_t cglist[] = {
	// ETMAIN
	{
		"etmain",		// name
		"2.60",			// version
		0x55e0c0bc,		// crc32
		MOD_ETMAIN,		// type

		0x35945c0,		// cg_entities
		2676,			// centity_t size
		0x1b11180,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0x3525820,		// cg

		0x3d3e0,		// CG_Init
		0x3ae50,		// CG_Shutdown
		0x59d60,		// CG_DrawActiveFrame
		0x47500,		// CG_DamageFeedback
		0x5dfb0,		// CG_FinishWeaponChange
		0x49080,		// CG_Trace
		0x2c440,		// CG_EntityEvent
		0x46c80,		// CG_Player
		0x55550,		// CG_GetServerCommand
		0x54bb0,		// CG_Cvar_Register
		0x55360,		// CG_RenderScene
		0x55210,		// CG_AddRefEntityToScene
		0x550c0,		// CG_UpdateEntityPosition
		0x553c0,		// CG_DrawStretchPic
		0x55230,		// CG_AddPolyToScene
		0x554f0,		// CG_GetGameState
		0x55530,		// CG_GetSnapshot
		0x555a0,		// CG_SetUserCmdValue
	},
	// ETPRO
	{
		"etpro",		// name
		"3.2.4",		// version
		0x735219ff,		// crc32
		MOD_ETPRO,		// type

		0x37d5f10,		// cg_entities
		2700,			// centity_t size
		0x3a7b880,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0x3767670,		// cg

		0x6bd90,		// CG_Init
		0x73af0,		// CG_Shutdown
		0x9ca10,		// CG_DrawActiveFrame
		0x80760,		// CG_DamageFeedback
		0xa5170,		// CG_FinishWeaponChange
		0x83060,		// CG_Trace
		0x53080,		// CG_EntityEvent
		0x7e4e0,		// CG_Player
		0x96d40,		// CG_GetServerCommand
		0x95c10,		// CG_Cvar_Register
		0x96a10,		// CG_RenderScene
		0x96810,		// CG_AddRefEntityToScene
		0x965f0,		// CG_UpdateEntityPosition
		0x96a90,		// CG_DrawStretchPic
		0x96830,		// CG_AddPolyToScene
		0x96cc0,		// CG_GetGameState
		0x96d10,		// CG_GetSnapshot
		0x96db0,		// CG_SetUserCmdValue

		// etpro
		0x6ac70,		// CG_ConfigString
		0x1720,			// CG_AntiCheat
	},
	{
		"etpro",		// name
		"3.2.5",		// version
		0xfaf0bbfe,		// crc32
		MOD_ETPRO,		// type

		0x37d5f10,		// cg_entities
		2700,			// centity_t size
		0x3a7b880,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0x3767670,		// cg

		0x6bd90,		// CG_Init
		0x73af0,		// CG_Shutdown
		0x9ca10,		// CG_DrawActiveFrame
		0x80760,		// CG_DamageFeedback
		0xa5170,		// CG_FinishWeaponChange
		0x83060,		// CG_Trace
		0x53080,		// CG_EntityEvent
		0x7e4e0,		// CG_Player
		0x96d40,		// CG_GetServerCommand
		0x95c10,		// CG_Cvar_Register
		0x96a10,		// CG_RenderScene
		0x96810,		// CG_AddRefEntityToScene
		0x965f0,		// CG_UpdateEntityPosition
		0x96a90,		// CG_DrawStretchPic
		0x96830,		// CG_AddPolyToScene
		0x96cc0,		// CG_GetGameState
		0x96d10,		// CG_GetSnapshot
		0x96db0,		// CG_SetUserCmdValue

		// etpro
		0x6ac70,		// CG_ConfigString
		0x1720,			// CG_AntiCheat
	},
	{
		"etpro",		// name
		"3.2.6",		// version
		0xc54721af,		// crc32
		MOD_ETPRO,		// type

		0x37d6fd0,		// cg_entities
		2700,			// centity_t size
		0x3a7c940,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0x3768720,		// cg

		0x6c2d0,		// CG_Init
		0x74030,		// CG_Shutdown
		0x9cfc0,		// CG_DrawActiveFrame
		0x80ca0,		// CG_DamageFeedback
		0xa5720,		// CG_FinishWeaponChange
		0x83610,		// CG_Trace
		0x535c0,		// CG_EntityEvent
		0x7ea20,		// CG_Player
		0x972f0,		// CG_GetServerCommand
		0x961c0,		// CG_Cvar_Register
		0x96fc0,		// CG_RenderScene
		0x96dc0,		// CG_AddRefEntityToScene
		0x96ba0,		// CG_UpdateEntityPosition
		0x97040,		// CG_DrawStretchPic
		0xadb70,		// CG_AddPolyToScene
		0x97270,		// CG_GetGameState
		0x972c0,		// CG_GetSnapshot
		0x97360,		// CG_SetUserCmdValue

		// etpro
		0x6b1b0,		// CG_ConfigString
		0x1ba0,			// CG_AntiCheat
	},
	// JAYMOD 2
	{
		"jaymod",		// name
		"2.0.1",		// version
		0x0d1bc3cb,		// crc32
		MOD_JAYMOD2,	// type

		0xe212e0,		// cg_entities
		2704,			// centity_t size
		0xc8910,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0xdb0080,		// cg

		0x3238,			// CG_Init
		0x2724,			// CG_Shutdown
		0x68400,		// CG_DrawActiveFrame
		0x4ede8,		// CG_DamageFeedback
		0x6e1b4,		// CG_FinishWeaponChange
		0x517dc,		// CG_Trace
		0x2bc3c,		// CG_EntityEvent
		0x4d350,		// CG_Player
		0x62b80,		// CG_GetServerCommand
		0x622C8,		// CG_Cvar_Register
		0x629b8,		// CG_RenderScene
		0x628a8,		// CG_AddRefEntityToScene
		0x62774,		// CG_UpdateEntityPosition
		0x62a10,		// CG_DrawStretchPic
		0x628c0,		// CG_AddPolyToScene
		0x62b34,		// CG_GetGameState
		0x62b68,		// CG_GetSnapshot
		0x62bbc,		// CG_SetUserCmdValue
	},
	{
		"jaymod",		// name
		"2.0.2",		// version
		0x237467f9,		// crc32
		MOD_JAYMOD2,	// type

		0xe212e0,		// cg_entities
		2704,			// centity_t size
		0xc8910,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0xdb0080,		// cg

		0x3238,			// CG_Init
		0x2724,			// CG_Shutdown
		0x68400,		// CG_DrawActiveFrame
		0x4ede8,		// CG_DamageFeedback
		0x6e1b4,		// CG_FinishWeaponChange
		0x517dc,		// CG_Trace
		0x2bc3c,		// CG_EntityEvent
		0x4d350,		// CG_Player
		0x62b80,		// CG_GetServerCommand
		0x622C8,		// CG_Cvar_Register
		0x629b8,		// CG_RenderScene
		0x628a8,		// CG_AddRefEntityToScene
		0x62774,		// CG_UpdateEntityPosition
		0x62a10,		// CG_DrawStretchPic
		0x628c0,		// CG_AddPolyToScene
		0x62b34,		// CG_GetGameState
		0x62b68,		// CG_GetSnapshot
		0x62bbc,		// CG_SetUserCmdValue
	},
	{
		"jaymod",		// name
		"2.0.3",		// version
		0xcfe8f001,		// crc32
		MOD_JAYMOD2,	// type

		0xe212e0,		// cg_entities
		2704,			// centity_t size
		0xc8910,		// cgs
		0x0000000,		// cgs_gameState;
		0x0000000,		// cgs_glconfig;
		0x0000000,		// cgs_screenXScale;
		0x0000000,		// cgs_screenYScale;
		0x0000000,		// cgs_clientInfo;
		0x0000000,		// cgs_cursorX;
		0x0000000,		// cgs_cursorY;
		0x0000000,		// cgs_gamestate;
		000000000,		// clientInfo_t size
		0xdb0080,		// cg

		0x3238,			// CG_Init
		0x2724,			// CG_Shutdown
		0x68400,		// CG_DrawActiveFrame
		0x4ede8,		// CG_DamageFeedback
		0x6e1b4,		// CG_FinishWeaponChange
		0x517dc,		// CG_Trace
		0x2bc3c,		// CG_EntityEvent
		0x4d350,		// CG_Player
		0x62b80,		// CG_GetServerCommand
		0x622C8,		// CG_Cvar_Register
		0x629b8,		// CG_RenderScene
		0x628a8,		// CG_AddRefEntityToScene
		0x62774,		// CG_UpdateEntityPosition
		0x62a10,		// CG_DrawStretchPic
		0x628c0,		// CG_AddPolyToScene
		0x62b34,		// CG_GetGameState
		0x62b68,		// CG_GetSnapshot
		0x62bbc,		// CG_SetUserCmdValue
	},
};

// centity_t struct offsets
#define CG_ENTITIES_CURRENTSTATE_OFFSET 0x0
#define CG_ENTITIES_CURRENTVALID_OFFSET 0x244