Jump to content
  • 0
Sign in to follow this  
distryct

background is messed up

Question

hello everybody :D actually :(.


i've done this tutorial : rune - server.org/runescape-development/rs2-client/tutorials/403814-custom-login-screen.html

when i start my client it looks like :
[IMG]http://i.imgur.com/iw25uzs.png[/IMG]

i am using simplicity v2's client
i've noticed he is using a sprite to replace his background so he removed almost everything in the method logo drawlogo
[CODE]private void drawLogo() {
byte abyte0[] = titleStreamLoader.getDataForName("title.dat");
new Sprite(abyte0, this);
System.gc();
}[/CODE]

how he loaded the sprites :
[QUOTE]
1. backgroundWorld1 = new Sprite("world1");
2. backgroundWorld1.drawSprite(0, 0);
3. backgroundWorld1 = null;
4. private Sprite backgroundWorld1;
[/QUOTE]

idk what to do:(

everything worked fine except for the background:(:(:(:(:(:(:(:(

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
[quote name='distryct']hello everybody :D actually :(.


i've done this tutorial : rune - server.org/runescape-development/rs2-client/tutorials/403814-custom-login-screen.html

when i start my client it looks like :
[IMG]http://i.imgur.com/iw25uzs.png[/IMG]

i am using simplicity v2's client
i've noticed he is using a sprite to replace his background so he removed almost everything in the method logo drawlogo
[CODE]private void drawLogo() {
byte abyte0[] = titleStreamLoader.getDataForName("title.dat");
new Sprite(abyte0, this);
System.gc();
}[/CODE]

how he loaded the sprites :


idk what to do:(

everything worked fine except for the background:(:(:(:(:(:(:(:([/QUOTE]

sprite.java client sided search for -

[code]Image image = Toolkit.getDefaultToolkit().createImage(location+"bgname.png")[/code]

copy a few lines below and above it and post them here.

Share this post


Link to post
Share on other sites
  • 0
[quote name='officiallulzs3c']sprite.java client sided search for -

[code]Image image = Toolkit.getDefaultToolkit().createImage(location+"bgname.png")[/code]

copy a few lines below and above it and post them here.[/QUOTE]

i dont have it?

can u add me on skype? dont use runelocus
Skype : Lsdevil112

Share this post


Link to post
Share on other sites
  • 0
[quote name='distryct']i dont have it?

can u add me on skype? dont use runelocus
Skype : Lsdevil112[/QUOTE]

search the client for your background name and post the snippet.

Share this post


Link to post
Share on other sites
  • 0
Yeah I had this problem too, thankfully I had a backup of my server from a week prior, if you got one I'd use that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×