You are viewing our Forum Archives. To view or take place in current topics click here.
Possibility of class fix
Posted:

Possibility of class fixPosted:

D4rK_ANG3L
  • Challenger
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 154
Reputation Power: 7
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 154
Reputation Power: 7
the code for them fixing the classes is in __Class.gsc look for the code mideway down with like 30 if statements checking for valid camos,guns,perks, etc...near the bottom they define the valid guns, perks, etc
This is the code:
isValidPrimary( refString )
{
switch ( refString )
{
case "riotshield":
case "ak47":
case "m16":
case "m4":
case "fn2000":
case "masada":
case "famas":
case "fal":
case "scar":
case "tavor":
case "mp5k":
case "uzi":
case "p90":
case "kriss":
case "ump45":
case "barrett":
case "wa2000":
case "m21":
case "cheytac":
case "rpd":
case "sa80":
case "mg4":
case "m240":
case "aug":
return true;
default:
assertMsg( "Replacing invalid primary weapon: " + refString );
return false;
}
}

isValidSecondary( refString )
{
switch ( refString )
{
case "beretta":
case "usp":
case "deserteagle":
case "coltanaconda":
case "glock":
case "beretta393":
case "pp2000":
case "tmp":
case "m79":
case "rpg":
case "at4":
case "stinger":
case "javelin":
case "ranger":
case "model1887":
case "striker":
case "aa12":
case "m1014":
case "spas12":
case "onemanarmy":
return true;
default:
assertMsg( "Replacing invalid secondary weapon: " + refString );
return false;
}
}

isValidAttachment( refString )
{
switch ( refString )
{
case "none":
case "acog":
case "reflex":
case "silencer":
case "grip":
case "gl":
case "akimbo":
case "thermal":
case "shotgun":
case "heartbeat":
case "fmj":
case "rof":
case "xmags":
case "eotech":
case "tactical":
return true;
default:
assertMsg( "Replacing invalid equipment weapon: " + refString );
return false;
}
}

isValidCamo( refString )
{
switch ( refString )
{
case "none":
case "woodland":
case "desert":
case "arctic":
case "digital":
case "red_urban":
case "red_tiger":
case "blue_tiger":
case "orange_fall":
return true;
default:
assertMsg( "Replacing invalid camo: " + refString );
return false;
}
}

isValidEquipment( refString )
{
switch ( refString )
{
case "frag_grenade_mp":
case "semtex_mp":
case "throwingknife_mp":
case "specialty_tacticalinsertion":
case "specialty_blastshield":
case "claymore_mp":
case "c4_mp":
return true;
default:
assertMsg( "Replacing invalid equipment: " + refString );
return false;
}
}


isValidOffhand( refString )
{
switch ( refString )
{
case "flash_grenade":
case "concussion_grenade":
case "smoke_grenade":
return true;
default:
assertMsg( "Replacing invalid offhand: " + refString );
return false;
}
}

isValidPerk1( refString )
{
switch ( refString )
{
case "specialty_marathon":
case "specialty_fastreload":
case "specialty_scavenger":
case "specialty_bling":
case "specialty_onemanarmy":
return true;
default:
assertMsg( "Replacing invalid perk1: " + refString );
return false;
}
}

isValidPerk2( refString )
{
switch ( refString )
{
case "specialty_bulletdamage":
case "specialty_lightweight":
case "specialty_hardline":
case "specialty_coldblooded":
case "specialty_explosivedamage":
return true;
default:
assertMsg( "Replacing invalid perk2: " + refString );
return false;
}
}

isValidPerk3( refString )
{
switch ( refString )
{
case "specialty_extendedmelee":
case "specialty_bulletaccuracy":
case "specialty_localjammer":
case "specialty_heartbreaker":
case "specialty_detectexplosive":
case "specialty_pistoldeath":
return true;
default:
assertMsg( "Replacing invalid perk3: " + refString );
return false;
}
}

isValidDeathStreak( refString )
{
switch ( refString )
{
case "specialty_copycat":
case "specialty_combathigh":
case "specialty_grenadepulldeath":
case "specialty_finalstand":
return true;
default:
assertMsg( "Replacing invalid death streak: " + refString );
return false;
}
}
[ Register or Signin to view external links. ] for Title update 5 (mods remove link if its inapropriate)


Last edited by D4rK_ANG3L ; edited 3 times in total
#2. Posted:
oSKYL3Ro
  • TTG Natural
Status: Offline
Joined: Dec 12, 200915Year Member
Posts: 974
Reputation Power: 1960
Status: Offline
Joined: Dec 12, 200915Year Member
Posts: 974
Reputation Power: 1960
what ??
i cant open it?
#3. Posted:
I_R_BRIAN
  • TTG Addict
Status: Offline
Joined: Mar 22, 200915Year Member
Posts: 2,011
Reputation Power: 103
Status: Offline
Joined: Mar 22, 200915Year Member
Posts: 2,011
Reputation Power: 103
What is this.
#4. Posted:
TheHaxGuy
  • Wise One
Status: Offline
Joined: Mar 30, 201014Year Member
Posts: 516
Reputation Power: 36
Status: Offline
Joined: Mar 30, 201014Year Member
Posts: 516
Reputation Power: 36
u cant open it lol
#5. Posted:
pantsgoblin2
  • Prospect
Status: Offline
Joined: Aug 17, 200915Year Member
Posts: 669
Reputation Power: 30
Status: Offline
Joined: Aug 17, 200915Year Member
Posts: 669
Reputation Power: 30
Cant open.
#6. Posted:
-SONIC-
  • TTG Addict
Status: Offline
Joined: Dec 16, 200915Year Member
Posts: 2,474
Reputation Power: 109
Status: Offline
Joined: Dec 16, 200915Year Member
Posts: 2,474
Reputation Power: 109
what is it i can not open it
#7. Posted:
D4rK_ANG3L
  • Challenger
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 154
Reputation Power: 7
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 154
Reputation Power: 7
some reason you cant open hmmm ill fix this soon
#8. Posted:
WCDT-
  • Spooky Poster
Status: Offline
Joined: Nov 13, 200915Year Member
Posts: 3,560
Reputation Power: 1380
Motto: that dumb jerk james done lost his dang mind
Motto: that dumb jerk james done lost his dang mind
Status: Offline
Joined: Nov 13, 200915Year Member
Posts: 3,560
Reputation Power: 1380
Motto: that dumb jerk james done lost his dang mind
its prob the TU 5 update. I saw this on another site and people are already working on fixing the code so you can have xp and modded classes again but it will prob take a while
#9. Posted:
D4rK_ANG3L
  • Challenger
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 154
Reputation Power: 7
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 154
Reputation Power: 7
with this i have a feeling we can bypass soon 3322))
#10. Posted:
TTG_Reaver
  • TTG Master
Status: Offline
Joined: Mar 07, 201014Year Member
Posts: 811
Reputation Power: 63
Status: Offline
Joined: Mar 07, 201014Year Member
Posts: 811
Reputation Power: 63
This is looks like a good bypass
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.