Revision fb377dae
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/scores/RubikScoresDownloader.java | ||
---|---|---|
373 | 373 |
String timlist = scores.getUnsubmittedTimelist(); |
374 | 374 |
String country = scores.getCountry(); |
375 | 375 |
long epoch = System.currentTimeMillis(); |
376 |
String salt = "cubold";
|
|
376 |
String salt = "cuboid";
|
|
377 | 377 |
|
378 | 378 |
String url1="https://distorted.org/magic/cgi-bin/submit.cgi"; |
379 | 379 |
String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion+"d"; |
380 | 380 |
url2 += "&o="+objlist+"&l="+lvllist+"&t="+timlist+"&c="+country+"&f="+epoch; |
381 | 381 |
url2 += "&oo="+RubikObjectList.getObjectList()+"&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES; |
382 |
url2 += "&h="+computeHash( url2+"d", salt.getBytes() );
|
|
382 |
url2 += "&h="+computeHash( url2, salt.getBytes() ); |
|
383 | 383 |
|
384 | 384 |
return url1 + "?" + url2; |
385 | 385 |
} |
Also available in: Unified diff
Major progress with Dino; rotations (almost?) work now.