[Tut] Making / Editing Your Own Client [Easy & Explained]

Page 1 of 4 1234 LastLast
Results 1 to 15 of 48
  1. #1

    [Tut] Making / Editing Your Own Client [Easy & Explained]

    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.
    Code:
     j2 = 3;
    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
    Last edited by I Rule MU; 14-09-08 at 05:23 AM.


  2. #2
    Member sixpack is offline
    MemberRank
    Jan 2008 Join Date
    66Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    It like dosint show any of my npcs or players

  3. #3
    Member T3h J0k3r is offline
    MemberRank
    Aug 2008 Join Date
    54Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Quote Originally Posted by sixpack View Post
    It like dosint show any of my npcs or players
    Galakons client don't support everything i don't know about npc's but defiantly for items. so maybe the same thing is happening.

  4. #4
    Account Upgraded | Title Enabled! tj960 is offline
    MemberRank
    Feb 2007 Join Date
    United Kingdom (England)Location
    209Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    This isnt that hard, but I guess it will help new-to-be client developers.

  5. #5
    Account Upgraded | Title Enabled! -Austiin is offline
    MemberRank
    Jan 2008 Join Date
    Virginia, USALocation
    235Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Nice guide... good for the nubs.

  6. #6
    right + down + X GhostSnyper is offline
    MemberRank
    May 2006 Join Date
    AZ, USALocation
    2,818Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    There's a subliminal ad in your post.... Remove it... better yet, I'll have it removed for you... if you didn't do it, then O.o

    Nevermind, My bad... I looked closer and realized that imageshack is starting to attach ads to their pictures

  7. #7
    Account Upgraded | Title Enabled! Descendent is offline
    MemberRank
    Jun 2008 Join Date
    TorontoLocation
    154Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Looks nice!

  8. #8
    Account Upgraded | Title Enabled! lewis-smiffy is offline
    MemberRank
    Aug 2007 Join Date
    Perv much ?Location
    417Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Thanks so much you helped me ALOT!!

  9. #9
    Enthusiast dj101 is offline
    MemberRank
    Dec 2007 Join Date
    United KingdomLocation
    26Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    @ontopic-looks good ill try it now! for looks i giv 10/10 for a gud tut=10/10 compiler 10/10 but (needed to edit a bit so plz add tht in tut for ppl in future luckily i know what im doing with .bat files) links 10/10 overall rating 40/40

    @offtopic- does anyone know a good server if so plz pm me

    thanks
    reagards
    dj101
    Last edited by dj101; 01-10-08 at 08:20 PM.

  10. #10
    Enthusiast mipmap is offline
    MemberRank
    Jun 2005 Join Date
    AustraliaLocation
    44Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Good topic, it works well for me!

    My server came with sprites and models so i copied them in and replaced the old so everything I need is displayed :)

    Thanks for posting this!

  11. #11
    Rip Akaruz pixelpro321 is offline
    MemberRank
    Dec 2007 Join Date
    InternetLocation
    1,427Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    seen as i seem to be joining the runescape section (yet again) i am deciding to try this seen as i need to train myself to build servers etc

  12. #12

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Thanks for all the positive posts people.
    It took me quite long to write this.

  13. #13
    Rip Akaruz pixelpro321 is offline
    MemberRank
    Dec 2007 Join Date
    InternetLocation
    1,427Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    erm i got the client working :D

  14. #14
    Account Upgraded | Title Enabled! Nialll is offline
    MemberRank
    Feb 2008 Join Date
    EnglandLocation
    270Posts

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    It says I don't have JDK installed when I have.

  15. #15

    Re: [Tut] Making / Editing Your Own Client [Easy & Explained]

    Quote Originally Posted by Nialll View Post
    It says I don't have JDK installed when I have.
    are you using vista or xp?
    Cause it makes a huge difference.



Page 1 of 4 1234 LastLast

Advertisement