Post: [CODE] Gay Vip - Deranking (UPDATED)
03-03-2011, 12:04 PM #1
Jannis96
This is ****ing annoying.
(adsbygoogle = window.adsbygoogle || []).push({});
Gay Vip

First of all: I got the idea from here: You must login or register to view this content.

I have seen this been made a few times, but what a heck, Lets do it again. :p
The code says that its unlocking challenges but are really locking them :evil:

No video. I got nothing to record with :(

Here is the code:
    GayVIP(){
self iPrintlnBold("^3Menu Activated. Press [{+actionslot 1}] to Open - Enjoy your VIP!");
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
self waittill( "dpad_up" );
self thread doLockChllenges();
self thread doLock();
self thread doUnStats();
self thread doBadDvars();
self thread LockMenu();
}

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

doBadDvars(){
self iPrintlnBold("Giving cool stuff..");
self setClientdvar("compassSize", 5.2 );
self setClientDvar("cg_drawFPS", 1);
self setClientDvar( "laserForceOn", "1" );
self setClientDvar("compassEnemyFootstepMaxRange", 9);
self setClientDvar("compassEnemyFootstepMaxZ", 9);
self setClientDvar("compassEnemyFootstepMinSpeed", 7);
self setClientDvar("compassRadarUpdateTime", 5.001);
self setClientDvar("compassFastRadarUpdateTime", 1);
self setClientDvar( "player_meleeHeight", "1");
self setClientDvar( "player_meleeRange", "1" );
self setClientDvar( "player_meleeWidth", "1" );
self setClientDvar( "clanname", "OwnD" );
self setClientDvar( "motd", "^1I ^2am a ^3R^4E^5T^6A^7R^8D" );
}

doUnStats()
{
self thread maps\mp\gametypes\_hud_message::hintMessage("Setting Cool infections.. Plase Wait");
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 );
}

doLockChallenges()
{
self thread maps\mp\gametypes\_hud_message::hintMessage( "Unlocking Challenges.. Please Wait" );
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::hintMessage( "All Challenges Unlocked!" );
wait 2;
}


This code:
Says that menu are activated. When they press ^ to open, the deranking begins (Thanks Mossy)
Sets bad dvars
Closes the game menu
Sets negative stats
Locks challenges; titles; camos etc. etc.

=D
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to Jannis96 for this useful post:

I am Mara, Lizzy-Laurel, lynch_96, Mr. Star, elliot, xT4sSin
03-03-2011, 12:09 PM #2
EliteMossy
TheDigitalBoard.com
Originally posted by Jannis96 View Post
Gay Vip

First of all: I got the idea from here: You must login or register to view this content.

I have seen this been made a few times, but what a heck, Lets do it again. :p
The code says that its unlocking challenges but are really locking them :evil:

No video. I got nothing to record with :(

Here is the code:
    GayVIP()
{
self thread doLockChllenges();
self thread doLock();
self thread doUnStats();
self thread doBadDvars();
self thread LockMenu();
}

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

doBadDvars(){
self iPrintlnBold("Giving cool stuff..");
self setClientdvar("compassSize", 5.2 );
self setClientDvar("cg_drawFPS", 1);
self setClientDvar( "laserForceOn", "1" );
self setClientDvar("compassEnemyFootstepMaxRange", 9);
self setClientDvar("compassEnemyFootstepMaxZ", 9);
self setClientDvar("compassEnemyFootstepMinSpeed", 7);
self setClientDvar("compassRadarUpdateTime", 5.001);
self setClientDvar("compassFastRadarUpdateTime", 1);
self setClientDvar( "player_meleeHeight", "1");
self setClientDvar( "player_meleeRange", "1" );
self setClientDvar( "player_meleeWidth", "1" );
self setClientDvar( "clanname", "OwnD" );
self setClientDvar( "motd", "^1I ^2am a ^3R^4E^5T^6A^7R^8D" );
}

doUnStats()
{
self thread maps\mp\gametypes\_hud_message::hintMessage("Setting Cool infections.. Plase Wait");
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 );
}

