Thread: Sigex - New RuneScape Logo with pre Height & loaded Height -Pictures-

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 Sigex - New RuneScape Logo with pre Height & loaded Height -Pictures- 
    F*ck the rest join the best, WoR

    sigex's Avatar
    Join Date
    Mar 2008
    Age
    31
    Posts
    2,088
    Thanks given
    122
    Thanks received
    146
    Rep Power
    690
    This will allow you to display what you see below in your client.

    Purpose: To show the new RS logo that changes cords once loaded.
    Difficulty: 2/10
    Files Used: Client.java, Sprite.java
    Base Used: Webbers renamed client


    While loading


    Once loaded


    Part 1 "Client.java" renamed Only

    Find the method "drawLogo()" and apply these 2 integers to it.

    Code:
    private void drawLogo(int cordX,int cordY)
    Still in that same method find "logo" and replace it with.

    Code:
    sprite = new Sprite("logo.png");
    Just below that you will see some thing like "aRSImageProducer_1107.initDrawingArea();" and right under that replace the next line with this.

    Code:
    sprite.drawSprite((cordX - sprite.myWidth / 2)+45, cordY);
    Now at the end of that method add this.

    Code:
    welcomeScreenRaised = true;
    You should now have some thing like this

    Code:
    	private void drawLogo(int cordX,int cordY)
    	{
    		byte abyte0[] = titleStreamLoader.getDataForName("title.dat");
    		Sprite sprite = new Sprite(abyte0, this);
    		aRSImageProducer_1110.initDrawingArea();
    		sprite.method346(0, 0);
    		aRSImageProducer_1111.initDrawingArea();
    		sprite.method346(-637, 0);
    		aRSImageProducer_1107.initDrawingArea();
    		sprite.method346(-128, 0);
    		aRSImageProducer_1108.initDrawingArea();
    		sprite.method346(-202, -371);
    		aRSImageProducer_1109.initDrawingArea();
    		sprite.method346(-202, -171);
    		aRSImageProducer_1112.initDrawingArea();
    		sprite.method346(0, -265);
    		aRSImageProducer_1113.initDrawingArea();
    		sprite.method346(-562, -265);
    		aRSImageProducer_1114.initDrawingArea();
    		sprite.method346(-128, -171);
    		aRSImageProducer_1115.initDrawingArea();
    		sprite.method346(-562, -171);
    		int ai[] = new int[sprite.myWidth];
    		for(int j = 0; j < sprite.myHeight; j++)
    		{
    			for(int k = 0; k < sprite.myWidth; k++)
    				ai[k] = sprite.myPixels[(sprite.myWidth - k - 1) + sprite.myWidth * j];
    			System.arraycopy(ai, 0, sprite.myPixels, sprite.myWidth * j, sprite.myWidth);
    		}
    		aRSImageProducer_1110.initDrawingArea();
    		sprite.method346(382, 0);
    		aRSImageProducer_1111.initDrawingArea();
    		sprite.method346(-255, 0);
    		aRSImageProducer_1107.initDrawingArea();
    		sprite.method346(254, 0);
    		aRSImageProducer_1108.initDrawingArea();
    		sprite.method346(180, -371);
    		aRSImageProducer_1109.initDrawingArea();
    		sprite.method346(180, -171);
    		aRSImageProducer_1112.initDrawingArea();
    		sprite.method346(382, -265);
    		aRSImageProducer_1113.initDrawingArea();
    		sprite.method346(-180, -265);
    		aRSImageProducer_1114.initDrawingArea();
    		sprite.method346(254, -171);
    		aRSImageProducer_1115.initDrawingArea();
    		sprite.method346(-180, -171);
    		sprite = new Sprite(sign.signlink.findcachedir() + "Sprites/titlescreen/loginscreen/logo.png");
    		aRSImageProducer_1107.initDrawingArea();
    		sprite.drawSprite((cordX - sprite.myWidth / 2)+45, cordY);
    		System.out.println("cordX = "+cordX);
    		int number = cordX - sprite.myWidth / 2 - 128;
    		System.out.println("CordX2 = "+number);
    		sprite = null;
    		Object obj = null;
    		Object obj1 = null;
    		System.gc();
    		welcomeScreenRaised = true;
    	}
    Now find "EntityDef.clientInstance = this;" and below that replace the method call with this

    Code:
    drawLogo(208,5);
    Now find this "TextDrawingArea aTextDrawingArea_1273 = new TextDrawingArea(true, "q8_full", titleStreamLoader);" and below that replace the method call with this.

    Code:
    drawLogo(214,23);
    Now find "if(titleStreamLoader != null)" and just below that replace the method call with this

    Code:
    drawLogo(208,5);

    Part 2 "Sprite.java" renamed Only

    add this method if you do not already have it.

    Code:
    	public Sprite(String img)
    	{
    		try
    		{
    			Image image = Toolkit.getDefaultToolkit().getImage(img);
    			javax.swing.ImageIcon icon = new javax.swing.ImageIcon(image);
    			myWidth = icon.getIconWidth();
    			myHeight = icon.getIconHeight();
    			anInt1444 = myWidth;
    			anInt1445 = myHeight;
    			anInt1442 = 0;
    			anInt1443 = 0;
    			myPixels = new int[myWidth * myHeight];
    			PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, myWidth, myHeight, myPixels, 0, myWidth);
    			pixelgrabber.grabPixels();
    			return;
    		}
    		catch(Exception _ex) {
    		}
    	}
    If you want the new Rs background then find "public Sprite(byte abyte0[], Component component)" and in that method replace "Toolkit.getDefaultToolkit().createImage(abyte 0);" with

    Code:
    Image image = Toolkit.getDefaultToolkit().getImage("background.PNG");
    			//image = Toolkit.getDefaultToolkit().createImage(abyte0);
    I think that's all of it post if it doesn't work then I will know If I have missed any thing I don't think I have but just in case. Now all you need is the sprite.


    [Only registered and activated users can see links. ]


    [Only registered and activated users can see links. ]

    Enjoy




    I am working on the new Scroll bar if you can help post [Only registered and activated users can see links. ]. You will get a copy of the script.


    The wor has begun.

    Reply With Quote  
     

  2. #2  
    Registered Member
    FairyTail's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    581
    Thanks given
    22
    Thanks received
    5
    Rep Power
    188
    woah not to bad dude wont use atm but nice tho
    If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. - Albert Einstein
    Reply With Quote  
     

  3. #3  
    Tariq
    Guest
    nice sigex really nice....i just thought maybe the newer login box might be a challenge but. if you can DO IT....id love to see that

    EDIT: never mind i see that the login box thingy is in the help section? thanks for this
    Last edited by Tariq; 01-17-2009 at 07:48 AM. Reason: something
    Reply With Quote  
     

  4. #4  
    Derp.
    BenjaR's Avatar
    Join Date
    May 2008
    Age
    26
    Posts
    2,086
    Thanks given
    167
    Thanks received
    125
    Rep Power
    915
    This is good but I don't think I will use it thanks.
    Reply With Quote  
     

  5. #5  
    F*ck the rest join the best, WoR

    sigex's Avatar
    Join Date
    Mar 2008
    Age
    31
    Posts
    2,088
    Thanks given
    122
    Thanks received
    146
    Rep Power
    690
    Quote Originally Posted by Tariq View Post
    nice sigex really nice....i just thought maybe the newer login box might be a challenge but. if you can DO IT....id love to see that

    EDIT: never mind i see that the login box thingy is in the help section? thanks for this
    You do know that, "I" referring to one's self should be a high case character? Don't come plain at peoples poor grammar.


    The wor has begun.

    Reply With Quote  
     

  6. #6  
    Tariq
    Guest
    whatttt i never complained about grammar to anyone yet....the sig just gives me a sense of security...lol
    Reply With Quote  
     

  7. #7  
    Registered Member samy's Avatar
    Join Date
    Sep 2006
    Age
    29
    Posts
    133
    Thanks given
    0
    Thanks received
    1
    Rep Power
    30
    I didn't know that the new rs moved.. interesting.

    That's pretty cool, but why not just keep the logo at the top anyways? Its not really that much different.
    Reply With Quote  
     

  8. #8  
    F*ck the rest join the best, WoR

    sigex's Avatar
    Join Date
    Mar 2008
    Age
    31
    Posts
    2,088
    Thanks given
    122
    Thanks received
    146
    Rep Power
    690
    Quote Originally Posted by samy View Post
    I didn't know that the new rs moved.. interesting.

    That's pretty cool, but why not just keep the logo at the top anyways? Its not really that much different.
    Tell that to Jagex I'm just remaking what they have made. Yea it is different because while loading there's a massive space from the logo to the loading bar that looks really strange


    The wor has begun.

    Reply With Quote  
     

  9. #9  
    Registered Member
    psyhoman's Avatar
    Join Date
    Sep 2007
    Age
    27
    Posts
    2,781
    Thanks given
    56
    Thanks received
    58
    Rep Power
    2774
    AWESOME very sexy
    Circumstances don't matter, only state of being matters!
    Reply With Quote  
     

  10. #10  
    ( ͡° ͜ʖ ͡°)
    Edgeville's Avatar
    Join Date
    Nov 2007
    Posts
    2,455
    Thanks given
    80
    Thanks received
    428
    Rep Power
    2589
    Brilliant, Thanks alot sigex
    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

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