diff --git a/sessions b/sessions index e69de29..2f3229a 100644 --- a/sessions +++ b/sessions @@ -0,0 +1 @@ +155,1555130060,1555132179,SigoNitori's Race,4,none,sigonasr2;sigonitori,5.00,0,7 diff --git a/sigIRCv2.jar b/sigIRCv2.jar index 0e56616..e0e8ad4 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/BandoriModule.java b/src/sig/modules/BandoriModule.java index 71cb82e..d176660 100644 --- a/src/sig/modules/BandoriModule.java +++ b/src/sig/modules/BandoriModule.java @@ -28,7 +28,8 @@ import sig.utils.SoundUtils; public class BandoriModule extends Module{ public static BandoriModule bandori_module; - public BufferedImage stamp_collection1,stamp_collection2; + public BufferedImage stamp_collection1,stamp_collection2,stamp_collection3 + ,stamp_collection4,stamp_collection5,stamp_collection6,stamp_collection7,stamp_collection8,stamp_collection9,stamp_collection10; public static HashMap image_map = new HashMap(); public static HashMap> stamp_map = new HashMap>(); static List active_stamps = new ArrayList(); @@ -52,6 +53,14 @@ public class BandoriModule extends Module{ try { stamp_collection1 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamps1.png")); stamp_collection2 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamps2_2.png")); + stamp_collection3 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_018003.png")); + stamp_collection4 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_003003.png")); + stamp_collection5 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_0007003.png")); + stamp_collection6 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_011005.png")); + stamp_collection7 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_013003.png")); + stamp_collection8 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_016002.png")); + stamp_collection9 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_017004.png")); + stamp_collection10 = ImageIO.read(new File(sigIRC.BASEDIR+"sigIRC/stamp_021004.png")); } catch (IOException e) { e.printStackTrace(); } @@ -110,6 +119,24 @@ public class BandoriModule extends Module{ image_map.put("arisa_okayhereigo", new ImageScheme(stamp_collection2,29)); image_map.put("tomoe_giveityourall", new ImageScheme(stamp_collection2,30)); image_map.put("kanon_keepgoing", new ImageScheme(stamp_collection2,31)); + image_map.put("kokoro_letshavefun", new ImageScheme(stamp_collection2,32)); + image_map.put("kasumi_letshaveagreatshow", new ImageScheme(stamp_collection2,33)); + image_map.put("ako_illshowyousomethingcool", new ImageScheme(stamp_collection2,34)); + image_map.put("yukina_mindifipetyou", new ImageScheme(stamp_collection2,35)); + image_map.put("maya_whoa", new ImageScheme(stamp_collection2,36)); + image_map.put("hina_interesting", new ImageScheme(stamp_collection2,37)); + image_map.put("kaoru_imherewithyou", new ImageScheme(stamp_collection2,38)); + image_map.put("ran_itonlygetsbetter", new ImageScheme(stamp_collection2,39)); + image_map.put("himari_onthescene", new ImageScheme(stamp_collection2,40)); + image_map.put("rinko_wasthatgood", new ImageScheme(stamp_collection2,41)); + image_map.put("chisato_greaterthangreat", new SingleImageScheme(stamp_collection3)); + image_map.put("rimi_imsureitllbefine", new SingleImageScheme(stamp_collection4)); + image_map.put("moca_letsgetstarted", new SingleImageScheme(stamp_collection5)); + image_map.put("kokoro_justlikethat", new SingleImageScheme(stamp_collection6)); + image_map.put("hagumi_roar", new SingleImageScheme(stamp_collection7)); + image_map.put("aya_somuchpressure", new SingleImageScheme(stamp_collection8)); + image_map.put("hina_ivebeenwaiting", new SingleImageScheme(stamp_collection9)); + image_map.put("yukina_nexttime", new SingleImageScheme(stamp_collection10)); stamp_map.put("kasumi_gogo",Arrays.asList("gogo")); stamp_map.put("tae_letsplay",Arrays.asList("playtogether","wanttoplay","multilive","letsplay")); @@ -166,6 +193,24 @@ public class BandoriModule extends Module{ stamp_map.put("arisa_okayhereigo",Arrays.asList("hereigo","okayilltry","alrightilltry","domybest","trymybest","alrighty","itashot","myturn","domybest")); stamp_map.put("tomoe_giveityourall",Arrays.asList("giveiteverything","allyougot","everythingyougot","tryyourbest","giveityourall","youreverything","yourall")); stamp_map.put("kanon_keepgoing",Arrays.asList("keepgoing","dontstop","youcandoit","makeit","gaja","petan","pettan","pengu")); + stamp_map.put("kokoro_letshavefun",Arrays.asList("havefun","timeforfun")); + stamp_map.put("kasumi_letshaveagreatshow",Arrays.asList("greatshow")); + stamp_map.put("ako_illshowyousomethingcool",Arrays.asList("havefun","timeforfun")); + stamp_map.put("yukina_mindifipetyou",Arrays.asList("havefun","timeforfun")); + stamp_map.put("maya_whoa",Arrays.asList("havefun","timeforfun")); + stamp_map.put("hina_interesting",Arrays.asList("rururu","interesting")); + stamp_map.put("kaoru_imherewithyou",Arrays.asList("herewithyou","hereforyou")); + stamp_map.put("ran_itonlygetsbetter",Arrays.asList("getsbetter","onlygets")); + stamp_map.put("rinko_wasthatgood",Arrays.asList("wasthatgood","wasitgood")); + stamp_map.put("himari_onthescene",Arrays.asList("thescene")); + stamp_map.put("chisato_greaterthangreat",Arrays.asList("great")); + stamp_map.put("rimi_imsureitllbefine",Arrays.asList("itwillbefine","itllbefine","itsfine","thatsokay","bealright")); + stamp_map.put("moca_letsgetstarted",Arrays.asList("started")); + stamp_map.put("kokoro_justlikethat",Arrays.asList("likethat")); + stamp_map.put("hagumi_roar",Arrays.asList("roar","rawr","meow")); + stamp_map.put("aya_somuchpressure",Arrays.asList("pressure","tough")); + stamp_map.put("hina_ivebeenwaiting",Arrays.asList("waiting")); + stamp_map.put("yukina_nexttime",Arrays.asList("nexttime")); /*for (String s : image_map.keySet()) { ImageScheme scheme = image_map.get(s); @@ -266,8 +311,13 @@ public class BandoriModule extends Module{ super.draw(g); for (Stamp s : active_stamps) { //Stamp is 130x107 pixels - g.drawImage(s.scheme.base, (int)(s.randX+position.getX()), (int)position.getY()+24, (int)(s.randX+130+position.getX()), (int)position.getY()+24+107, + if (s.scheme instanceof SingleImageScheme) { + g.drawImage(s.scheme.base,(int)(s.randX+position.getX()),(int)position.getY()+24, (int)(s.randX+130+position.getX()), (int)position.getY()+24+107,0,0, + s.scheme.base.getWidth(),s.scheme.base.getHeight(),sigIRC.panel); + } else { + g.drawImage(s.scheme.base, (int)(s.randX+position.getX()), (int)position.getY()+24, (int)(s.randX+130+position.getX()), (int)position.getY()+24+107, s.scheme.stamp_index%6*270+4, s.scheme.stamp_index/6*223+3, s.scheme.stamp_index%6*270+260+4, s.scheme.stamp_index/6*223+214+3, sigIRC.panel); + } } Point2D basepos = new Point2D(this.getPosition().getX(),this.getPosition().getHeight()+this.getPosition().getY()+24); double successChance = 1; @@ -383,4 +433,12 @@ class ImageScheme{ this.base=base; this.stamp_index=index; } +} + +class SingleImageScheme extends ImageScheme{ + + SingleImageScheme(BufferedImage base) { + super(base, 0); + } + } \ No newline at end of file diff --git a/tmp_profile b/tmp_profile index a6d4584..ac6494f 100644 --- a/tmp_profile +++ b/tmp_profile @@ -1,5 +1,6 @@ SigoNitori -25 +10 +1557138165 0 0 0 @@ -10,9 +11,9 @@ SigoNitori false 0 0 -5.361208E-36 -4.8674998E-36 -1536205835 +0.0 +0.0 +1557138245 KEYITEMS: BADGES: UPDATES: \ No newline at end of file