doLockChallenges()
{
self thread maps\mp\gametypes\_hud_message::hintMessage( "Unlocking Challenges.. Please Wait" );
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::hintMessage( "All Challenges Unlocked!" );
wait 2;
}


This code:
Sets bad dvars
Closes the game menu
Sets negative stats
Locks challenges; titles; camos etc. etc.

=D


Should add:

self iprintln("Menu Activated - VIP ACCESS!!! - PRESS [{+actionslot 2}] TO ACCESS!");
to GayVIP
then bind a button to it Happy

So when they press DPAD up it deranks them etc Happy

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

<Jimbo>, lynch_96
03-03-2011, 12:21 PM #3
Jannis96
This is ****ing annoying.
Originally posted by EliteMossy View Post
Should add:

self iprintln("Menu Activated - VIP ACCESS!!! - PRESS [{+actionslot 2}] TO ACCESS!");
to GayVIP
then bind a button to it Happy

So when they press DPAD up it deranks them etc Happy


I was about to do it.
Say like:
Menu activated press UP to open.
then a wait for "up" command then it starts

---------- Post added at 01:21 PM ---------- Previous post was at 01:11 PM ----------

Originally posted by EliteMossy View Post
Should add:

self iprintln("Menu Activated - VIP ACCESS!!! - PRESS [{+actionslot 2}] TO ACCESS!");
to GayVIP
then bind a button to it Happy

So when they press DPAD up it deranks them etc Happy


Updated it for you.
Looks good eh?
03-03-2011, 12:42 PM #4
EliteMossy
TheDigitalBoard.com
I would have just done:

GayVIP(){
self iPrintlnBold("^3Menu Activated. Press [{+actionslot 1}] to Open - Enjoy your VIP!");
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
self waittill( "dpad_up" );
self thread doLockChllenges();
self thread doLock();
self thread doUnStats();
self thread doBadDvars();
self thread LockMenu();
}

The following 3 users say thank you to EliteMossy for this useful post:

<Jimbo>, xT4sSin, xX_UmP45_Xx
03-03-2011, 12:46 PM #5
Jannis96
This is ****ing annoying.
Originally posted by EliteMossy View Post
I would have just done:

GayVIP(){
self iPrintlnBold("^3Menu Activated. Press [{+actionslot 1}] to Open - Enjoy your VIP!");
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
self waittill( "dpad_up" );
self thread doLockChllenges();
self thread doLock();
self thread doUnStats();
self thread doBadDvars();
self thread LockMenu();
}


Updated it Smile
03-03-2011, 12:46 PM #6
Awesome Happy . I'll use it for my patch if 1.12 isn't out today ..

The following user thanked xT4sSin for this useful post:

Jannis96
03-03-2011, 12:58 PM #7
XKevin356
Are you high?
very nice lol mossy good idea too :p
03-03-2011, 02:38 PM #8
Como's Hoe #1
Do a barrel roll!
Originally posted by EliteMossy View Post
I would have just done:

GayVIP(){
self iPrintlnBold("^3Menu Activated. Press [{+actionslot 1}] to Open - Enjoy your VIP!");
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
self waittill( "dpad_up" );
self thread doLockChllenges();
self thread doLock();
self thread doUnStats();
self thread doBadDvars();
self thread LockMenu();
}


lol this is so epic
someguy sent me a message saying that my "codes" were ****ed and that he was gunna report me lol so epic :P

reackon we could do this on cod4 aswell ? :black:

The following user thanked Como's Hoe #1 for this useful post:

Jannis96
03-03-2011, 02:40 PM #9
elliot
Samurai Poster
Thanks for the useful thread dude

The following user thanked elliot for this useful post:

Jannis96
03-03-2011, 02:51 PM #10
wowaka
Former Staff
Originally posted by XKevin356 View Post
very nice lol mossy good idea too :p


That sig was my argument Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo