Rabi-Race bugfixes, title screen pausing enabled.

master
sigonasr2 5 years ago
parent 9b0e9ee189
commit 4d1f82d3e8
  1. 2
      sessions
  2. BIN
      sigIRCv2.jar
  3. 6
      src/sig/modules/RabiRaceModule.java
  4. 2
      src/sig/modules/RabiRibi/MemoryOffset.java
  5. 90
      tmp_profile

@ -1 +1 @@
15,1584020723,1584021544,Trimead Test,4,none,trimead;sigonitori,5.00,0,5,true 16,1584021695,1584022621,Trimead's Race,4,none,trimead;sigonitori,5.00,0,5,true

Binary file not shown.

@ -239,7 +239,7 @@ public class RabiRaceModule extends Module{
public void SyncItemsWithOtherPlayers() { public void SyncItemsWithOtherPlayers() {
for (Profile p : mySession.getPlayers()) { for (Profile p : mySession.getPlayers()) {
if (p!=myProfile) { if (p!=myProfile && !p.isPaused) {
for (MemoryData m : p.key_items.keySet()) { for (MemoryData m : p.key_items.keySet()) {
if (p.key_items.get(m)!=0 && (!myProfile.key_items.containsKey(m) || myProfile.key_items.get(m)==0)) { if (p.key_items.get(m)!=0 && (!myProfile.key_items.containsKey(m) || myProfile.key_items.get(m)==0)) {
System.out.println("You do not have a "+m.name+". Syncing from "+p.displayName+"."); System.out.println("You do not have a "+m.name+". Syncing from "+p.displayName+".");
@ -385,10 +385,10 @@ public class RabiRaceModule extends Module{
private void UpdateMyProfile() { private void UpdateMyProfile() {
if (foundRabiRibi) { if (foundRabiRibi) {
//System.out.println("Called."); //System.out.println("Called.");
int paused = readIntFromMemory(MemoryOffset.PAUSED); int paused = readIntFromMemory(MemoryOffset.PAUSED) + readIntFromMemory(MemoryOffset.TITLE_SCREEN);
//int paused = 0; //TODO FORCE UNPAUSE FOR NOW. //int paused = 0; //TODO FORCE UNPAUSE FOR NOW.
float itempct = readFloatFromMemory(MemoryOffset.ITEM_PERCENT); float itempct = readFloatFromMemory(MemoryOffset.ITEM_PERCENT);
myProfile.isPaused = paused==1; myProfile.isPaused = paused>=1;
//System.out.println(itempct+","+paused); //System.out.println(itempct+","+paused);
if (paused==0 && itempct>=0) { if (paused==0 && itempct>=0) {
myProfile.archiveAllValues(); myProfile.archiveAllValues();

@ -144,7 +144,7 @@ public enum MemoryOffset {
MAP_PERCENT(0x16E8080,0x13413E4,0x1342404+OffsetHelper.MEMORY_OFFSET_V188_TO_V1881,0x1366404,0x16E48FC,0), //Float MAP_PERCENT(0x16E8080,0x13413E4,0x1342404+OffsetHelper.MEMORY_OFFSET_V188_TO_V1881,0x1366404,0x16E48FC,0), //Float
RAINBOW_EGG_COUNT(0xD65FD4,0xD65FD4+OffsetHelper.KEY_ITEM_OFFSET_V175_TO_V1851,0xD65FD4+OffsetHelper.MEMORY_OFFSET_V175_TO_V1881,0xD65FD4+OffsetHelper.MEMORY_OFFSET_V175_TO_V190,OffsetHelper.KEY_ITEM_OFFSET_V175_TO_V199,OffsetHelper.KEY_ITEM_OFFSET_V175_TO_V199T), RAINBOW_EGG_COUNT(0xD65FD4,0xD65FD4+OffsetHelper.KEY_ITEM_OFFSET_V175_TO_V1851,0xD65FD4+OffsetHelper.MEMORY_OFFSET_V175_TO_V1881,0xD65FD4+OffsetHelper.MEMORY_OFFSET_V175_TO_V190,OffsetHelper.KEY_ITEM_OFFSET_V175_TO_V199,OffsetHelper.KEY_ITEM_OFFSET_V175_TO_V199T),
PAUSED(0x1038D88,0xC969A0,0xC979A0,0xCBB9AC,0x1036D88,0), PAUSED(0x1038D88,0xC969A0,0xC979A0,0xCBB9AC,0x1036D88,0),
TITLE_SCREEN(0x16893F4,0,0,0,0,0),
; ;
long base_offset; long base_offset;

@ -1,91 +1,19 @@
SigoNitori SigoNitori
10 10
1584021455 1584022486
109678 5181
30 0
26 0
20 0
19 0
0 0
0 0
false false
1 1
1 1
1.6 0.0
53.600002 0.0
1584021548 1584022627
KEYITEMS: KEYITEMS:
HAMMER;3
AIR_JUMP;3
SLIDING_POWDER;3
CARROT_BOMB;3
HOURGLASS;3
SPEED_BOOST;3
AUTO_EARRINGS;3
RIBBON;3
SOUL_HEART;3
RABI_SLIPPERS;3
BUNNY_WHIRL;3
QUICK_BARRETTE;3
BOOK_OF_CARROT;3
CHAOS_ROD;3
HAMMER_WAVE;3
HAMMER_ROLL;3
LIGHT_ORB;3
WATER_ORB;3
FIRE_ORB;3
NATURE_ORB;3
P_HAIRPIN;3
SUNNY_BEAM;3
PLUS_NECKLACE;3
CYBER_FLOWER;3
HEALING_STAFF;3
MAX_BRACELET;3
EXPLODE_SHOT;3
AIR_DASH;3
BUNNY_STRIKE;3
STRANGE_BOX;3
WALL_JUMP;3
SPIKE_BARRIER;3
BUNNY_AMULET;3
CHARGE_RING;3
CARROT_SHOOTER;3
SUPER_CARROT;3
GOLD_CARROT;1
BUNNY_CLOVER;1
FAIRYS_FLUTE;1
WIND_BLESSING;1
BADGES: BADGES:
BADGE_HEALTH_PLUS;1
BADGE_HEALTH_SURGE;1
BADGE_MANA_PLUS;2
BADGE_MANA_SURGE;2
BADGE_CRISIS_BOOST;1
BADGE_ATK_GROW;2
BADGE_DEF_GROW;1
BADGE_ATK_TRADE;1
BADGE_DEF_TRADE;1
BADGE_ARM_STRENGTH;2
BADGE_CARROT_BOOST;1
BADGE_WEAKEN;1
BADGE_SELF_DEFENSE;1
BADGE_ARMORED;1
BADGE_LUCKY_SEVEN;2
BADGE_HEX_CANCEL;1
BADGE_PURE_LOVE;2
BADGE_TOXIC_STRIKE;2
BADGE_FRAME_CANCEL;1
BADGE_HEALTH_WAGER;2
BADGE_MANA_WAGER;1
BADGE_STAMINA_PLUS;2
BADGE_BLESSED;2
BADGE_HITBOX_DOWN;1
BADGE_CASHBACK;1
BADGE_SURVIVAL;2
BADGE_TOP_FORM;1
BADGE_TOUGH_SKIN;1
BADGE_ERINA_BADGE;1
BADGE_RIBBON_BADGE;2
BADGE_AUTO_TRIGGER;1
BADGE_LILITHS_GIFT;2
UPDATES: UPDATES:
Loading…
Cancel
Save