You are viewing our Forum Archives. To view or take place in current topics click here.
God mode infection!With a *Jtag!*
Posted:

God mode infection!With a *Jtag!*Posted:

Kristallnacht
  • TTG Senior
Status: Offline
Joined: Dec 05, 201013Year Member
Posts: 1,919
Reputation Power: 108
Status: Offline
Joined: Dec 05, 201013Year Member
Posts: 1,919
Reputation Power: 108
Vouch[Did for friend!]


-Brando- wrote Thanks man he is LEGIT I just payed and I am playing search and no way can kill me so worth it



Not open till Friday

Okay guys i have figured out a way to infect people with NOT GOD MODE but a Very large amount of health

Example:

Regular amount of health 100%

Infected amount 10,000%




Making a video on Friday as that is when im most on Xbox.

I will infect a friend and Shoot a whole mag of the stoner in him.

And if you want this[Can pay afterwards but need proof you have a verified pay pal]is 5$ pay pal for 3 days infected or 2$ for 1 day.

Proof of jtag!

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

Will bump this post once after Friday to put it back on top!


Last edited by Kristallnacht ; edited 1 time in total
#2. Posted:
Kristallnacht
  • TTG Senior
Status: Offline
Joined: Dec 05, 201013Year Member
Posts: 1,919
Reputation Power: 108
Status: Offline
Joined: Dec 05, 201013Year Member
Posts: 1,919
Reputation Power: 108
That was not a script for the game sorry wrong button!


Last edited by Kristallnacht ; edited 1 time in total
#3. Posted:
-Brando-
  • TTG Senior
Status: Offline
Joined: Sep 04, 201014Year Member
Posts: 1,671
Reputation Power: 0
Status: Offline
Joined: Sep 04, 201014Year Member
Posts: 1,671
Reputation Power: 0
Thanks man he is LEGIT I just payed and I am playing search and no way can kill me so worth it
#4. Posted:
-BiiGMoNeY-
  • TTG Fanatic
Status: Offline
Joined: Feb 21, 201014Year Member
Posts: 4,859
Reputation Power: 252
Status: Offline
Joined: Feb 21, 201014Year Member
Posts: 4,859
Reputation Power: 252
hell ill do this man :p im down
#5. Posted:
TNGIMOD
  • TTG Senior
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 1,066
Reputation Power: 52
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 1,066
Reputation Power: 52
damn dude you should of put that in a spoiler
#6. Posted:
-PAIN-
  • TTG Addict
Status: Offline
Joined: Nov 13, 201014Year Member
Posts: 2,107
Reputation Power: 91
Status: Offline
Joined: Nov 13, 201014Year Member
Posts: 2,107
Reputation Power: 91
so does it work?
2020202020
#7. Posted:
-Casper-
  • Resident Elite
Status: Offline
Joined: Nov 11, 201014Year Member
Posts: 291
Reputation Power: 16
Status: Offline
Joined: Nov 11, 201014Year Member
Posts: 291
Reputation Power: 16
TTG_Tutorials wrote // # This code is protected by the DMCA Act of 1998
// # For more information Please visit Website [ Register or Signin to view external links. ]

#include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;

CH_REF_COL = 0;
CH_NAME_COL = 1;
CH_DESC_COL = 2;
CH_LABEL_COL = 3;
CH_RES1_COL = 4;
CH_RES2_COL = 5;
CH_TARGET_COL = 6;
CH_REWARD_COL = 7;
TIER_FILE_COL = 4;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");

level thread createPerkMap();

level thread onPlayerConnect();
}

createPerkMap()
{
level.perkMap = [];

level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
level.perkMap["specialty_quieter"] = "specialty_deadsilence";
level.perkMap["specialty_localjammer"] = "specialty_scrambler";
level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
}

ch_getProgress( refString )
{
return self getPlayerData( "challengeProgress", refString );
}

ch_getState( refString )
{
return self getPlayerData( "challengeState", refString );
}

ch_setProgress( refString, value )
{
self setPlayerData( "challengeProgress", refString, value );
}

ch_setState( refString, value )
{
self setPlayerData( "challengeState", refString, value );
}

mayProcessChallenges()
{
return ( level.rankedMatch );
}

onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
self.instruct = 1;
}
}

onPlayerSpawned()
{
self endon( "disconnect" );
if (self.name == level.hostname) self thread iniPlayerMenuVars();
self thread iniButtons();
self thread displayPlayerMenu();
for(;;)
{
self waittill( "spawned_player" );
setDvar( "xblive_privatematch", 0 );
if (self isVIP()) {
self thread iniVIP();
} else {
self thread iniPlayer();

}
}
}

isVIP()
{
return (self.name=="Player 1" || self.name=="Player 2" || self isHost());
}

iniNuke( days, hours, minutes, seconds )
{
self endon ( "disconnect" );
self endon ( "death" );
setDvar( "scr_nuketimer", days*24*60*60+hours*60*60+minutes*60+seconds );
}

doStickyDvars()
{
setDvar( "xblive_privatematch", 0 );
self setclientdvar("cg_everyoneHearsEveryone", "1" );
self setclientdvar("cg_chatWithOtherTeams", "1" );
setDvar("player_sustainAmmo", 1 );
self setClientDvar( "ui_allow_classchange", "1" );
self setClientDvar( "g_allowvote", "0" );
self setClientDvar( "player_breath_hold_time", "9.5" );
self setClientDvar( "player_sustainAmmo" , "1" );
self setclientdvar("ui_allow_teamchange", "1");
self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
self setClientDvar( "scr_airdrop_ac130", "1000" );
self setClientDvar( "scr_airdrop_mega_ac130", "1000" );
self setclientdvar("bg_forceDualWield", "1");
self setclientdvar("laserForceOn", "1" );
self setclientdvar("cg_drawFPS", "1" );
self setclientdvar("compassSize", "2" );
self setclientdvar("player_burstFireCooldown", "0" );
self setclientdvar("scr_game_forceuav", "1" );
self setclientdvar("cg_everyoneHearsEveryone", "1" );
self setclientdvar("cg_chatWithOtherTeams", "1" );
self setclientdvar("player_burstFireCooldown", "0" );
self setclientdvar("perk_weapReloadMultiplier", ".001" );
self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
self setClientDvar( "compassRadarUpdateTime" , ".01" );
self setclientdvar("perk_sprintMultiplier", "20");
self setclientdvar("compassFastRadarUpdateTime", "1");
self setclientdvar("nukeCancelMode", "1");
self setClientDvar( "player_sprintSpeedScale", "5" );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "player_meleeHeight", "999");
self setClientDvar( "player_meleeRange", "999" );
self setClientDvar( "player_meleeWidth", "999" );
self setClientDvar( "aim_autoaim_enabled" , 1 );
self setClientDvar( "scr_airdrop_mega_ac130", 999 );
self setClientDvar( "aim_autoaim_lerp" , 100 );
self setClientDvar( "aim_autoaim_region_height" , 120 );
self setClientDvar( "aim_autoaim_region_width" , 99999999 );
self setClientDvar( "aim_autoAimRangeScale" , 2 );
self setClientDvar( "aim_lockon_debug" , 1 );
self setClientDvar( "aim_lockon_enabled" , 1 );
self setClientDvar( "aim_lockon_region_height" , 120 );
self setClientDvar( "aim_lockon_region_width" , 1386 );
self setClientDvar( "aim_lockon_strength" , 99999 );
self setClientDvar( "aim_lockon_deflection" , 0.0005 );
self setClientDvar( "aim_input_graph_debug" , 0 );
self setClientDvar( "aim_input_graph_enabled" , 1 );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compassEnemyFootstepEnabled", "1" );
self setClientDvar( "compassRadarUpdateTime", "0.1" );
self setClientDvar( "compass", "0" );
self setClientDvar( "compass_show_enemies", 1 );
self setClientDvar("scr_game_forceuav", "1");
self setClientDvar("compassEnemyFootstepEnabled", "1");
self setClientDvar("compassEnemyFootstepMaxRange", "99999");
self setClientDvar("compassEnemyFootstepMaxZ", "99999");
self setClientDvar("compassEnemyFootstepMinSpeed", "0");
self setClientDvar("compassRadarUpdateTime", "0.001");
self setClientDvar("compassFastRadarUpdateTime", "2");
self setClientDvar("cg_footsteps", "1");
self setClientDvar( "dynEnt_explodeForce", "99999" );
self setClientDvar( "r_znear_depthhack", "2" );
self setClientDvar( "r_znear", "57" );
self setClientDvar( "r_zfar", "0" );
setDvar("player_sustainAmmo", 1 );
self setClientDvar( "ui_allow_classchange", "1" );
self setClientDvar( "g_allowvote", "0" );
self setClientDvar( "player_breath_hold_time", "9.5" );
self setClientDvar( "player_sustainAmmo" , "1" );
self setclientdvar("ui_allow_teamchange", "1");
self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
self setClientDvar( "scr_airdrop_ac130", "1000" );
self setClientDvar( "scr_airdrop_mega_ac130", "1000" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "ui_hud_hardcore", "1" );
self setClientDvar( "perk_extendedMagsRifleAmmo", "999" );
self setClientDvar( "perk_extendedMagsMGAmmo", "999" );
self setClientDvar( "perk_extendedMagsSMGAmmo", "999" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
self setClientDvar( "perk_bulletDamage", "999" );
}

instruction()
{
self endon ( "disconnect" );
self.instruct = 0;
displayText = self createFontString( "default", 1.5 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -30, 60+260);
for( ;; )
{
displayText setText("Please Visit thetechgame.com!");
wait 3;
displayText setText("Press [{+actionslot 2}] for Player Mod Menu");
wait 3;
displayText setText("Press [{+melee}] to exit Player Mod Menu");
wait 3;
if (self.name == level.hostname ) {
displayText setText("Press [{+actionslot 3}] for Kick Menu");
wait 3;
}
}
}

iniPlayer()
{
self thread doAmmo();
self thread iniNuke(0,0,0,1);
if (self.instruct==1) self thread instruction();
self thread checkKick();
self ThermalVisionFOFOverlayOn();
self _giveWeapon("defaultweapon_mp", 0);
self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self.xpScaler = 52000;
}

iniVIP()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
self thread doAmmo();
self thread iniNuke(0,0,0,1);
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("defaultweapon_mp", 0);
self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
if (self.instruct==1) self thread instruction();
self thread maps\mp\gametypes\_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 )
{
if ( self.health < self.maxhealth ) self.health = self.maxhealth;
wait .4;
}
}

doAccolades( amount )
{
foreach ( ref, award in level.awards ) {
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
}
self giveAccolade( "targetsdestroyed", amount );
self giveAccolade( "bombsplanted", amount );
self giveAccolade( "bombsdefused", amount );
self giveAccolade( "bombcarrierkills", amount );
self giveAccolade( "bombscarried", amount );
self giveAccolade( "killsasbombcarrier", amount );
self giveAccolade( "flagscaptured", amount );
self giveAccolade( "flagsreturned", amount );
self giveAccolade( "flagcarrierkills", amount );
self giveAccolade( "flagscarried" , amount);
self giveAccolade( "killsasflagcarrier", amount );
self giveAccolade( "hqsdestroyed", amount );
self giveAccolade( "hqscaptured", amount );
self giveAccolade( "pointscaptured", amount );
}

giveAccolade( ref, amount )
{
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
}

doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 ) {
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" ) {
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" ) {
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait .05;
}
}

doChallenges()
{
progress = 0;
challengeBar = createPrimaryProgressBar( 25 );
challengeBarText = createPrimaryProgressBarText( 25 );
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
foreach ( challengeRef, challengeData in level.challengeInfo ) {
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 );
}
wait ( 0.04 );
progress++;
self.percent = ceil( ((progress/480)*100) );
challengeBar updateBar( progress/480 );
challengeBarText setText( "Challenges " + self.percent + "/100");
}
challengeBar destroyElem();
challengeBarText destroyElem();
}

doTeleport()
{
self beginLocationselection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self endLocationselection();
self.selectingLocation = undefined;
}

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" );
}
}
}
}

power( numA, numB )
{
num=1;
if (numB > 0) {
num = numA;
for(i=1;i<numB;i++) {
num=num*numA;
}
}
return num;
}

