Getting started on your own server

Discussion in 'Archives' started by Exist2inspire, Jul 26, 2007.

Getting started on your own server
  1. Unread #1 - Jul 26, 2007 at 4:10 AM
  2. Exist2inspire
    Joined:
    Jul 26, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Exist2inspire Member

    Getting started on your own server

    Hey everyone, I'm Exist2inspire, and this is my guide to making a server. If you didnt understand what others are trying to say to you.. i'm pretty sure you'll get this :)

    First of all, you will need to get a few things:
    winRAR - you will need this for extracting files, you can download it here
    A JDK - this will allow you to edit .JAVA files etc. you can download it here
    and MoparScape

    Ok, now you have what you need.. let's get started!

    1. Setting up your computer
    You will need to make a few folders to help making a server more easy. on your desktop, right click then go new folder. call it Server. open up that folder and inside it make 2 more, 1 called Server, and 1 called Source.


    2. Getting a Source

    A source is a "premade" version of a server. It already has most things added to it - although you'll be able to edit what you want in your server later. click here to download a source. put it into the Source folder you made in step 1, copy it and paste it into your server folder also.


    3. Extracting

    Open your source folder and right click on the .rar file then go extract here. you should see heaps of stuff.. thats your server. now open up your server folder and extract the .rar file you copied from your source folder.
    to sum up: you should have heaps of files and folders in both your server and your source foder.


    4. Running your Server

    look for the compile.bat, right click and edit it. press Ctrl + A then delete (delete every thing and i mean everything in the compile.bat file) and replace it with this (its the compiler for my server, feel free to rename it):

    Code:
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::                                                        ::
    :: All of the following code is (C) Copywrited 2006-2007, ::
    ::               Afterlife - By Exist2inspire             ::
    ::                                                        ::
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    @echo off
    set pro=%programfiles%\Java\jdk1.5.0
    set pro2=%programfiles%\Java\jdk1.6.0_02
    set jac=\bin\javac.exe
    set jav=\bin\java.exe
    cls
    :menu
    title Afterlife's Compiler
    echo.
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo ::                                                        ::
    echo ::              Welcome to Afterlife's Compiler           ::
    echo ::                    made by Exist2inspire               ::
    echo ::                                                        ::
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo.
    echo Please choose an option listed below, then press enter.
    echo make sure you keep active on the Official Afterlife Forums
    echo found at www.Afterlife-Forums.co.nr for updates that i post
    echo If you have any problems with this compiler, feel free to
    echo Ask me on msn: [email protected] 
    echo                [email protected]
    echo.
    echo.
    echo :::::::::::::::::::::::::::::::::::::::::::::
    echo :: Here are your Options:                  ::
    echo :::::::::::::::::::::::::::::::::::::::::::::
    echo :: Type in C to compile Afterlife's Server ::
    echo :: Type in R to Run Afterlife's Server     :: 
    echo :: or Type in E to exit..                  ::
    echo :::::::::::::::::::::::::::::::::::::::::::::
    echo.
    echo.
    set /p c=So, what'll it be? 
    if %c%==c goto c
    if %c%==C goto c
    if %c%==r goto r
    if %c%==R goto r
    if %c%==e goto e
    if %c%==E goto e
    if %c%==* goto er
    goto er
    :c
    cls
    title Compiling Afterlife's Server..
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo            ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo            ::                                                        ::
    echo            ::  Please wait while Afterlife's Server is Compiled..    ::
    echo            ::                                                        ::
    echo            ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo.
    goto cjc
    :c2
    if exist src (goto c5) else (goto c3)
    :c3
    if exist *.java (goto c4) else (goto ce)
    :c4
    %javac% -cp . *.java
    
    title Compiled.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo            ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo            ::                                                        ::
    echo            ::  Afterlife's Server has  been compiled successfully!   ::
    echo            ::                                                        ::
    echo            ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo.
    pause
    cls
    goto menu
    :c5
    %javac% -cp . .\src\*.java
    pause
    move .\src\*.class .\classes\
    cls
    goto menu
    :ce
    cls
    echo You need to have .JAVA files for this compiler to compile.
    pause
    cls
    goto menu
    :r
    cls
    title Running Afterlife's Server..
    goto cj
    :r2
    set rjava=%java% -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
    cls
    goto r3
    :r3
    if exist .\classes\server.class (goto r6) else (goto r4)
    :r4
    if exist .\server.class (goto r5) else (goto se)
    :r5
    %rjava%
    pause
    cls
    goto menu
    :r6
    set rjava=
    set rjava=%java% -cp .;./classes; Server
    %rjava%
    pause
    cls
    goto menu
    :se
    cls
    title Error!
    echo You do not have a Server.class. Make sure that you have
    echo compiled your server BEFORE you try runing it.
    pause
    cls
    goto menu
    :er
    cls
    title Error!
    echo Invalid command. Please make sure the commands you type
    echo in are correct.
    pause
    cls
    goto menu
    :e
    cls
    exit
    :cjc
    if exist "%pro%_06%jac%" (goto sjc) else (goto cjc2)
    :cjc2
    if exist "%pro%_07%jac%" (goto sjc2) else (goto cjc3)
    :cjc3
    if exist "%pro%_08%jac%" (goto sjc3) else (goto cjc4)
    :cjc4
    if exist "%pro%_09%jac%" (goto sjc4) else (goto cjc5)
    :cjc5
    if exist "%pro%_10%jac%" (goto sjc5) else (goto cjc6)
    :cjc6
    if exist "%pro2%%jac%" (goto sjc6) else (goto cjc7)
    :cjc7
    if exist "%pro%%jac%" (goto sjc7) else (goto cjc8)
    :cjc8
    if exist "%pro%_01%jac%" (goto sjc8) else (goto cjc9)
    :cjc9
    if exist "%pro%_02%jac%" (goto sjc9) else (goto cjc10)
    :cjc10
    if exist "%pro%_03%jac%" (goto sjc10) else (goto cjc11)
    :cjc11
    if exist "%pro%_04%jac%" (goto sjc11) else (goto cjc12)
    :cjc12
    if exist "%pro%_05%jac%" (goto sjc12) else (goto je)
    :sjc
    set javac="%pro%_06%jac%"
    goto c2
    :sjc2
    set javac="%pro%_07%jac%"
    goto c2
    :sjc3
    set javac="%pro%_08%jac%"
    goto c2
    :sjc4
    set javac="%pro%_09%jac%"
    goto c2
    :sjc5
    set javac="%pro%_10%jac%"
    goto c2
    :sjc6
    set javac="%pro2%%jac%"
    goto c2
    :sjc7
    set javac="%pro%%jac%"
    goto c2
    :sjc8
    set javac="%pro%_01%jac%"
    goto c2
    :sjc9
    set javac="%pro%_02%jac%"
    goto c2
    :sjc10
    set javac="%pro%_03%jac%"
    goto c2
    :sjc11
    set javac="%pro%_04%jac%"
    goto c2
    :sjc12
    set javac="%pro%_05%jac%"
    goto c2
    :cj
    if exist "%pro%_06%jav%" (goto sj) else (goto cj2)
    :cj2
    if exist "%pro%_07%jav%" (goto sj2) else (goto cj3)
    :cj3
    if exist "%pro%_08%jav%" (goto sj3) else (goto cj4)
    :cj4
    if exist "%pro%_09%jav%" (goto sj4) else (goto cj5)
    :cj5
    if exist "%pro%_10%jav%" (goto sj5) else (goto cj6)
    :cj6
    if exist "%pro2%%jav%" (goto sj6) else (goto cj7)
    :cj7
    if exist "%pro%%jav%" (goto sj7) else (goto cj8)
    :cj8
    if exist "%pro%_01%jav%" (goto sj8) else (goto cj9)
    :cj9
    if exist "%pro%_02%jav%" (goto sj9) else (goto cj10)
    :cj10
    if exist "%pro%_03%jav%" (goto sj10) else (goto cj11)
    :cj11
    if exist "%pro%_04%jav%" (goto sj11) else (goto cj12)
    :cj12
    if exist "%pro%_05%jav%" (goto sj12) else (goto je)
    :sj
    set java="%pro%_06%jav%"
    goto r2
    :sj2
    set java="%pro%_07%jav%"
    goto r2
    :sj3
    set java="%pro%_08%jav%"
    goto r2
    :sj4
    set java="%pro%_09%jav%"
    goto r2
    :sj5
    set java="%pro%_10%jav%"
    goto r2
    :sj6
    set java="%pro2%%jav%"
    goto r2
    :sj7
    set java="%pro%%jav%"
    goto r2
    :sj8
    set java="%pro%_01%jav%"
    goto r2
    :sj9
    set java="%pro%_02%jav%"
    goto r2
    :sj10
    set java="%pro%_03%jav%"
    goto r2
    :sj11
    set java="%pro%_04%jav%"
    goto r2
    :sj12
    set java="%pro%_05%jav%"
    goto r2
    :je
    cls
    title Error!
    echo You do not have JDK 6u2 Installed on your Computer!
    echo Just google 'JDK 6u2' Download and select online.
    pause
    cls
    goto menu
    100% credits to me, the owner of Afterlife.

    now save it.

    click on the compile.bat file then type "r" to run your server. you should see something like:
    starting something on 0.0.0.0: 43594
    that's normal, it means your server is running.


    5. Getting onto your server

    Open up moparscape, (make sure you leave the runserver open) and log in with any username/pass. this will only work for you. other people will have to type in the server ip and port before logging in.

    to find out your ip adress, go to www.whatsmyip.org and give the person your ip. then give them the port (usually 43594) and you should see them on your server :)

    if you can't get this to work. you will need to port-forward. search google for port forwarding tuts.

    soon i will add a no-ip and hamachi tutorial. to help people to get on your server more easily

    well that sums up my tutorial, i hope you enjoy having your own private server as much as i do. Post any troubles you have and i will help you as much as i can.

    Thanks for reading
     
  3. Unread #2 - Aug 2, 2007 at 4:03 AM
  4. Ant1212
    Referrals:
    0

    Ant1212 Guest

    Getting started on your own server

    Hi thanks for all the info it realy helps, but the problem is i cant manage to download the proper JDK 5.0 or 6.0 :confused:, would it be possible to send me a direct link to download it please? thanks alot

    Anthony
     
  5. Unread #3 - Aug 2, 2007 at 11:06 AM
  6. black-pure-4-lyfe
    Joined:
    Mar 8, 2007
    Posts:
    325
    Referrals:
    0
    Sythe Gold:
    0

    black-pure-4-lyfe Forum Addict
    $5 USD Donor

    Getting started on your own server

    hey if you want to in step 2 i belive getting a source? use my source list to help them out thats if u want and ummmm well good tut but u kinda need more pictures
     
  7. Unread #4 - Aug 2, 2007 at 7:12 PM
  8. bigdeal15243
    Referrals:
    0

    bigdeal15243 Guest

    Getting started on your own server

    what port do you forward??


    thanks,
    bigdeal15243
     
  9. Unread #5 - Aug 4, 2007 at 9:55 PM
  10. Exist2inspire
    Joined:
    Jul 26, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Exist2inspire Member

    Getting started on your own server


    if your using a hamachi or a no-ip server, i'm 90% sure that it's port 80, otherwise it's 43594
     
  11. Unread #6 - Aug 4, 2007 at 10:00 PM
  12. Exist2inspire
    Joined:
    Jul 26, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Exist2inspire Member

    Getting started on your own server

    sure, you can get a JDK 6u2 by clicking here

    if you still can't get the download to work, just seach "jdk" into google and look for the official Java website.
     
  13. Unread #7 - Aug 4, 2007 at 10:02 PM
  14. Exist2inspire
    Joined:
    Jul 26, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Exist2inspire Member

    Getting started on your own server

    where can i get your source list from? lol
     
  15. Unread #8 - Aug 5, 2007 at 10:04 AM
  16. weee1
    Referrals:
    0

    weee1 Guest

    Getting started on your own server

  17. Unread #9 - Aug 5, 2007 at 12:26 PM
  18. YknoTT
    Joined:
    Feb 1, 2007
    Posts:
    16
    Referrals:
    0
    Sythe Gold:
    0

    YknoTT Newcomer

    Getting started on your own server

    I've downloaded the java 2update, still it says that i dont have it. (when i hit the compile.bat file) Do i have to install java in the server folder u said to create along with sourcefolder?

    Plz help. Thx in advance!
     
  19. Unread #10 - Aug 14, 2007 at 4:45 AM
  20. p0t hayd
    Referrals:
    0

    p0t hayd Guest

    Getting started on your own server

    for some reason wont let e down load jdk 5.0 hmm..
     
  21. Unread #11 - Aug 14, 2007 at 4:47 AM
  22. p0t hayd
    Referrals:
    0

    p0t hayd Guest

    Getting started on your own server

    woot 6.0 workes ok it downloading now after i get done do i copy it inot serve and source?
     
  23. Unread #12 - Sep 19, 2007 at 5:02 PM
  24. d0pe b0i
    Joined:
    May 11, 2007
    Posts:
    680
    Referrals:
    0
    Sythe Gold:
    0

    d0pe b0i Apprentice
    Banned

    Getting started on your own server

    thanks man you helped a ton. but still cant get port forwarding down.. any tips?
     
  25. Unread #13 - Sep 20, 2007 at 5:40 AM
  26. 0120012345
    Joined:
    Jan 28, 2007
    Posts:
    2,021
    Referrals:
    0
    Sythe Gold:
    5

    0120012345 Grand Master

    Getting started on your own server

    BIG vouch for you u helped me with the private server i made i was making a p server for long time
     
  27. Unread #14 - Sep 22, 2007 at 8:48 PM
  28. Exist2inspire
    Joined:
    Jul 26, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Exist2inspire Member

    Getting started on your own server

    i accidently posted my old compiler, try using the new one, it should work
     
  29. Unread #15 - Sep 22, 2007 at 8:56 PM
  30. Exist2inspire
    Joined:
    Jul 26, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Exist2inspire Member

    Getting started on your own server

    unfortunately, i can't help you, portforwarding on your modem/router would be entirely different to portforwarding on my modem/router, the best tip i could give you would be to check www.portforward.com :(
     
  31. Unread #16 - Nov 1, 2007 at 1:24 PM
  32. d0pe b0i
    Joined:
    May 11, 2007
    Posts:
    680
    Referrals:
    0
    Sythe Gold:
    0

    d0pe b0i Apprentice
    Banned

    Getting started on your own server

    yeah portforward.com is so confusing =/ lulz guess ill go without a server
     
  33. Unread #17 - Nov 4, 2007 at 4:12 PM
  34. veman40
    Referrals:
    0

    veman40 Guest

    Getting started on your own server

    emm u did not say anything about no-ip so ill do it = d

    ____________________________________________________________

    if you dont want pepole to know your ip create an account on www.no-ip.com and create an account and go to add and write ur server name there
    and if u want for example usuck.no-ip.biz or usuck.no-ip.info
    after you did that download no-ip and write the no-ip on server area and congrats ypuv got it
     
< any1 buying a maul pure? | Buying a Pin!!! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site