Post: MW3 C# Spawn Bot Help
04-16-2017, 02:55 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I have a function to spawn a bot but it appears as a spectator. Can you help me get him into a team and he's a class? Please
(adsbygoogle = window.adsbygoogle || []).push({});
04-16-2017, 03:20 PM #2
SC58
Former Staff
you need to use sv_executeclientcommand or scr_notify

The following user thanked SC58 for this useful post:

tobi59320
04-16-2017, 03:52 PM #3
I have offsets but I do not know how to code it you can do it to me? please

public static uint Scr_Notify = 0x1bb1b0;
public static uint Sv_ExecuteClientCommand = 0x182dec;
04-22-2017, 01:31 PM #4
No one to help me?
04-23-2017, 04:40 PM #5
TC-Noob
Save Point
sorry i dont know how to help :(
04-24-2017, 08:33 PM #6
SMT_Unbanned
Do a barrel roll!
Originally posted by tobi59320 View Post
I have a function to spawn a bot but it appears as a spectator. Can you help me get him into a team and he's a class? Please

    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", "");
}


Nice Copy Paste from my Source :P

The following user thanked SMT_Unbanned for this useful post:

tobi59320
04-24-2017, 10:17 PM #7
You did not want to help me ^^
04-25-2017, 02:45 PM #8
SMT_Unbanned
Do a barrel roll!
Originally posted by tobi59320 View Post
You did not want to help me ^^

Yeah and now i see my code on NGU gg Winky Winky
04-25-2017, 02:45 PM #9
SMT_Unbanned
Do a barrel roll!
Originally posted by tobi59320 View Post
You did not want to help me ^^

Yeah and now i see my code on NGU gg Winky Winky
04-25-2017, 03:37 PM #10
Originally posted by Unbanned View Post
Yeah and now i see my code on NGU gg Winky Winky


Lol being mad because of a code that shark released for c++ you just converted it to c# every idiot could do that Facepalm

The following 2 users say thank you to OhBOOY for this useful post:

kiwi_modz, S63

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo