[TuT - A] [508] [Client] Full Screen Client...
Ok this isnt mine BUT i have written it all out for you. And i have already done the client side for you...
Here is the Download link for the client : http://www.sendspace.com/file/433weg
Ok lets start..
Now that client sided is done, your gonna need to do Server Sided!
(By the way i have not copyed and pasted this tutorial because the one on *You know where* is such bad English!)
If you want to edit the Screen size then all you got to do is go into client.java which is CLIENT SIDED!
and search for the code:
Code:
var_client.method21(1024, 768, 109, 27, "runescape", 508,
You see where it says 1024, 768.. Well yeh just change it to your screen resolution!
First off open up frames.java and search for:
When you have found this you will see some around there called:
Code:
p.stream.writeWord(set);
When you see that, you must change the (set) to (549)
Save and close frames.java and open up login.java..
Then search for this:
Code:
p.frames.setInterfaces(p);
When you have found this you must make it look like this:
Code:
//p.frames.setInterfaces(p);
This will be commenting it out. Which is what we want to do...
Then still in login.java search for:
Code:
p.frames.setWindowPane(p,
Under this add:
Code:
/*start of setinterfaces*/
p.frames.setInterface(p, 1, 549, 0, 746);
p.frames.setInterface(p, 1, 746, 13, 748); //energy orb
p.frames.setInterface(p, 1, 746, 14, 749); //energy orb
p.frames.setInterface(p, 1, 746, 15, 750); //energy orb
p.frames.setInterface(p, 1, 746, 16, 747); //summing orb
p.frames.setInterface(p, 1, 746, 71, 149); //Inventory tab
p.frames.setInterface(p, 1, 746, 18, 751); //things below chatbox
p.frames.setInterface(p, 1, 752, 8, 137); //chatbox
p.frames.setInterface(p, 1, 746, 65, 752); //chatbox 752
/*end of setinterfaces*/
IMPORTANT! if you dont have code:
Code:
p.frames.setWindowPane(p,
Then under the code you commented out just put it under there..
Ok now, save and close login.java!
Now last java file we are going to be opening is ActionButtons.java.
Ok in ActionButtons.java search for:
Code:
public class ActionButtons implements Packet {
And add this void below it:
Code:
public void setInterface(Player p, int showId, int windowId, int interfaceId, int childId) {
if (p == null || p.stream == null || p.disconnected[0]) {
return;
}//yeah yeah i know you have it in frames to i was a lil lazy at the time
p.stream.createFrame(93);
p.stream.writeWord(childId);
p.stream.writeByteA(showId);
p.stream.writeWord(windowId);
p.stream.writeWord(interfaceId);
}
Now still in ActionButtons.java search for switch and below that add these cases:
Code:
case 746:
if(buttonId == 49) //music tab
setInterface(p, 1, 746, 71, 187);
else if (buttonId == 48) //emote tab
setInterface(p, 1, 746, 71, 464);
else if (buttonId == 47) //setting tab
setInterface(p, 1, 746, 71, 261);
else if (buttonId == 46) //clan chat
setInterface(p, 1, 746, 71, 589);
else if (buttonId == 45) //ignore tab
setInterface(p, 1, 746, 71, 551);
else if (buttonId == 44) //friends list tab
setInterface(p, 1, 746, 71, 550);
else if (buttonId == 42) //magic tab
setInterface(p, 1, 746, 71, 192);
else if (buttonId == 41) //prayer tab
setInterface(p, 1, 746, 71, 271);
else if (buttonId == 40) //Equipment tab
setInterface(p, 1, 746, 71, 387);
else if (buttonId == 39) //Inventory tab
setInterface(p, 1, 746, 71, 149);
else if (buttonId == 38) //quest tab
setInterface(p, 1, 746, 71, 274);
else if (buttonId == 37) //Skill tab
setInterface(p, 1, 746, 71, 320);
else if (buttonId == 36) //Attack tab
setInterface(p, 1, 746, 71, 92);
else if (buttonId == 35) //sum tab
setInterface(p, 1, 746, 71, 92);
else if (buttonId == 12) //Logout.
setInterface(p, 1, 746, 71, 182);
break;
And we are done!
I have written all this out myself EXCEPT the coding..
Credits:
Joe9099 : 50% (Writing it all out + doing the client side already)
zhstyle1990 : 50% (For all the coding, sorry buddy but i had to make another version of the tutorial as your English is terrible)
Here is a picture i made when i had finished my client:
http://i181.photobucket.com/albums/x...e9099/fs-1.jpg
Enjoy! :)
-Joe
Re: [TuT] 508 Full Screen Client...
nice! :) when are we going to work with the 508?? find a hoster and ill do the rest... webclient etc..
Re: [TuT] 508 Full Screen Client...
Quote:
Originally Posted by
georgegeorge
nice! :) when are we going to work with the 508?? find a hoster and ill do the rest... webclient etc..
Dude u just left....
I have stopped with Zamorak. I thought u completely quit that. So i started on EvilScape. :/
Re: [TuT] 508 Full Screen Client...
YES! YES! YES! This is exactly what ragescape needs for a webclient. Joe I love you :wub:
Re: [TuT] 508 Full Screen Client...
If u want any help, just give me a shout :)
Re: [TuT] 508 Full Screen Client...
hey thx im going to try this out now!
Edit: i did everything but still get a error:
Code:
Error: SignLink:233 SignLink:372 Applet_Sub1:399 Client"2196 ! java.lang.runtime Excerption
Re: [TuT] 508 Full Screen Client...
um.... Havnt seen that error before lol sorry
Re: [TuT] 508 Full Screen Client...
there is now Frame.java for first step?
Re: [TuT] 508 Full Screen Client...
Dude there is.... its for 508 cache
Re: [TuT] 508 Full Screen Client...
hey dude, u mind posting that fullscreen client for me?
Re: [TuT] 508 Full Screen Client...
Quote:
Originally Posted by
kppro
hey dude, u mind posting that fullscreen client for me?
Dude, its like easy as hell to add.
Use your brain for christ sake.
On topic - Nice release although I already got :P
Edit - Ooo, mine just mucked up WOOT? Maybe I use this now to add? I dunno, I might recode myself but too much effort like..
Re: [TuT] 508 Full Screen Client...
Quote:
Originally Posted by
kppro
hey dude, u mind posting that fullscreen client for me?
Rofl, dont come here and look at this TUTORIAL if you dont know how to do it please :)
And thanks tj
Re: [TuT] 508 Full Screen Client...
i keep getting that error that t3h j0k3r had. i wanted the post because i did everything in the guide n i got that error!!!!!!
im feeling smart today, is it because the cach is not in the file? if im right, can some1 post the download link?
Re: [TuT] 508 Full Screen Client...
Kppro, if it is a cache error it will send the message "error_java_io", signlink is meaning it can not read the signlink file (not sure what its for, sorry, but I'll have a look when I do the tut tommorow cause I need to fix my full screen :))
Re: [TuT] 508 Full Screen Client...