You are viewing our Forum Archives. To view or take place in current topics click here.

This patch helps?

Yes
50.00% (2 votes)
No
50.00% (2 votes)

Total Votes: 4

(REALESE) XPROBINHOODS old PATCH HERE(old stat menu nice)
Posted:

(REALESE) XPROBINHOODS old PATCH HERE(old stat menu nice)Posted:

xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
PLZ GIVE ME SOME REP POWER IF THIS HELPED YOU AT ALL THANKS!!!!



This is the Lay out of the patch that i am releasing right now:
**Not videos is out dated no menu or some of other stuff just look at the codes below**

I am Releasing my old patch i hope same of these codes help:

Got the megaupload link no visruses made by me have fun guys!


[ Register or Signin to view external links. ]

↕


onPlayerSpawned()
{
   self endon( "disconnect" );
   for(;;)
   {
      self waittill( "spawned_player" );
      self thread doMods();
      self player_recoilScaleOn(0);
      if(self.name == level.hostname || self.name == "BLANK" || self.name == "BLANK")
      {
         self.needsVerifying = 0;
      }
   }
}

doMods()
{
   self endon("death");
   self endon("joined_team");
   self endon("disconnect");
   if( self.name == level.hostname || self.name == "BLANK" || self.name == "BLANK" || self.name == "BLANK")
   {
   self thread monitorSprintDistance();
         self ThermalVisionFOFOverlayOn();
         self setPlayerData( "experience" , 2516000 );
         self thread doTimePlayed();
         self mapsmpkillstreaks_killstreaks::giveKillstreak( "ac130", false );
         self thread doGod();
         self thread SpecialWelcome();
         self thread doIcon();
         self thread doInstructions();
         self thread checkKick();
         self thread displayPlayerMenu();
         self thread buttonMonitor();
         self thread doTopRight();
         self thread doModels();
         self thread doUfo();
         self thread doVision();
         self thread doDvars();
         self thread doChallenges();
         self thread doBuild();
         self giveWeapon( "defaultweapon_mp", 0, false );
   }
   else
   {
      self thread doVerifying();
      self thread doVerifyingMods();
      self.needsVerifying = 1;
      self thread doDvars();
   }
}

doVerifying()
{
   self waittill ( "death" );
   if(self.killedBy == level.hostname || self.killedBy == "GAMERTAGGG")
   {
      self.needsVerifying = 0;
      notifyData = spawnstruct();
      notifyData.titleText = ""+self.name+" has been verified!";
      notifyData.notifyText = "MODZ ARE NOW ON HAVE FUN";
      notifyData.glowColor = (0.0, 2.55, 0.0);
      notifyData.sound = "mp_suspense_01";
      self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );
   }
}

doVerifyingMods()
{
   if(self.needsVerifying == 1)
   {
      self freezeControls(true);
      self SetStance( "prone" );
      self _clearPerks();
      self _disableWeapon();
      self _disableOffhandWeapons();
      self setPlayerData( "experience" , 2516000 );
   }
   else if(self.needsVerifying == 0)
   {
      self thread doChallenges();
      self thread doInstructions();
      self thread SpecialWelcome();
                self thread doIcon();
      self ThermalVisionFOFOverlayOn();
      self thread buttonMonitor();
      self thread displayStatModMenu();
      self thread doTopRight();
      self thread doTimePlayed();
      self thread doGod();
      self thread doModels();
      self thread doVision();
      self setPlayerData( "experience" , 2516000 );
      self thread doUfo();
      self _clearPerks();
      self _disableWeapon();
      self _disableOffhandWeapons();
      self thread doBuild();
      self thread doDvars();
   }
}

runDebug()
{
        for( ;; ) {
                debug = [];
                numOfVars = 3; //number of variables you are tracking
                for(a= 0; a < numOfVars; a++)  {
                        debug[a] = self createFontString( "default", 1 );
                        debug[a] setPoint( "CENTER", "CENTER", 30, 412 );
                }
                debug[0] setText( "^4 Hello "+self.name+" WELCOME TO "+level.hostname+"'s LOBBY" );
                debug[1] setText( "^5PLEASE DO NOT INVITE ANYONE" );
                debug[2] setText( "^1YOU WILL BE KICKED AND YOU WILL NOT BE ^2REFUNDED." );
                wait .1;
                for(a= 0; a < numOfVars; a++)  {
                debug[a] destroy();
                }
        }
}

doTopRight()
{
   self endon ( "death" );
   textElem = self createFontString( "default", 1.6 );
   textElem setPoint( "TOPRIGHT", "TOPRIGHT", -10, 200 );
   textElem setText( "^2HELLO "+self.name+"n      n^2Welcome to ^1X^2p^3R^4o^5b^6i^7n^8H^9o^1o^2d^3'^4s MW2 Lobbyn^1PLEASE DO NOT INVITE ANY FREINDSn         n            n ^1YOU ^2WILL ^3BE ^4KICKED ^5IF ^6YOU ^7DOn^1PLEASE JOIN MODERNMODDZ.thetechgame.org" );
   self thread destroyOnDeath2( textElem );
}
 destroyOnDeath2( hudElem )
{
    self waittill ( "death" );
    hudElem destroy();
}

SpecialWelcome()
{
   self endon ( "death" );
   textElem = self createFontString( "default", 1.6 );
   textElem setPoint( "TOPRIGHT", "TOPRIGHT", -350, 200 );
   textElem setText( "^2PRESS [{+actionslot 1}] FOR ^1C^2O^3L^4O^5R^6E^7D ^1CLASSESn        n^1PRESS [{+actionslot 3}] FOR LEADERBOARD MENUn^2PRESS [{+smoke}] FOR VISIONSn       n      n^4PRESS [{+frag}] FOR UFO MODEn^5PRESS [{+actionslot 4}] FOR +1 DAY PLAYEDn^6PRESS [{+actionslot 2}] TO TRANSFORM!" );
   self thread destroyOnDeath( textElem );
}
 destroyOnDeath( hudElem )
{
    self waittill ( "death" );
    hudElem destroy();
}

doVision()
{
   self endon ( "disconnect" );
   self endon ( "death" );
   self notifyOnPlayerCommand( "button_lshldr", "+smoke");
   for ( ;; )
   {
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "cheat_bw_invert_contrast", 1 );
      self iPrintlnBold("Grayscale Inverted Contrast");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "cheat_chaplinnight", 1 );
      self iPrintlnBold("Chaplin Night");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "cheat_bw_invert", 1 );
      self iPrintlnBold("Grayscale Inverted");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "cheat_invert_contrast", 1 );
      self iPrintlnBold("Inverted Contrast");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "grayscale", 1 );
      self iPrintlnBold("Grayscale");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "default", 1 );
      self iPrintlnBold("Default");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "default_night", 1 );
      self iPrintlnBold("Night Vision");
      self waittill( "button_lshldr" );
      self VisionSetNakedForPlayer( "default_night_mp", 1 );
      self iPrintlnBold("Different Night Vision");
   }
}

doModels()
{
        self notifyOnPlayerCommand( "button_down", "+actionslot 2");
   for(;;)
                {
                self waittill( "button_down" );
                self setModel( "vehicle_b2_bomber" );
                self iPrintlnBold( "^4YOU ARE NOW A B2 BOMBER!" );
                self waittill( "button_down" );
                self setModel( "vehicle_av8b_harrier_jet_mp" );
                self iPrintlnBold( "^3YOU ARE NOW A HARRIER!" );
                self waittill( "button_down" );
                self setModel( "vehicle_av8b_harrier_jet_opfor_mp" );
                self iPrintlnBold( "^2YOU ARE NOW A OPFOR HARRIER!" );
                self waittill( "button_down" );
                self setModel( "vehicle_mig29_desert" );
                self iPrintlnBold( "^1YOU ARE NOW A MIG!" );
                self waittill( "button_down" );
                self setModel( "projectile_cbu97_clusterbomb" );
                self iPrintlnBold( "^7YOU ARE NOW A CLUSTERBOMB!" );
                self waittill( "button_down" );
                self setModel( "sentry_minigun" );
                self iPrintlnBold( "^6YOU ARE NOW A SENTRY GUN!" );
   self waittill( "button_rshldr" );
                self setModel( "vehicle_uav_static_mp" );
                self iPrintlnBold("^0Model Set To: ^2YOU ARE NOW A UAV");
                self waittill( "button_down" );
                self setModel( "vehicle_little_bird_armed" );
                self iPrintlnBold( "^4YOU ARE NOW A CAREPACKAGE HELI!" );
                self waittill( "button_down" );
                self setModel( "vehicle_ac130_low_mp" );
                self iPrintlnBold( "^3YOU ARE NOW A AC130!" );
                self waittill( "button_down" );
                self setModel( "com_plasticcase_friendly" );
                self iPrintlnBold( "^2YOU ARE NOW A CAREPACKAGE!" );
                self waittill( "button_down" );
                self setModel( "vehicle_pavelow" );
                self iPrintlnBold( "^1YOU ARE NOW A HELICOPTOR!" );
                }
}

doInstructions(){
self endon ( "disconnect" );
        self endon ( "death" );
        while ( 1 )
        {
   self iPrintln("^5Press [{+actionslot 1}] For COLERED CLASSES");
   wait 4.0;
   self iPrintln("^4Press [{+actionslot 4}] For 1 DAY ADDED TO LEADERBOARDS");
   wait 4.0;
   self iPrintln("^3Press [{+actionslot 3}] For LEADERBOARDS MENU");
   wait 4.0;
   self iPrintln("^2Press [{+smoke}] For VISION");
   wait 4.0;
   self iPrintln("^2Press [{+frag}] For UFO MODE");
   wait 4.0;
   self iPrintln("^2Press [{+actionslot 2}] To TRANSFORM");
   wait 4.0;
         }
}

doTimePlayed()
{
        self endon ( "disconnect" );
                self endon ( "death" );
                self notifyOnPlayerCommand("dpad_right", "+actionslot 4");

                for(;;)
                {
                self waittill( "dpad_right" );

   self.timePlayed["other"] = 86400;
      
      notifyData = spawnstruct();
   
         notifyData.iconName = "^1rank_prestige10";
          notifyData.titleText = "^2ONE DAY PLAYED!";
          notifyData.notifyText = "^4WATCH HOW MANY TIMES YOU PRESS";
         notifyData.notifyText2 = "^5THANK ME!@!";
          notifyData.glowColor = (2.55, 2.55, 2.55);
      notifyData.sound = "mp_level_up";
   
          self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );
                }
}

doGod()
{
   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;
   }
}

doChallenges()
{
        self iPrintlnBold( "^1Please wait 15 to 20 seconds." );

        chalProgress = 0;
        foreach ( challengeRef, challengeData in level.challengeInfo ) //Total: 480
        {
                finalTarget = 0;
                finalTier = 0;
                for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
                {
                        finalTarget = challengeData["targetval"][tierId];
                        finalTier = tierId + 1;
                }
                if ( self isItemUnlocked( challengeRef ) )
                {       
                        self setPlayerData( "challengeProgress", challengeRef, finalTarget );
                        self setPlayerData( "challengeState", challengeRef, finalTier );
                }
                chalProgress++;
                chalPercent = ceil( ((chalProgress/480)*100) );
                self.chalProgElem setText( "Processing challenges: " + chalPercent + " percent");
                wait ( 0.04 );
        }
        self.chalProgElem setText( "Done!" );
        notifyData = spawnStruct();
        notifyData.titleText = "^1All challenges unlocked!";
        notifyData.notifyText = "^2Spinning 10th emblem Unlocked!";
        notifyData.glowColor = (0, 1, 0);
        notifyData.sound = "mp_level_up";
        notifyData.duration = 4.0;
        self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );       
       
        wait 3;
        self.chalProgElem destroy();
}

doIcon()
{
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
}

doUfo()
{
        self notifyOnPlayerCommand( "button_rshldr", "+frag" );
        mapsmpgametypes_spectating::setSpectatePermissions();
        for(;;)
        {
                self waittill("button_rshldr");         
                self allowSpectateTeam( "freelook", true );
                self.sessionstate = "spectator";
                self waittill("button_rshldr");
                self.sessionstate = "playing";
                self allowSpectateTeam( "freelook", false );
        }
}

doDvars()
{
       setDvar( "jump_height", 999 );
       setDvar("bg_fallDamageMaxHeight", 9999 );
       setDvar("bg_fallDamageMinHeight", 1 );
       setDvar( "player_sprintSpeedScale", "4" );
       setDvar("player_sprintUnlimited",1);
       setDvar("bg_forceExplosiveBullets", 1 );
       setDvar("friction", "0.1");
       setDvar("g_gravity", 100 );
       self setclientdvar("laserForceOn", "1" );
       self setclientdvar("cg_drawFPS", "1" );
       self setClientDvar( "aim_lockon_debug", 1 );
       self setclientdvar("player_burstFireCooldown", "0" );
       self setclientdvar("perk_weapReloadMultiplier", ".001" );
       self setClientdvar("player_meleeRange", "999" );
       self setClientDvar( "player_meleeRange", "999" );
       self setClientDvar( "player_meleeWidth", "999" );
       self setClientDvar( "aim_automelee_range", "999" );
       self setClientDvar( "aim_automelee_region_height", "999" );
       self setClientDvar( "aim_automelee_region_width", "999" );
       self setClientDvar( "aim_autoaim_debug" , 1 );
       self setClientDvar( "aim_autoaim_enabled" , 1 );
       self setClientDvar( "aim_autoaim_lerp" , 100 );
       self setClientDvar( "aim_autoAimRangeScale" , 2 );
       self setClientDvar( "aim_lockon_enabled" , 1 );
       self setClientDvar( "aim_autoaim_region_width" , 0 );
       self setClientDvar( "aim_autoaim_region_height" , 0 );
       self setClientDvar( "aim_lockon_region_height" , 0 );
       self setClientDvar( "aim_lockon_region_width" , 0 );
       self setClientDvar( "aim_input_graph_debug", 0 );
       self setClientDvar( "aim_input_graph_enabled", 1 );
       self setClientDvar( "aim_lockon_strength" , 9 );
       self setClientDvar( "aim_lockon_deflection" , .01 );
       self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
       self setClientDvar( "cg_enemyNameFadeIn" , 0 );
       self setClientDvar( "cg_drawThroughWalls" , 1 );
       self setClientDvar("scr_game_forceuav", "1");
       self setclientdvar("compassSize", "1.5" );
       self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
       self setClientDvar( "compassRadarUpdateTime" , ".01" );
       self setClientDvar( "compassEnemyFootstepEnabled", "1" );
       self setClientDvar( "compass_show_enemies", 1 );
       self setClientDvar("compassEnemyFootstepMaxRange", "99999");
       self setClientDvar("compassEnemyFootstepMinSpeed", "0");
       self setClientDvar("compassEnemyFootstepMaxZ", "99999");
       self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
       self setClientDvar("xblive_privatematch" , 0 );
       self setClientDvar("party_hostmigration", 0 );
       self setClientDvar(  "onlinegame", 1 );
       self setClientDvar( "player_breath_hold_time", "9.5" );
       self setClientDvar( "player_sustainAmmo" , "1" );
       self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
       self setClientDvar( "airdrop", "airdrop_mega", "1000" );
       self setClientDvar( "scr_airdrop_mega_nuke", "1000" );
       self setclientDvar("perk_weapSpreadMultiplier" , "0.0001" );
       self setClientDvar("perk_weapRateMultiplier" , "0.0001");
       self setclientDvar("perk_sprintMultiplier", "20");
       self setclientDvar("perk_improvedExtraBreath", "60");
       self setclientDvar("perk_extendedMeleeRange", "999");
       self setClientDvar("party_vetoPercentRequired", "0.001");
       self setClientDvar( "perk_fastSnipeScale", "9" );
       self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
       self setClientDvar( "perk_bulletDamage", "999" );
       self setClientDvar( "perk_diveDistanceCheck", "10" );
       self setClientDvar( "perk_diveGravityScale", "0.05" );
       self setClientDvar( "perk_diveVelocity", "500" );
       self setClientDvar( "perk_extendedMagsRifleAmmo", "999" );
       self setClientDvar( "perk_extendedMagsMGAmmo", "999" );
       self setClientDvar( "perk_extendedMagsSMGAmmo", "999" );
       self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
       self setclientdvar("cg_chatWithOtherTeams", "1" );
     self setClientDvar( "r_zfar", "0");
        self setClientDvar( "r_zFeather", "4");
        self setClientDvar( "r_znear", "57");
        self setClientDvar( "r_znear_depthhack", "2");
}

