CNetMsg_Sv_ClientDrop
with silent = true
followed by a CNetMsg_Sv_ClientInfo
//tune for freezed tees
void CGameContext::SendFakeTuningParams(int ClientID)
{
static CTuningParams FakeTuning;
FakeTuning.m_GroundControlSpeed = 0;
FakeTuning.m_GroundJumpImpulse = 0;
FakeTuning.m_GroundControlAccel = 0;
FakeTuning.m_AirControlSpeed = 0;
FakeTuning.m_AirJumpImpulse = 0;
FakeTuning.m_AirControlAccel = 0;
FakeTuning.m_HookDragSpeed = 0;
FakeTuning.m_HookDragAccel = 0;
FakeTuning.m_HookFireSpeed = 0;
CMsgPacker Msg(NETMSGTYPE_SV_TUNEPARAMS);
int *pParams = (int *)&FakeTuning;
for(unsigned i = 0; i < sizeof(FakeTuning)/sizeof(int); i++)
Msg.AddInt(pParams[i]);
Server()->SendMsg(&Msg, MSGFLAG_VITAL, ClientID);
}
$ grep sv_port autoexec.cfg
./DDNet-Server
and it should show my rcon pw, but all what it sais is that server port 8310 mihte be alredy in use
.