Post: [1.14] Bots
04-05-2014, 06:31 AM #1
makeabce
I defeated!
(adsbygoogle = window.adsbygoogle || []).push({}); Hi,just found way to spawn bots in mw2!
But the problem is, they automaticly go to spectator, any ideas?

Here is the RPC Needed: You must login or register to view this content. ( Add to your project)
Here is how to spawn bot: (Add this to your RTM Too/Menu)
    
public void Sv_AddTestClient(int numberOfTestClients)
{
RPC.CallFunc(0x002189D8, numberOfTestClients);
}

The following 8 users say thank you to makeabce for this useful post:

Glitchy_Modz, KRYPTHON, Leo, Mango_Knife, John, ThePaaqoHD, xAJM

The following 5 users groaned at makeabce for this awful post:

ErasedDev, milky4444, primetime43, VezahMoDz, ViolentFelon
04-05-2014, 08:48 AM #2
Mango_Knife
In my man cave
Originally posted by makeabce View Post
Hi,just found way to spawn bots in mw2!
But the problem is, they automaticly go to spectator, any ideas?

Here is the RPC Needed: You must login or register to view this content. ( Add to your project)
Here is how to spawn bot: (Add this to your RTM Too/Menu)
    
public void Sv_AddTestClient(int numberOfTestClients)
{
RPC.CallFunc(0x002189D8, numberOfTestClients);
}


Its working, but the bots are spectating, any way i can spawn them?
04-05-2014, 02:42 PM #3
makeabce
I defeated!
Originally posted by Knife View Post
Its working, but the bots are spectating, any way i can spawn them?


Yeah, that's exactly i was wondering too... ask enstone? Cool Troll
04-05-2014, 04:39 PM #4
Yeah i figured that out to and i know how to do it but i need someone that knows about rpc.. we need to use sv_executeclientcommand which is SV_ExecuteClientCommand(client_s *cl, const char *s, int clientOK) so if someone knows how to do that or knows where to start i can help them make the code.. i got bots in game just in spectator like 2 months ago lol Happy
04-05-2014, 05:42 PM #5
VezahMoDz
Do a barrel roll!
Originally posted by xFatalCoder View Post
Yeah i figured that out to and i know how to do it but i need someone that knows about rpc.. we need to use sv_executeclientcommand which is SV_ExecuteClientCommand(client_s *cl, const char *s, int clientOK) so if someone knows how to do that or knows where to start i can help them make the code.. i got bots in game just in spectator like 2 months ago lol Happy


i have it working in ghosts lol, i had this method for like 4 months xDD but we need to find sv_executeClientCommandvalue..
04-05-2014, 06:34 PM #6
EncepT
I defeated!
why somebody just dont ask Enstone Happy its the easiest way
04-05-2014, 07:00 PM #7
Originally posted by VezahMoDz View Post
i have it working in ghosts lol, i had this method for like 4 months xDD but we need to find sv_executeClientCommandvalue..

i know lol i just said that.. we need real client_s value and the const char *s which is just a string that tells them what team to assign to and the the int clientok which i think is just 1
04-05-2014, 07:24 PM #8
VezahMoDz
Do a barrel roll!
Originally posted by xFatalCoder View Post
i know lol i just said that.. we need real client_s value and the const char *s which is just a string that tells them what team to assign to and the the int clientok which i think is just 1


i know what we need i also have the string and stuff, the only thing im still missing is the commandvalue which is Int32: 16 in ghosts
04-06-2014, 09:54 AM #9
VezahMoDz
Do a barrel roll!
Originally posted by xEyeFinity View Post
why somebody just dont ask Enstone Happy its the easiest way


Because he will never tell us stare
04-06-2014, 10:05 AM #10
EncepT
I defeated!

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo