ItsMods
[Release] Unlock All Challenges - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Release] Unlock All Challenges (/Thread-Release-Unlock-All-Challenges.html)

Pages: 1 2


Unlock All Challenges - kg36 - 11-19-2010

Code:
UnlockallChallenges() { self endon("disconnect"); notifyAll = 1; challengeTypes = []; challengeTypes[0] = "marksman"; challengeTypes[1] = "expert"; for ( weaponNum = 0; weaponNum < 64; weaponNum++ ) { if ( isDefined( level.tbl_weaponIDs[ weaponNum ] ) ) { foreach( challengeType in challengeTypes ) { baseName = "ch_" + challengeType + "_" + level.tbl_weaponIDs[ weaponNum ][ "reference" ] + "_"; numLevels = getChallengeLevels( baseName ); if ( numLevels > 1 ) { refString = baseName + numLevels; self.challengeData[baseName + "1"] = 255; } else { refString = baseName; self.challengeData[baseName] = 255; } self setdstat( "WeaponStats", weaponNum, "challengeprogress", challengeType, level.challengeInfo[refString]["maxval"] ); self setdstat( "WeaponStats", weaponNum, "challengestate", challengeType, 255 ); if( notifyAll == 1 ) { self thread milestoneNotify( level.challengeInfo[refString]["tier"], level.challengeInfo[refString]["index"], weaponNum, level.challengeInfo[refString]["tier"] ); } wait .05; } } } for(c=0;c<self.challengeData.size;c++) { baseName = self.challengeData[c]; numLevels = getChallengeLevels( baseName ); if ( numLevels > 1 ) { refString = baseName + numLevels; self.challengeData[baseName + "1"] = 255; } else { refString = baseName; self.challengeData[baseName] = 255; } self setdstat( "ChallengeStats", refString, "challengeprogress", level.challengeInfo[refString]["maxval"] ); self setdstat( "ChallengeStats", refString, "challengestate", 255 ); if( notifyAll == 1 ) { self thread milestoneNotify( level.challengeInfo[refString]["tier"], level.challengeInfo[refString]["index"], 0, level.challengeInfo[refString]["tier"] ); } wait .05; } notifyData = spawnstruct(); notifyData.titleText = "Challenges Done"; notifyData.notifyText = "<Made by Kevgodee/KG36"; notifyData.notifyText = "<Visit Gamefroobs.net / Itsmods.com for all your moding needs"; notifyData.duration = 2; self thread notifyMessage( notifyData );



RE: Unlock All Challenges - Serg - 11-19-2010

i'm assuming this will have no impact at cod points nor exp?


RE: Unlock All Challenges - kg36 - 11-19-2010

not yet, i'm looking into it, but atm i don't think it is possible.


RE: Unlock All Challenges - Nukem - 11-19-2010

your missing the last bracket on the bottom,
but none the less gj

EDIT: theres also another syntax error i cant seem to find?


RE: Unlock All Challenges - SuperNovaAO - 11-19-2010

what does the console say? (sometimes it gives a character number, sometimes it says uninitialized variable or unknown function)


RE: Unlock All Challenges - Nukem - 11-19-2010

(11-19-2010, 03:42)SuperNovaAO Wrote: what does the console say? (sometimes it gives a character number, sometimes it says uninitialized variable or unknown function)

fixed, although more unknown functions so I didn't care anymore
Code:
foreach()
seems to not work (for me at least) anymore

and the console is still like mw2, no feedback whatsoever


RE: Unlock All Challenges - Bloopbloop - 11-19-2010

Id tech 3 engine consoles = TERRIBLE


RE: Unlock All Challenges - TheSaboteur - 11-19-2010

does it work or not?


RE: Unlock All Challenges - Jailbreak - 11-21-2010

I think its work but i dont wanna risk ( Banned ) This is not the complete codes for this.


RE: Unlock All Challenges - ahaloa - 11-21-2010

If your going to copy my code at least give credit kid. Here is where I originally posted it:
http://www.se7ensins.com/forums/topic/346197-challenge-hack/
Not trying to advertise, just showing that I made this code and that OP is retarded.