Thread: how do i add a new picture on client

Results 1 to 7 of 7
  1. #1 how do i add a new picture on client 
    rOoNeY
    Guest
    how do i add a picture on my client where do i put it?
     

  2. #2  
    Registered Member
    ViperSniper's Avatar
    Join Date
    Apr 2007
    Age
    27
    Posts
    2,417
    Thanks given
    367
    Thanks received
    82
    Rep Power
    976
    Go into Class30_Sub2_Sub1_Sub1
    and see if you have this
    it wont say ViperSniper.jpg but lol
    Code:
    	public Class30_Sub2_Sub1_Sub1(byte abyte0[], Component component)
    	{
    		aBoolean1428 = false;
    		anInt1429 = 24869;
    		anInt1431 = -32357;
    		aByte1432 = 3;
    		aBoolean1433 = false;
    		anInt1434 = -388;
    		aBoolean1435 = false;
    		aBoolean1436 = true;
    		aBoolean1437 = true;
    		aBoolean1438 = false;
    		try
    		{
                Image image = Toolkit.getDefaultToolkit().getImage("ViperSniper.jpg");
                MediaTracker mediatracker = new MediaTracker(component);
                mediatracker.addImage(image, 0);
                mediatracker.waitForAll();
                anInt1440 = image.getWidth(component);
                anInt1441 = image.getHeight(component);
                anInt1444 = anInt1440;
                anInt1445 = anInt1441;
                anInt1442 = 0;
                anInt1443 = 0;
                anIntArray1439 = new int[anInt1440 * anInt1441];
                PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
                pixelgrabber.grabPixels();
                return;
    		}
    		catch (Exception exception)
    		{
    			System.out.println("Error converting jpg");
    		}
    	}
    :indeed:
     

  3. #3  
    rOoNeY
    Guest
    i dont how else?
     

  4. #4  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,421
    Thanks given
    693
    Thanks received
    1,425
    Rep Power
    1202
    Just go into class30_sub2_sub1_sub1

    and search this:
    Code:
     Image image = Toolkit.getDefaultToolkit().getImage
    And Replace with this:
    Code:
    Image image = Toolkit.getDefaultToolkit().getImage("background.jpg");
    And make sure its your image is in jpg format and put it in your client+ compile

    And the image must be half flipped and if you dont know how to do that then go to the "start our own client" tutorial in the tutorials section

    enjoy
    Last edited by Mikey`; 02-16-2008 at 12:09 AM. Reason: i took out the um at the beggining
     

  5. #5  
    Registered Member
    Yarnova's Avatar
    Join Date
    Jul 2007
    Age
    26
    Posts
    878
    Thanks given
    1
    Thanks received
    34
    Rep Power
    364
    Does'nt nessicarily have to be .jpg, if you disabled image flipping you can use an unflipped PNG.
     

  6. #6  
    Member

    Join Date
    Dec 2007
    Posts
    1,094
    Thanks given
    8
    Thanks received
    8
    Rep Power
    0
    How do you disable image flipping?
     

  7. #7  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    Quote Originally Posted by Farmer Minx View Post
    How do you disable image flipping?
    Using 'Search' in right corner.



     


Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •