Author Topic: Bots System ( By Me ) ( Pawn )  (Read 6873 times)

0 Members and 1 Guest are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Bots System ( By Me ) ( Pawn )
« on: March 06, 2013, 02:48:34 pm »
here is fake bots
Code: [Select]
new RandomMSG[][]=
{

    "[BOT] : Is Online Now",
    "[BOT] : Is Active Now",
    "[BOT] : Is Now Going",
    "[BOT] : Irc admin Active",
    "[BOT] : Server Protector Online",
    "[BOT] : Help Center Online",
    "[BOT] : Server Is Online"

};
forward SendMSG();
new RandomMSG2[][]=
{

    "[BOT] : HELLO VCMP",
    "[BOT] : How Are You All",
    "[BOT] : Dont HAck Or Get Ban",
    "[BOT] : Dont Abuse Or Ban",
    "[BOT] : use /c getcar and get any vehicle",
    "[BOT] : I Am Created By Spider",
    "[BOT] : Server Is Created By Spider"

};
forward SendMSG2();

Code: [Select]
public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(0xFF007FFF, RandomMSG[randMSG]); // Replace the "COLOR" with your defined color.
}
public SendMSG2()
{
    new randMSG2 = random(sizeof(RandomMSG2));
    SendClientMessageToAll(0xFF007FFF, RandomMSG2[randMSG2]); // Replace the "COLOR" with your defined color.
}

Code: [Select]
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
SetTimer("DisplayBots",1000*60*1,1);
SetTimer("timechange", 10000, false);

Code: [Select]
else if ( strcmp( cmd, "botoff", true ) == 0 )
{
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else
{
 KillTimer(1);
 KillTimer(2);
 KillTimer(3);
 KillTimer(4);
}
return 1;
}
else if (strcmp(cmd, "setbot", true) == 0) {
new setbots[256];
tmp = strtok(cmdtext, idx);
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_RED, "You need to Rcon login first!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c setbot text");
else {
format(file, sizeof(file), "/Bots/Bots.ini", "Bots");
   format(setbots,sizeof(setbots),"Bot %s : %s",gPlayers[playerid],cmdtext[7]);
dini_Set(file, "Bots", setbots);
}
return 1;
}
else if ( strcmp( cmd, "boton", true ) == 0 )
{
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else
{
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
}
return 1;
}

Code: [Select]
//=========BOT REPLY
else if (strcmp(cmd, "f9-n-u", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
    return 1;
}
else if (strcmp(cmd, "f9-and-u", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
    return 1;
}
else if (strcmp(cmd, "fine-and-you", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
    return 1;
}
else if (strcmp(cmd, "thanks", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] your welcome");
    return 1;
}
else if (strcmp(cmd, "are-you-a-bot", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] Yes i am a bot");
    return 1;
}
else if (strcmp(cmd, "is-this-server-is-sq", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] no");
    return 1;
}
else if (strcmp(cmd, "is-this-server-is-pawn", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] yes");
    return 1;
}
else if (strcmp(cmd, "id", true) == 0 )
{
 SendClientMessage(playerid, RED," [BOT] our account on fb mrockx mani");
    return 1;
}

Code: [Select]
public DisplayBots()
{
new Msg[256];
new xgv[256];
format(file, sizeof(file), "/Bots/Bots.ini");
xgv = dini_Get(file, "Bots");

    format(Msg,sizeof(Msg),"[BOT] %s Online You Can CHat Now",xgv);
SendClientMessageToAll(COLOR_YELLOW, Msg);
return 1;
}
all here
need any help ask here
any bug post here
« Last Edit: March 18, 2014, 04:33:43 pm by mrockxkingbutt »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #1 on: March 06, 2013, 05:03:56 pm »
SetWorldTime is a bugged function !

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #2 on: March 06, 2013, 06:26:26 pm »
wtf??

:P :P :P for people alone in the server :P :P :P "people whit not port forward"
 ;D ;D ;D ;D ;D ;D ;D ;D
 :o :o :o :o :o :o :o
« Last Edit: March 06, 2013, 06:38:28 pm by aledark24 »
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #3 on: March 06, 2013, 08:52:30 pm »
TRUE SEBY

ALEDARK
BOTS ARE FAKE BECUZ BOTS ARE ONLY FOR ALONE GUYS LOL
But This is a tutorial how to make fake bots :D
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #4 on: March 06, 2013, 09:49:55 pm »
TRUE SEBY

So why you made the change time system if you knew that ?  :-X
It makes lag and is useless.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #5 on: March 06, 2013, 10:05:14 pm »
TRUE SEBY
Quote
I DONT KNOW THAT ABOUT WORLDTIME

But I Like Bot System ;)

My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #6 on: March 07, 2013, 02:20:41 am »
It's not a bot when you have to tell the bot what to do.
Do not PM me for support.




Offline USA.Ghost

  • Street Thug
  • *
  • Posts: 42
  • Pawn Scripter, IT Professional
    • View Profile
    • NE Clan Official forum
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #7 on: March 08, 2013, 11:16:59 am »
here is fake bots
[pawn]new RandomMSG[][]=
{

    "[BOT] : Is Online Now",
    "[BOT] : Is Active Now",
    "[BOT] : Is Now Going",
    "[BOT] : Irc admin Active",
    "[BOT] : Server Protector Online",
    "[BOT] : Help Center Online",
    "[BOT] : Server Is Online"

};
forward SendMSG();
new RandomMSG2[][]=
{

    "[BOT] : HELLO VCMP",
    "[BOT] : How Are You All",
    "[BOT] : Dont HAck Or Get Ban",
    "[BOT] : Dont Abuse Or Ban",
    "[BOT] : use /c getcar and get any vehicle",
    "[BOT] : I Am Created By Spider",
    "[BOT] : Server Is Created By Spider"

};
forward SendMSG2();[/pawn]

[pawn]public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(0xFF007FFF, RandomMSG[randMSG]); // Replace the "COLOR" with your defined color.
}
public SendMSG2()
{
    new randMSG2 = random(sizeof(RandomMSG2));
    SendClientMessageToAll(0xFF007FFF, RandomMSG2[randMSG2]); // Replace the "COLOR" with your defined color.
}      [/pawn]

[pawn]SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
SetTimer("DisplayBots",1000*60*1,1);
SetTimer("timechange", 10000, false);[/pawn]

[pawn]         else if ( strcmp( cmd, "botoff", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else
      {
 KillTimer(1);
 KillTimer(2);
 KillTimer(3);
 KillTimer(4);
      }
      return 1;
   }
          else if (strcmp(cmd, "setbot", true) == 0) {
      new setbots[256];
      tmp = strtok(cmdtext, idx);
      if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_RED, "You need to Rcon login first!");
      else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c setbot text");
      else {
         format(file, sizeof(file), "/Bots/Bots.ini", "Bots");
   format(setbots,sizeof(setbots),"Bot %s : %s",gPlayers[playerid],cmdtext[7]);
         dini_Set(file, "Bots", setbots);
      }
      return 1;
   }      
         else if ( strcmp( cmd, "boton", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else
      {
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
      }
      return 1;
   }[/pawn]

[pawn]      //=========BOT REPLY
      else if (strcmp(cmd, "f9 n u", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "f9 and u", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "fine and you", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "thanks", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] your welcome");
       return 1;
      }
      else if (strcmp(cmd, "are you a bot", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] Yes i am a bot");
       return 1;
      }
      else if (strcmp(cmd, "is this server is sq", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] no");
       return 1;
      }
      else if (strcmp(cmd, "is this server is pawn", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] yes");
       return 1;
      }
      else if (strcmp(cmd, "id", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] our account on fb mrockx mani");
       return 1;
      }[/pawn]

[pawn]public DisplayBots()
{
new Msg[256];
      new xgv[256];
   format(file, sizeof(file), "/Bots/Bots.ini");
   xgv = dini_Get(file, "Bots");
   
          format(Msg,sizeof(Msg),"[BOT] %s Online You Can CHat Now",xgv);
         SendClientMessageToAll(COLOR_YELLOW, Msg);

}
public timechange()
{
SetWorldTime(21,10);
SetTimer("timechange2", 100000, false);
}
public timechange2()
{
SetWorldTime(25,10);
SetTimer("timechange3", 100000, false);
}      
public timechange3()
{
SetWorldTime(1,10);
SetTimer("timechange4", 100000, false);
}      
public timechange4()
{
SetWorldTime(5,10);
SetTimer("timechange5", 100000, false);
}      
public timechange5()
{
SetWorldTime(10,10);
}         [/pawn]
all here
need any help ask here
any bug post here

Nice mrockxxingbutt :P
however, samp has real bots/npcs, that look like players



Click the Click Here button on top to earn free cash by completing offers, surveys, refer others and much more

Click here to join my clan

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #8 on: March 08, 2013, 12:29:32 pm »
THANKS GHOST
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #9 on: March 08, 2013, 03:00:53 pm »
-,- vcmp now cant create bots. It just auto msg. And if you join your server with 0 players, you still forever alone :.P
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline USA.Ghost

  • Street Thug
  • *
  • Posts: 42
  • Pawn Scripter, IT Professional
    • View Profile
    • NE Clan Official forum
Re: Bots System + time change v1 by me (FAKE BOTS BUT BOTS)
« Reply #10 on: March 15, 2013, 10:47:56 am »
here is fake bots
[pawn]new RandomMSG[][]=
{

    "[BOT] : Is Online Now",
    "[BOT] : Is Active Now",
    "[BOT] : Is Now Going",
    "[BOT] : Irc admin Active",
    "[BOT] : Server Protector Online",
    "[BOT] : Help Center Online",
    "[BOT] : Server Is Online"

};
forward SendMSG();
new RandomMSG2[][]=
{

    "[BOT] : HELLO VCMP",
    "[BOT] : How Are You All",
    "[BOT] : Dont HAck Or Get Ban",
    "[BOT] : Dont Abuse Or Ban",
    "[BOT] : use /c getcar and get any vehicle",
    "[BOT] : I Am Created By Spider",
    "[BOT] : Server Is Created By Spider"

};
forward SendMSG2();[/pawn]

[pawn]public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(0xFF007FFF, RandomMSG[randMSG]); // Replace the "COLOR" with your defined color.
}
public SendMSG2()
{
    new randMSG2 = random(sizeof(RandomMSG2));
    SendClientMessageToAll(0xFF007FFF, RandomMSG2[randMSG2]); // Replace the "COLOR" with your defined color.
}      [/pawn]

[pawn]SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
SetTimer("DisplayBots",1000*60*1,1);
SetTimer("timechange", 10000, false);[/pawn]

[pawn]         else if ( strcmp( cmd, "botoff", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else
      {
 KillTimer(1);
 KillTimer(2);
 KillTimer(3);
 KillTimer(4);
      }
      return 1;
   }
          else if (strcmp(cmd, "setbot", true) == 0) {
      new setbots[256];
      tmp = strtok(cmdtext, idx);
      if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_RED, "You need to Rcon login first!");
      else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c setbot text");
      else {
         format(file, sizeof(file), "/Bots/Bots.ini", "Bots");
   format(setbots,sizeof(setbots),"Bot %s : %s",gPlayers[playerid],cmdtext[7]);
         dini_Set(file, "Bots", setbots);
      }
      return 1;
   }      
         else if ( strcmp( cmd, "boton", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else
      {
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
      }
      return 1;
   }[/pawn]

[pawn]      //=========BOT REPLY
      else if (strcmp(cmd, "f9 n u", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "f9 and u", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "fine and you", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "thanks", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] your welcome");
       return 1;
      }
      else if (strcmp(cmd, "are you a bot", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] Yes i am a bot");
       return 1;
      }
      else if (strcmp(cmd, "is this server is sq", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] no");
       return 1;
      }
      else if (strcmp(cmd, "is this server is pawn", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] yes");
       return 1;
      }
      else if (strcmp(cmd, "id", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] our account on fb mrockx mani");
       return 1;
      }[/pawn]

[pawn]public DisplayBots()
{
new Msg[256];
      new xgv[256];
   format(file, sizeof(file), "/Bots/Bots.ini");
   xgv = dini_Get(file, "Bots");
   
          format(Msg,sizeof(Msg),"[BOT] %s Online You Can CHat Now",xgv);
         SendClientMessageToAll(COLOR_YELLOW, Msg);

}
public timechange()
{
SetWorldTime(21,10);
SetTimer("timechange2", 100000, false);
}
public timechange2()
{
SetWorldTime(25,10);
SetTimer("timechange3", 100000, false);
}      
public timechange3()
{
SetWorldTime(1,10);
SetTimer("timechange4", 100000, false);
}      
public timechange4()
{
SetWorldTime(5,10);
SetTimer("timechange5", 100000, false);
}      
public timechange5()
{
SetWorldTime(10,10);
}         [/pawn]
all here
need any help ask here
any bug post here


thnks for the msg code, now i can create even more advanced bot system



Click the Click Here button on top to earn free cash by completing offers, surveys, refer others and much more

Click here to join my clan