View Single Post
Carnifex
Junior Member
Join Date: Dec 2019
Old 12-04-2019 , 14:21   Re: CS:S Team Balance
Reply With Quote #655

Figured it out. It's a problem with the windows-settings. I found the game-rules in the sm-core (games.css.txt) and pasted it in teambalance.games.txt.

I didn't find "SetModel" so i took it from "SetModelFromClass". Works on my machine. When i switch to the linux server, i will check if the settings are ok.

Code:
"Games"
{
	"cstrike"
	{
		"Signatures"
		{
			"RoundRespawn"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\x10\x8B"
				"linux"		"@_ZN9CCSPlayer12RoundRespawnEv"
			}
			"SwitchTeam"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x83\xEC\x2A\x89\x4D\x2A\x8B\x45\x2A\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\x85\xC0\x74"
				"linux"		"@_ZN9CCSPlayer10SwitchTeamEi"
			}
			"SetModel"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x83\xEC\x34\x89\x4D\xFC\x8B\x4D\xFC\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02"
				"linux"		"@_ZN11CBaseEntity8SetModelEPKc"
			}
			"CSWeaponDrop"
			{
				"library"	"server"
				"windows"	"\x2A\x2A\x2A\x2A\x2A\x2A\x01\x00\x00\x89\x4D\xFC\xC6\x45\x2A\x2A\x8B\x4D\x2A\xE8\x2A\x2A\x2A\x2A\x0F\xB6\xC0"
				"linux"		"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
			}
		}
	}
}
Carnifex is offline