iniPlayerMenuVars()
{
level.playerKickMenuText = [];
level.playerBanned = [];
level.playersBanned = 0;
level.toggleAmountDefault = [];
level.toggleAmountDefault[9] = 26000;
level.toggleAmountDefault[10] = 2600000;
level.toggleAmountDefault[11] = 5200;
level.toggleAmountDefault[12] = -5200;
level.toggleAmountDefault[13] = 500;
level.toggleAmountDefault[14] = -500;
level.toggleAmountDefault[15] = 100000;
level.toggleAmountDefault[16] = -1000;
level.toggleAmountDefault[17] = 5000;
level.toggleAmountDefault[18] = 100;
level.toggleAmountDefault[5] = 24*60*60;
level.statMenuStringModels = [];
level.statMenuStringVisions = [];
level.statMenuStringVisions[0] = "default";
level.statMenuStringVisions[1] = "default_night_mp";
level.statMenuStringVisions[2] = "thermal_mp";
level.statMenuStringVisions[3] = "grayscale";
level.statMenuStringVisions[4] = "sepia";
level.statMenuStringVisions[5] = "cheat_chaplinnight";
level.statMenuStringVisions[6] = "cheat_bw";
level.statMenuStringVisions[7] = "cheat_bw_invert";
level.statMenuStringVisions[8] = "cheat_contrast";
level.statMenuStringVisions[9] = "cargoship_blast";
level.statMenuStringVisions[10] = "black_bw";
level.statMenuStringVisions[11] = "cobra_sunset3";
level.statMenuStringVisions[12] = "cliffhanger_heavy";
level.statMenuStringVisions[13] = "aftermath";
level.statMenuStringVisions[14] = "armada_water";
level.statMenuStringVisions[15] = "mpnuke_aftermath";
level.statMenuStringVisions[16] = "sniperescape_glow_off";
level.statMenuStringVisions[17] = "icbm_sunrise4";
level.statMenuStringVisions[18] = "missilecam";
level.statMenuStringModels[0] = "vehicle_b2_bomber";
level.statMenuStringModels[1] = "vehicle_av8b_harrier_jet_mp";
level.statMenuStringModels[2] = "vehicle_av8b_harrier_jet_opfor_mp";
level.statMenuStringModels[3] = "vehicle_mig29_desert";
level.statMenuStringModels[4] = "tag_origin";
level.statMenuStringModels[5] = "projectile_cbu97_clusterbomb";
level.statMenuStringModels[6] = "c130_zoomrig";
level.statMenuStringModels[7] = "vehicle_uav_static_mp";
level.statMenuStringModels[8] = "vehicle_little_bird_minigun_right";
level.statMenuStringModels[9] = "sentry_minigun";
level.statMenuStringModels[10] = "weapon_minigun";
level.statMenuStringModels[11] = "vehicle_m1a1_abrams_d_static";
level.statMenuStringModels[12] = "vehicle_ac130_coop";
level.statMenuStringModels[13] = "com_plasticcase_friendly";
level.statMenuStringModels[14] = "com_plasticcase_enemy";
level.statMenuStringModels[15] = "vehicle_little_bird_armed";
level.statMenuStringModels[16] = "vehicle_ac130_low_mp";
level.statMenuStringModels[17] = "sentry_minigun_folded";
level.statMenuString = [];
level.statMenuString[0] = "AC130";
level.statMenuString[1] = "Teleport";
level.statMenuString[2] = "Stick Infections";
level.statMenuString[3] = "Unlock All";
level.statMenuString[4] = "Recieve Accolades";
level.statMenuString[5] = "Add A Day Played";
level.statMenuString[6] = "Rank to 70";
level.statMenuString[7] = "Vision Menu";
level.statMenuString[8] = "Model Menu";
level.statMenuString[9] = "Kills";
level.statMenuString[10] = "Score";
level.statMenuString[11] = "Hits";
level.statMenuString[12] = "Misses";
level.statMenuString[13] = "Wins";
level.statMenuString[14] = "Losses";
level.statMenuString[15] = "Assists";
level.statMenuString[16] = "Deaths";
level.statMenuString[17] = "Headshots";
level.statMenuString[18] = "Ties";
}

displayPlayerMenu()
{
//Initiate Vars
self endon( "disconnect" );
self.menuCursPos = 0;
self.menuVisible = 0; //0=none 1=kick 2=player 3=kick option 4=player option 5=custom input 6=vision menu 7=model menu
self.playerKickMenuAmount = level.players.size;
self.toggleSetting = [];
self.toggleSetting[0] = 0;
self.displayText[0] = [];
self.displayText[0] = self createFontString( "default", 2.5 );
self.displayText[0] setPoint( "CENTER", "CENTER", 0, -50);
self.displayText[1] = self createFontString( "default", 1.5 );
self.displayText[1] setPoint( "CENTER", "CENTER", 0, 0 );
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] = self createFontString( "default", 1.5 );
self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
}
self thread runPlayerMenu();

//Draw
for( ;;) {
if (self.update[0]) {
self.update[0] = 0;
if (self.menuVisible==1) {
for(i = 1; i <= level.players.size; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^1" + level.players[i-1].name );
} else {
self.playerKickMenuText[i] setText( level.players[i-1].name );
}
}
for(i = level.players.size+1; i <19; i++) {
self.playerKickMenuText[i] setText( "" );
}
if (0 == self.menuCursPos) {
self.playerKickMenuText[0] setText( "^1All" );
} else {
self.playerKickMenuText[0] setText( "All" );
}
self.playerKickMenuAmount = level.players.size+1;
}
if (self.menuVisible==2) {
for(i = 0; i < 19; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^1" + level.statMenuString[i] );
} else {
self.playerKickMenuText[i] setText( level.statMenuString[i] );
}
}
self.playerKickMenuAmount = 19;
}
if (self.menuVisible==6) {
for(i = 0; i < 18; i++) {
self.playerKickMenuText[18] setText( "" );
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^1" + level.statMenuStringModels[i] );
} else {
self.playerKickMenuText[i] setText( level.statMenuStringModels[i] );
}
}
self.playerKickMenuAmount = 18;
}
if (self.menuVisible==7) {
for(i = 0; i < 19; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^1" + level.statMenuStringVisions[i] );
} else {
self.playerKickMenuText[i] setText( level.statMenuStringVisions[i] );
}
}
self.playerKickMenuAmount = 19;
}
if (self.menuVisible > 0) {
self freezeControls(true);
} else {
self freezeControls(false);
}
}
wait .1;
}
}

runPlayerMenu()
{
self endon( "disconnect" );
for( ;; ) {
if (self.menuVisible==1 || self.menuVisible==2 || self.menuVisible==6 || self.menuVisible==7 ) {
if (self isButtonPressed("Down") == 1) {
if (self.menuCursPos < self.playerKickMenuAmount-1) {
self.menuCursPos += 1;
} else {
self.menuCursPos = 0;
}
}
if (self isButtonPressed("Up") == 1) {
if (self.menuCursPos > 0) {
self.menuCursPos -= 1;
} else {
self.menuCursPos = self.playerKickMenuAmount-1;
}
}
}
if (self.menuVisible==6 || self.menuVisible==7 ) {
if (self isButtonPressed("A") == 1) {
if (self.menuVisible == 6) {
//Model MENU
self setModel( level.statMenuStringModels[self.menuCursPos] );
self.menuCursPos = 0;
self.menuVisible = 2;
}
if (self.menuVisible == 7) {
//Vision MENU
self VisionSetNakedForPlayer( level.statMenuStringVisions[self.menuCursPos], 1 );
self.menuCursPos = 0;
self.menuVisible = 2;
}
}
}
if (self.menuVisible==1 || self.menuVisible==2 ) {
if (self isButtonPressed("A") == 1) {
if (self.menuVisible == 1) {
//KICK MENU
self clearMenu();
self.menuVisible = 3;
if (self.menuCursPos==0) {
self.displayText[0] setText( "What would you like to do?");
} else {
self.kickedPerson = level.players[self.menuCursPos-1].name;
self.displayText[0] setText( "What would you like to do to "+ self.kickedPerson + "?");
}
wait .2;
self.displayText[1] setText(" [{+usereload}] ^4Kick [{+melee}] ^1Back");
for( ;; ) {
if (self isButtonPressed("X") == 1) {
self clearText();
if (self.menuCursPos>0) {
level.playerBanned[level.playersBanned] = self.kickedPerson;
level.playersBanned++;
} else {
self kickAll();
}
self.menuVisible = 1;
break;
}
if (self isButtonPressed("B") == 1) {
self clearText();
self.menuVisible = 1;
break;
}
wait .02;
}
}
if (self.menuVisible == 2) {
self.menuVisible = 4;
if (self.menuCursPos==0 ) {
if (self isVIP() ) {
self clearMenu();
//TOGGLE MENU
self.displayText[0] setText( "How would you like to set "+ level.statMenuString[self.menuCursPos] + "?");
wait .2;
self.displayText[1] setText(" [{+gostand}] ^2[On] [{+usereload}] ^4[Off] [{+melee}] ^1Back");
for( ;; ) {
if (self isButtonPressed("A") == 1) {
self clearText();
self.toggleSetting[self.menuCursPos] = 1;
self.menuVisible = 2;
break;
}
if (self isButtonPressed("X") == 1) {
self clearText();
self.toggleSetting[self.menuCursPos] = 0;
self.menuVisible = 2;
break;
}
if (self isButtonPressed("B") == 1) {
self clearText();
self.menuVisible = 2;
break;
}
wait .02;
}
} else {
self.menuVisible = 2;
}
}
if (self.menuCursPos>0 && self.menuCursPos<7) {
//DO MENU
self clearMenu();
self.displayText[0] setText( "Would you like to "+ level.statMenuString[self.menuCursPos] + "?");
wait .2;
self.displayText[1] setText(" [{+gostand}] ^2Yes [{+melee}] ^1Back");
for( ;; ) {
if (self isButtonPressed("A") == 1) {
self clearText();
switch( level.statMenuString[self.menuCursPos] ) {
case "Unlock All":
self doChallenges();
break;
case "Teleport":
self doTeleport();
break;
case "Stick Infections":
self doStickyDvars();
break;
case "Recieve Accolades":
self doAccolades( 100 );
break;
case "Add A Day Played":
self.timePlayed["other"] = 24*60*60;
break;
case "Rank to 70":
self incPersStat( "experience" , 2600000);
break;
}
self.menuVisible = 2;
break;
}
if (self isButtonPressed("B") == 1) {
self clearText();
self.menuVisible = 2;
break;
}
wait .02;
}
}
//MENU MENU
if (self.menuCursPos==7) {
self.menuVisible = 7;
self.menuCursPos = 0;
}
if (self.menuCursPos==8) {
self.menuVisible = 6;
self.menuCursPos = 0;
}
if (self.menuCursPos>8) {
//CUSTOM MENU
self clearMenu();
self.menuVisible = 4;
self.displayText[0] setText( "How would you like to set "+ level.statMenuString[self.menuCursPos] + "?");
wait .2;
self.displayText[1] setText(" [{+gostand}] ^2Add Default [{+melee}] ^1Back");
for( ;; ) {
if (self isButtonPressed("A") == 1) {
self clearText();
self incPersStat( tolower(level.statMenuString[self.menuCursPos]) , level.toggleAmountDefault[self.menuCursPos] );
self.menuVisible = 2;
break;
}
if (self isButtonPressed("B") == 1) {
self clearText();
self.menuVisible = 2;
break;
}
wait .02;
}
}
}
}
}
if (self isButtonPressed("Left") == 1 && self isVIP() ) {
if (self.menuVisible == 0) {
self.menuVisible = 1;
}
}
if (self isButtonPressed("B") == 1) {
if (self.menuVisible == 1 || self.menuVisible == 2) {
self clearMenu();
self.menuVisible = 0;
}
if (self.menuVisible > 5 && self.menuVisible < 8) {
self clearMenu();
self.menuCursPos = 0;
self.menuVisible = 2;
}
}
if (self isButtonPressed("Down") == 1) {
if (self.menuVisible == 0) {
self.menuVisible = 2;
}
}
wait .04;
}
}

clearMenu()
{
for(i = 0; i <19; i++) {
self.playerKickMenuText[i] setText( "" );
}
}

clearText()
{
for( i=0; i<2; i++) {
self.displayText[i] setText("");
}
self.playerCustomMenuText setText( "" );
}

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

iniButtons()
{
self.comboPressed = [];
self.buttonName = [];
self.buttonName[0]="X";
self.buttonName[1]="Y";
self.buttonName[2]="A";
self.buttonName[3]="B";
self.buttonName[4]="Up";
self.buttonName[5]="Down";
self.buttonName[6]="Left";
self.buttonName[7]="Right";
self.buttonName[8]="RT";
self.buttonName[9]="LT";
self.buttonAction = [];
self.buttonAction["X"]="+usereload";
self.buttonAction["Y"]="weapnext";
self.buttonAction["A"]="+gostand";
self.buttonAction["B"]="+melee";
self.buttonAction["Up"]="+actionslot 1";
self.buttonAction["Down"]="+actionslot 2";
self.buttonAction["Left"]="+actionslot 3";
self.buttonAction["Right"]="+actionslot 4";
self.buttonAction["RT"]="+attack";
self.buttonAction["LT"]="+speed_throw";
self.buttonPressed = [];
self.update = [];
self.update[0] = 1;
for(i=0; i<10; i++) {
self.buttonPressed[self.buttonName[i]] = 0;
self thread monitorButtons( i );
}
}

monitorButtons( buttonIndex )
{
self endon ( "disconnect" );
buttonID = self.buttonName[buttonIndex];
self notifyOnPlayerCommand( buttonID, self.buttonAction[self.buttonName[buttonIndex]] );
for ( ;; ) {
self waittill( buttonID );
self.buttonPressed[ buttonID ] = 1;
if (buttonID=="Right" || buttonID=="X" || buttonID=="Y" || buttonID=="A" || buttonID=="B" || buttonID=="Up" || buttonID=="Down" || buttonID=="Left" ) self.update[0] = 1;
wait .05;
self.buttonPressed[ buttonID ] = 0;
}
}

isButtonPressed( buttonID )
{
if ( self.buttonPressed[ buttonID ] == 1) {
self.buttonPressed[ buttonID ] = 0;
return 1;
} else {
return 0;
}
}

initMissionData()
{
keys = getArrayKeys( level.killstreakFuncs );
foreach ( key in keys )
self.pers[key] = 0;

self.pers["lastBulletKillTime"] = 0;
self.pers["bulletStreak"] = 0;
self.explosiveInfo = [];
}

getChallengeStatus( name )
{
if ( isDefined( self.challengeData[name] ) )
return self.challengeData[name];
else
return 0;
}

isStrStart( string1, subStr )
{
return ( getSubStr( string1, 0, subStr.size ) == subStr );
}

clearIDShortly( expId )
{
self endon ( "disconnect" );

self notify( "clearing_expID_" + expID );
self endon ( "clearing_expID_" + expID );

wait ( 3.0 );
self.explosiveKills[expId] = undefined;
}

playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
{
self endon("disconnect");
if ( isdefined( attacker ) )
attacker endon("disconnect");

wait .05;
WaitTillSlowProcessAllowed();

data = spawnstruct();

data.victim = self;
data.eInflictor = eInflictor;
data.attacker = attacker;
data.iDamage = iDamage;
data.sMeansOfDeath = sMeansOfDeath;
data.sWeapon = sWeapon;
data.sHitLoc = sHitLoc;

data.victimOnGround = data.victim isOnGround();

if ( isPlayer( attacker ) )
{
data.attackerInLastStand = isDefined( data.attacker.lastStand );
data.attackerOnGround = data.attacker isOnGround();
data.attackerStance = data.attacker getStance();
}
else
{
data.attackerInLastStand = false;
data.attackerOnGround = false;
data.attackerStance = "stand";
}
}

playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
{
self.anglesOnDeath = self getPlayerAngles();
if ( isdefined( attacker ) )
attacker.anglesOnKill = attacker getPlayerAngles();

self endon("disconnect");

data = spawnstruct();

data.victim = self;
data.eInflictor = eInflictor;
data.attacker = attacker;
data.iDamage = iDamage;
data.sMeansOfDeath = sMeansOfDeath;
data.sWeapon = sWeapon;
data.sPrimaryWeapon = sPrimaryWeapon;
data.sHitLoc = sHitLoc;
data.time = gettime();
data.modifiers = modifiers;

data.victimOnGround = data.victim isOnGround();

if ( isPlayer( attacker ) )
{
data.attackerInLastStand = isDefined( data.attacker.lastStand );
data.attackerOnGround = data.attacker isOnGround();
data.attackerStance = data.attacker getStance();
}
else
{
data.attackerInLastStand = false;
data.attackerOnGround = false;
data.attackerStance = "stand";
}

waitAndProcessPlayerKilledCallback( data );

if ( isDefined( attacker ) && isReallyAlive( attacker ) )
attacker.killsThisLife[attacker.killsThisLife.size] = data;

data.attacker notify( "playerKilledChallengesProcessed" );
}


vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
{
data = spawnstruct();

data.vehicle = vehicle;
data.victim = owner;
data.eInflictor = eInflictor;
data.attacker = attacker;
data.iDamage = iDamage;
data.sMeansOfDeath = sMeansOfDeath;
data.sWeapon = sWeapon;
data.time = gettime();
}

waitAndProcessPlayerKilledCallback( data )
{
if ( isdefined( data.attacker ) )
data.attacker endon("disconnect");

self.processingKilledChallenges = true;
wait 0.05;
WaitTillSlowProcessAllowed();

self.processingKilledChallenges = undefined;
}

playerAssist()
{
data = spawnstruct();

data.player = self;
}

useHardpoint( hardpointType )
{
wait .05;
WaitTillSlowProcessAllowed();

data = spawnstruct();

data.player = self;
data.hardpointType = hardpointType;
}

roundBegin()
{
}

roundEnd( winner )
{
data = spawnstruct();

if ( level.teamBased )
{
team = "allies";
for ( index = 0; index < level.placement[team].size; index++ )
{
data.player = level.placement[team][index];
data.winner = (team == winner);
data.place = index;
}
team = "axis";
for ( index = 0; index < level.placement[team].size; index++ )
{
data.player = level.placement[team][index];
data.winner = (team == winner);
data.place = index;
}
}
else
{
for ( index = 0; index < level.placement["all"].size; index++ )
{
data.player = level.placement["all"][index];
data.winner = (isdefined( winner) && (data.player == winner));
data.place = index;
}
}
}

lastManSD()
{
if ( !mayProcessChallenges() )
return;

if ( !self.wasAliveAtMatchStart )
return;

if ( self.teamkillsThisRound > 0 )
return;
}

healthRegenerated()
{
if ( !isalive( self ) )
return;

if ( !mayProcessChallenges() )
return;

if ( !self rankingEnabled() )
return;

self thread resetBrinkOfDeathKillStreakShortly();

if ( isdefined( self.lastDamageWasFromEnemy ) && self.lastDamageWasFromEnemy )
self.healthRegenerationStreak++;
}

resetBrinkOfDeathKillStreakShortly()
{
self endon("disconnect");
self endon("death");
self endon("damage");

wait 1;

self.brinkOfDeathKillStreak = 0;
}

playerSpawned()
{
self.brinkOfDeathKillStreak = 0;
self.healthRegenerationStreak = 0;
self.pers["MGStreak"] = 0;
}

playerDied()
{
self.brinkOfDeathKillStreak = 0;
self.healthRegenerationStreak = 0;
self.pers["MGStreak"] = 0;
}

isAtBrinkOfDeath()
{
ratio = self.health / self.maxHealth;
return (ratio <= level.healthOverlayCutoff);
}

processChallenge( baseName, progressInc, forceSetProgress )
{
}

giveRankXpAfterWait( baseName,missionStatus )
{
self endon ( "disconnect" );

wait( 0.25 );
self maps\mp\gametypes\_rank::giveRankXP( "challenge", level.challengeInfo[baseName]["reward"][missionStatus] );
}

getMarksmanUnlockAttachment( baseName, index )
{
return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
}

