GSC (For azzas) Fake player join and leave

Hue

Well-Known Member
Messages
20
Points
218
Hey lads and plebs
I have achieved a new code

Be warned its a pretty big code :expressionless:
toggleNiggers()
{
if(self.nig == 0)
{
self.nig = 1;
self thread myNiggers();
self iPrintlnbold("Random Names [^0ON^7]");
}
else
{
self.nig = 0;
self notify("stopList");
self iPrintlnbold("Random Names [^0OFF^7]");
}
}

myNiggers()
{
level endon("game_ended");
self endon("disconnect");
self endon("stopList");
names=[];
names[0]="bossisthebest123";
names[1]="JayzuzDaGod";
names[2]="anthonybooger";
names[3]="Cern_Nastii";
names[4]="Dxnpi";
names[5]="Jynx_Wolffy";
names[6]="Mars_Sham";
names[7]="SoaR_Theves";
names[8]="Chay_BW";
names[9]="darock008";
names[10]="payton_kielsa";
names[11]="RawTumor";
names[12]="HaXingAstro";
names[13]="Nemo_BW";
names[14]="S3_Scuf";
names[15]="Nine_zSparks";
names[16]="chnj";
names[17]="BusterMods";
names[18]="Seg_Karma";
names[19]="StaqLegacy";
names[20]="tretre-92";
names[21]="Phrasable";
names[22]="ADOLF-Hyytler";
LeaveOrJoin=[];
LeaveOrJoin[1]="Connected";
LeaveOrJoin[2]="left the game";
LeaveOrJoin[3]="Timed Out";
Clans=[];
Clans[1]="[Oh]";
Clans[2]="[Swag]";
Clans[3]="[Bank]";
Clans[4]="[FaZe]";
Clans[5]="[OpTc]";
Clans[6]="[yTry]";
Clans[7]="[Camo]";
Clans[8]="[Camp]";
Clans[9]="[iTry]";
Clans[10]="[iSuk]";
Clans[11]="[uSuk]";
Clans[12]="[YT]";
Clans[13]="";
Clans[14]="";
Clans[15]="";
Clans[16]="";
Clans[17]="";
for(;:wink:
{
randNig = names[randomint(names.size)];
status = LeaveOrJoin[randomint(LeaveOrJoin.size)];
clantag = Clans[randomint(Clans.size)];
time = randomIntRange(7,25);
self iprintln(clantag + "" + randNig + " " + status);
wait time;
}
}

The clantags, names and operation codes can all be changed :y:
This code is basically only used in azzas to make it look like people are joining and leaving, Enjoy! :y:
 

The Dark Side

Former Staff Member
Messages
1,006
Points
568
No way. Changing names with GSC. Never thought id see it. Very interesting. This can be optimized further. Very good job. <3
 
  • Like
Reactions: Hue

Liam

I'm a god
Messages
191
Points
393
No way. Changing names with GSC. Never thought id see it. Very interesting. This can be optimized further. Very good job. <3
it's been a known thing for as while but doesnt work on bo2.

Here is cod4 example.
Code:
nigger()
{
  self setclientdvar("userinfo \\name\\", "I AM A BIG FAT ****");
}
 

thahitcrew

Modder
Messages
220
Points
163
Hey lads and plebs
I have achieved a new code

Be warned its a pretty big code :expressionless:
toggleNiggers()
{
if(self.nig == 0)
{
self.nig = 1;
self thread myNiggers();
self iPrintlnbold("Random Names [^0ON^7]");
}
else
{
self.nig = 0;
self notify("stopList");
self iPrintlnbold("Random Names [^0OFF^7]");
}
}

myNiggers()
{
level endon("game_ended");
self endon("disconnect");
self endon("stopList");
names=[];
names[0]="bossisthebest123";
names[1]="JayzuzDaGod";
names[2]="anthonybooger";
names[3]="Cern_Nastii";
names[4]="Dxnpi";
names[5]="Jynx_Wolffy";
names[6]="Mars_Sham";
names[7]="SoaR_Theves";
names[8]="Chay_BW";
names[9]="darock008";
names[10]="payton_kielsa";
names[11]="RawTumor";
names[12]="HaXingAstro";
names[13]="Nemo_BW";
names[14]="S3_Scuf";
names[15]="Nine_zSparks";
names[16]="chnj";
names[17]="BusterMods";
names[18]="Seg_Karma";
names[19]="StaqLegacy";
names[20]="tretre-92";
names[21]="Phrasable";
names[22]="ADOLF-Hyytler";
LeaveOrJoin=[];
LeaveOrJoin[1]="Connected";
LeaveOrJoin[2]="left the game";
LeaveOrJoin[3]="Timed Out";
Clans=[];
Clans[1]="[Oh]";
Clans[2]="[Swag]";
Clans[3]="[Bank]";
Clans[4]="[FaZe]";
Clans[5]="[OpTc]";
Clans[6]="[yTry]";
Clans[7]="[Camo]";
Clans[8]="[Camp]";
Clans[9]="[iTry]";
Clans[10]="[iSuk]";
Clans[11]="[uSuk]";
Clans[12]="[YT]";
Clans[13]="";
Clans[14]="";
Clans[15]="";
Clans[16]="";
Clans[17]="";
for(;:wink:
{
randNig = names[randomint(names.size)];
status = LeaveOrJoin[randomint(LeaveOrJoin.size)];
clantag = Clans[randomint(Clans.size)];
time = randomIntRange(7,25);
self iprintln(clantag + "" + randNig + " " + status);
wait time;
}
}

The clantags, names and operation codes can all be changed :y:
This code is basically only used in azzas to make it look like people are joining and leaving, Enjoy! :y:
Cool function!
I recommend using the strTok() function for creating arrays in GSC tho, it'll save you a bunch of space! :grinning:
Example, this is your same code but optimized using the strTok() function:

PHP:
toggleNiggers()
{
    if(self.nig == 0)
    {
      self.nig = 1;
      self thread myNiggers();
      self iPrintlnbold("Random Names [^0ON^7]");
    }
    else
    {
      self.nig = 0;
      self notify("stopList");
      self iPrintlnbold("Random Names [^0OFF^7]");
    }
}

myNiggers()
{
    level endon("game_ended");
    self endon("disconnect");
    self endon("stopList");
    names = strTok("bossisthebest123;JayzuzDaGod;anthonybooger;Cern_Nastii;Dxnpi;Jynx_Wolffy;Mars_Sham;SoaR_Theves;Chay_BW;darock008;payton_kielsa;RawTumor;HaXingAstro;Nemo_BW;S3_Scuf;Nine_zSparks;chnj;BusterMods;Seg_Karma;StaqLegacy;tretre-92;Phrasable;ADOLF-Hyytler",";");
    LeaveOrJoin = strTok("Connected;left the game;Timed Out",";");
    Clans = strTok("Oh;Swag;Bank;FaZe;OpTc;yTry;Camo;Camp;iTry;iSuk;uSuk;YT",";");
    for(;;)
    {
          randNig = names[randomint(names.size)];
          status = LeaveOrJoin[randomint(LeaveOrJoin.size)];
          clantag = Clans[randomint(Clans.size)];
          time = randomIntRange(7,25);
          self iprintln(clantag + "" + randNig + " " + status);
          wait time;
    }
}
 

BullyWiiPlaza

Modder
Messages
214
Points
393
Here, for all players and with proper clan tag brackets:
Code:
fakeJoiningLeaving()
{
    level endon("game_ended");

    playerNames = strTok("bossisthebest123;JayzuzDaGod;anthonybooger;Cern_Nastii;Dxnpi;Jynx_Wolffy;Mars_Sham;SoaR_Theves;Chay_BW;darock008;payton_kielsa;RawTumor;HaXingAstro;Nemo_BW;S3_Scuf;Nine_zSparks;chnj;BusterMods;Seg_Karma;StaqLegacy;tretre-92;Phrasable;ADOLF-Hyytler", ";");
    actions = strTok("connected;left the game;timed out", ";");
    randomClanTags = strTok("Oh;Swag;Bank;FaZe;OpTc;yTry;Camo;Camp;iTry;iSuk;uSuk;YT", ";");

    while(true)
    {
        randomPlayerName = playerNames[randomInt(playerNames.size)];
        randomAction = actions[randomInt(actions.size)];
        randomClanTag = randomClanTags[randomInt(randomClanTags.size)];

        foreach(player in level.players)
        {
            player iPrintln("[" + randomClanTag + "]" + randomPlayerName + " " + randomAction);
        }

        randomWaitingTime = randomIntRange(7, 25);
        wait randomWaitingTime;
    }
}
 
  • Like
Reactions: Hue

Similar threads


Top