What's new

Solved Deranking?

Status
Not open for further replies.

Kjaer

Enthusiast
Messages
163
Reaction score
17
Hey guys, I've recently come upon the topic of "De-Ranks". I find it interesting and all but was just wondering how does one go about doing it? Do you edit the EXP Stats to a negative number or 0? For titles/emblems challenge unlocker would I set tierID and finaltier to something other than 0 to take away all titles/emblems? If someone could help me through with how this works either through PM's if you don't want tons of leechers or on this thread if you really don't care.
 

Nick 7s

Enthusiast
Messages
629
Reaction score
55
Hey guys, I've recently come upon the topic of "De-Ranks". I find it interesting and all but was just wondering how does one go about doing it? Do you edit the EXP Stats to a negative number or 0? For titles/emblems challenge unlocker would I set tierID and finaltier to something other than 0 to take away all titles/emblems? If someone could help me through with how this works either through PM's if you don't want tons of leechers or on this thread if you really don't care.
it does set ur xp negative and locks all your challenges
 

Nick 7s

Enthusiast
Messages
629
Reaction score
55
Hmph, I understand the negative XP portion of it but how would one go about removing challenges?
doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}
doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
 

Kjaer

Enthusiast
Messages
163
Reaction score
17
doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}
doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
OH GOD, unformated text. AVERT YOUR EYES CHILDREN.

xD, Thanks, I'll check it now.

EDIT: LOL, they have it patched for PC as a security problem.



EDIT2: They only patched the EXP, Challenge lock still works though. Thanks for the code! Even if it did have one syntax error I had to find and fix
 
Status
Not open for further replies.
Top Bottom