Fix issue with identifying downloaded profiles from web server. (Being

rejected due to sending misaligned client information)
master
sigonasr2 6 years ago
parent 83d1cc2f3a
commit 1d4182df2a
  1. 2
      .gitignore
  2. BIN
      sigIRCv2.jar
  3. 2
      src/sig/modules/RabiRace/Profile.java

2
.gitignore vendored

@ -15,3 +15,5 @@
/jinput-raw_64.dll /jinput-raw_64.dll
/jinput-wintab.dll /jinput-wintab.dll
/memoryDump.txt /memoryDump.txt
/sessions
/tmp_profile

Binary file not shown.

@ -237,7 +237,7 @@ public class Profile {
if (sigIRC.authenticated) { if (sigIRC.authenticated) {
File file = new File(sigIRC.BASEDIR+"tmp_profile"); File file = new File(sigIRC.BASEDIR+"tmp_profile");
try { try {
org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=retrievedata&timekey="+RabiRaceModule.CLIENT_SERVER_READTIME+"&name="+username.toLowerCase()),file); org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=retrievedata&timekey="+RabiRaceModule.CLIENT_SERVER_READTIME+"&retrievename="+username.toLowerCase()+"&name="+RabiRaceModule.module.myProfile.username),file);
} catch (MalformedURLException e) { } catch (MalformedURLException e) {
e.printStackTrace(); e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {

Loading…
Cancel
Save