[CLIENT] com.riotgames.platform.gameclient.utils.FileSerializer Unable to read file

MXXIV·2/17/2015, 3:32:39 AM·3 votes·749 views

#Warning: There's lot's of hacking talk below. If you're not a programmer you'll probably not understand much of that. But please do not downvote me because of that - I want the PVP.net client developers know that we, programmers of the league, are watching!


#Hello, I was trying to import some older itemsets from my older files to my MXXIV.properties. After starting the launcher, the file was deleted and replaced with default configuration. Now I've lost my new itemsets and the laucher refuses to accept them back. It spits this in the log:

2/17/2015 02:14:52.277 [ERROR] com.riotgames.platform.gameclient.utils.FileSerializer Unable to read file: C:\Riot Games\League of Legends\RADS\projects\lol_air_client\releases\0.0.1.129\deploy\preferences\MXXIV.properties

I'm a programmer so I decompiled the PVP.net client and tried to check the problematic class out. Unfortunatelly, I'm not flash programmer and I didn't find it after 2 hours :(. I found this though, and I think it's hillarious way to generate random ID:

 public static function create() : String  
  {  
     var \_loc1\_:Date = new Date();  
     var \_loc2\_:Number = \_loc1\_.getTime();  
     var \_loc3\_:Number = Math.random() * Number.MAX\_VALUE;  
     var \_loc4\_:String = Capabilities.serverString;  
     var \_loc5\_:String = summonerID;  
     var \_loc6\_:String = calculate(\_loc5\_ + \_loc2\_ + \_loc4\_ + \_loc3\_ + counter++).toUpperCase();  
     var \_loc7\_:String = \_loc6\_.substring(0,8) + "-" + \_loc6\_.substring(8,12) + "-" + \_loc6\_.substring(12,16) + "-" + \_loc6\_.substring(16,20) + "-" + \_loc6\_.substring(20,32);
     return \_loc7\_;  
  }

The calculate() method just returns SHA1 in hex format of the input string.

It's a piece of code that generates ID's that are in the ItemSet data I have lost with my profile, look:

http://i.stack.imgur.com/kLNLg.png

I really love to see how some people make so much magic around this. Really sounds like "You must add frog tail, black egg and blood of virgin to obtain random hash". At least now I see LOL Client developers really are retarded.

0 Comments