Update with some bugfixes.

master
sigonasr2 5 years ago
parent a990c6b876
commit 0a85e34e46
  1. 3
      sessions
  2. BIN
      sigIRCv2.jar
  3. 1
      src/sig/modules/RabiRace/JoinButton.java
  4. 16
      src/sig/modules/RabiRaceModule.java
  5. 2
      tmp
  6. 22
      tmp_profile

@ -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

Binary file not shown.

@ -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);

@ -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;
}
}
}
}

2
tmp

@ -1 +1 @@
0
Client out-of-date. Rejected.

@ -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
Client out-of-date. Rejected.
Loading…
Cancel
Save