Making Your Very Own Client
In the following tutorial I will teach you how to create your very own client
and also some editing for your client so that it reaches your needs.
================================================================
Table Of Content
Step 1 - What you'll need
Step 2 - Creating Your Client
Step 3 - How to edit so it says your client Name
Step 4 - How to change all names to your client name
Step 5 - How to change Text Color Above head
Step 6 - How to change text Color in box
Step 7 - Changing it so it shows your server Ip on client instead of 127.0.0.1
=================================================================
Keep this in Mind. When I say search it means Ctrl + f.
Step 1
To make this client you will need the following stuff.
Win Rar. Win Rar is a extracting program which allows you to open up certain
files.
Download Win Rar here : http://www.rarlab.com/download.htm
You will also need to download JDK (Java Development Kit) It is used to compile your
server files so that it works when you edit them.
Download JDK here : http://java.sun.com/javase/downloads/index.jsp (Download JDK 6 Update 7)
Once JDK is downloaded. Download my Compiler : http://rapidshare.com/files/136531196/compile.bat.html
Step 2
First off, to start your client you will need a base for your client.
A base is another client that can be edited. From that client you
will be on your way to starting your very own client.
For the base we will use Galkon's Base for it is very easy to edit for
a beginner client maker.
Download Galkon's Base here : http://uppit.com/1FEUQO
Once downloaded open it up and it should look like this.


Click wizard. Then Finish. And it will be copied onto your desktop.
Then extract it on your desktop. Or you can do that on Win Rar.
Once downloaded open it up. Scroll down and you'll see Galkon (in a picture type file)
right click and click edit. It will open up on paint. It should now look like this.


You can make a picture on any picture editing program you want.
Once you've made the picture you can copy and paste it into the galkon's background
picture. So it will overlap the galkons pic. And just resize it to the proper size.
Step 3
First off you will need to open Frame_Sub1.java.
Once its open you should see something a little like this.
Code:
setTitle("Galkons Anarchy");
The name Galkons Anarchy is the title of the client (which will say at the top of your client)
Change it to whatever you'd like it to be.
If you are using a different client base. That doesn't have file EGUI. Then search it in client.java. But if your using this client base, then do what I wrote.
Step 4
To change all names of Galkon in your client just open up client.java
and search Galkon. Change all those names to whatever your client name is.
That's how easy it is!
Step 5
Changing text colors above your head may be difficult for some people.
But its actually very simple. First open up client..java and search :
Code:
if(s.startsWith("yellow:"))
Once you found it it should look like this.
Code:
int j2 = 0; int i3 = 0;
if(s.startsWith("yellow:"))
{
j2 = 0;
aString887 = aString887.substring(7);
}
And underneath there are more colours such as Cyan, red, green and much more.
To change to the colour though look at the colours underneath and it will show a number. Above them in this place.
The 3 is the color for cyan.
So if you wanted cyan you would just put the number 3 where the 0 us in the yellow place.
Which is here.
Code:
int j2 = HERE; int i3 = 0;
if(s.startsWith("yellow:"))
{
j2 = 0;
aString887 = aString887.substring(7);
}
Thats all! Don't forget to save!
Step 6
First off you need to open client.java.
Next search for this.
Code:
class30_sub2_sub1_sub4.method385(0, s1 + ":", i1, 822, j1);
Until you find this.
Code:
class30_sub2_sub1_sub4.method385(0, s1 + ":", i1, 822, j1);
j1 += class30_sub2_sub1_sub4.method383(anInt1116, s1) + 8;
class30_sub2_sub1_sub4.method385(255, aStringArray944[k], i1, 822, j1);
See where it says "method385(0, s1 + ":", i1, 822, j1);"
The 0 is the color of your name after you sent the message
And where is says "method385(255, aStringArray944[k], i1, 822, "
The 225 is the color of your text once its sent.
Now to change the colours before the message is sent search for this in client.java.
Code:
class30_sub2_sub1_sub4.method385(0, s + ":", 90, 822, 4);
Until you see this.
Code:
class30_sub2_sub1_sub4.method385(0, s + ":", 90, 822, 4);
class30_sub2_sub1_sub4.method385(255, aString887 + "*", 90, 822, 6 + class30_sub2_sub1_sub4.method383(anInt1116, s + ": "));
Class30_Sub2_Sub1.method339(77, 0, 479, 0, (byte)4);
The same thing the 0 is the text color of your name before you send it.
And the 225 is the text color of the text before its sent.
Some colors are :
Black = 0
Red = 0xff0000
White = 0xffffff
Green = 65280


As you see I have cyan text and I changed my chatbox text to black.
Step 7
To do this you got to open EGUI.java.
Once its open you will see something like this.
Code:
client.main(new String[] {
"127.0.0.1", "127.0.0.1", "127.0.0.1"
});
}
}
The 127.0.0.1 is the Ip it will start off as. To change it. Type your Ip
in all of those three spots above. But between the quotations.
Don't delete the quotations or you'll get errors.
Now your finished. You can Save and Compile.
Well done you now have your own Client!
If you leech this please give me credit for this.
Post of what you think about this tutorial. BTW this took me like 1 and a half hours to write!
And also post any errors I made or you have. Thanks!
If you guys find this on runeserver. Its made my Codex and this is not leeching because Im codex on runeserver.
Here is the link : http://www.rune-server.org/showthread.php?t=85505