Sync fixes.

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

@ -1,5 +1 @@
4,1584017341,1584017421,SigoNitori's Race,4,none,,5.00,0,5,false 15,1584020723,1584021544,Trimead Test,4,none,trimead;sigonitori,5.00,0,5,true
5,1584017424,1584017430,SigoNitori's Race,4,none,,5.00,0,5,false
6,1584017434,1584017699,SigoNitori's Race,4,none,,5.00,0,5,true
7,1584017703,1584017752,SigoNitori's Race,4,none,,5.00,0,5,true
8,1584017756,1584017771,SigoNitori's Race,4,none,sigonitori,5.00,0,5,false

Binary file not shown.

@ -241,15 +241,15 @@ public class RabiRaceModule extends Module{
for (Profile p : mySession.getPlayers()) { for (Profile p : mySession.getPlayers()) {
if (p!=myProfile) { if (p!=myProfile) {
for (MemoryData m : p.key_items.keySet()) { for (MemoryData m : p.key_items.keySet()) {
if (p.key_items.get(m)!=0 && 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+".");
writeIntToMemory(m.mem.getOffset(),Math.abs(p.key_items.get(m))); writeIntToMemory(m.mem.getOffset(),Math.abs(p.key_items.get(m)));
} }
} }
for (MemoryData m : p.badges.keySet()) { for (MemoryData m : p.badges.keySet()) {
if (p.badges.get(m)!=0 && myProfile.badges.get(m)==0) { if (p.badges.get(m)!=0 && (!myProfile.badges.containsKey(m) || myProfile.badges.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+".");
writeIntToMemory(m.mem.getOffset(),Math.abs(p.key_items.get(m))); writeIntToMemory(m.mem.getOffset(),Math.abs(p.badges.get(m)));
} }
} }
if (p.healthUps>myProfile.healthUps) { if (p.healthUps>myProfile.healthUps) {
@ -268,6 +268,10 @@ public class RabiRaceModule extends Module{
System.out.println("You do not have the correct amount of pack ups. Syncing to ("+p.packUps+") from "+p.displayName+"."); System.out.println("You do not have the correct amount of pack ups. Syncing to ("+p.packUps+") from "+p.displayName+".");
UpdateRange(MemoryOffset.PACKUP_START,MemoryOffset.PACKUP_END,p.packUps-myProfile.packUps); UpdateRange(MemoryOffset.PACKUP_START,MemoryOffset.PACKUP_END,p.packUps-myProfile.packUps);
} }
if (p.attackUps>myProfile.attackUps) {
System.out.println("You do not have the correct amount of attack ups. Syncing to ("+p.attackUps+") from "+p.displayName+".");
UpdateRange(MemoryOffset.ATTACKUP_START,MemoryOffset.ATTACKUP_END,p.attackUps-myProfile.attackUps);
}
} }
} }
} }

@ -1,19 +1,91 @@
SigoNitori SigoNitori
10 10
1584017685 1584021455
20581 109678
3 30
1 26
0 20
0 19
0 0
0 0
false false
1 1
1 1
1.3538462 1.6
1.5999999 53.600002
1584017771 1584021548
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