diff --git a/sessions b/sessions index e127fa3..b34bd8b 100644 --- a/sessions +++ b/sessions @@ -1,2 +1,3 @@ 51,1584279252,1584279444,SigoNitori's Race,4,none,,5.00,0,5,true -52,1584279449,1584279875,SigoNitori's Race,4,none,sigonitori,5.00,0,5,true +52,1584279449,1584280002,SigoNitori's Race,4,none,,5.00,0,5,true +53,1584279986,1584280006,TRimead Test,4,none,sigonitori,5.00,0,5,true diff --git a/sigIRCv2.jar b/sigIRCv2.jar index af501ba..30b62c0 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/RabiRace/JoinButton.java b/src/sig/modules/RabiRace/JoinButton.java index ad4dade..1c7f819 100644 --- a/src/sig/modules/RabiRace/JoinButton.java +++ b/src/sig/modules/RabiRace/JoinButton.java @@ -21,6 +21,7 @@ public class JoinButton extends ClickableButton{ if (RabiRaceModule.mySession==null) { RabiRaceModule.module.window.setVisible(true); } else { + RabiRaceModule.module.LeaveSession(); File file = new File(sigIRC.BASEDIR+"sigIRC/tmp.data"); try { org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=leavesession&timekey="+RabiRaceModule.CLIENT_SERVER_READTIME+"&name="+RabiRaceModule.module.myProfile.username+"&session="+RabiRaceModule.mySession.id),file); diff --git a/src/sig/modules/RabiRaceModule.java b/src/sig/modules/RabiRaceModule.java index 1da112f..f434a39 100644 --- a/src/sig/modules/RabiRaceModule.java +++ b/src/sig/modules/RabiRaceModule.java @@ -534,11 +534,6 @@ public class RabiRaceModule extends Module{ myProfile.isPaused = paused>=1; if (mySession!=null && mySession.isCoop()) { - if (readIntFromMemory(MemoryOffset.TITLE_SCREEN)==10) { - mapdata.clear(); - newmapdata.clear(); - lastreadmapdata=0; - } if (newmapdata.size()>0 && readIntFromMemory(MemoryOffset.PAUSED)>0) { viewingupdatedMapIcons=true; @@ -817,4 +812,15 @@ public class RabiRaceModule extends Module{ AddMapPoint(0,i,0,i); }*/ } + + public void LeaveSession() { + + if (mySession!=null && mySession.isCoop()) { + if (readIntFromMemory(MemoryOffset.TITLE_SCREEN)==10) { + mapdata.clear(); + newmapdata.clear(); + lastreadmapdata=0; + } + } + } } diff --git a/tmp b/tmp index c227083..0c13837 100644 --- a/tmp +++ b/tmp @@ -1 +1 @@ -0 \ No newline at end of file +Client out-of-date. Rejected. \ No newline at end of file diff --git a/tmp_profile b/tmp_profile index 955cdeb..0c13837 100644 --- a/tmp_profile +++ b/tmp_profile @@ -1,21 +1 @@ -SigoNitori -10 -1584279851 -6357 -0000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000 -0 -true -1 -1 -0.0 -0.36923078 -1584279881 -KEYITEMS: -BADGES: -UPDATES: -0000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -END \ No newline at end of file +Client out-of-date. Rejected. \ No newline at end of file