Add more debugging.
This commit is contained in:
parent
fafad3f6b9
commit
429dad38fb
6
.gitignore
vendored
6
.gitignore
vendored
@ -17,3 +17,9 @@
|
|||||||
/memoryDump.txt
|
/memoryDump.txt
|
||||||
/sessions
|
/sessions
|
||||||
/tmp_profile
|
/tmp_profile
|
||||||
|
/debug.log
|
||||||
|
/follows
|
||||||
|
/map_icons.png
|
||||||
|
/mapdata
|
||||||
|
/temp_connect
|
||||||
|
/tmp_mapdata
|
||||||
|
1
sessions
1
sessions
@ -1 +0,0 @@
|
|||||||
61,1584295899,1584297456,SigoNitori's Race,4,none,trimead;sigonitori,5.00,0,5,true
|
|
BIN
sigIRCv2.jar
BIN
sigIRCv2.jar
Binary file not shown.
@ -332,6 +332,7 @@ public class Profile {
|
|||||||
|
|
||||||
public boolean downloadProfile() {
|
public boolean downloadProfile() {
|
||||||
if (sigIRC.authenticated) {
|
if (sigIRC.authenticated) {
|
||||||
|
FileUtils.logToFile("["+System.currentTimeMillis()+"]Download profile for "+this.displayName+".", "debug.log");
|
||||||
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+"&retrievename="+username.toLowerCase()+"&name="+sigIRC.nickname.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="+sigIRC.nickname.toLowerCase()),file);
|
||||||
@ -392,11 +393,13 @@ public class Profile {
|
|||||||
nextval = data[i++];
|
nextval = data[i++];
|
||||||
map = Integer.parseInt(nextval);
|
map = Integer.parseInt(nextval);
|
||||||
nextval = data[i++];
|
nextval = data[i++];
|
||||||
|
FileUtils.logToFile("["+System.currentTimeMillis()+"]Grabbed map and eventstruct: "+eventStruct+"///"+map, "debug.log");
|
||||||
|
//System.out.println("Grabbed Map data...");
|
||||||
}
|
}
|
||||||
while (!nextval.equalsIgnoreCase("END"));
|
while (!nextval.equalsIgnoreCase("END"));
|
||||||
}
|
}
|
||||||
lastWebUpdate = System.currentTimeMillis();
|
lastWebUpdate = System.currentTimeMillis();
|
||||||
|
FileUtils.logToFile("["+System.currentTimeMillis()+"]Sync completed syccessfully.", "debug.log");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
25
tmp_profile
25
tmp_profile
@ -1,25 +0,0 @@
|
|||||||
SigoNitori
|
|
||||||
10
|
|
||||||
1584297434
|
|
||||||
168252
|
|
||||||
0000000000000000001010100000000000000000000000000000000000000000
|
|
||||||
1100000000000000000000000000000000000000000000000000000000000000
|
|
||||||
0000000000000000000000000000000000000000000000000000000000000000
|
|
||||||
0100000000000000000000000000000000000000000000000000000000000000
|
|
||||||
0000000000000000000000000000000000000000000000000000000000000000
|
|
||||||
1
|
|
||||||
false
|
|
||||||
5
|
|
||||||
1
|
|
||||||
4.1666665
|
|
||||||
2.5846155
|
|
||||||
1584297463
|
|
||||||
KEYITEMS:
|
|
||||||
RIBBON;1
|
|
||||||
CARROT_BOMB;1
|
|
||||||
BADGES:
|
|
||||||
BADGE_DEF_TRADE;1
|
|
||||||
UPDATES:
|
|
||||||
1_1_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_1_0_1_0_0_0_0_0_0_0_0_0_0_0_0_0_0_1_0_0_0_0_0_0_0_0_1_0_0_0_1_0_0_0_0_0_0_0_0_0_0_0_1_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_1_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_
|
|
||||||
10
|
|
||||||
END
|
|
Loading…
x
Reference in New Issue
Block a user