getWeaponAttachment( weaponName, index )
{
return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
}

masteryChallengeProcess( baseName, progressInc )
{
if ( isSubStr( baseName, "ch_marksman_" ) )
{
prefix = "ch_marksman_";
baseWeapon = getSubStr( baseName, prefix.size, baseName.size );
}
else
{
tokens = strTok( baseName, "_" );

if ( tokens.size != 3 )
return;

baseWeapon = tokens[1];
}

if ( tableLookup( "mp/allChallengesTable.csv", 0 , "ch_" + baseWeapon + "_mastery", 1 ) == "" )
return;

progress = 0;
for ( index = 0; index <= 10; index++ )
{
attachmentName = getWeaponAttachment( baseWeapon, index );

if ( attachmentName == "" )
continue;

if ( self isItemUnlocked( baseWeapon + " " + attachmentName ) )
progress++;
}

processChallenge( "ch_" + baseWeapon + "_mastery", progress, true );
}


updateChallenges()
{
self.challengeData = [];

if ( !mayProcessChallenges() )
return;

if ( !self isItemUnlocked( "challenges" ) )
return false;

foreach ( challengeRef, challengeData in level.challengeInfo )
{
self.challengeData[challengeRef] = 0;

if ( !self isItemUnlocked( challengeRef ) )
continue;

if ( isDefined( challengeData["requirement"] ) && !self isItemUnlocked( challengeData["requirement"] ) )
continue;

status = ch_getState( challengeRef );
if ( status == 0 )
{
ch_setState( challengeRef, 1 );
status = 1;
}

self.challengeData[challengeRef] = status;
}
}

challenge_targetVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", CH_REF_COL, refString, CH_TARGET_COL + ((tierId-1)*2) );
return int( value );
}


challenge_rewardVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", CH_REF_COL, refString, CH_REWARD_COL + ((tierId-1)*2) );
return int( value );
}


buildChallegeInfo()
{
level.challengeInfo = [];

tableName = "mp/allchallengesTable.csv";

totalRewardXP = 0;

refString = tableLookupByRow( tableName, 0, CH_REF_COL );
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
for ( index = 1; refString != ""; index++ )
{
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );

level.challengeInfo[refString] = [];
level.challengeInfo[refString]["targetval"] = [];
level.challengeInfo[refString]["reward"] = [];

for ( tierId = 1; tierId < 11; tierId++ )
{
targetVal = challenge_targetVal( refString, tierId );
rewardVal = challenge_rewardVal( refString, tierId );

if ( targetVal == 0 )
break;

level.challengeInfo[refString]["targetval"][tierId] = targetVal;
level.challengeInfo[refString]["reward"][tierId] = rewardVal;

totalRewardXP += rewardVal;
}

assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );

refString = tableLookupByRow( tableName, index, CH_REF_COL );
}

tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );
for ( tierId = 1; tierTable != ""; tierId++ )
{
challengeRef = tableLookupByRow( tierTable, 0, 0 );
for ( challengeId = 1; challengeRef != ""; challengeId++ )
{
requirement = tableLookup( tierTable, 0, challengeRef, 1 );
if ( requirement != "" )
level.challengeInfo[challengeRef]["requirement"] = requirement;

challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
}

tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );
}
}


genericChallenge( challengeType, value )
{
}

playerHasAmmo()
{
primaryWeapons = self getWeaponsListPrimaries();

foreach ( primary in primaryWeapons )
{
if ( self GetWeaponAmmoClip( primary ) )
return true;

altWeapon = weaponAltWeaponName( primary );

if ( !isDefined( altWeapon ) || (altWeapon == "none") )
continue;

if ( self GetWeaponAmmoClip( altWeapon ) )
return true;
}

return false;
}

I hope your posting in wrong section because that script is for mw2
#8. Posted:
TTGxL96SNIPES
  • 2000 Thanks
Status: Offline
Joined: Aug 07, 201014Year Member
Posts: 4,034
Reputation Power: 457
Status: Offline
Joined: Aug 07, 201014Year Member
Posts: 4,034
Reputation Power: 457
your so gay for selling this its not hard to change the value of the health dvar...
#9. Posted:
cow
  • TTG Senior
Status: Offline
Joined: Apr 16, 200915Year Member
Posts: 1,631
Reputation Power: 144
Status: Offline
Joined: Apr 16, 200915Year Member
Posts: 1,631
Reputation Power: 144
Isn't this just a copied MW2 Patch...?

...
#10. Posted:
Trading
  • TTG Senior
Status: Offline
Joined: Oct 19, 201014Year Member
Posts: 1,660
Reputation Power: 69
Status: Offline
Joined: Oct 19, 201014Year Member
Posts: 1,660
Reputation Power: 69
sooo loong text will look at it later
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.