// ************************************************ // // Mani Admin Plugin 2010 - Half-Life 2 Deathmatch // NOW ON ORANGE BOX // Last Update V.1.2V // Last Update Time (GMT): // Thu Oct 13 22:15:12 2011 (GMT) // // This file contains definitions that allow // the plugin to handle different mods a bit // more elegantly. Under most circumstances // they will not need to be changed unless // the source mod author releases an update // that requires changes to some of the offsets. // // www.mani-admin-plugin.com // //************************************************* "gametypes.txt" { "version" "3" // // Options for HL2 Deathmatch // // This one is a bit weird. When the server starts it reports that // the game is called "Half-Life 2 Deathmatch". When the mp_teamplay cvar // is setup in server.cfg the game name changes to either "Deathmatch" or // "Team Deathmatch" which is why there are 3 mod definitions setup for it :/ // // When running either it is recommended that you add the command // ma_forcegametype to the end of your server.cfg file or anywhere after the // mp_teamplay cvar has been set. ma_forcegametype will prompt the plugin to // reload this file and re-configure itself then reload the skins. // "Half-Life 2 Deathmatch" { // Set to 1 if spectator is allowed for this mod "spectator_allowed" "1" // The internal team index for spectators // You can identify this by running ma_teamindex as a spectator "spectator_index" "1" // The group name to identify spectators when running a ma_ command "spectator_group" "#SPEC" "hl1_menu_compatible" "0" "team_play" "0" "max_messages" "34" "cteam_match" "fo_player_deathmatch" // Team manager entities pattern string "team_manager" "team_manager" "voice_control" { "linux_offset" "3" "win_offset" "2" } // Offsets for spray hook control, do not change "spray_hook_control" { "linux_offset" "29" "win_offset" "28" } // Offsets for extra spawn points hook "spawn_point_control" { "linux_offset" "2" "win_offset" "2" } "advanced_effects" { "enable_linux" "1" // Allow linux advanced effects "enable_win" "1" // Allow windows advanced effects "vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin) "code_Offset" "111" // Windows code index offset (Lance VOrgin) } "props" { "health" "CBasePlayer.m_iHealth" "render_mode" "CBaseEntity.m_nRenderMode" "render_fx" "CBaseEntity.m_nRenderFX" "colour" "CBaseEntity.m_clrRender" "move_type" "CBasePlayer.m_MoveType" "model_index" "CBaseEntity.m_nModelIndex" "vec_origin" "CBaseEntity.m_vecOrigin" "ang_rotation" "CBaseEntity.m_angRotation" } "vfuncs" { "eye_angles" "130" "set_model_index" "9" "teleport" "107" "eye_position" "129" "give_item" "391" "my_combat_character" "71" "get_velocity" "139" "map_desc" "12" "ignite" "205" "weapon_drop" "256" "user_cmds" "408" "set_observer_target" "365" "weapon_canuse" "253" "weapon_switch" "257" "remove_player_item" "263" "get_weapon_slot" "261" "give_ammo" "247" "commit_suicide" "429" "get_primary_ammo_type" "320" "get_secondary_ammo_type" "321" "weapon_get_name" "313" } "sigs" { "CBaseServer_ConnectClient" { "linux_symbol" "_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i" "sigscan" "81 EC ? ? ? ? 56 68 ? ? ? ? 8B F1 FF 15 ? ? ? ? 8B 06 8B 50" "win_type" "Direct" } "NET_SendPacket" { "linux_symbol" "_Z14NET_SendPacketP11INetChanneliRK8netadr_sPKhiP8bf_writeb" "sigscan" "B8 ? ? ? ? E8 ? ? ? ? 53 55 56 8B ? ? ? ? ? ? 57 8B ? ? ? ? ? ? 6A 00" "win_type" "Direct" } } "teams" { // As this is only a single team mod (until mp_teamplay 1) we only need one team "Player" { // Single team mods use 0 as their team index "index" "0" "translation_index" "908" "short_translation_index" "909" "group" "#R" // Spawn points classname "spawnpoint_class_name" "info_player_deathmatch" // Log name that is used in your logs for say // events "log_name" "REBEL" // Only one set of skins name admin.txt, reserved.txt and public.txt // with directories /admin /reserved and /public "admin_skin" "admin" "reserved_skin" "reserved" "public_skin" "public" } } } // For HL2 Deathmatch when mp_teamplay is set to 0 or not set at all the // game type turns to single team deathmatch mode. In which case we have // the same as above for settings // "Deathmatch" { // Set to 1 if spectator is allowed for this mod "spectator_allowed" "1" // The internal team index for spectators // You can identify this by running ma_teamindex as a spectator "spectator_index" "1" // The group name to identify spectators when running a ma_ command "spectator_group" "#SPEC" "hl1_menu_compatible" "0" "team_play" "0" "max_messages" "34" "cteam_match" "fo_player_deathmatch" // Team manager entities pattern string "team_manager" "team_manager" "voice_control" { "linux_offset" "3" "win_offset" "2" } // Offsets for spray hook control, do not change "spray_hook_control" { "linux_offset" "29" "win_offset" "28" } // Offsets for extra spawn points hook "spawn_point_control" { "linux_offset" "2" "win_offset" "2" } "advanced_effects" { "enable_linux" "1" // Allow linux advanced effects "enable_win" "1" // Allow windows advanced effects "vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin) "code_Offset" "111" // Windows code index offset (Lance VOrgin) } "props" { "health" "CBasePlayer.m_iHealth" "render_mode" "CBaseEntity.m_nRenderMode" "render_fx" "CBaseEntity.m_nRenderFX" "colour" "CBaseEntity.m_clrRender" "move_type" "CBasePlayer.m_MoveType" "model_index" "CBaseEntity.m_nModelIndex" "vec_origin" "CBaseEntity.m_vecOrigin" "ang_rotation" "CBaseEntity.m_angRotation" } "vfuncs" { "eye_angles" "130" "set_model_index" "9" "teleport" "107" "eye_position" "129" "give_item" "391" "my_combat_character" "71" "get_velocity" "139" "map_desc" "12" "ignite" "205" "weapon_drop" "256" "user_cmds" "408" "set_observer_target" "365" "weapon_canuse" "253" "weapon_switch" "257" "remove_player_item" "263" "get_weapon_slot" "261" "give_ammo" "247" "commit_suicide" "429" "get_primary_ammo_type" "320" "get_secondary_ammo_type" "321" "weapon_get_name" "313" } "sigs" { "CBaseServer_ConnectClient" { "linux_symbol" "_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i" "sigscan" "81 EC ? ? ? ? 56 68 ? ? ? ? 8B F1 FF 15 ? ? ? ? 8B 06 8B 50" "win_type" "Direct" } "NET_SendPacket" { "linux_symbol" "_Z14NET_SendPacketP11INetChanneliRK8netadr_sPKhiP8bf_writeb" "sigscan" "B8 ? ? ? ? E8 ? ? ? ? 53 55 56 8B ? ? ? ? ? ? 57 8B ? ? ? ? ? ? 6A 00" "win_type" "Direct" } } "teams" { "Player" { "index" "0" "translation_index" "908" "short_translation_index" "909" "group" "#R" // Spawn points classname "spawnpoint_class_name" "info_player_deathmatch" // Log name that is used in your logs for say // events "log_name" "REBEL" "admin_skin" "admin" "reserved_skin" "reserved" "public_skin" "public" } } } // For HL2 TEAM Deathmatch when mp_teamplay is set to 1 or not set at all the // game type turns to multi team deathmatch mode. In which case we have // to setup multiple team definitions for Combines and Rebels. // "Team Deathmatch" { // Set to 1 if spectator is allowed for this mod "spectator_allowed" "1" // The internal team index for spectators // You can identify this by running ma_teamindex as a spectator "spectator_index" "1" // The group name to identify spectators when running a ma_ command "spectator_group" "#SPEC" "hl1_menu_compatible" "0" "team_play" "1" "max_messages" "34" "cteam_match" "fo_player_deathmatch" // Team manager entities pattern string "team_manager" "team_manager" "voice_control" { "linux_offset" "3" "win_offset" "2" } // Offsets for spray hook control, do not change "spray_hook_control" { "linux_offset" "29" "win_offset" "28" } // Offsets for extra spawn points hook "spawn_point_control" { "linux_offset" "2" "win_offset" "2" } "advanced_effects" { "enable_linux" "1" // Allow linux advanced effects "enable_win" "1" // Allow windows advanced effects "vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin) "code_Offset" "111" // Windows code index offset (Lance VOrgin) } "props" { "health" "CBasePlayer.m_iHealth" "render_mode" "CBaseEntity.m_nRenderMode" "render_fx" "CBaseEntity.m_nRenderFX" "colour" "CBaseEntity.m_clrRender" "move_type" "CBasePlayer.m_MoveType" "model_index" "CBaseEntity.m_nModelIndex" "vec_origin" "CBaseEntity.m_vecOrigin" "ang_rotation" "CBaseEntity.m_angRotation" } "vfuncs" { "eye_angles" "130" "set_model_index" "9" "teleport" "107" "eye_position" "129" "give_item" "391" "my_combat_character" "71" "get_velocity" "139" "map_desc" "12" "ignite" "205" "weapon_drop" "256" "user_cmds" "408" "set_observer_target" "365" "weapon_canuse" "253" "weapon_switch" "257" "remove_player_item" "263" "get_weapon_slot" "261" "give_ammo" "247" "commit_suicide" "429" "get_primary_ammo_type" "320" "get_secondary_ammo_type" "321" "weapon_get_name" "313" } "sigs" { "CBaseServer_ConnectClient" { "linux_symbol" "_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i" "sigscan" "81 EC ? ? ? ? 56 68 ? ? ? ? 8B F1 FF 15 ? ? ? ? 8B 06 8B 50" "win_type" "Direct" } "NET_SendPacket" { "linux_symbol" "_Z14NET_SendPacketP11INetChanneliRK8netadr_sPKhiP8bf_writeb" "sigscan" "B8 ? ? ? ? E8 ? ? ? ? 53 55 56 8B ? ? ? ? ? ? 57 8B ? ? ? ? ? ? 6A 00" "win_type" "Direct" } } "teams" { "combine" { "index" "2" "translation_index" "906" "short_translation_index" "907" "group" "#C" // Spawn points classname "spawnpoint_class_name" "info_player_combine" // Log name that is used in your logs for say // events "log_name" "COMBINE" "admin_skin" "admin_c" "reserved_skin" "reserved_c" "public_skin" "public_c" } "rebel" { "index" "3" "translation_index" "908" "short_translation_index" "909" "group" "#R" // Spawn points classname "spawnpoint_class_name" "info_player_rebel" // Log name that is used in your logs for say // events "log_name" "REBEL" "admin_skin" "admin_r" "reserved_skin" "reserved_r" "public_skin" "public_r" } } } }