diff --git a/sigIRCv2.jar b/sigIRCv2.jar index 30b62c0..db8b032 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/RabiRace/Profile.java b/src/sig/modules/RabiRace/Profile.java index ff709b9..2e27d37 100644 --- a/src/sig/modules/RabiRace/Profile.java +++ b/src/sig/modules/RabiRace/Profile.java @@ -188,10 +188,16 @@ public class Profile { } public void MarkCurrentPosition() { - RabiRaceModule.module.AddMapPoint(RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_AREA_NUMBER), - RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_TILE_X), - RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_TILE_Y), - 16,false); + int id = RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_TILE_Y)+18*RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_TILE_X)+RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_AREA_NUMBER)*450; + if (RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_REGION_START.getOffset()+id*4)>1 && + RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_REGION_START.getOffset()+id*4)!=3 && + RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_REGION_START.getOffset()+id*4)!=7 + && !RabiRaceModule.module.mapdata.containsKey(id)) { + RabiRaceModule.module.AddMapPoint(RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_AREA_NUMBER), + RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_TILE_X), + RabiRaceModule.module.readIntFromMemory(MemoryOffset.MAP_TILE_Y), + 16,false); + } /*for (int i=0;i<17;i++) { AddMapPoint(0,i,0,i); }*/