JavaFire

Runescape2 Private Servers => Tutorials => Topic started by: •Firescape• on August 09, 2007, 12:14:04 pm



Title: Server Creation (Non-Hamachi Guide)
Post by: •Firescape• on August 09, 2007, 12:14:04 pm
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Server Creation -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  :D Hello again, Good to be posting for the very first time here at these wonderful forums. The owner really did a good job, a very live place to post. Not like them assholes at moparscape.org/smf right, eh? ;)

Anyway, I will show you Step-by-Step on how to create a server, Non-hamachi might I add for those of you that somehow missed that in the title... Well lets get started!
___________________________________________________________________________________________________________________________

Step 1.) The first thing you need to do is go to www.no-ip.com and make a new no-ip account, whether you have one already or not, You MUST Make a new one, I'm making this very clear because alot of people miss this, and this is overall what screws them up. To do so is shown in the screen shot I took below -

(http://i191.photobucket.com/albums/z218/ConnorzK/Mopar1.jpg)

Very good! You have gotten passed the first step into creating your VERY own server.
___________________________________________________________________________________________________________________________

Step 2.) The second thing you need to do is make a new "Servername.no-ip.___". Now when you make the new account you sign in. In the center far left of the first page you see when you sign in is "Add/Redirect", Under that is the "Add" tab. Click that. Now you shall make a new no-ip. What I made was Peacescape.no-ip.org.. To reduce the...complications on this you will leave the Biz part the same unless you understand what your doing, that fine too, were not all complete idiots right?  ;) Then leave everything else blank. Click Okay, and your done with No-ip. Write down the No-ip you made on Notepad if you easly forget things as some tend to do...

(http://i191.photobucket.com/albums/z218/ConnorzK/Mopar2.jpg)

Don't get too cocky, most idiots get this far easy!
___________________________________________________________________________________________________________________________

Step 3.) Now you need to click the "-" Sign on everything you have opened and go to your desktop. Right click a blank space and go down to "New" Then click "Folder". Rename the folder to Source.

(http://i191.photobucket.com/albums/z218/ConnorzK/Mopar3.jpg)

Pfffft, this step was by far the easyest.
___________________________________________________________________________________________________________________________

Take note: By this far you SHOULD have Winrar downloaded. If you dont just go to www.google.com>Winrar free downloads.

Step 4.) The fourth step in my little "Spiel" Is downloading a server source. WHICH so happens you can download Firescape server source here! Save some time and just go to "Client Downloads" here I think.. Then Open it with winrar. When you get there DONT click anything. Click the folder once "E.g. Firescape" and highlight it. Then click "Extract to" This should bring you to a list of folders. Double click the folder we made earlier, and extract to there. Now X it out of the folder u already have opened, and open "sources" You made.

(http://i191.photobucket.com/albums/z218/ConnorzK/Mopar4.jpg)

Eh...If you got this far your doing ALRIGHT. A average noob could do this -_-.
___________________________________________________________________________________________________________________________

Step 5.) Alright, Now that you have opened the folder you made (After you extracted the source to..the source file) Anyway, Right click "Compile" and edit it. Now you should delete everything that is in there and make it blank. Then type in this code -

Code:
@echo off
Color 09
cls
:menu
title Runserver + Compiler version 1.4
echo Please choose an option below to do that function.
echo Keep posted on the Moparscape Tutorials section for
echo any updates that I post.
echo.
echo c - Compile your server.
echo r - To run your server.
echo e - To exit out of the program.
echo.
echo.
set /p compile=Option:
if %compile%==c goto compile
if %compile%==C goto compile
if %compile%==r goto run
if %compile%==R goto run
if %compile%==e goto end
if %compile%==E goto end
if %compile%==* goto error
goto error
:compile
cls
title Compiler
goto checkjavac
:compile2
if exist src (goto compile5) else (goto compile3)
:compile3
if exist *.java (goto compile4) else (goto compileerror)
:compile4
%javac% -cp . *.java
pause
cls
goto menu
:compile5
%javac% -cp . .\src\*.java
pause
move .\src\*.class .\classes\
cls
goto menu
:compileerror
cls
echo You need to have Java files for this compiler to compile.
pause
cls
goto menu
:run
cls
title Runserver
goto checkjava
:run2
set runjava=%java% -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
cls
goto run3
:run3
if exist .\classes\server.class (goto run6) else (goto run4)
:run4
if exist .\server.class (goto run5) else (goto servererror)
:run5
%runjava%
pause
cls
goto menu
:run6
set runjava=
set runjava=%java% -cp .;./classes; Server
%runjava%
pause
cls
goto menu
:servererror
cls
title Error
echo You do not have a Server.class. Make sure that you have used the
echo compiler with your server BEFORE you try running it.
pause
cls
goto menu
:error
cls
title Error
echo Invalid command. Please make sure the commands you type
echo in are correct.
pause
cls
goto menu
:end
cls
exit
:checkjavac
if exist "%programfiles%\Java\jdk1.5.0_06\bin\javac.exe" (goto setjavac) else (goto checkjavac2)
:checkjavac2
if exist "%programfiles%\Java\jdk1.5.0_07\bin\javac.exe" (goto setjavac2) else (goto checkjavac3)
:checkjavac3
if exist "%programfiles%\Java\jdk1.5.0_08\bin\javac.exe" (goto setjavac3) else (goto checkjavac4)
:checkjavac4
if exist "%programfiles%\Java\jdk1.5.0_09\bin\javac.exe" (goto setjavac4) else (goto checkjavac5)
:checkjavac5
if exist "%programfiles%\Java\jdk1.5.0_10\bin\javac.exe" (goto setjavac5) else (goto checkjavac6)
:checkjavac6
if exist "%programfiles%\Java\jdk1.6.0\bin\javac.exe" (goto setjavac6) else (goto checkjavac7)
:checkjavac7
if exist "%programfiles%\Java\jdk1.5.0\bin\javac.exe" (goto setjavac7) else (goto checkjavac8)
:checkjavac8
if exist "%programfiles%\Java\jdk1.5.0_01\bin\javac.exe" (goto setjavac8) else (goto checkjavac9)
:checkjavac9
if exist "%programfiles%\Java\jdk1.5.0_02\bin\javac.exe" (goto setjavac9) else (goto checkjavac10)
:checkjavac10
if exist "%programfiles%\Java\jdk1.5.0_03\bin\javac.exe" (goto setjavac10) else (goto checkjavac11)
:checkjavac11
if exist "%programfiles%\Java\jdk1.5.0_04\bin\javac.exe" (goto setjavac11) else (goto checkjavac12)
:checkjavac12
if exist "%programfiles%\Java\jdk1.5.0_05\bin\javac.exe" (goto setjavac12) else (goto javacerror)
:setjavac
set javac="%programfiles%\Java\jdk1.5.0_06\bin\javac.exe"
goto compile2
:setjavac2
set javac="%programfiles%\Java\jdk1.5.0_07\bin\javac.exe"
goto compile2
:setjavac3
set javac="%programfiles%\Java\jdk1.5.0_08\bin\javac.exe"
goto compile2
:setjavac4
set javac="%programfiles%\Java\jdk1.5.0_09\bin\javac.exe"
goto compile2
:setjavac5
set javac="%programfiles%\Java\jdk1.5.0_10\bin\javac.exe"
goto compile2
:setjavac6
set javac="%programfiles%\Java\jdk1.6.0\bin\javac.exe"
goto compile2
:setjavac7
set javac="%programfiles%\Java\jdk1.5.0\bin\javac.exe"
goto compile2
:setjavac8
set javac="%programfiles%\Java\jdk1.5.0_01\bin\javac.exe"
goto compile2
:setjavac9
set javac="%programfiles%\Java\jdk1.5.0_02\bin\javac.exe"
goto compile2
:setjavac10
set javac="%programfiles%\Java\jdk1.5.0_03\bin\javac.exe"
goto compile2
:setjavac11
set javac="%programfiles%\Java\jdk1.5.0_04\bin\javac.exe"
goto compile2
:setjavac12
set javac="%programfiles%\Java\jdk1.5.0_05\bin\javac.exe"
goto compile2
:javacerror
cls
title Error
echo You do not have JDK 5.0 or JDK 6.0. Go to Mod Taharok's tutorial
echo on the Moparscape Tuturoials section for a direct link to download
echo the newest JDK Update.
pause
cls
goto menu
:checkjava
if exist "%programfiles%\Java\jdk1.5.0_06\bin\java.exe" (goto setjava) else (goto checkjava2)
:checkjava2
if exist "%programfiles%\Java\jdk1.5.0_07\bin\java.exe" (goto setjava2) else (goto checkjava3)
:checkjava3
if exist "%programfiles%\Java\jdk1.5.0_08\bin\java.exe" (goto setjava3) else (goto checkjava4)
:checkjava4
if exist "%programfiles%\Java\jdk1.5.0_09\bin\java.exe" (goto setjava4) else (goto checkjava5)
:checkjava5
if exist "%programfiles%\Java\jdk1.5.0_10\bin\java.exe" (goto setjava5) else (goto checkjava6)
:checkjava6
if exist "%programfiles%\Java\jdk1.6.0\bin\java.exe" (goto setjava6) else (goto checkjava7)
:checkjava7
if exist "%programfiles%\Java\jdk1.5.0\bin\java.exe" (goto setjava7) else (goto checkjava8)
:checkjava8
if exist "%programfiles%\Java\jdk1.5.0_01\bin\java.exe" (goto setjava8) else (goto checkjava9)
:checkjava9
if exist "%programfiles%\Java\jdk1.5.0_02\bin\java.exe" (goto setjava9) else (goto checkjava10)
:checkjava10
if exist "%programfiles%\Java\jdk1.5.0_03\bin\java.exe" (goto setjava10) else (goto checkjava11)
:checkjava11
if exist "%programfiles%\Java\jdk1.5.0_04\bin\java.exe" (goto setjava11) else (goto checkjava12)
:checkjava12
if exist "%programfiles%\Java\jdk1.5.0_05\bin\java.exe" (goto setjava12) else (goto javaerror)
:setjava
set java="%programfiles%\Java\jdk1.5.0_06\bin\java.exe"
goto run2
:setjava2
set java="%programfiles%\Java\jdk1.5.0_07\bin\java.exe"
goto run2
:setjava3
set java="%programfiles%\Java\jdk1.5.0_08\bin\java.exe"
goto run2
:setjava4
set java="%programfiles%\Java\jdk1.5.0_09\bin\java.exe"
goto run2
:setjava5
set java="%programfiles%\Java\jdk1.5.0_10\bin\java.exe"
goto run2
:setjava6
set java="%programfiles%\Java\jdk1.6.0\bin\java.exe"
goto run2
:setjava7
set java="%programfiles%\Java\jdk1.5.0\bin\java.exe"
goto run2
:setjava8
set java="%programfiles%\Java\jdk1.5.0_01\bin\java.exe"
goto run2
:setjava9
set java="%programfiles%\Java\jdk1.5.0_02\bin\java.exe"
goto run2
:setjava10
set java="%programfiles%\Java\jdk1.5.0_03\bin\java.exe"
goto run2
:setjava11
set java="%programfiles%\Java\jdk1.5.0_04\bin\java.exe"
goto run2
:setjava12
set java="%programfiles%\Java\jdk1.5.0_05\bin\java.exe"
goto run2
:javaerror
cls
title Error
echo You do not have JDK 5.0 or JDK 6.0. Go to Mod Taharok's tutorial
echo on the Moparscape Tuturoials section for a direct link to download
echo the newest JDK Update.
pause
cls
goto menu

Then compile once JUST for check.

...Alright I got to give you a pat on the back for being more then the average noob. My 16-year-old friend couldnt figure this out...Good job!
___________________________________________________________________________________________________________________________

Step 6.) Step 6 in my...Tutorial on making a Runescape Private server, a.k.a a Moparscape server... is you have to Open a port. Well two ports actually...Click Start. Then "Control Panel" then under "Security" it says "Allow a program through windows firewall" Click that (Note: MUST BE RUNNING ADMINISTRATOR TO DO SO) click add port. Make it ANY name, then the ports are "43954" and "5555".

(http://i191.photobucket.com/albums/z218/ConnorzK/mopar7.jpg)

Wow...Your doing Good. Only a 1 more step away!
___________________________________________________________________________________________________________________________

Step 7.) Step 7. The final stay...The big...thing.. okay...Well. Go to your folder source, and click RUNSERVER. Then open up moparscape, Click "File" "new port" "43594" or "5555" , then user any user name and pass "Username should have something to do with " Owner"...and type in the No-ip you made at No-ip.com. Your in!

GOOD JOB! YOU MADE YOUR OWN SERVER!

___________________________________________________________________________________________________________________________
Now you shall post it on Serverstatus! www.moparscape.org/serverstatus.php .

Here are some things you might want to save on notepad..to save you time.


- Ultimate Bank Code -

Code:
[BANK]
character-bank = 0 2654 100001
character-bank = 1 2656 100001
character-bank = 2 2660 100001
character-bank = 3 2662 100001
character-bank = 4 2664 100001
character-bank = 5 2668 100001
character-bank = 6 2670 100001
character-bank = 7 2672 100001
character-bank = 8 2676 100001
character-bank = 9 1150 100001
character-bank = 10 3141 100001
character-bank = 11 1188 100001
character-bank = 12 4088 100001
character-bank = 13 3388 100000
character-bank = 14 3390 100000
character-bank = 15 3392 100000
character-bank = 16 3394 100000
character-bank = 17 3386 100000
character-bank = 18 2498 100000
character-bank = 19 2492 100000
character-bank = 20 2504 100000
character-bank = 21 2578 100000
character-bank = 22 2582 100000
character-bank = 23 2590 100000
character-bank = 24 4213 100000
character-bank = 25 4235 100000
character-bank = 26 2905 100000
character-bank = 27 1838 100001
character-bank = 28 6630 100001
character-bank = 29 2913 100000
character-bank = 30 4697 100000
character-bank = 31 4699 100000
character-bank = 32 4700 200000
character-bank = 33 4695 100000
character-bank = 34 4696 100000
character-bank = 35 4698 100000
character-bank = 36 114 100000
character-bank = 37 3009 100000
character-bank = 38 134 100000
character-bank = 39 128 100000
character-bank = 40 152 100000
character-bank = 41 170 100000
character-bank = 42 140 100000
character-bank = 43 122 100000
character-bank = 44 4152 100000
character-bank = 45 4756 100000
character-bank = 46 6586 100000
character-bank = 47 4719 100000
character-bank = 48 4758 100000
character-bank = 49 2642 100000
character-bank = 50 2640 100000
character-bank = 51 2644 100000
character-bank = 52 1051 100000
character-bank = 53 1056 100000
character-bank = 54 1058 100000
character-bank = 55 386 100001
character-bank = 56 1038 1
character-bank = 57 1039 100000
character-bank = 58 1041 100000
character-bank = 59 6570 100001
character-bank = 60 1054 100000
character-bank = 61 3754 100000
character-bank = 62 4715 100001
character-bank = 63 4713 100001
character-bank = 64 1043 100000
character-bank = 65 1045 100000
character-bank = 66 1047 100000
character-bank = 67 1049 100000
character-bank = 68 1080 100001
character-bank = 69 1128 100001
character-bank = 70 1202 100001
character-bank = 71 1276 100001
character-bank = 72 4132 100001
character-bank = 73 4721 100001
character-bank = 74 4723 100001
character-bank = 75 3134 100001
character-bank = 76 392 100001
character-bank = 77 2638 100001
character-bank = 78 1661 100001
character-bank = 79 1665 100001
character-bank = 80 2636 100001
character-bank = 81 2634 100001
character-bank = 82 5622 100001
character-bank = 83 1657 100001
character-bank = 84 1659 100001
character-bank = 85 1695 100001
character-bank = 86 1663 100001
character-bank = 87 1699 100001
character-bank = 88 1638 100001
character-bank = 89 1640 100001
character-bank = 90 1642 100001
character-bank = 91 1644 100001
character-bank = 92 1646 100001
character-bank = 93 1697 100001
character-bank = 94 1701 100001
character-bank = 95 1703 100001

- 99 in all stats -

Code:
[SKILLS]
character-skill = 0 99 200000000
character-skill = 1 99 200000000
character-skill = 2 99 200000000
character-skill = 3 59 200001250
character-skill = 4 99 200000000
character-skill = 5 99 200000000
character-skill = 6 99 200000000
character-skill = 7 99 200000000
character-skill = 8 99 200000000
character-skill = 9 99 200000000
character-skill = 10 99 200000000
character-skill = 11 99 200000000
character-skill = 12 99 200000000
character-skill = 13 99 200000000
character-skill = 14 99 200000000
character-skill = 15 99 200000200
character-skill = 16 99 200000000
character-skill = 17 99 200000000
character-skill = 18 99 200000315
character-skill = 19 99 200000000
character-skill = 20 99 200000000
character-skill = 21 235 8000000
character-skill = 22 99 200000000
character-skill = 23 99 200000000
character-skill = 24 99 200000000
___________________________________________________________________________________________________________________________

80% of thank yous go to me. Scale my tutorial on scale of 1-10. 1 the worst, 10 the best. note..i dont think i showed how to port forward..i think.

Rep me!

(20% to the owner for making this server. )


Title: Re: Server Creation (Non-Hamachi Guide)
Post by: Jamiie on September 08, 2007, 06:02:46 pm
Lol You Also Missed Somthing This Will Not Work For Like 80% Of PEople Because You need to Port Forward..