SV_AddTestClient(500U);
public void SV_AddTestClient(uint Bot = 500)
{
uint client = (int)Bot != 500 ? Bot : ReturnFreeBotSlot();
uint num1 = (uint)Call(2686528U);
uint num2 = (uint)Call(133436U);
uint num3 = (uint)Call(2008848U);
uint num4 = (uint)Call(2008896U);
string str = sprintf("connect bot%d \"\\natType\\1\\cg_predictItems\\1\\cl_anonymous\\0\\color\\4\\head\\default\\model\\multi\\snaps\\20\\rate\\20000\\name\\bot%d\\protocol\\%d\\checksum\\%d\\statver\\%d %u\\qport\\%d\"", (object)client, (object)client, (object)num1, (object)num2, (object)num3, (object)num4, (object)client);
PS3.SetMemory(25362432U, new byte[32]);
PS3.Extension.WriteUInt16(25362437U, (ushort)client);
Call(1948192U, (object)str);
Call(2252916U, (object)25362432);
Call(1946916U);
PS3.Extension.WriteUInt16(getClient_t(client) + 217834U, (ushort)1023);
PS3.Extension.WriteUInt16(getClient_t(client) + 48U, (ushort)client);
Call(2262264U, (object)getClient_t(client));
Call(2257628U, (object)getClient_t(client), (object)25362432);
}
public string sprintf(string input, params object[] inpVars)
{
try
{
int i = -1;
input = Regex.Replace(input, "%.", (MatchEvaluator)(m => "{" + (object)++i + "}"));
return string.Format(input, inpVars);
}
catch
{
return "Error!";
}
}
public uint getClient_t(uint client)
{
return PS3.Extension.ReadUInt32(24883728U) + client * 428928U;
}
public uint ReturnFreeBotSlot()
{
for (uint index = 0; index < GetClientCout(); ++index)
{
if (GetName((int)index) == "")
return index;
}
return 0;
}
public uint GetClientCout()
{
return (uint)PS3.Extension.ReadByte(24883727U);
}
public string GetName(int client)
{
return PS3.Extension.ReadString((uint)(17880588 + 14720 * client)).Replace("\0", "");
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.