|
|
|
@ -92,8 +92,9 @@ public class RabiRaceModule extends Module{ |
|
|
|
|
public HashMap<Integer,Integer> mapdata = new HashMap<Integer,Integer>(); |
|
|
|
|
public HashMap<Integer,Integer> newmapdata = new HashMap<Integer,Integer>(); |
|
|
|
|
public static ScheduledExecutorService scheduler,scheduler2; |
|
|
|
|
public static boolean syncEvents = true; |
|
|
|
|
public static boolean darknessHasReachedzero = false; //darkness needs to go down to 0, then go back up.
|
|
|
|
|
int frames=0; |
|
|
|
|
public static boolean regularupdatePerformed=false; |
|
|
|
|
|
|
|
|
|
public static final int[] RESTRICTED_EVENTS = new int[] {256,257,260,262,264,265,266,267,268,269,271,272,278,279,284,289,290,295,296,307,315,316,322,323,324,331,333,344,345,371,377,379,385,386,387,399,412,427,428,451,452,464,465,484,516,517,518,519}; |
|
|
|
|
|
|
|
|
@ -189,14 +190,12 @@ public class RabiRaceModule extends Module{ |
|
|
|
|
private void RunRabiRaceUpdater() { |
|
|
|
|
if (foundRabiRibi) { |
|
|
|
|
UpdateMyProfile(); |
|
|
|
|
regularupdatePerformed=true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void RunRabiRace() { |
|
|
|
|
CheckRabiRibiClient(); |
|
|
|
|
if (foundRabiRibi && |
|
|
|
|
regularupdatePerformed) { |
|
|
|
|
if (foundRabiRibi) { |
|
|
|
|
FileUtils.logToFile("["+System.currentTimeMillis()+"]Start update cycle...", "debug.log"); |
|
|
|
|
myProfile.uploadProfile(); |
|
|
|
|
getSessionList(); |
|
|
|
@ -207,7 +206,6 @@ public class RabiRaceModule extends Module{ |
|
|
|
|
RequestData("tmp.data","key=keepalivesession&session="+mySession.getID()); |
|
|
|
|
FileUtils.logToFile("["+System.currentTimeMillis()+"]Requested data"+"key=keepalivesession&session="+mySession.getID(), "debug.log"); |
|
|
|
|
} |
|
|
|
|
regularupdatePerformed=false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|