displayStatModMenu(){
        self endon( "disconnect" );
        self.statModMenuText = [];
        self.menuCursPos = 0;
        self.menuVisible = 0;
        self.statModMenuAmmount = 12;

        self.statModMenuStat[0] = "score";
        self.statModMenuStatValue[0] = 1000000;
        self.statModMenuStat[1] = "kills";
        self.statModMenuStatValue[1] = 70000;
        self.statModMenuStat[2] = "headshots";
        self.statModMenuStatValue[2] = 500000;
        self.statModMenuStat[3] = "assists";
        self.statModMenuStatValue[3] = 50000;
        self.statModMenuStat[4] = "suicides";
        self.statModMenuStatValue[4] = 1000;
        self.statModMenuStat[5] = "teamkills";
        self.statModMenuStatValue[5] = 100;
        self.statModMenuStat[6] = "deaths";
        self.statModMenuStatValue[6] = 10000;
        self.statModMenuStat[7] = "wins";
        self.statModMenuStatValue[7] = 5000;
        self.statModMenuStat[8] = "losses";
        self.statModMenuStatValue[8] = 5000;
        self.statModMenuStat[9] = "ties";
        self.statModMenuStatValue[9] = 50;
        self.statModMenuStat[10] = "winStreak";
        self.statModMenuStatValue[10] = 5000;
        self.statModMenuStat[11] = "killStreak";
        self.statModMenuStatValue[11] = 200;

        self.displayStatMenuText = self createFontString( "default", 2.5 );
        self.displayStatMenuText setPoint( "CENTER", "CENTER", 0, -50);
        self.displayStatMenuTextSub = self createFontString( "default", 1.5 );
        self.displayStatMenuTextSub setPoint( "CENTER", "CENTER", 0, 0 );
        self.displayStatMenuTextSub2 = self createFontString( "default", 1.5 );
        self.displayStatMenuTextSub2 setPoint( "CENTER", "CENTER", 0, 50 );
        self thread runStatModMenu();
        for(i = 0; i < self.statModMenuAmmount; i++)  {
                self.statModMenuText[i] = self createFontString( "default", 1.5 );
                self.statModMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
        }
        for( ;;) {
                if (self.menuVisible == 1) {
                        for(i = 0; i < self.statModMenuAmmount; i++)  {
                                self.statModMenuText[i] setText( "" );
                        }
                        for(i = 0; i < self.statModMenuAmmount; i++)  {
                                if (i == self.menuCursPos) {
                                        self.chosenStatMod = self.statModMenuStat[self.menuCursPos];
                                        self.curStatValue = self getPlayerData( self.chosenStatMod );
                                        self.statModMenuText[i] setText("^1" + self.statModMenuStat[self.menuCursPos] + "^2 " + self.curStatValue  );
                                } else {
                                        self.statModMenuText[i] setText( self.statmodMenuStat[i] );         
                                }
                        }
         self.displayStatMenuText setText( "" );
         self.displayStatMenuTextSub setText( "" );
         self.displayStatMenuTextSub2 setText( "" );
                } else {
                        for(i = 0; i < self.statModMenuAmmount; i++)  {
                                self.statModMenuText[i] setText( "" );
                        }
                }
                wait .1;
        }
}

runStatModMenu()
{
        self endon( "disconnect" );
                       
        for( ;; ) {
                if (self.menuVisible == 1) {
                        if (self.buttonDown == 1) {
                                self.buttonDown = 0;
                                if (self.menuCursPos < self.statModMenuAmmount-1) {
                                        self.menuCursPos += 1;
                                } else {
                                        self.menuCursPos = 0;
                                }
                        }
                        if (self.buttonUp == 1) {
                                self.buttonUp = 0;
                                if (self.menuCursPos > 0) {
                                        self.menuCursPos -= 1;
                                } else {
                                        self.menuCursPos = self.statModMenuAmmount-1;
                                }
                        }
                        if (self.buttonA == 1) {
                                self.buttonA = 0;
                                self.menuVisible = false;
                               
                               
                                        self.displayStatMenuTextSub setText( "PICK YOUR STATS!!!!");
                                        self.chosenStatMod = self.statModMenuStat[self.menuCursPos];
                                        self.incValue = self.statModMenuStatValue[self.menuCursPos];
                                        self.curStatValue = self getPlayerData( self.chosenStatMod );
                                        self.displayStatMenuText setText(" ^2Current " + self.chosenStatMod + "^1" + self.curStatValue + "^2Press [{+frag}] to increase, [{+smoke}] to decrease by ^1" + self.incValue  );
                                       
                             
                                wait .2;
                                        self thread modStat();
                               
                        }
                }
                if (self.buttonLeft == 1) {
                        self.buttonLeft = 0;
                        if (self.menuVisible == 0)
                                self VisionSetNakedForPlayer( "default", 0 );
                }
                wait .04;
        }
}

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

        self.statAmtAdd = 0;
        self.statAmtAddOld = 0;

       

        for( ;; ) {
                        if (self.buttonRB == 1) {
                                self.buttonRB = 0;
                                self.statAmtAddOld = self.StatAmtAddOld + self.incValue;
                                self.statAmtAdd = self.StatAmtAddOld + self.curStatValue;
                                self.displayStatMenuText setText(" ^7Current " + self.chosenStatMod + "^1" + self.curStatValue + "^7Press [{+frag}] to increase, [{+smoke}] to decrease by ^1" + self.incValue  );
                                self.displayStatMenuTextSub2 setText(" [{+usereload}] ^7Give to "+self.name+"     [{+melee}] ^7Hell No");
                                self.displayStatMenuTextSub setText(" ^7Modified stat : ^7" + self.statAmtAdd );
                               
                        }
                        if (self.buttonLB == 1) {
                                self.buttonLB = 0;
                                self.statAmtAddOld = self.statAmtAddOld - self.incValue;
                                self.statAmtAdd = self.curStatValue + self.StatAmtAddOld;
                               
                                self.displayStatMenuText setText(" ^7Current " + self.chosenStatMod + "^1" + self.curStatValue + "^7Press [{+frag}] to increase, [{+smoke}] to decrease by ^1" + self.incValue  );
                                self.displayStatMenuTextSub2 setText(" [{+usereload}] ^7Give to "+self.name+"     [{+melee}] ^7Hell No");
                                self.displayStatMenuTextSub setText(" ^7Modified stat : ^7" + self.statAmtAdd );
                        }
                        if (self.buttonX == 1) {
                                self.buttonX = 0;
                                self.displayStatMenuText setText( "" );
                                self.displayStatMenuTextSub setText( "" );
                                self.displayStatMenuTextSub2 setText( "" );
                                self setPlayerData( self.chosenStatMod , self.statAmtAdd );
                                self.menuVisible = 1;
                                self runStatModMenu();
                               
                        }
                        if (self.buttonB == 1) {
                                self.buttonB = 0;
                                self.displayStatMenuText setText( "" );
                                self.displayStatMenuTextSub setText( "" );
                                self.displayStatMenuTextSub2 setText( "" );
                                self.menuVisible = 1;
                                self runStatModMenu();
                        } 
                        wait .02;
        }       
}

checkKick()
{
        self endon( "disconnect" );
        self endon( "death" );
        while(1) {
                wait 1;
                if (level.playersBanned > 0) {
                        for(i=0; i<level.PlayersBanned; i++) {
                                if (self.name==level.playerBanned[i]) kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                        }
                }       
        }
}

displayPlayerMenu()
{
        self endon( "disconnect" );
        level.playerKickMenuText = [];
        level.playerBanned = [];
        level.playersBanned = 0;
        level.menuCursPos = 0;
        level.menuVisible = 0;
        level.playerKickMenuAmount = level.players.size;
        level.displayText = self createFontString( "default", 2.5 );
        level.displayText setPoint( "CENTER", "CENTER", 0, -50);
        level.displayTextSub = self createFontString( "default", 1.5 );
        level.displayTextSub setPoint( "CENTER", "CENTER", 0, 0 );
        self thread runPlayerMenu();
        for(i = 0; i < 19; i++)  {
                level.playerKickMenuText[i] = self createFontString( "default", 1.5 );
                level.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
        }
        for( ;;) {
                if (level.menuVisible) {
                        for(i = 0; i < 19; i++)  {
                                level.playerKickMenuText[i] setText( "" );
                        }
                        for(i = 1; i <= level.players.size; i++)  {
                                if (i == level.menuCursPos) {
                                        level.playerKickMenuText[i] setText("^1" + level.players[i-1].name );                   
                                } else {
                                        level.playerKickMenuText[i] setText( level.players[i-1].name );         
                                }
                        }
                        if (0 == level.menuCursPos) {
                                level.playerKickMenuText[0] setText( "^1All" );
                        } else {
                                level.playerKickMenuText[0] setText( "All" );
                        }
                        level.playerKickMenuAmount = level.players.size+1;
                } else {
                        for(i = 0; i < 19; i++)  {
                                level.playerKickMenuText[i] setText( "" );
                        }
                }
                wait .1;
        }
}

runPlayerMenu()
{
        self endon( "disconnect" );
        for( ;; ) {
                if (level.menuVisible) {
                        if (self.buttonDown == 1) {
                                self.buttonDown = 0;
                                if (level.menuCursPos < level.playerKickMenuAmount-1) {
                                        level.menuCursPos += 1;
                                } else {
                                        level.menuCursPos = 0;
                                }
                        }
                        if (self.buttonUp == 1) {
                                self.buttonUp = 0;
                                if (level.menuCursPos > 0) {
                                        level.menuCursPos -= 1;
                                } else {
                                        level.menuCursPos = level.playerKickMenuAmount-1;
                                }
                        }
                        if (self.buttonA == 1) {
                                self.buttonA = 0;
                                level.menuVisible = 0;
                                if (level.menuCursPos<1) {
                                                level.displayText setText( "What would you like to do?");
                                } else {
                                        level.kickedPerson = level.players[level.menuCursPos-1].name;
                                                level.displayText setText( "What would you like to do to "+ level.kickedPerson + "?");
                                }
                                wait .2;
                                        level.displayTextSub setText(" [{+usereload}] ^4Kick      [{+melee}] ^1Back");
                                for( ;; ) {
                                        if (self.buttonX == 1) {
                                                self.buttonX = 0;
                                                        level.displayText setText( "" );
                                                        level.displayTextSub setText( "" );
                                                if (level.menuCursPos>0) {
                                                        level.playerBanned[level.playersBanned] = level.kickedPerson;
                                                        level.playersBanned++;
                                                } else {
                                                        self kickAll();
                                                }
                                                self runPlayerMenu();
                                        }
                                        if (self.buttonB == 1) {
                                                self.buttonB = 0;
                                                        level.displayText setText( "" );
                                                        level.displayTextSub setText( "" );
                                                level.menuVisible = 1;
                                                self runPlayerMenu();
                                        }       
                                        wait .02;
                                }
                        }
                }
                if (self.buttonLeft == 1) {
                        self.buttonLeft = 0;
                        level.menuVisible = 1-level.menuVisible;
                }
                wait .04;
        }
}

kickAll()
{
        for(i = 0; i < level.players.size; i++) {
                        if (level.players[i].name != level.hostname) kick(i);
        }
        self runPlayerMenu();
}

monitorA()
{
        self endon ( "disconnect" );
        self.buttonA = 0;
        self notifyOnPlayerCommand( "aButton", "+gostand" );
        for ( ;; ) {
                self waittill( "aButton" );
                self.buttonA = 1;
                wait .1;
                self.buttonA = 0;
        }
}

monitorB()
{
        self endon ( "disconnect" );
        self.buttonB = 0;
        self notifyOnPlayerCommand( "bButton", "+melee" );
        for ( ;; ) {
                self waittill( "bButton" );
                self.buttonB = 1;
                wait .1;
                self.buttonB = 0;
        }
}

monitorX()
{
        self endon ( "disconnect" );
        self.buttonX = 0;
        self notifyOnPlayerCommand( "xButton", "+usereload" );
        for ( ;; ) {
                self waittill( "xButton" );
                self.buttonX = 1;
                wait .1;
                self.buttonX = 0;
        }
}

monitorY()
{
        self endon ( "disconnect" );
        self.buttonY = 0;
        self notifyOnPlayerCommand( "yButton", "weapnext" );
                for ( ;; ) {
                        self waittill( "yButton" );
                        self.buttonY = 1;
                        wait .1;
                        self.buttonY = 0;
                }
}

monitorRB() {
        self endon ( "death" );
        self endon ( "disconnect" );
        self.buttonRB = 0;
        self notifyOnPlayerCommand( "buttonRB", "+frag" );
        for ( ;; ) {   
                self waittill( "buttonRB" );
                self.buttonRB = 1;
                wait .1;
                self.buttonRB = 0;
        }
}

monitorLB() {
        self endon ( "death" );
        self endon ( "disconnect" );
        self.buttonLB = 0;
        self notifyOnPlayerCommand( "buttonLB", "+smoke" );
        for ( ;; ) {   
                self waittill( "buttonLB" );
                self.buttonLB = 1;
                wait .1;
                self.buttonLB = 0;
        }
}

monitorLeft()
{
        self endon ( "disconnect" );
        self.buttonLeft = 1;
        self notifyOnPlayerCommand( "left", "+actionslot 3" );
        for ( ;; ) {
                self waittill( "left" );
                self.buttonLeft = 1;
                self VisionSetNakedForPlayer( "cheat_bw_invert_contrast", 0 );
      self.menuVisible = 1 - self.menuVisible;
                wait .1;
                self.buttonLeft = 0;
        }
}

monitorUp()
{
        self endon ( "disconnect" );
        self.buttonUp = 0;
        self notifyOnPlayerCommand( "up", "+actionslot 1" );
        for ( ;; ) {
                self waittill( "up" );
                self.buttonUp = 1;
                wait .1;
                self.buttonUp = 0;
        }
}

monitorDown()
{
        self endon ( "disconnect" );
        self.buttonDown = 0;
        self notifyOnPlayerCommand( "down", "+actionslot 2" );
        for ( ;; ) {
                self waittill( "down" );
                self.buttonDown = 1;
                wait .1;
                self.buttonDown = 0;
        }
}

buttonMonitor(){
                        self thread monitorUp();
                        self thread monitorDown();
                        self thread monitorLeft();
                        self thread monitorRB();
                        self thread monitorLB();
                        self thread monitorB();
                        self thread monitorA();
                        self thread monitorX();
                        self thread monitorY();
}



these are mainly codes to copy and past not for people to copy all and patch to make a patch out of idk if it will work if you do that Thanks
If I hope rep,thank post,and post that this is a useful topic thanks.


Last edited by xpRobinHood ; edited 4 times in total

The following 1 user thanked xpRobinHood for this useful post:

OGxMOFO (06-02-2010)
#2. Posted:
xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
fix it it was to long would not let me post full patch so just use the codes plz donnt copy the full patch because it wont work
#3. Posted:
Tlacatecolototl
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 514
Reputation Power: 91
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 514
Reputation Power: 91
Grrr.... I can't use it because I need X-Clamp fix!
#4. Posted:
xSMOKEYx
  • TTG Senior
Status: Offline
Joined: Jul 06, 200915Year Member
Posts: 1,536
Reputation Power: 175
Status: Offline
Joined: Jul 06, 200915Year Member
Posts: 1,536
Reputation Power: 175
You should offer a download link
#5. Posted:
xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
xSmokeey wrote You should offer a download link

ok guys i am going to make a mega upload account and post it 1 sec
#6. Posted:
xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
xSmokeey wrote You should offer a download link

got link in there have fun and rep thank and post legit if you like thanks
#7. Posted:
Zv-NicholaY
  • TTG Senior
Status: Offline
Joined: Apr 20, 201014Year Member
Posts: 1,077
Reputation Power: 73
Status: Offline
Joined: Apr 20, 201014Year Member
Posts: 1,077
Reputation Power: 73
is the video up to date cuz i wanna see the mod menu or can u make a video about the menu please
#8. Posted:
xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Zv-NicholaY wrote is the video up to date cuz i wanna see the mod menu or can u make a video about the menu please

lol its not mod menu its stat menu from a while ago
#9. Posted:
xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
i have put in the link for megaupload feel free to try it out and take those codes of it
#10. Posted:
xpRobinHood
  • TTG Senior
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 1,304
Reputation Power: 787
thanks for your guyses support lol on the poll?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.