How make FFA under Windows ?
I test with the following addons:
~ mmsource-1.8.1
~ sourcemod-1.3.2
~ cssdm-2.1.0.1
1. Copy the files of
mmsource-1.8.1 on your Server.
2. Check the addons folder for a file with name (metamod
.vdf). If the file is absent, they create them:
Contents:
Code:
"Plugin"
{
"file" "..\cstrike\addons\metamod\bin\server"
}
3. Copy the files of
sourcemod-1.3.2 on your Server.
4. Copy the files of
cssdm-2.1.0.1 on your Server.
5. Go in the directory: cstrike/addons/sourcemod/gamedata/
6. Change the file with the name
cssdm.games.txt or copy the folder from the attachment. [Change: "windows" "
513"
// change this value to 613]
Contents:
Code:
/* Do not edit this file unless you know what you are doing! */
"Games"
{
"cstrike"
{
/* FFA patch bytes */
"Keys"
{
"LagCompPatch_Windows" "\x90\x90\x90\x90\x90\x90"
"LagCompPatch_Linux" "\x90\x90\x90\x90\x90\x90"
"TakeDmgPatch1_Windows" "\xEB"
"TakeDmgPatch1_Linux" "\x90\x90\x90\x90\x90\x90"
"TakeDmgPatch2_Windows" "\x90\xE9"
"TakeDmgPatch2_Linux" "\x90\x90\x90\x90\x90\x90"
}
"Offsets"
{
/* Patch offsets for FFA */
"LagCompPatch"
{
"windows" "41"
"linux" "62"
}
"TakeDmgPatch1"
{
"windows" "513" // change this value to 613
"linux" "1547"
}
"TakeDmgPatch2"
{
"windows" "161"
"linux" "366"
}
/* Offset into gamerules constructor */
"g_pGameRules"
7. Go in the directory: cstrike/cfg/cssdm/
8. Change the file with the name
cssdm.cfg.
Contents:
Code:
....
// Sets whether or not CS:S DM is enabled.
// --
// Default: "1"
cssdm_enabled "1"
// Sets whether FFA mode is enabled. FFA lets
// players kill teammates for points, without any
// damage reduction or teamkill penalties.
// --
// Default: "0"
cssdm_ffa_enabled "1"
....
9. Go in the directory: cstrike/cfg/
10. Change the file with the name
server.cfg or create them.
Contents:
Code:
// ----------------------
// SERVER-Basic-CVARs
// ----------------------
hostname "CSS-DM Test-Server with [FFA]"
rcon_password "cssdm123ffa"
sv_password ""
// ----------------------
// SERVER-CVARs for FFA
// ----------------------
mp_autoteambalance "1"
mp_friendlyfire "0" // the value must be 0 for FFA
mp_spawnprotectiontime "1"
mp_tkpunish "0" // the value must be 0 for FFA
11. Finished
cheers