master
Joshua Sigona 4 years ago
parent 5c4d759d20
commit ccf130d712
  1. BIN
      d4dj_rankTracker.jar
  2. 17
      src/main/java/d4dj/d4dj/App.java
  3. BIN
      target/classes/d4dj/d4dj/App.class
  4. BIN
      testing_leaderboardnames.png

Binary file not shown.

@ -320,7 +320,7 @@ public class App
}
client.close();
}
//System.out.println(reader);
System.out.println(reader);
List<String> descriptions = new ArrayList<String>();
@ -359,17 +359,20 @@ public class App
//Expect the next value to be a score.
//scoreNext=true;
} else
if (ss.charAt(0)=='B') {
if (ss.charAt(0)=='B'||ss.charAt(0)=='b'||(int)(ss.charAt(0))==1042) {
//Expect the next value to be a score.
//scoreNext=true;
String newString = ss.replaceFirst("B","").trim();
String newString = ss.replaceFirst(Character.toString(ss.charAt(0)),"").trim();
names.add(newString);
System.out.println(newString);
} else
if (ss.charAt(0)=='C') {
if (ss.charAt(0)=='C'||ss.charAt(0)=='c') {
//Expect the next value to be a score.
//scoreNext=true;
String newString = ss.replaceFirst("C","").trim();
String newString = ss.replaceFirst(Character.toString(ss.charAt(0)),"").trim();
descriptions.add(newString);
} else {
//System.out.println(ss+": "+(int)(ss.charAt(0))+"/"+(int)'B');
}
//data[count++]=newString;
}
@ -379,9 +382,9 @@ public class App
String name = (names.size()>i)?names.get(i):"";
System.out.println(ranks[i]+"-"+name+": "+scores.get(i));
new Thread(
/*new Thread(
new SubmitThread(name,desc,scores.get(i),EVENT,ranks[i]))
.start();
.start();*/
}
/*System.out.println(scores);
System.out.println(names);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

After

Width:  |  Height:  |  Size: 241 KiB

Loading…
Cancel
Save