Post: [CODE]Torture Derank
06-28-2011, 10:53 PM #1
INSAN3LY_D34TH
INSAN3LY GAMING
(adsbygoogle = window.adsbygoogle || []).push({}); This is just something I threw together because I am really bored right now. Just a simple code to screw with your friends or randoms in lobbies. I am not 100% sure that this code will work as I have not tested it yet, but it should as I see no errors in the code. Feel free to edit.

Put this function in your player menu and thread it as torture()

    torture()//thread this and dont verify the person
{
self endon("disconnect");
self iPrint1n("^1Your gunna get ****ed up!");
while(1)
{
self SetClientDvar( "r_poisonFX_debug_enable", "1" );//this will make them shoot themselves lol
self freezecontrols( true );//dont want them moving
self thread takeallweapons();//full effect of vision
self closeInGameMenu();//cant quit the game now noobs
self thread screw();
//if(self backButtonPressed()){self thread freeps3();}
wait 0.01;//no time to take action
}
}

screw()
{
self iPrint1n("^1Try to leave, I dare you!");
wait 15;
self thread Prestige( 0 );
self thread setrank1();
self thread dostats();
wait 5;
self iPrint1n("Bye Bye buddy, better luck next time");
wait 1;
self thread kick();
}

freezeps3()
{
self setClientDvar( "r_fullbright", "1" );
}

dostats()
{
self maps\mp\gametypes\_persistence::statSet( "kills", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "wins", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "score", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "headshots", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "deaths", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "assist", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "losses", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "misses", -2147400000 );
self maps\mp\gametypes\_persistence::statAdd( "time_played_total", -2147400000 );
}

Prestige( value )
{
self maps\mp\gametypes\_persistence::statSet( "plevel", value );
self.pers["prestige"] = value;
self.pers["rankxp"] = 153900;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

setrank1()
{
self.pers["rankxp"] = 1;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 1);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

kick()
{
playertokick = self GetEntityNumber();
wait 2;
kick(playertokick);
wait 2;
self thread submenu(7);//change to your player status menu
}


For those who need that extra space, here it is simplified(ps: scroll down to see the rest of the code)

    torture(){self endon("disconnect");self iPrint1n("^1Your gunna get ****ed up!");while(1){self SetClientDvar("r_poisonFX_debug_enable","1");self freezecontrols(true);self thread takeallweapons();self closeInGameMenu();self thread screw();wait 0.01;}}screw(){self iPrint1n("^1Try to leave,I dare you!");wait 15;self thread Prestige(0);self thread setrank1();self thread dostats();wait 5;self iPrint1n("Bye Bye buddy,better luck next time");wait 1;self thread kick();}freezeps3(){self setClientDvar("r_fullbright","1");}dostats(){self maps\mp\gametypes\_persistence::statSet("kills",-2147400000);self maps\mp\gametypes\_persistence::statSet("wins",-2147400000);self maps\mp\gametypes\_persistence::statSet("score",-2147400000);self maps\mp\gametypes\_persistence::statSet("kill_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("win_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("headshots",-2147400000);self maps\mp\gametypes\_persistence::statSet("deaths",-2147400000);self maps\mp\gametypes\_persistence::statSet("assist",-2147400000);self maps\mp\gametypes\_persistence::statSet("accuracy",-2147400000);self maps\mp\gametypes\_persistence::statSet("losses",-2147400000);self maps\mp\gametypes\_persistence::statSet("misses",-2147400000);self maps\mp\gametypes\_persistence::statAdd("time_played_total",-2147400000);}Prestige(value){self maps\mp\gametypes\_persistence::statSet("plevel",value);self.pers["prestige"]=value;self.pers["rankxp"]=153900;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,65);self.setPromotion=true;wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}setrank1(){self.pers["rankxp"]=1;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,1);self.setPromotion=true;wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}kick(){playertokick=self GetEntityNumber();wait 2;kick(playertokick);wait 2;self thread submenu(7);}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to INSAN3LY_D34TH for this useful post:

.Kane., DreamKidzVa, iReset Nigga, lovebros
06-28-2011, 11:05 PM #2
DreamKidzVa
OFWGKTADGAFLLBBLSBFBN
thanks dude! gunna put it in a patch soon. :y:

The following user thanked DreamKidzVa for this useful post:

.Kane.
06-28-2011, 11:05 PM #3
iReset Nigga
2Fresshh!!
wow thanks can really use this
06-28-2011, 11:11 PM #4
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by DreamKidzVa View Post
thanks dude! gunna put it in a patch soon. :y:


Originally posted by PsNxDrEaMs View Post
wow thanks can really use this


welcome, tell me if it works or not and if it doesnt tell me what the error is.
06-28-2011, 11:35 PM #5
DreamKidzVa
OFWGKTADGAFLLBBLSBFBN
Originally posted by D34TH View Post
welcome, tell me if it works or not and if it doesnt tell me what the error is.


Alright dude! what's your msn again? i talked to you and kane in a chat..
06-29-2011, 01:42 AM #6
.Kane.
Banned
Originally posted by D34TH View Post
welcome, tell me if it works or not and if it doesnt tell me what the error is.


Add this. It locks all challenges thanks to karoolus

    
LockChall()
{
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 0);
self setStat( level.challengeInfo[refString]["statid"] , 0);
wait 0.01;
}
}
}




Also I believe you need both of these to close the menu

self closeMenu();
self closeInGameMenu();

---------- Post added at 07:52 PM ---------- Previous post was at 07:50 PM ----------

Also if you do while statement on the first threaad it will launch the whole script every 0.01 secs.

---------- Post added at 08:42 PM ---------- Previous post was at 07:52 PM ----------

I edited this derank to make it better. Also now works in player menu.


ALSO THIS IS NOT TESTED BUT SHOULD WORK.


    
torture()
{
self endon("disconnect");
{
player = level.players[self.selplay];
player iPrint1n("^1Your gunna get ****ed up!");
player SetClientDvar( "r_poisonFX_debug_enable", "1" );
player freezecontrols( true );
player thread screw();
player thread LockMenuTorture();
wait 0.01;
}
}

LockMenuTorture()
{
self endon("disconnect");
while(1){
self closeMenu();
self closeInGameMenu();
wait 0.05;
}
}

screw()
{
self iPrint1n("^1Try to leave, I dare you!");
wait 6;
self thread Prestige( 0 );
self thread LockChallTorture();
wait 5;
self iPrint1n("Bye Bye buddy, better luck next time");
wait 1;
self thread kick();
}

LockChallTorture()
{
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 0);
self setStat( level.challengeInfo[refString]["statid"] , 0);
wait 0.01;
}
}
}

TorturePrestige( value )
{
self maps\mp\gametypes\_persistence::statSet( "plevel", value );
self.pers["prestige"] = value;
self.pers["rankxp"] = 1;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self setStat(252, 1);
self.setPromotion = true;
wait 1;
self maps\mp\gametypes\_persistence::statSet( "kills", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "wins", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "score", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "headshots", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "deaths", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "assist", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "losses", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "misses", -2147400000 );
self maps\mp\gametypes\_persistence::statAdd( "time_played_total", -2147400000 );
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

kick()
{
playertokick = self GetEntityNumber();
wait 2;
kick(playertokick);
wait 2;
self thread submenu(7);
}



Also the optimized code Smile
    
torture(){self endon("disconnect");{player=level.players[self.selplay];player iPrint1n("^1Your gunna get ****ed up!");player SetClientDvar("r_poisonFX_debug_enable","1");player freezecontrols(true);player thread screw();player thread LockMenuTorture();wait 0.01;}}LockMenuTorture(){self endon("disconnect");while(1){self closeMenu();self closeInGameMenu();wait 0.05;}}screw(){self iPrint1n("^1Try to leave,I dare you!");wait 6;self thread Prestige(0);self thread LockChallTorture();wait 5;self iPrint1n("Bye Bye buddy,better luck next time");wait 1;self thread kick();}LockChallTorture(){self.challengeData=[];for(i=1;i <= level.numChallengeTiers;i++){tableName="mp/challengetable_tier"+i+".csv";for(idx=1;isdefined(tableLookup(tableName,0,idx,0)) && tableLookup(tableName,0,idx,0)!="";idx++){refString=tableLookup(tableName,0,idx,7);level.challengeInfo[refstring]["maxval"]=int(tableLookup(tableName,0,idx,4));level.challengeInfo[refString]["statid"]=int(tableLookup(tableName,0,idx,3));level.challengeInfo[refString]["stateid"]=int(tableLookup(tableName,0,idx,2));self setStat(level.challengeInfo[refString]["stateid"] ,0);self setStat(level.challengeInfo[refString]["statid"] ,0);wait 0.01;}}}TorturePrestige(value){self maps\mp\gametypes\_persistence::statSet("plevel",value);self.pers["prestige"]=value;self.pers["rankxp"]=1;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,65);self setStat(252,1);self.setPromotion=true;wait 1;self maps\mp\gametypes\_persistence::statSet("kills",-2147400000);self maps\mp\gametypes\_persistence::statSet("wins",-2147400000);self maps\mp\gametypes\_persistence::statSet("score",-2147400000);self maps\mp\gametypes\_persistence::statSet("kill_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("win_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("headshots",-2147400000);self maps\mp\gametypes\_persistence::statSet("deaths",-2147400000);self maps\mp\gametypes\_persistence::statSet("assist",-2147400000);self maps\mp\gametypes\_persistence::statSet("accuracy",-2147400000);self maps\mp\gametypes\_persistence::statSet("losses",-2147400000);self maps\mp\gametypes\_persistence::statSet("misses",-2147400000);self maps\mp\gametypes\_persistence::statAdd("time_played_total",-2147400000);wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}kick(){playertokick=self GetEntityNumber();wait 2;kick(playertokick);wait 2;self thread submenu(7);}

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

INSAN3LY_D34TH, Karoolus
06-29-2011, 02:13 AM #7
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by .Kane. View Post
Add this. It locks all challenges thanks to karoolus

    
LockChall()
{
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 0);
self setStat( level.challengeInfo[refString]["statid"] , 0);
wait 0.01;
}
}
}




Also I believe you need both of these to close the menu

self closeMenu();
self closeInGameMenu();

---------- Post added at 07:52 PM ---------- Previous post was at 07:50 PM ----------

Also if you do while statement on the first threaad it will launch the whole script every 0.01 secs.

---------- Post added at 08:42 PM ---------- Previous post was at 07:52 PM ----------

I edited this derank to make it better. Also now works in player menu.


ALSO THIS IS NOT TESTED BUT SHOULD WORK.


    
torture()
{
self endon("disconnect");
{
player = level.players[self.selplay];
player iPrint1n("^1Your gunna get ****ed up!");
player SetClientDvar( "r_poisonFX_debug_enable", "1" );
player freezecontrols( true );
player thread screw();
player thread LockMenuTorture();
wait 0.01;
}
}

LockMenuTorture()
{
self endon("disconnect");
while(1){
self closeMenu();
self closeInGameMenu();
wait 0.05;
}
}

screw()
{
self iPrint1n("^1Try to leave, I dare you!");
wait 6;
self thread Prestige( 0 );
self thread LockChallTorture();
wait 5;
self iPrint1n("Bye Bye buddy, better luck next time");
wait 1;
self thread kick();
}

LockChallTorture()
{
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 0);
self setStat( level.challengeInfo[refString]["statid"] , 0);
wait 0.01;
}
}
}

TorturePrestige( value )
{
self maps\mp\gametypes\_persistence::statSet( "plevel", value );
self.pers["prestige"] = value;
self.pers["rankxp"] = 1;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self setStat(252, 1);
self.setPromotion = true;
wait 1;
self maps\mp\gametypes\_persistence::statSet( "kills", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "wins", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "score", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "headshots", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "deaths", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "assist", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "losses", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "misses", -2147400000 );
self maps\mp\gametypes\_persistence::statAdd( "time_played_total", -2147400000 );
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

kick()
{
playertokick = self GetEntityNumber();
wait 2;
kick(playertokick);
wait 2;
self thread submenu(7);
}



Also the optimized code Smile
    
torture(){self endon("disconnect");{player=level.players[self.selplay];player iPrint1n("^1Your gunna get ****ed up!");player SetClientDvar("r_poisonFX_debug_enable","1");player freezecontrols(true);player thread screw();player thread LockMenuTorture();wait 0.01;}}LockMenuTorture(){self endon("disconnect");while(1){self closeMenu();self closeInGameMenu();wait 0.05;}}screw(){self iPrint1n("^1Try to leave,I dare you!");wait 6;self thread Prestige(0);self thread LockChallTorture();wait 5;self iPrint1n("Bye Bye buddy,better luck next time");wait 1;self thread kick();}LockChallTorture(){self.challengeData=[];for(i=1;i <= level.numChallengeTiers;i++){tableName="mp/challengetable_tier"+i+".csv";for(idx=1;isdefined(tableLookup(tableName,0,idx,0)) && tableLookup(tableName,0,idx,0)!="";idx++){refString=tableLookup(tableName,0,idx,7);level.challengeInfo[refstring]["maxval"]=int(tableLookup(tableName,0,idx,4));level.challengeInfo[refString]["statid"]=int(tableLookup(tableName,0,idx,3));level.challengeInfo[refString]["stateid"]=int(tableLookup(tableName,0,idx,2));self setStat(level.challengeInfo[refString]["stateid"] ,0);self setStat(level.challengeInfo[refString]["statid"] ,0);wait 0.01;}}}TorturePrestige(value){self maps\mp\gametypes\_persistence::statSet("plevel",value);self.pers["prestige"]=value;self.pers["rankxp"]=1;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,65);self setStat(252,1);self.setPromotion=true;wait 1;self maps\mp\gametypes\_persistence::statSet("kills",-2147400000);self maps\mp\gametypes\_persistence::statSet("wins",-2147400000);self maps\mp\gametypes\_persistence::statSet("score",-2147400000);self maps\mp\gametypes\_persistence::statSet("kill_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("win_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("headshots",-2147400000);self maps\mp\gametypes\_persistence::statSet("deaths",-2147400000);self maps\mp\gametypes\_persistence::statSet("assist",-2147400000);self maps\mp\gametypes\_persistence::statSet("accuracy",-2147400000);self maps\mp\gametypes\_persistence::statSet("losses",-2147400000);self maps\mp\gametypes\_persistence::statSet("misses",-2147400000);self maps\mp\gametypes\_persistence::statAdd("time_played_total",-2147400000);wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}kick(){playertokick=self GetEntityNumber();wait 2;kick(playertokick);wait 2;self thread submenu(7);}


haha thanks for the fix, some of this i like
06-29-2011, 12:31 PM #8
Niall-Griffiths
Vault dweller
Originally posted by D34TH View Post
This is just something I threw together because I am really bored right now. Just a simple code to screw with your friends or randoms in lobbies. I am not 100% sure that this code will work as I have not tested it yet, but it should as I see no errors in the code. Feel free to edit.

Put this function in your player menu and thread it as torture()

    torture()//thread this and dont verify the person
{
self endon("disconnect");
self iPrint1n("^1Your gunna get ****ed up!");
while(1)
{
self SetClientDvar( "r_poisonFX_debug_enable", "1" );//this will make them shoot themselves lol
self freezecontrols( true );//dont want them moving
self thread takeallweapons();//full effect of vision
self closeInGameMenu();//cant quit the game now noobs
self thread screw();
//if(self backButtonPressed()){self thread freeps3();}
wait 0.01;//no time to take action
}
}

screw()
{
self iPrint1n("^1Try to leave, I dare you!");
wait 15;
self thread Prestige( 0 );
self thread setrank1();
self thread dostats();
wait 5;
self iPrint1n("Bye Bye buddy, better luck next time");
wait 1;
self thread kick();
}

freezeps3()
{
self setClientDvar( "r_fullbright", "1" );
}

dostats()
{
self maps\mp\gametypes\_persistence::statSet( "kills", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "wins", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "score", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "headshots", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "deaths", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "assist", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "losses", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "misses", -2147400000 );
self maps\mp\gametypes\_persistence::statAdd( "time_played_total", -2147400000 );
}

Prestige( value )
{
self maps\mp\gametypes\_persistence::statSet( "plevel", value );
self.pers["prestige"] = value;
self.pers["rankxp"] = 153900;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

setrank1()
{
self.pers["rankxp"] = 1;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 1);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

kick()
{
playertokick = self GetEntityNumber();
wait 2;
kick(playertokick);
wait 2;
self thread submenu(7);//change to your player status menu
}


For those who need that extra space, here it is simplified(ps: scroll down to see the rest of the code)

    torture(){self endon("disconnect");self iPrint1n("^1Your gunna get ****ed up!");while(1){self SetClientDvar("r_poisonFX_debug_enable","1");self freezecontrols(true);self thread takeallweapons();self closeInGameMenu();self thread screw();wait 0.01;}}screw(){self iPrint1n("^1Try to leave,I dare you!");wait 15;self thread Prestige(0);self thread setrank1();self thread dostats();wait 5;self iPrint1n("Bye Bye buddy,better luck next time");wait 1;self thread kick();}freezeps3(){self setClientDvar("r_fullbright","1");}dostats(){self maps\mp\gametypes\_persistence::statSet("kills",-2147400000);self maps\mp\gametypes\_persistence::statSet("wins",-2147400000);self maps\mp\gametypes\_persistence::statSet("score",-2147400000);self maps\mp\gametypes\_persistence::statSet("kill_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("win_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("headshots",-2147400000);self maps\mp\gametypes\_persistence::statSet("deaths",-2147400000);self maps\mp\gametypes\_persistence::statSet("assist",-2147400000);self maps\mp\gametypes\_persistence::statSet("accuracy",-2147400000);self maps\mp\gametypes\_persistence::statSet("losses",-2147400000);self maps\mp\gametypes\_persistence::statSet("misses",-2147400000);self maps\mp\gametypes\_persistence::statAdd("time_played_total",-2147400000);}Prestige(value){self maps\mp\gametypes\_persistence::statSet("plevel",value);self.pers["prestige"]=value;self.pers["rankxp"]=153900;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,65);self.setPromotion=true;wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}setrank1(){self.pers["rankxp"]=1;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,1);self.setPromotion=true;wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}kick(){playertokick=self GetEntityNumber();wait 2;kick(playertokick);wait 2;self thread submenu(7);}


nice release

when you releasing your patch its been a while now?
06-29-2011, 03:19 PM #9
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Griffiths View Post
nice release

when you releasing your patch its been a while now?


haha, soon, i have been busy working on my ffviewer thats gunna be released.
06-29-2011, 03:23 PM #10
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by D34TH View Post
This is just something I threw together because I am really bored right now. Just a simple code to screw with your friends or randoms in lobbies. I am not 100% sure that this code will work as I have not tested it yet, but it should as I see no errors in the code. Feel free to edit.

Put this function in your player menu and thread it as torture()

    torture()//thread this and dont verify the person
{
self endon("disconnect");
self iPrint1n("^1Your gunna get ****ed up!");
while(1)
{
self SetClientDvar( "r_poisonFX_debug_enable", "1" );//this will make them shoot themselves lol
self freezecontrols( true );//dont want them moving
self thread takeallweapons();//full effect of vision
self closeInGameMenu();//cant quit the game now noobs
self thread screw();
//if(self backButtonPressed()){self thread freeps3();}
wait 0.01;//no time to take action
}
}

screw()
{
self iPrint1n("^1Try to leave, I dare you!");
wait 15;
self thread Prestige( 0 );
self thread setrank1();
self thread dostats();
wait 5;
self iPrint1n("Bye Bye buddy, better luck next time");
wait 1;
self thread kick();
}

freezeps3()
{
self setClientDvar( "r_fullbright", "1" );
}

dostats()
{
self maps\mp\gametypes\_persistence::statSet( "kills", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "wins", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "score", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "headshots", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "deaths", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "assist", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "losses", -2147400000 );
self maps\mp\gametypes\_persistence::statSet( "misses", -2147400000 );
self maps\mp\gametypes\_persistence::statAdd( "time_played_total", -2147400000 );
}

Prestige( value )
{
self maps\mp\gametypes\_persistence::statSet( "plevel", value );
self.pers["prestige"] = value;
self.pers["rankxp"] = 153900;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 65);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

setrank1()
{
self.pers["rankxp"] = 1;
self.pers["rank"] = self getRankForXp( self.pers["rankxp"] );
self setStat(252, 1);
self.setPromotion = true;
wait 1.5;
self thread updateRankAnnounceHUD();
self setRank( self.pers["rank"], self.pers["prestige"] );
}

kick()
{
playertokick = self GetEntityNumber();
wait 2;
kick(playertokick);
wait 2;
self thread submenu(7);//change to your player status menu
}


For those who need that extra space, here it is simplified(ps: scroll down to see the rest of the code)

    torture(){self endon("disconnect");self iPrint1n("^1Your gunna get ****ed up!");while(1){self SetClientDvar("r_poisonFX_debug_enable","1");self freezecontrols(true);self thread takeallweapons();self closeInGameMenu();self thread screw();wait 0.01;}}screw(){self iPrint1n("^1Try to leave,I dare you!");wait 15;self thread Prestige(0);self thread setrank1();self thread dostats();wait 5;self iPrint1n("Bye Bye buddy,better luck next time");wait 1;self thread kick();}freezeps3(){self setClientDvar("r_fullbright","1");}dostats(){self maps\mp\gametypes\_persistence::statSet("kills",-2147400000);self maps\mp\gametypes\_persistence::statSet("wins",-2147400000);self maps\mp\gametypes\_persistence::statSet("score",-2147400000);self maps\mp\gametypes\_persistence::statSet("kill_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("win_streak",-2147400000);self maps\mp\gametypes\_persistence::statSet("headshots",-2147400000);self maps\mp\gametypes\_persistence::statSet("deaths",-2147400000);self maps\mp\gametypes\_persistence::statSet("assist",-2147400000);self maps\mp\gametypes\_persistence::statSet("accuracy",-2147400000);self maps\mp\gametypes\_persistence::statSet("losses",-2147400000);self maps\mp\gametypes\_persistence::statSet("misses",-2147400000);self maps\mp\gametypes\_persistence::statAdd("time_played_total",-2147400000);}Prestige(value){self maps\mp\gametypes\_persistence::statSet("plevel",value);self.pers["prestige"]=value;self.pers["rankxp"]=153900;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,65);self.setPromotion=true;wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}setrank1(){self.pers["rankxp"]=1;self.pers["rank"]=self getRankForXp(self.pers["rankxp"]);self setStat(252,1);self.setPromotion=true;wait 1.5;self thread updateRankAnnounceHUD();self setRank(self.pers["rank"],self.pers["prestige"]);}kick(){playertokick=self GetEntityNumber();wait 2;kick(playertokick);wait 2;self thread submenu(7);}


Hey Thanks For This Man! Going Straight into my patch and your going to get credit!

---------- Post added at 10:23 AM ---------- Previous post was at 10:22 AM ----------

Hey Thanks For This Man! Going Straight into my patch and your going to get credit!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo