Resolve errors correctly (#8)

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2 2022-08-20 13:40:47 -05:00
parent ec8cbe7d74
commit 5b345f0a1a
23 changed files with 10 additions and 8 deletions

BIN
bin/ArcadeReader$1.class Normal file

Binary file not shown.

BIN
bin/ArcadeReader.class Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/readers/Box.class Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/readers/DDRReader.class Normal file

Binary file not shown.

BIN
bin/readers/ITGReader.class Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/readers/Reader.class Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/sigPlace.class Normal file

Binary file not shown.

BIN
bin/sigServer.class Normal file

Binary file not shown.

Binary file not shown.

View File

@ -137,14 +137,16 @@ public class sigPlace {
}
if (matches>=EXPECTED_MATCHES&&!submitted) {
System.out.println("Data is reasonable, prepare for submitting...");
try {
POSTRequest postRes = new POSTRequest("http://"+args[1]+"/uploadform.html",temp);
HttpResponse<String> res = ((HttpResponse<String>)postRes.run());
if (res.statusCode()==200) {
if (res.statusCode()==0) {
playSound(Paths.get("ding.wav"));
System.out.println("Successful!");
submitted=true;
} else {
System.out.println("Got status code "+res);
}
} catch (FailedResponseException e) {
System.out.println("Failed! "+e.getMessage());
}
}
}