From 2dfe8e69906772a685d6bd0d919a1509ff425878 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 29 May 2023 19:27:13 -0500 Subject: [PATCH] Debug --- sig/App.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sig/App.java b/sig/App.java index 70775eb..dd96846 100644 --- a/sig/App.java +++ b/sig/App.java @@ -154,6 +154,10 @@ class Server float GetMythraHealth(){ BufferedImage img=r.createScreenCapture(new Rectangle(105, 193, 107, 1)); + System.out.println(img.getRGB(0,0)&255); + System.out.println(img.getRGB(0,0)&(255<<8)); + System.out.println(img.getRGB(0,0)&(255<<16)); + System.out.println(img.getRGB(0,0)&(255<<24)); for (int i=img.getWidth()-1;i>=0;i--){ if ((img.getRGB(i,0)&255)>100){ return i/(img.getWidth()-1)*100;