• Log in or sign up for an account here: https://www.sythe.org/login

Getting started on your own server

Exist2inspire

Member
Joined
Jul 26, 2007
Sythe Gold
0
Messages
85
Age
33
Location
NSW, Australia
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
 
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
 
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
 
Getting started on your own server
what port do you forward??


thanks,
bigdeal15243
 
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

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.
 
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!
 
Getting started on your own server
for some reason wont let e down load jdk 5.0 hmm..
 
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?
 
Getting started on your own server
thanks man you helped a ton. but still cant get port forwarding down.. any tips?
 
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
 
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!

i accidently posted my old compiler, try using the new one, it should work
 
Getting started on your own server
yeah portforward.com is so confusing =/ lulz guess ill go without a server
 
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
 
Runescape Gamblingrunescape gambling
Back
Top