Thread: Compass Image - Help Me

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Compass Image - Help Me 
    Pizza Hut
    Guest
    Somethings weird with my compass.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Sep 2006
    Age
    28
    Posts
    330
    Thanks given
    0
    Thanks received
    2
    Rep Power
    35
    hey whats ya email?
    Reply With Quote  
     

  3. #3  
    Sleep
    Guest
    Post the compass sprite that you have. I can't figure it out if you just show me a picture of the client.
    Reply With Quote  
     

  4. #4  
    Pizza Hut
    Guest
    Reply With Quote  
     

  5. #5  
    Community Veteran


    Join Date
    Oct 2006
    Posts
    451
    Thanks given
    5
    Thanks received
    1
    Discord
    View profile
    Rep Power
    137


    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)));
    			}
    		}
    Est. 2006
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Nov 2006
    Posts
    699
    Thanks given
    1
    Thanks received
    32
    Rep Power
    524
    Lol @ Guthan's compass.

    Here's a BETTER one. But give Guthan credit for the code.


    [Only registered and activated users can see links. ]
    ~Z
    Reply With Quote  
     

  7. #7  
    Registered Member
    Llama's Avatar
    Join Date
    Oct 2006
    Age
    30
    Posts
    510
    Thanks given
    0
    Thanks received
    0
    Rep Power
    106
    Quote Originally Posted by Zachera View Post
    Lol @ Guthan's compass.

    Here's a BETTER one. But give Guthan credit for the code.




    ~Z
    hey f u, i made that compass guthan posted and i'll have you know it was made in paint.. ass ... oh and thats my coding too hopefully loaded = me and jake's work



    Reply With Quote  
     

  8. #8  
    Community Veteran


    Join Date
    Oct 2006
    Posts
    451
    Thanks given
    5
    Thanks received
    1
    Discord
    View profile
    Rep Power
    137
    Yea, credits to llama for the code and the picture, he helps me out with most of the things I do in the client.
    Est. 2006
    Reply With Quote  
     

  9. #9  
    Pizza Hut
    Guest
    Quote Originally Posted by llama View Post
    hey f u, i made that compass guthan posted and i'll have you know it was made in paint.. ass ... oh and thats my coding too hopefully loaded = me and jake's work
    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
    Reply With Quote  
     

  10. #10  
    Registered Member
    Llama's Avatar
    Join Date
    Oct 2006
    Age
    30
    Posts
    510
    Thanks given
    0
    Thanks received
    0
    Rep Power
    106
    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)));
    			}
    		}



    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Hover On Image - Changes Image & Website Link
    By Seven Lives in forum Website Development
    Replies: 3
    Last Post: 03-29-2010, 01:40 AM
  2. Compass
    By NICKname in forum Help
    Replies: 5
    Last Post: 05-23-2009, 11:15 AM
  3. Compass
    By Eternal Darknes in forum Help
    Replies: 7
    Last Post: 05-18-2009, 10:39 PM
  4. Compass.
    By The Killer18 in forum Help
    Replies: 1
    Last Post: 05-18-2009, 07:02 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •