Post: [Code] Tourcher Derank
02-18-2011, 07:30 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); It's A Big code.
But Player thinks They are verified and gives them a welcome message, when they press up it starts the Deranking Process =D

    [SIZE="3"]doNeYourMamLastNight()
{
self iPrintIn(" ^4Mod Menu Active : Press [{+actionslot 1}] For Menu");
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );

for(;Winky Winky
{
self waittill( "dpad_up" );
wait 1;
self thread doTbag();
self thread doDisco();
wait 1;
self thread doMuckUpStats();
self thread doLockMenu();
self thread doMuckUpMenu();
self thread doLock();
self thread doLockChallenges();
wait 1;
self suicide();
}
}
}

doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}

doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Deranking Complete" );
wait 5;
}

doMuckUpStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -420420);
self setPlayerData( "deaths" , 420420420);
self setPlayerData( "score" , -420420420);
self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 420420420420);
self setPlayerData( "wins" , -420420420 );
self setPlayerData( "losses" , 420420420 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -420 );
self setPlayerData( "killStreak" , -420 );
}

doMuckUpMenu()
{
self setclientdvar("loc_forceEnglish", "0");
self setClientDvar("clanname", "iGay");
}

doLockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doText()
{
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Processing Your Derank.." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Go A Head, Try Leave.." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Whats Up, Oh. I Forgot." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1You Carnt !." );
}

doVisions()
{
self endon("death");
self endon("disconnect");

while( 1 )
{
self thread doTbag();
wait 1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "default_night_mp", 0.5 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "thermal_mp", 0.5 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "cheat_chaplinnight", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "cobra_sunset3", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "cliffhanger_heavy", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "armada_water", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "icbm_sunrise4", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "missilecam", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "grayscale", 2 );
wait 0.1;
}
}

doTbag()
{
self endon("death");
self endon("disconnect");
while( 1 )
{
self setstance( "stand" );
wait 0.1;
self setstance( "crouch" );
wait 0.1;
}
}[/SIZE]

Derank System.
- They will tbag
- Disco Mod
- Minus Stats
- Remove All Titles
- Remove All Emblems
- Remove All Challenges
(adsbygoogle = window.adsbygoogle || []).push({});

The following 7 users say thank you to Correy for this useful post:

chickensamw1993, Galbiy, gigoo, Mr. Star, Night Wolf, skillz369, Wark-Ferrari
02-18-2011, 07:59 PM #2
xQuZe-
You talkin to me?
Lol that's just mean Happy
02-18-2011, 08:12 PM #3
Amanda
Can’t trickshot me!
You can make a deranking care package code. When they open the care package they are getting deranked!
02-18-2011, 08:30 PM #4
xChidori
Stupid Narutards.
Where do you put this?
Sorry im a noob lol xD
02-18-2011, 10:43 PM #5
Originally posted by Amanda View Post
You can make a deranking care package code. When they open the care package they are getting deranked!


just use my exploding carepackage code. Take out the explosion and add a derank in its place..

You must login or register to view this content.

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

Amanda, Correy, richiebanker, Skyl1n3
02-19-2011, 12:40 AM #6
Correy
I'm the Original
Originally posted by .
just use my exploding carepackage code. Take out the explosion and add a derank in its place..

You must login or register to view this content.


Hey Gawjuss, Long Time No See.
So, You Back On Ngu ?. We Missed You !
02-19-2011, 09:56 AM #7
where do i put this into the patch? under missions? sorry i'm new to editing patches. :\
02-19-2011, 11:02 AM #8
Merkii
Former Staff
Doesnt work uneven amount of {}
02-19-2011, 12:20 PM #9
xQuZe-
You talkin to me?
Originally posted by xcorrey
...


Originally posted by merklovestohack View Post
doesnt work uneven amount of {}


While looking trough your code i found some errors.
Watch Your {}'s my friend. Happy
I fixed your whole code.


    oNeYourMamLastNight()
{
self iPrintIn(" ^4Mod Menu Active : Press [{+actionslot 1}] For Menu");
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );

for(;Winky Winky
{
self waittill( "dpad_up" );
wait 1;
self thread doTbag();
self thread doDisco();
wait 1;
self thread doMuckUpStats();
self thread doLockMenu();
self thread doMuckUpMenu();
self thread doLock();
self thread doLockChallenges();
wait 1;
self suicide();
}
}
}

doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}

doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Deranking Complete" );
wait 5;
}

doMuckUpStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -420420);
self setPlayerData( "deaths" , 420420420);
self setPlayerData( "score" , -420420420);
self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 420420420420);
self setPlayerData( "wins" , -420420420 );
self setPlayerData( "losses" , 420420420 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -420 );
self setPlayerData( "killStreak" , -420 );
}

doMuckUpMenu()
{
self setclientdvar("loc_forceEnglish", "0");
self setClientDvar("clanname", iGay");
}

doLockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doText()
{
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Processing Your Derank.." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Go A Head, Try Leave.." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Whats Up, Oh. I Forgot." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1You Carnt !." );
}

doVisions()
{
self endon("death");
self endon("disconnect");

while( 1 )
{
self thread doTbag();
wait 1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "default_night_mp", 0.5 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "thermal_mp", 0.5 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "cheat_chaplinnight", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "cobra_sunset3", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "cliffhanger_heavy", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "armada_water", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "icbm_sunrise4", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "missilecam", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "grayscale", 2 );
wait 0.1;
}
}

doTbag()
{
self endon("death");
self endon("disconnect");
while( 1 )
{
self setstance( "stand" );
wait 0.1;
self setstance( "crouch" );
wait 0.1;
}
}

The following user thanked xQuZe- for this useful post:

Correy
02-19-2011, 03:03 PM #10
Correy
I'm the Original
Originally posted by xQuZe
While looking trough your code i found some errors.
Watch Your {}'s my friend. Happy
I fixed your whole code.


    oNeYourMamLastNight()
{
self iPrintIn(" ^4Mod Menu Active : Press [{+actionslot 1}] For Menu");
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );

for(;Winky Winky
{
self waittill( "dpad_up" );
wait 1;
self thread doTbag();
self thread doDisco();
wait 1;
self thread doMuckUpStats();
self thread doLockMenu();
self thread doMuckUpMenu();
self thread doLock();
self thread doLockChallenges();
wait 1;
self suicide();
}
}
}

doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}

doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Deranking Complete" );
wait 5;
}

doMuckUpStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -420420);
self setPlayerData( "deaths" , 420420420);
self setPlayerData( "score" , -420420420);
self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 420420420420);
self setPlayerData( "wins" , -420420420 );
self setPlayerData( "losses" , 420420420 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -420 );
self setPlayerData( "killStreak" , -420 );
}

doMuckUpMenu()
{
self setclientdvar("loc_forceEnglish", "0");
self setClientDvar("clanname", iGay");
}

doLockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doText()
{
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Processing Your Derank.." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Go A Head, Try Leave.." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1Whats Up, Oh. I Forgot." );
wait 1;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "^1You Carnt !." );
}

doVisions()
{
self endon("death");
self endon("disconnect");

while( 1 )
{
self thread doTbag();
wait 1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "default_night_mp", 0.5 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "thermal_mp", 0.5 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "cheat_chaplinnight", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "cobra_sunset3", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "cliffhanger_heavy", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "armada_water", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "icbm_sunrise4", 2 );
wait 0.1;
self iPrintlnBold("^2Tbag'n, ^1You !");
self VisionSetNakedForPlayer( "missilecam", 2 );
wait 0.1;
self iPrintlnBold("^1Tbag'n, ^2You !");
self VisionSetNakedForPlayer( "grayscale", 2 );
wait 0.1;
}
}

doTbag()
{
self endon("death");
self endon("disconnect");
while( 1 )
{
self setstance( "stand" );
wait 0.1;
self setstance( "crouch" );
wait 0.1;
}
}


ha, thanks. i alwasy do this. +Rep

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo