diff --git a/.gitignore b/.gitignore index e6ad789..4e4cd6a 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,9 @@ /memoryDump.txt /sessions /tmp_profile +/debug.log +/follows +/map_icons.png +/mapdata +/temp_connect +/tmp_mapdata diff --git a/sessions b/sessions deleted file mode 100644 index 275de18..0000000 --- a/sessions +++ /dev/null @@ -1 +0,0 @@ -61,1584295899,1584297456,SigoNitori's Race,4,none,trimead;sigonitori,5.00,0,5,true diff --git a/sigIRCv2.jar b/sigIRCv2.jar index 58ddb87..58bf255 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/RabiRace/Profile.java b/src/sig/modules/RabiRace/Profile.java index 7b5e4f3..24a0e1a 100644 --- a/src/sig/modules/RabiRace/Profile.java +++ b/src/sig/modules/RabiRace/Profile.java @@ -332,6 +332,7 @@ public class Profile { public boolean downloadProfile() { if (sigIRC.authenticated) { + FileUtils.logToFile("["+System.currentTimeMillis()+"]Download profile for "+this.displayName+".", "debug.log"); File file = new File(sigIRC.BASEDIR+"tmp_profile"); 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); @@ -392,11 +393,13 @@ public class Profile { nextval = data[i++]; map = Integer.parseInt(nextval); 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")); } lastWebUpdate = System.currentTimeMillis(); - + FileUtils.logToFile("["+System.currentTimeMillis()+"]Sync completed syccessfully.", "debug.log"); return true; } } diff --git a/tmp_profile b/tmp_profile deleted file mode 100644 index b7ab618..0000000 --- a/tmp_profile +++ /dev/null @@ -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 \ No newline at end of file