Adblock breaks this site

how to make a p server =]

Discussion in 'Archives' started by an ci ent pk, Feb 24, 2008.

  1. an ci ent pk

    an ci ent pk Active Member

    Joined:
    Oct 11, 2007
    Posts:
    120
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    Chapter 1
    Getting JDK

    First we need JDK 6.
    Download it here
    Click JDK 6 Update 2, you will get a popup, click Yes.
    Check the box 'I agree' and click on one of the 2 downloads you can choose and install it.

    Top • Bottom • Contents


    --------------------------------------------------------------------------------


    Chapter 2
    Downloading and Installing No-IP

    You can download No-IP from the official site.
    Go to the official site by clicking here.
    Click on the register tab and register an account.
    If you are there click the Downloads tab.
    Now you will have a page with something like this.


    In this tutorial I will teach everything for windows.
    So click on Windows.
    Now click on the link/image to download.com and you can download and install it through that page.

    Once you installed No-IP you will have a button on your desktop to run it.
    Run it and your No-IP will open.
    It will look like this.



    On the bottom you see I made one part a little bit red with a low opacity.
    Click the 'Here' to add a new IP.
    Let the page load and you will see this button somewhere.

    Click on it to add an IP.
    This page will have 2 Fields.
    Hostname information and E-Mail settings.
    Just ignore the E-Mail field.
    The Hostname field will look like this.


    At the first text field fill in your server name.
    Click on the image to view the list of domains you can choose, or if your already on that real page you can see it also.
    The Ip Address part will auto change to your IP, do not change it.
    If it doesn't fill in your IP automatically use the IP below:

    This is your IP. ^
    Once you're done click 'Create Host' at the bottom and click the 'Refresh' at the No-IP Menu on your computer.

    Top • Bottom • Contents


    --------------------------------------------------------------------------------


    Chapter 3
    Getting a client

    To play a server you will need a client.
    You can make your own client but for newcomers it is not very helpful.
    So I will advise you to download the Moparscape client.
    You can download it through this page.
    Just run the file you've downloaded and your installation will start.
    More information on this thread:
    http://moparscape.org/smf/index.php/topic,6915.0.html


    Using older versions will close the window.
    It is not a bug.

    Top • Bottom • Contents


    --------------------------------------------------------------------------------


    Chapter 4
    Opening 43594 (Default Port)

    Open Network & Internet Connections. Right click on the connection you're using to connect to the internet and click properties. Open the Advanced tab and click on firewall settings. Open the Exceptions tab and at the bottom you should see a button "Add Port".
    Click on it, and add your server name or whatever you want it to be at the Name field.
    At the Port number fill in 43594.
    And make sure the TCP box has been checked.


    Top • Bottom • Contents


    --------------------------------------------------------------------------------


    Chapter 5
    Port forwarding (Router Users, Using Linksys)
    You don't use linksys? Find your router at
    http://www.portforward.com/english/routers/port_forwarding/routerindex.htm
    and follow the tutorial.

    Open your cmd by going to Start > Run > cmd.
    Type in `ipconfig´
    It will say your default gateway.


    Open a web browser like internet explorer or Netscape. Enter the gateway in the address bar of your browser. In the picture above the address bar has http://www.google.com in it. Just replace all of that with the ip address of your router. By default the ip address should be set to 192.168.1.1.


    You should see a box prompting you for your username and password. Enter your username and password now. By default the username is blank, and the password is admin. Click the Ok button to log in to your router.


    Click the Applications & Gaming link near the top of the page.
    The menu under that should change. In this new menu, click Port Range Forwarding.


    When you're finished, click Save Settings near the bottom of the screen to save your changes.
    Example:
    Application Name: RSPS
    Start - End Port: 43594-43594 (Change to which ports to want to enable)
    Protocol: Both
    To IP Address: Your IP at Start > Run > Cmd > ipconfig
    Enabled: Checked/Yes



    Top • Bottom • Contents


    --------------------------------------------------------------------------------


    Chapter 6
    Getting a source

    To make your own server you need a source.
    The best and easy way is by downloading it from the Download section.
    But be watch out! Some sources contain trojans, keyloggers and such things.
    So I advise you to just download the most used sources.

    Quote
    Cheezscape 80 - http://xc17.ulmb.com/download/rs2priv/Cheezscape_80.zip
    Cheezscape PK 78 - http://xc17.ulmb.com/download/rs2priv/Cheezscape_PK_78.zip
    Project16 V6 - http://xc17.ulmb.com/download/rs2priv/Project16_V6.zip
    TestScape - http://xc17.ulmb.com/download/rs2priv/TestScape.zip
    PimpScape - http://xc17.ulmb.com/download/rs2priv/PimpScape.zip

    Once you downloaded it you can start editing the source.
    The most things you need to edit are in client.java.
    Open it and Press Ctrl + H.
    In the first field fill in the source's server name.
    In the second field fill in the name of your server.
    Now press replace all.

    Top • Bottom • Contents

    Chapter 7 - The error 'The system could not find the path specified.'
    By Tico135

    Open up "My Computer".



    Click "View System information"



    Click "Advanced".



    Click "Environment Variables".



    Under "User Variables" click "New".



    Name it "CLASSPATH" and for the "Variable Value" (only if you have JDK 6u1) put this in: CLASSPATH=C:\Program Files\Java\jdk1.6.0_01\bin;%CLASSPATH%; If you have JDK 6u2, you must enter CLASSPATH=C:\Program Files\Java\jdk1.6.0_02\bin;%CLASSPATH%; for the variable value.



    Under "User Variables" click "New".



    Name it "PATH" and for the "Variable Value" (only if you have JDK 6u1) put this in: C:\Program Files\Java\jdk1.6.0_01\bin If you have JDK 6u2, you must enter C:\Program Files\Java\jdk1.6.0_02\bin for the variable value.



    Click "OK".



    Click "OK".



    Your computer now recognizes Java.

    Top • Bottom • Contents


    Server edits

    --------------------------------------------------------------------------------

    Making yourself an admin
    Testscape & Many other sources

    Go into client.java.
    Press Ctrl + F.
    And fill in this.

    Code:
    //start of moderator/admin list, 1 = mod, 2 = staff, 3 = adminUnder that you will see something like this for example.

    Code:
    if (playerName.equalsIgnoreCase("admin"))
    {
    playerRights = 3;
    }If you look at it instead of just directly editing it and not learning something you know what this is.
    Its just like 'If the name of the player is: admin give him playerrights 3 (Owner rights)'
    Player Rights 3 = Server Owner
    Player Rights 2 = Server Admin
    Player Rights 1 = Server Player Moderator
    NOTE: In some basic sources like testscape the server owners can't see their own crown.
    Don't be affraid, other people can see it!

    In JorsaScape (Pimpscape) based servers you can just open the datafolder and admins/administrators/staff.txt and add a new player to it.
    I don't know the file name really since many Jorsa/Pimpscape based sources are changing the file name.




    Adding NPC's
    To add NPC's you work in autospawn.cfg
    Open it and you will see many things looking like eachother.
    Now add this somewhere

    Code:
    spawn = NpcID CoordX CoordY 0 0 0 0 0 2 NPC NameChange NpcID to the ID of the npc.
    Change CoordX and CoordY to the coords where you want the npc to be.
    If you don't know how to get the coords press F4 (Moparscape client).
    Also, no your not a ub3r good coder when you made a command or added a npc.




    Compiling
    After every update in the .java files you have to compile it.
    Compiling will make .class files off them and your server runs on them.
    For just an easy compiler make a new text file with notepad.
    Add this to it:

    Code:
    @echo off
    title Server Compiler
    "C:\Program Files\Java\jdk1.5.0_06\bin\javac.exe" -cp . *.java
    pauseClick Save as...
    And change file type to 'All Files' and name it compile.bat
    Now when running the compile.bat you will compile your server.




    Running the server
    To run the server you just run 'Run.bat' or however it is called in your source.
    I can't give you an code for it because some sources have different folders to save the class files in.
    Make sure your No-IP is running!



    Questions, Answers on them are allowed.
    Corrections are also welcome.

    Note: Please do NOT pm me with questions about this guide.
    This guide explains enough.

    Chapter 9
    Checking server status
    Click here for a status checker.

    Also if you want an automatic updating status image.
    You can use this



    Code:
    [​IMG]#### == The IP of your server
    43594 == Your Server Port, change it if you have another port.
     
  2. nova_arch4

    nova_arch4 Forum Addict
    Banned

    Joined:
    Nov 4, 2007
    Posts:
    489
    Referrals:
    1
    Sythe Gold:
    0
    how to make a p server =]

    Doode, can you pish with a private server?
     
  3. neocloud3819

    neocloud3819 Newcomer

    Joined:
    Nov 29, 2007
    Posts:
    11
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    do you have any idea why i cant see links or pics?
     
  4. yhsa2nd

    yhsa2nd Member

    Joined:
    Jan 27, 2008
    Posts:
    98
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    nice guide but pics would be good...
     
  5. neocloud3819

    neocloud3819 Newcomer

    Joined:
    Nov 29, 2007
    Posts:
    11
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    I have a question, with what do i open the .cfg files? and nice guide. Oh and when i click rune server all it does is say "starting" forever, help would be appreciated
     
  6. fat rat pker

    fat rat pker Guest

    Referrals:
    0
    how to make a p server =]

    every time i go to run the server it just comes up with this "starting testscape server on 0.0.0.0:43594" and i try to log into the server and it dont work wats wrong?
     
  7. yhsa2nd

    yhsa2nd Member

    Joined:
    Jan 27, 2008
    Posts:
    98
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    make sure u put the right ip and port in...
     
  8. Samarkov

    Samarkov Active Member

    Joined:
    Feb 21, 2008
    Posts:
    147
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    Wow, I bet you leech a lot don't you?

    @@@@@ THIS IS LEECHED FROM MOPARISTHEBEST.ORG/SMF @@@@@

    Its a great guide, but my thanks does not go to you, it goes to the moparscape kid
     
  9. RsAdvantage

    RsAdvantage Guest

    Referrals:
    0
    how to make a p server =]

    Didnt even thank the maker...
     
  10. jdbadmin

    jdbadmin Guest

    Referrals:
    0
    how to make a p server =]

    plz help me
    my server wont start i start the txt file running.bat
    then it flashes and its gone
    i tried to connect with my ip on this clients but it saids error to connecting server must be down this is a mopar error

    silab
    dodian
    moparscape

    pm me if you can help me

    jdbadmin
    jdbscape.no-ip.org
    server ip: 217.122.243.49

    p.s. can you somthing with that server adresses?
     
  11. bizcuits21

    bizcuits21 Forum Addict
    Banned

    Joined:
    Oct 18, 2007
    Posts:
    562
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    Thats leeched straight from moparscape forums look under the tuts and its stickied moparscape.org/smf
     
  12. 239 tweek

    239 tweek Member

    Joined:
    Jan 28, 2007
    Posts:
    91
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

    very nice structerd guide, compiled w/ step by step procedures.
     
  13. bizcuits21

    bizcuits21 Forum Addict
    Banned

    Joined:
    Oct 18, 2007
    Posts:
    562
    Referrals:
    0
    Sythe Gold:
    0
    how to make a p server =]

  14. Got Milk

    Got Milk Guest

    Referrals:
    0
    how to make a p server =]

    it won't let me download jdk, when you said click here i cant click anywhere
     
< - Selling 99 Runecrafting - 114 Combat - | ktscape! >


 
 
Adblock breaks this site