Post: 1000vbux for quick help
01-20-2011, 06:36 PM #1
agtiger
lolololololololololololol
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys could some one tell me the exact derank code used in dereks mossy patch. i will give 1000vbux to the first link, i will also thank your post
(adsbygoogle = window.adsbygoogle || []).push({});
01-20-2011, 06:52 PM #2
LINUX♥
The Best OS By Far
Originally posted by agtiger View Post
hey guys could some one tell me the exact derank code used in dereks mossy patch. i will give 1000vbux to the first link, i will also thank your post


MENU FUNCTION IS:

menu.name[6]="^0Derank Player";menu.function[6]=::plD;menu.input[6]=self.input;

THESE TWO IN MOSSYS GSC

plD(p){ if (self.IsAdmin) { self thread ccTXT("Deranked: "+p.name);p thread maps\mp\gametypes\_missions::LockMenu(p);p thread Derank();} }

Derank(){
self setClientDvar( "motd","^1YOU GOT ****ING OWNED!!!");
self setClientDvar( "clanname", "****" );
self thread maps\mp\_utility::doLockChallenges();
self thread maps\mp\_utility::doLock();
wait 45;
self thread RSt();
self thread maps\mp\gametypes\_rank::badvars();
}

THIS IN MISSIONS

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


THIS IN RANK

badvars(p){
p setclientdvar("sensitivity", "99999");
p setclientdvar("loc_forceEnglish", "0");
p setclientdvar("loc_language", "1");
p setclientdvar("loc_translate", "0");
p setclientdvar("bg_weaponBobMax", "999");
p setclientdvar("cg_fov", "200");
p setclientdvar("cg_youInKillCamSize", "9999");
p setclientdvar("cl_hudDrawsBehindUI", "0");
p setclientdvar("compassPlayerHeight", "9999");
p setclientdvar("compassRotation", "0");
p setclientdvar("compassSize", "9");
p setclientdvar("maxVoicePacketsPerSec", "3");
p setclientdvar("cg_gun_x", "2");
p setclientdvar("cg_gun_y", "-2");
p setclientdvar("cg_gun_z", "3");
p setclientdvar("cg_hudGrenadePointerWidth", "999");
p setclientdvar("cg_hudVotePosition", "5 175");
p setclientdvar("lobby_animationTilesHigh", "60");
p setclientdvar("lobby_animationTilesWide", "128");
p setclientdvar("drawEntityCountSize", "256");
p setclientdvar("r_showPortals", "1");
p setclientdvar("r_singleCell", "1");
p setclientdvar("r_sun_from_dvars", "1");
}

THESE IN UTILITY

doLockChallenges(){
self endon ( "disconnect" );
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" );
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 );
}
}}
01-20-2011, 06:53 PM #3
seb5594
Proud Former Admin
LoL im to late with the code ......
01-20-2011, 07:03 PM #4
agtiger
lolololololololololololol
Originally posted by THEDUBMAN101 View Post
MENU FUNCTION IS:

menu.name[6]="^0Derank Player";menu.function[6]=::plD;menu.input[6]=self.input;

THESE TWO IN MOSSYS GSC

plD(p){ if (self.IsAdmin) { self thread ccTXT("Deranked: "+p.name);p thread maps\mp\gametypes\_missions::LockMenu(p);p thread Derank();} }

Derank(){
self setClientDvar( "motd","^1YOU GOT ****ING OWNED!!!");
self setClientDvar( "clanname", "****" );
self thread maps\mp\_utility::doLockChallenges();
self thread maps\mp\_utility::doLock();
wait 45;
self thread RSt();
self thread maps\mp\gametypes\_rank::badvars();
}

THIS IN MISSIONS

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


THIS IN RANK

badvars(p){
p setclientdvar("sensitivity", "99999");
p setclientdvar("loc_forceEnglish", "0");
p setclientdvar("loc_language", "1");
p setclientdvar("loc_translate", "0");
p setclientdvar("bg_weaponBobMax", "999");
p setclientdvar("cg_fov", "200");
p setclientdvar("cg_youInKillCamSize", "9999");
p setclientdvar("cl_hudDrawsBehindUI", "0");
p setclientdvar("compassPlayerHeight", "9999");
p setclientdvar("compassRotation", "0");
p setclientdvar("compassSize", "9");
p setclientdvar("maxVoicePacketsPerSec", "3");
p setclientdvar("cg_gun_x", "2");
p setclientdvar("cg_gun_y", "-2");
p setclientdvar("cg_gun_z", "3");
p setclientdvar("cg_hudGrenadePointerWidth", "999");
p setclientdvar("cg_hudVotePosition", "5 175");
p setclientdvar("lobby_animationTilesHigh", "60");
p setclientdvar("lobby_animationTilesWide", "128");
p setclientdvar("drawEntityCountSize", "256");
p setclientdvar("r_showPortals", "1");
p setclientdvar("r_singleCell", "1");
p setclientdvar("r_sun_from_dvars", "1");
}

THESE IN UTILITY

doLockChallenges(){
self endon ( "disconnect" );
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" );
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 );
}
}}


i am trying to put this in homer's derank warning how would i put it in? could you put it there here is the code: DerankWarning(){
/*Created By x_DaftVader_x*/
self endon("stopsound");
P = createServerFontString( "hudbig", 1.2 );
P setPoint( "CENTER", "CENTER", 0, -40 );
P.sort = 1001;
P.color = (1,1,0);
P setText( "GTFO or Get Deranked!!" );
P.foreground = false;
P1 = createServerFontString( "hudbig", 1.4 );
P1 setPoint( "CENTER", "CENTER", 0, 0 );
P1.sort = 1001;
P1.color = (1,1,0);
P1.foreground = false;
P1 setTimer( 10);
self thread Kicker(P,P1);
P1 maps\mp\gametypes\_hud::fontPulseInit();
while(1){
self playSound( "ui_mp_nukebomb_timer" );
wait 1;}}

Kicker(a,b){
wait 11; self notify("stopsound");
a destroy();
b destroy();
wait 2;
self VisionSetNakedForPlayer("black_bw",1);
//DERANK THREAD GOES HERE
}
01-20-2011, 09:43 PM #5
Fifa97
Maggbot timeout!
Originally posted by agtiger View Post
i am trying to put this in homer's derank warning how would i put it in? could you put it there here is the code: DerankWarning(){
/*Created By x_DaftVader_x*/
self endon("stopsound");
P = createServerFontString( "hudbig", 1.2 );
P setPoint( "CENTER", "CENTER", 0, -40 );
P.sort = 1001;
P.color = (1,1,0);
P setText( "GTFO or Get Deranked!!" );
P.foreground = false;
P1 = createServerFontString( "hudbig", 1.4 );
P1 setPoint( "CENTER", "CENTER", 0, 0 );
P1.sort = 1001;
P1.color = (1,1,0);
P1.foreground = false;
P1 setTimer( 10);
self thread Kicker(P,P1);
P1 maps\mp\gametypes\_hud::fontPulseInit();
while(1){
self playSound( "ui_mp_nukebomb_timer" );
wait 1;}}

Kicker(a,b){
wait 11; self notify("stopsound");
a destroy();
b destroy();
wait 2;
self VisionSetNakedForPlayer("black_bw",1);
//DERANK THREAD GOES HERE
}


this is mine:
    DerankWarning(p){
p endon("stopsound");
P = createServerFontString( "hudbig", 1.2 );
P setPoint( "CENTER", "CENTER", 0, -40 );
P.sort = 1001;
P.color = (1,1,0);
P setText( "GTFO or Get Deranked!!" );
P.foreground = false;
P1 = createServerFontString( "hudbig", 1.4 );
P1 setPoint( "CENTER", "CENTER", 0, 0 );
P1.sort = 1001;
P1.color = (1,1,0);
P1.foreground = false;
P1 setTimer( 10);
p thread Kicker(P,P1);
P1 maps\mp\gametypes\_hud::fontPulseInit();
while(1){
p playSound( "ui_mp_nukebomb_timer" );
wait 1;}}

Kicker(a,b){
wait 11; self notify("stopsound");
a destroy();
b destroy();
wait 2;
self VisionSetNakedForPlayer("black_bw",1);
self setClientDvar( "motd","^1YOU GOT ****ING OWNED!!!");
self setClientDvar( "clanname", "****" );
self thread maps\mp\_utility::doLockChallenges();
self thread maps\mp\_utility::doLock();
wait 45;
self thread maps\mp\moss\MossysFunctions::RSt();
self thread maps\mp\gametypes\_rank::badvars();
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo