HOW TO MAKE A SERVER (new people)

Discussion in 'RuneScape Miscellaneous' started by hiots, Nov 11, 2008.

Thread Status:
Not open for further replies.
HOW TO MAKE A SERVER (new people)
  1. Unread #1 - Nov 11, 2008 at 10:06 PM
  2. hiots
    Joined:
    Nov 8, 2008
    Posts:
    261
    Referrals:
    1
    Sythe Gold:
    0

    hiots Forum Addict
    Banned

    HOW TO MAKE A SERVER (new people)

    Ok here is my guide, feel free to post/comment on this guide and tell me if it helped.

    HERE IS THE DIFFERENCE BETWEEN THE SOURCE AND THE CLIENT.
    The source is something you use to host your server, and the client is what you have people connect on.

    Contents
    1. Info
    2. Getting JDK
    3. Getting a source & client
    4. Getting a No-Ip (this is optional)
    5. Portforwarding
    6. Coding your server
    7. LAUNCHING YOUR SERVER


    1. Info
    When you put a video of your private server make sure it has nothing to do with jagex or anything cause Jagex lets people make private servers as long as it has nothing to do with what i just said ^. Like when you make a video of your private server (if you do). Then at the bottom you might wanna put like Runescape is copyright © Jagex LTD At the end of your video description. Okay moving on...

    2. Getting JDK
    JDK is Java Development Kit. You need it to mainly use your compiler when you code things into your server. Download it here at http://java.sun.com/javase/downloads/index.jsp When you get to that site it should be the second link from the top and it will say

    Java SE Development Kit (JDK) 6 Update *whatever update it is*

    Now save that to anywhere. Now run it and it should take you through, make sure it downloads into C://program files/java

    Now you have JDK, Moving on...

    3. Getting a source & client

    You can search around on many different forums but make sure It comes with the open source download and the client so you dont have to go through putting the class files together. Now find a source, My source that i use is Team Termination open source, You want to download the client and the source. Now put those files on your desktop for later. Also to check to make sure you got the right files, then open both up. One will have a bunch of files like class1, class2, etc. That is your client runner, the one you have other people download. The source should have files like npc handler, npc, item, but the most important file is, runserver. To make sure this is the right thing, double click it and it should come up just like the command prompt we are going to use in the next part. (no-ip part)

    4. Getting a No-ip

    I do not use this cause it gets my ip all messed up but you can still use this if you want to hide your ip address from public.

    Use No-Ip

    Go to no-ip.com
    Register and download their client. Now click on account management (or whatever) and click add a host. Now where it says Hostname type in the name of your server (no spaces). Now pick if you want it no-ip.biz, no-ip.org, etc. Now leave the ip address blank and it will make it your default ip address you are connecting on. Now to check to make sure it works, go to start, all programs, accessories, command prompt. Now when it loads up type in ipconfig and press enter. It should pop up with some stuff, and where it says Ip address write that down or write it in notepad. Now open up the no-ip client that you downloaded and it will ask for your user and pass, enter those in and it will pop up with something that shows your no-ip name. Click the check mark and look down. It will say current ip address found, using *ip address* for updates ( or something like that) now look at the ip address i told you to write down. If it matches then you can use the no-ip that you created to connect to your server. If it does not match then you have the same problem i do.

    Don't use no-ip

    If you are using this then you have the same problem i do. This is easier but it is also easier for people to see your ip address. So when you opened the command prompt, (see in use no-ip section) you should've got a ip address, and you can just use that address instead of the no-ip address.

    5. Portforwarding

    This is really simple and you dont have to go to a site like portforward.com, etc. (BTW I USE WINDOWS) so go to control panel, and click windows firewall , and go to exceptions, Now click add port. Type in the port you want people to connect on, (default ones are 43594 and 5555) I reccomend using 43594. Now when you type that it i dont know which one it is TCP or UDP so just make two open ports with 43594 and click TCP for one and UDP for another.

    6. CODING YOUR SERVER

    This is much easier to do by hand then have someone else do it cause they might give you something that is way different for your client and not work. So here we go. I used Team Termination source which really helped cause it was simple. (BTW i had never had a private server and never knew how to code but when i downloaded Team Termination source it was so simple) Now open your source folder (NOT THE CLIENT FOLDER, dont know the difference see the top of the post) and double click on client. It should say like

    //*server name*
    //*something else lol*

    change the server name to your server name and then look at the server name that you downloaded the source from. Now click CTRL+F and search that name (for instance i used team termination so i typed team for short) and click find next. It will go to the first one. FIRST CHECK TO MAKE SURE THAT IS THE CLIENT NAME NOT SOMETHING ELSE. Now change it to your name and click find next again.(this is tiring but think about it, WHEN I WAS MAKING THIS GUIDE IT WAS TIRING TOO! Took like half a god damn hour) After that, if you want to make your custom commands, then go to the top of the client document. Click so it will search after where you clicked at, and do CTRL+F again and type in commands. then it should come up with something that has the name of the commands or something. Now find the name of one command and press CTRL+F again and type that in. If you use team termination source then it should pop up with some thing like,
    elseifCommandstartswith("*commandname*") && playerRights >= *;
    {
    addItem("*itemid*,*amount*")
    addSkillxp("*skillnumber*,*xp*")
    }


    Yea so it should pop up with something like taht (it doesnt have to includ the add item and add skill xp you could just make it item or just make it xp) Now you can make your own command. Edit the command name edit the player rights( not all servers may have player rights but team termination does) (also player rights is 0=reg user 1=mod 2=admin) then i think you know the item id thing and the amount of item, the skill number and the xp amount.
    There is other stuff for coding that i could include but up to this point in typing its already taken me 40 mins. So you can find that out.

    NOW FOR MAKING YOUR SERVER IP AUTO COME UP IN THE CLIENT

    Go to client.java (the client file) and search ip (search is CTRL+F) it should say like serverip=*ip address* now put in your ip (the no-ip or your reg ip)
    IF YOU ARE USING TEAM TERMINATION the owner of it was named zithro so do CTRL+F and type zithro and replace with the name you want your admin character to be. (Other users used on team termination were Ice, Admin shaun, onyx, and more but i dont know.)
    ALSO BEFORE YOU LAUNCH YOUR SERVER YOU NEED TO CONFIGURE your compiler. I have a guide for this too in another topic, Just find it and you will find how to configure it. Well double click the compiler thing (pops up in same way a command prompt) if it says error then refer to my guide but if it dont it will say

    Note: stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Press any key to continue . . .


    Thats what it said for me on team termination source. if it just says press any key to continue then press any key and it worked.

    This last part is for team termination source

    Now go to server.java(doesn't say .java just says server. and CTRL+F Online!
    It should say right above it Team Termination and change that to the name of your server. Now there are things to change in the client running. Now open up the client and go to the file class42.java and CTRL+F and search for team and it will go to something that says

    Team termination client made by zithro, check the forums at *forum site*

    now change that to all your things


    EXTRAS BEFORE LAUNCHING YOUR SERVER

    How to make the server yours:
    First on the Source go to npchandler, CTRL+F and search for the name of the server you got the source from, for instance i used team termination, so i typed in team for short. If you dont find anything in your source then your good for now... But if you did like mine shows the npcs auto typing Join Team Termination today!, The forums are at *forum site* If you made your own forum site for your server, then you might want to put in the site, and advertise your server with these npcs. Also if none of the npcs are on your server, then you might want to add them.(I will include a coding guide in a seperate thread later.



    6. LAUNCHING YOUR SERVER

    BTW what im saying here is what it says in team termination source. (it could be the same on your source)

    After you have compiled it all double click runserver.bat (it does not say.bat that is just the kind of file it is.) and it will say like

    *server name*
    Online!...

    Now to test if your server works go to your client folder and double click run. It will pop up with client and make sure it has your ip address and port. Now type any user and pass and log in if it works then Congrats you made your server!


    EXTRAS (little details):Go to the client folder and click on the picture. Crop out the name of the last folder, and insert your name in paint, or make a banner online, then put it in there!

    NOTE: Added more but still NOT FINISHED!
    HOPE THIS GUIDE HELPED! (so far)
     
  3. Unread #2 - Nov 11, 2008 at 10:09 PM
  4. apple tart72
    Joined:
    Jul 8, 2007
    Posts:
    498
    Referrals:
    1
    Sythe Gold:
    0

    apple tart72 Forum Addict

    HOW TO MAKE A SERVER (new people)

    Nice looks a little leeched, but overall 8/10
     
  5. Unread #3 - Nov 12, 2008 at 5:39 PM
  6. hiots
    Joined:
    Nov 8, 2008
    Posts:
    261
    Referrals:
    1
    Sythe Gold:
    0

    hiots Forum Addict
    Banned

    HOW TO MAKE A SERVER (new people)

    nope i made all by my self took me more then half a god damn hour!
    PLUS its not finished lol
     
  7. Unread #4 - Nov 12, 2008 at 6:33 PM
  8. apple tart72
    Joined:
    Jul 8, 2007
    Posts:
    498
    Referrals:
    1
    Sythe Gold:
    0

    apple tart72 Forum Addict

    HOW TO MAKE A SERVER (new people)

    well i like it :)
    ty for bump on source list :)
     
  9. Unread #5 - Nov 12, 2008 at 7:10 PM
  10. hiots
    Joined:
    Nov 8, 2008
    Posts:
    261
    Referrals:
    1
    Sythe Gold:
    0

    hiots Forum Addict
    Banned

    HOW TO MAKE A SERVER (new people)

    NP and plus did you try uploading files to mediafire.com? It has no wait time and works good for my server i made (which hasnt been working lol)
     
  11. Unread #6 - Nov 14, 2008 at 7:04 AM
  12. V3ng3nce
    Referrals:
    0

    V3ng3nce Guest

    HOW TO MAKE A SERVER (new people)

    Lol This IS A Lil Leeched BUt I THink 6/10
     
  13. Unread #7 - Nov 16, 2008 at 12:13 AM
  14. theblackprince
    Referrals:
    0

    theblackprince Guest

    HOW TO MAKE A SERVER (new people)

    Nice guide, might use if i make a server
     
  15. Unread #8 - Nov 16, 2008 at 12:35 AM
  16. hiots
    Joined:
    Nov 8, 2008
    Posts:
    261
    Referrals:
    1
    Sythe Gold:
    0

    hiots Forum Addict
    Banned

    HOW TO MAKE A SERVER (new people)

    well of course some is leeched, every guide is leeched cause there was one person who made the first guide and we leeched it around and around and around.
     
  17. Unread #9 - Nov 23, 2008 at 9:09 PM
  18. zithro
    Joined:
    Mar 9, 2008
    Posts:
    20
    Referrals:
    0
    Sythe Gold:
    0

    zithro Newcomer

    HOW TO MAKE A SERVER (new people)

    How the fuck did you get a source from my server? I never released a source...
     
  19. Unread #10 - Nov 24, 2008 at 9:36 AM
  20. hiots
    Joined:
    Nov 8, 2008
    Posts:
    261
    Referrals:
    1
    Sythe Gold:
    0

    hiots Forum Addict
    Banned

    HOW TO MAKE A SERVER (new people)

    what realy i found it on moparscape forums, im sorry if i did something bad, but i found it on moparscape forums just to let ya know
     
< project x deltascape ownage follow pking ( hit and follow) ownage server come join! | My server is ON 10-12 hours a day >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site