Post: Spawn Bots
05-20-2015, 08:19 PM #1
-JM-
Space Ninja
(adsbygoogle = window.adsbygoogle || []).push({}); I Have Release a Spawn bot function in my menu Undercover V2 (Alpha)
and a lot of people been asking me for the CODE or how to do it SO
I shall give you a riddle I want to see who's smart Winky Winky

In a game I called the function 0x003E1B60 - SV_ExecuteClientCommand(client_s cl, const char s, int clientOK)
to spawn a bot that was client 10

argument 1 was
0x36791830
number 2 was
Mr 34 6 custom1,0
number 3 was
0x01
client 10

Then called the same function to spawn a bot that was client 7
argument 1 was
0x366622D8
number 2 was
Mr 32 6 custom1,0
number 3 was
0x01
client 7

So this is how I found how to Spawn bots getting the arguments of that function
I shall give you 2 arguments out of 3

argument 1

if you didn't find it yourself forget it
-Answer-
(0x3639E660 + (x * 0x651C8 ))


argument 2

I'm not giving you all of it
"mr "+X+" 6 custom1,0"
X is the real goal of this riddle and I won't be giving it away

argument 3

0x01 or true


Have fun guys =D

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

Eddie Mac, koekiemonstarr2
05-21-2015, 05:09 PM #2
SC58
Former Staff
Originally posted by JM
I Have Release a Spawn bot function in my menu Undercover V2 (Alpha)
and a lot of people been asking me for the CODE or how to do it SO
I shall give you a riddle I want to see who's smart Winky Winky

In a game I called the function 0x003E1B60 - SV_ExecuteClientCommand(client_s cl, const char s, int clientOK)
to spawn a bot that was client 10

argument 1 was
0x36791830
number 2 was
Mr 34 6 custom1,0
number 3 was
0x01
client 10

Then called the same function to spawn a bot that was client 7
argument 1 was
0x366622D8
number 2 was
Mr 32 6 custom1,0
number 3 was
0x01
client 7

So this is how I found how to Spawn bots getting the arguments of that function
I shall give you 2 arguments out of 3

argument 1

if you didn't find it yourself forget it
-Answer-
(0x3639E660 + (x * 0x651C8 ))


argument 2

I'm not giving you all of it
"mr "+X+" 6 custom1,0"
X is the real goal of this riddle and I won't be giving it away

argument 3

0x01 or true


Have fun guys =D


SV_ExecuteClientCommand is 4 args not 3 :p

    
void SV_ExecuteClientCommand(int client_t, const char *s, int clientOK, int fromOldServer)

int SV_AddTestClient()

#define sv_serverId_value 0x1695240

int Client_t(int clientNum)
{
return *(int*)0x169529C + (0x651C8 * clientNum);
}

The following user thanked SC58 for this useful post:

-JM-
05-21-2015, 06:37 PM #3
-JM-
Space Ninja
Originally posted by SC58 View Post
SV_ExecuteClientCommand is 4 args not 3 :p

    
void SV_ExecuteClientCommand(int client_t, const char *s, int clientOK, int fromOldServer)

int SV_AddTestClient()

#define sv_serverId_value 0x1695240

int Client_t(int clientNum)
{
return *(int*)0x169529C + (0x651C8 * clientNum);
}


Well it works without the 4th but thanks for sharing and how would you get the 2nd argument? That's were most people gets stuck Winky Winky
05-21-2015, 06:51 PM #4
SC58
Former Staff
Originally posted by JM
Well it works without the 4th but thanks for sharing and how would you get the 2nd argument? That's were most people gets stuck Winky Winky


most the time the last would be 0 unless u want something from oldserver to be true and the const char* is matter what u wanna execute in the function, u can look at the clientcommand to see what all there is to execute or u could hook the function and monitor everything that SV_Executeclientcommand runs
05-21-2015, 07:00 PM #5
Eddie Mac
At least I can fight
Originally posted by JM
I Have Release a Spawn bot function in my menu Undercover V2 (Alpha)
and a lot of people been asking me for the CODE or how to do it SO
I shall give you a riddle I want to see who's smart Winky Winky

In a game I called the function 0x003E1B60 - SV_ExecuteClientCommand(client_s cl, const char s, int clientOK)
to spawn a bot that was client 10

argument 1 was
0x36791830
number 2 was
Mr 34 6 custom1,0
number 3 was
0x01
client 10

Then called the same function to spawn a bot that was client 7
argument 1 was
0x366622D8
number 2 was
Mr 32 6 custom1,0
number 3 was
0x01
client 7

So this is how I found how to Spawn bots getting the arguments of that function
I shall give you 2 arguments out of 3

argument 1

if you didn't find it yourself forget it
-Answer-
(0x3639E660 + (x * 0x651C8 ))


argument 2

I'm not giving you all of it
"mr "+X+" 6 custom1,0"
X is the real goal of this riddle and I won't be giving it away

argument 3

0x01 or true


Have fun guys =D


Good work man, keep it up Enzo

The following user thanked Eddie Mac for this useful post:

-JM-
05-21-2015, 07:28 PM #6
-JM-
Space Ninja
Originally posted by SC58 View Post
most the time the last would be 0 unless u want something from oldserver to be true and the const char* is matter what u wanna execute in the function, u can look at the clientcommand to see what all there is to execute or u could hook the function and monitor everything that SV_Executeclientcommand runs


I know that what people can't get is the value after mr
"mr "+value+" rest of string , bool"
But I'm sure that's not even hard for you I had to search like a bastard

Yo I had found the Client_T long time ago but what does it contain could there be anything interesting in that ?
Originally posted by Eddie
Good work man, keep it up Enzo


Thanks
Last edited by -JM- ; 05-21-2015 at 07:41 PM.
05-21-2015, 07:55 PM #7
SC58
Former Staff
Originally posted by JM
I know that what people can't get is the value after mr
"mr "+value+" rest of string , bool"
But I'm sure that's not even hard for you I had to search like a bastard

Yo I had found the Client_T long time ago but what does it contain could there be anything interesting in that ?


Thanks


You must login or register to view this content.

    
sprintf(buffer, "mr %i 6 custom1,0", *(int*)sv_serverId_value);


sv_serverId_value goes into %i

Here is PC struct of client_t on bo1 if u wanna understand what all it holds
You must login or register to view this content.
pretty much holds all the clients info
Last edited by SC58 ; 05-21-2015 at 08:18 PM.

The following user thanked SC58 for this useful post:

-JM-
05-21-2015, 09:44 PM #8
-JM-
Space Ninja
Originally posted by SC58 View Post
You must login or register to view this content.

    
sprintf(buffer, "mr %i 6 custom1,0", *(int*)sv_serverId_value);


sv_serverId_value goes into %i

Here is PC struct of client_t on bo1 if u wanna understand what all it holds
You must login or register to view this content.
pretty much holds all the clients info

thanks thats cool to know the Client_t nice job and You ruined my riddle :/ I guess if you wouldn't of done it no one would of lol who's coding bo1 anyway
Thanks for the client_t Winky Winky

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo