hey whats ya email?
|
|
hey whats ya email?
Post the compass sprite that you have. I can't figure it out if you just show me a picture of the client.

Code:else if (s == "compass") { try { Image image = Toolkit.getDefaultToolkit().getImage("./sprites/"+s+" "+i+".png"); anIntArray1439 = new int[anInt1440 * anInt1441]; PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440); pixelgrabber.grabPixels(); } catch (Exception exception) { System.out.println(((Object) (exception))); } }

Yea, credits to llama for the code and the picture, he helps me out with most of the things I do in the client.
Wow thx it finally works with your awesome code
is this how you do sideicons?
Code://start of hack if (s == "SideIcons 0") { try { Image image = Toolkit.getDefaultToolkit().getImage("./sprites/"+s+" "+i+".png"); anIntArray1439 = new int[anInt1440 * anInt1441]; PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440); pixelgrabber.grabPixels(); } catch (Exception exception) { System.out.println(((Object) (exception))); } } // end of hack
no.. you can do sideicons like this.. but they wont turn red when they are supposed to:
Code:if(s.startsWith("sideicons")) { try { Image image = Toolkit.getDefaultToolkit().getImage("./sprites/"+s+" "+i+".png"); anIntArray1439 = new int[anInt1440 * anInt1441]; PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440); pixelgrabber.grabPixels(); } catch (Exception exception) { System.out.println(((Object) (exception))); } }
| « Give here clients. | umm any 1 wanna answer my question? » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |