Thread: [tut] making a simple client and making it connect to your server the simple way!

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 [tut] making a simple client and making it connect to your server the simple way! 
    MR. Real
    Guest
    well I'm very bored and i decided to post this... oh and its my first tut

    superpose: to make a client and let it connect to your server.

    Difficulty: 1/10 (very easy)

    now you will need a base that is open source so i would go with something like soulscape or hellzend. or anything els that is open source (see downloads section)

    the easy way: ok once you got the source open up client.java and press ctrl + H and type in the name of the client in the client in the find box and the name of your server in the replace with box.
    and then press replace all and then compile it and run it. congratulation's! you own you very own client! (if the compiler says javac cannot be located just right click it and press edit and were it says javac place the location of javac. such as: C:/programs/java/jdk0.6.1/bin/javac java *.java and now your all finished!

    the semi easy way: once you got the source open up client.java and press ctrl + f and type in the name of the client and press find... it will find it and replace that with the name you want, its the same as doing it in the top part... but wait there's an advantage! wile searching the name you might see other stuff that the login says or something and you can edit it now and not have to go back in to it later! thats a whole lot better....(c)

    now we can edit it to were it will only connect to your server.. this is optional... open up client.java and search for -
    Code:
    + server +
    and you should see...
    Code:
                if(super.aFrame_Sub1_15 != null)
                    return new URL("http://" + server + ":" + (80 + anInt958));
    now erase the " + server + " and put your ip in its place.
    it should look like this --
    Code:
                if(super.aFrame_Sub1_15 != null)
                    return new URL("http://your ip here:" + (80 + anInt958));
    NOTICE! you must have the " mark not there to, so it should look exactly as above except with your ip in the your ip here place.
    and now go and compile it make sure you have no errors.
    now you can just connect to your server by just putting in your user and pass and pressing login. but to make it look better than ip address, you can go to client.java and search for ip address and erase it and put something like ip is already typed in. and compile and rune and enjoy your new client!

    post any errors you get here!

    this is 100% me. i made it my self

    thank you. for any further tuts go to the tut section and find tons of tuts to make your client more advanced.
     

  2. #2  
    junkcrap83
    Guest
    Your Tuts can be good
     

  3. #3  
    MR. Real
    Guest
    thanks, junk
     

  4. #4  
    viece
    Guest
    short, sweet n 2 d point
     

  5. #5  
    mckylet
    Guest
    great thanks pal, help me alot rep+
     

  6. #6  
    Registered Member
    Join Date
    Apr 2007
    Posts
    200
    Thanks given
    0
    Thanks received
    0
    Rep Power
    53
    Or...

    Code:
    server = "youriphere";
     

  7. #7  
    MR. Real
    Guest
    yes but the way that i got is more fancy lol, because no one but the client editor cant erase it or change it in anyway.
     

  8. #8  
    LvL 3 Night Elf

    SandyBridge's Avatar
    Join Date
    Jul 2007
    Age
    29
    Posts
    796
    Thanks given
    6
    Thanks received
    10
    Rep Power
    140
    if i have ham do i put my ham ip ?

     

  9. #9  
    babidi28
    Guest
    IM new at this stuff and need helping knowing where to get client.java
     

  10. #10  
    MR. Real
    Guest
    if i have ham do i put my ham ip ?
    yes if you have ham just put your ham ip, if you have no-ip just put your no-ip adress.

    IM new at this stuff and need helping knowing where to get client.java
    it should be in your source files... just look and you will find it.
     

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

Similar Threads

  1. Making My Client Connect to my server...
    By Dragroxas in forum Help
    Replies: 17
    Last Post: 06-08-2010, 11:34 PM
  2. making any client connect to my server
    By Prototype in forum Help
    Replies: 0
    Last Post: 07-30-2009, 01:31 PM
  3. Replies: 37
    Last Post: 05-30-2009, 09:16 PM
  4. Replies: 7
    Last Post: 01-31-2009, 10:05 AM
  5. [Simple] Making your server Racist!
    By HcoJustin in forum Tutorials
    Replies: 1
    Last Post: 12-28-2007, 10:23 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •