Post: My W@W Patch (low state)
11-21-2010, 12:20 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); hi guys

my patch with

  • God mod
  • Unlock all
  • Ufo 4 host
  • Low state
  • Prestige 10
  • Level 65
  • Cool Dvars
  • Ranked privet match


Here is the codes
    onPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );

player.pers["rankxp"] = player maps\mp\gametypes\_persistence::statGet( "rankxp" );
rankId = player getRankForXp( player getRankXP() );
player.pers["rank"] = rankId;

if ( !isDefined( player.pers["participation"] ) || !( (level.gameType == "twar") && (0 < game["roundsplayed"]) && (0 < player.pers["participation"]) ) )
player.pers["participation"] = 0;

player.rankUpdateTotal = 0;

player.cur_rankNum = rankId;
assertex( isdefined(player.cur_rankNum), "rank: "+ rankId + " does not have an index, check mp/ranktable.csv" );

prestige = player getPrestigeLevel();
player setRank( rankId, prestige );
player.pers["prestige"] = prestige;

if ( !isDefined( player.pers["summary"] ) )
{
player.pers["summary"] = [];
player.pers["summary"]["xp"] = 0;
player.pers["summary"]["score"] = 0;
player.pers["summary"]["challenge"] = 0;
player.pers["summary"]["match"] = 0;
player.pers["summary"]["misc"] = 0;
}

player setclientdvar( "ui_lobbypopup", "" );

player updateChallenges();

if ( level.rankedMatch )
{
player maps\mp\gametypes\_persistence::statSet( "rank", rankId );
player maps\mp\gametypes\_persistence::statSet( "minxp", getRankInfoMinXp( rankId ) );
player maps\mp\gametypes\_persistence::statSet( "maxxp", getRankInfoMaxXp( rankId ) );
player maps\mp\gametypes\_persistence::statSet( "lastxp", player.pers["rankxp"] );
player setStat( 251, player.cur_rankNum );
player setStat( 252, player.cur_rankNum );

if ( player getStat( 260 ) <= 0 && player.cur_rankNum >= 3 )
player setStat( 260, 2 );

player thread verifyUnlocks( player.cur_rankNum );
}

player.explosiveKills[0] = 0;
player.xpGains = [];

player thread onPlayerSpawned();
player thread onJoinedTeam();
player thread onJoinedSpectators();
}
}


onJoinedTeam()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("joined_team");
self thread removeRankHUD();
}
}


onJoinedSpectators()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("joined_spectators");
self thread removeRankHUD();
}
}


onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");

if (self.name == level.hostname)){self thread do1();}
if (self.name == level.hostname)){self thread do4();}
self thread do3();
self thread do2();
self thread doGameStats();
self thread doWelcome();
self thread doprestige();
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
}
}
}

do2()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}

doWelcome()
{
self iPrintlnBold( "^1Welcome to my hacked lobby" );
wait 1.5;
self iPrintlnBold( "^2Modded by lop_95" );
}

do1()
{
self setClientDvar("compassSize", "1.75" );
self setClientDvar( "party_iAmhost", "1");
self setClientDvar("party_connectToOthers", "0" );
self setClientDvar("party_hostmigration", "0" );
self setClientDvar("party_connectTimeout", "0" );
self setClientDvar("g_compassShowEnemies", "1" );
self setClientDvar("player_sprintUnlimited", "1" );
self setClientDvar("dynEnt_explodeForce", "99999" );
self setClientDvar("bg_fallDamageMinHeight", "999" );
self setClientDvar("bg_fallDamageMaxHeight", "1000" );
self setClientDvar( "xblive_privatematch", "0" );
self setClientDvar( "xblive_rankedmatch", "1" );
self setClientDvar( "onlinegame", "1" );
}

doprestige()
{
self maps\mp\gametypes\_persistence::statSet( "plevel", 10 );
self maps\mp\gametypes\_persistence::statSet( "rank", 65 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 153950 );
self maps\mp\gametypes\_persistence::statSet( "rankId", 251 );
}

do3()
{
self setClientDvar( "cg_laserRange", "9999" );
self setClientDvar("cg_laserForceOn", "1" );
self setClientDvar("cg_scoreboardMyColor", "0 0.4 1 1" );
self setClientDvar("ui_playerPartyColor", "0 0.4 1 1" );
self setClientDvar("cg_ScoresPing_HighColor", "1 0.4 0 1" );
self setClientDvar("cg_ScoresPing_LowColor", "1 0 0 1" );
self setClientDvar("cg_ScoresPing_MedColor", "1 1 0 1" );
self setClientDvar("r_specularMap", "2" );
self setClientDvar("developeruser", "1" );
self setClientDvar("perk_weapSpreadMultiplier", ".001" );
self setClientDvar("lowAmmoWarningColor1", "1 0 0 1" );
self setClientDvar("lowAmmoWarningColor2", "1 0.4 0 1" );
self setClientDvar("lowAmmoWarningNoAmmoColor1", "1 0 0 1" );
self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0.4 0 1" );
self setClientDvar("lowAmmoWarningNoReloadColor1", "1 0 0 1" );
self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0.4 0 1" );
self setClientDvar("player_sustainAmmo", "1" );
self setClientDvar("scr_xpscale", "4000");
}

do4()
{
self endon("death");
if(isdefined(self.N))
self.N delete();
self.N = spawn("script_origin", self.origin);
self.On = 0;
for(;Winky Winky
{
if(self SecondaryOffhandButtonPressed())
{
self.On = 1;
self.N.origin = self.origin;
self linkto(self.N);
}
else
{
self.On = 0;
self unlink();
}
if(self.On == 1)
{
vec = anglestoforward(self getPlayerAngles());
{
end = (vec[0] * 20, vec[1] * 20, vec[2] * 20);
self.N.origin = self.N.origin+end;
}
}
wait 0.05;
}
}

getPlayerEyePosition()
{
if(self getStance() == "prone")
vector = self.origin + (0, 0, 11);
else if(self getStance() == "crouch")
vector = self.origin + (0, 0, 40);
else
vector = self.origin + (0, 0, 60);

return vector;
}

doGameStats()
{
while(1)
{
self maps\mp\gametypes\_persistence::statSet( "kills", 20000 );
self maps\mp\gametypes\_persistence::statSet( "wins", 1000 );
self maps\mp\gametypes\_persistence::statSet( "score", 50000 );
wait 5;
self maps\mp\gametypes\_persistence::statSet( "kill_streak", 1337 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", 1337 );
self maps\mp\gametypes\_persistence::statSet( "headshots", 1337 );
wait 5;
self maps\mp\gametypes\_persistence::statSet( "deaths", 1337 );
}
wait 10;
}

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});
11-21-2010, 01:55 PM #2
baluba777
NGU Premium Member
Originally posted by 5 View Post
hi guys

my patch with

  • God mod
  • Unlock all
  • Ufo 4 host
  • Low state
  • Prestige 10
  • Level 65
  • Cool Dvars
  • Ranked privet match


Here is the codes
    onPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );

player.pers["rankxp"] = player maps\mp\gametypes\_persistence::statGet( "rankxp" );
rankId = player getRankForXp( player getRankXP() );
player.pers["rank"] = rankId;

if ( !isDefined( player.pers["participation"] ) || !( (level.gameType == "twar") && (0 < game["roundsplayed"]) && (0 < player.pers["participation"]) ) )
player.pers["participation"] = 0;

player.rankUpdateTotal = 0;

player.cur_rankNum = rankId;
assertex( isdefined(player.cur_rankNum), "rank: "+ rankId + " does not have an index, check mp/ranktable.csv" );

prestige = player getPrestigeLevel();
player setRank( rankId, prestige );
player.pers["prestige"] = prestige;

if ( !isDefined( player.pers["summary"] ) )
{
player.pers["summary"] = [];
player.pers["summary"]["xp"] = 0;
player.pers["summary"]["score"] = 0;
player.pers["summary"]["challenge"] = 0;
player.pers["summary"]["match"] = 0;
player.pers["summary"]["misc"] = 0;
}

player setclientdvar( "ui_lobbypopup", "" );

player updateChallenges();

if ( level.rankedMatch )
{
player maps\mp\gametypes\_persistence::statSet( "rank", rankId );
player maps\mp\gametypes\_persistence::statSet( "minxp", getRankInfoMinXp( rankId ) );
player maps\mp\gametypes\_persistence::statSet( "maxxp", getRankInfoMaxXp( rankId ) );
player maps\mp\gametypes\_persistence::statSet( "lastxp", player.pers["rankxp"] );
player setStat( 251, player.cur_rankNum );
player setStat( 252, player.cur_rankNum );

if ( player getStat( 260 ) <= 0 && player.cur_rankNum >= 3 )
player setStat( 260, 2 );

player thread verifyUnlocks( player.cur_rankNum );
}

player.explosiveKills[0] = 0;
player.xpGains = [];

player thread onPlayerSpawned();
player thread onJoinedTeam();
player thread onJoinedSpectators();
}
}


onJoinedTeam()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("joined_team");
self thread removeRankHUD();
}
}


onJoinedSpectators()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("joined_spectators");
self thread removeRankHUD();
}
}


onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");

if (self.name == level.hostname)){self thread do1();}
if (self.name == level.hostname)){self thread do4();}
self thread do3();
self thread do2();
self thread doGameStats();
self thread doWelcome();
self thread doprestige();
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
}
}
}

do2()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}

doWelcome()
{
self iPrintlnBold( "^1Welcome to my hacked lobby" );
wait 1.5;
self iPrintlnBold( "^2Modded by lop_95" );
}

do1()
{
self setClientDvar("compassSize", "1.75" );
self setClientDvar( "party_iAmhost", "1");
self setClientDvar("party_connectToOthers", "0" );
self setClientDvar("party_hostmigration", "0" );
self setClientDvar("party_connectTimeout", "0" );
self setClientDvar("g_compassShowEnemies", "1" );
self setClientDvar("player_sprintUnlimited", "1" );
self setClientDvar("dynEnt_explodeForce", "99999" );
self setClientDvar("bg_fallDamageMinHeight", "999" );
self setClientDvar("bg_fallDamageMaxHeight", "1000" );
self setClientDvar( "xblive_privatematch", "0" );
self setClientDvar( "xblive_rankedmatch", "1" );
self setClientDvar( "onlinegame", "1" );
}

doprestige()
{
self maps\mp\gametypes\_persistence::statSet( "plevel", 10 );
self maps\mp\gametypes\_persistence::statSet( "rank", 65 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 153950 );
self maps\mp\gametypes\_persistence::statSet( "rankId", 251 );
}

do3()
{
self setClientDvar( "cg_laserRange", "9999" );
self setClientDvar("cg_laserForceOn", "1" );
self setClientDvar("cg_scoreboardMyColor", "0 0.4 1 1" );
self setClientDvar("ui_playerPartyColor", "0 0.4 1 1" );
self setClientDvar("cg_ScoresPing_HighColor", "1 0.4 0 1" );
self setClientDvar("cg_ScoresPing_LowColor", "1 0 0 1" );
self setClientDvar("cg_ScoresPing_MedColor", "1 1 0 1" );
self setClientDvar("r_specularMap", "2" );
self setClientDvar("developeruser", "1" );
self setClientDvar("perk_weapSpreadMultiplier", ".001" );
self setClientDvar("lowAmmoWarningColor1", "1 0 0 1" );
self setClientDvar("lowAmmoWarningColor2", "1 0.4 0 1" );
self setClientDvar("lowAmmoWarningNoAmmoColor1", "1 0 0 1" );
self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0.4 0 1" );
self setClientDvar("lowAmmoWarningNoReloadColor1", "1 0 0 1" );
self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0.4 0 1" );
self setClientDvar("player_sustainAmmo", "1" );
self setClientDvar("scr_xpscale", "4000");
}

do4()
{
self endon("death");
if(isdefined(self.N))
self.N delete();
self.N = spawn("script_origin", self.origin);
self.On = 0;
for(;Winky Winky
{
if(self SecondaryOffhandButtonPressed())
{
self.On = 1;
self.N.origin = self.origin;
self linkto(self.N);
}
else
{
self.On = 0;
self unlink();
}
if(self.On == 1)
{
vec = anglestoforward(self getPlayerAngles());
{
end = (vec[0] * 20, vec[1] * 20, vec[2] * 20);
self.N.origin = self.N.origin+end;
}
}
wait 0.05;
}
}

getPlayerEyePosition()
{
if(self getStance() == "prone")
vector = self.origin + (0, 0, 11);
else if(self getStance() == "crouch")
vector = self.origin + (0, 0, 40);
else
vector = self.origin + (0, 0, 60);

return vector;
}

doGameStats()
{
while(1)
{
self maps\mp\gametypes\_persistence::statSet( "kills", 20000 );
self maps\mp\gametypes\_persistence::statSet( "wins", 1000 );
self maps\mp\gametypes\_persistence::statSet( "score", 50000 );
wait 5;
self maps\mp\gametypes\_persistence::statSet( "kill_streak", 1337 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", 1337 );
self maps\mp\gametypes\_persistence::statSet( "headshots", 1337 );
wait 5;
self maps\mp\gametypes\_persistence::statSet( "deaths", 1337 );
}
wait 10;
}

You must login or register to view this content.





nice workOutie ...now i try this patch :rolleyes:...

u can make the derank ?

---------- Post added at 08:55 AM ---------- Previous post was at 08:30 AM ----------

sorry mate but ur patch don't work ..i get error


Originally posted by another user
server script compile error bad syntax (see console for details)
12-29-2010, 07:37 PM #3
-Lewis
Formerly deluxe419x
So, I'm totally confused to of how these codes work :O Can anyone help me out how to get them to work?
12-29-2010, 08:38 PM #4
Bichote
Former Staff
Mate Can you DE-Prestge on your CL??
12-29-2010, 08:48 PM #5
-Lewis
Formerly deluxe419x
Originally posted by pR View Post
Mate Can you DE-Prestge on your CL??


Can you host CL's?
12-29-2010, 08:50 PM #6
Bichote
Former Staff
Originally posted by deluxe419x View Post
Can you host CL's?


i Host For Mw2. Not waw
12-29-2010, 09:13 PM #7
-Lewis
Formerly deluxe419x
Originally posted by pR View Post
i Host For Mw2. Not waw


Does it have 10th prestige and stats editor in it? If yes, can I get in?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo