[Tut] [Pics][Detailed]Making a server with BT Voyager.

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! I-Am-No-Fool is offline
    MemberRank
    Sep 2007 Join Date
    Location
    366Posts

    [Tut] [Pics][Detailed]Making a server with BT Voyager.

    Credits: Me

    Difficulty: 3/10

    Tutorial:

    Step 1: Geting JDK
    to get JDK just go to http://java.sun.com/javase/downloads/index.jsp and select the latest JDK.

    Once you have clicked download you should see a page with agree to the License Agreement and what language you want. fill in all you want and click continue. Next you have a page with different download selections, choose Offline installation.

    Step 2: Once you have gone through all of that, Download this: http://www.megaupload.com/?d=OVGGEJPU or any other server you like, This is DemonScape, which I recommend, go into the Demonscape v3 folder and try out the compiler and If it says the system cannot find specified path like this:

    Then right click on the file and click edit.

    you should see something like this:
    Code:
    @echo off
    title Demonscape V.3
    color F0
    "C:\Program Files\Java\jdk1.5.0_08\bin\javac.exe" -cp . *.java
    pause
    Change that to:
    Code:
    @echo off
    if exist "C:\Program Files (x86)\" set programfiles=C:\Program Files (x86)
    set pro=%programfiles%\Java\jdk1.5.0
    set pro2=%programfiles%\Java\jdk1.6.0_06
    set jac=\bin\javac.exe
    set jav=\bin\java.exe
    :co1
    set b=0
    set t=7
    goto co2
    :co2
    color %b%%t%
    :menu
    cls
    title The Perfect Compiler version 1.7
    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 color - Change the Text and Backround colors of this compiler.
    echo reset - Resets your Compiler Logs.
    echo.
    echo.
    set /p c=Option: 
    if %c%==c goto c
    if %c%==C goto c
    if %c%==r goto r
    if %c%==R goto r
    if %c%==color goto color
    if %c%==Color goto color
    if %c%==COLOR goto color
    if %c%==reset goto reset
    if %c%==Reset goto reset
    if %c%==RESET goto reset
    if %c%==e goto e
    if %c%==E goto e
    if %c%==* goto er
    goto er
    :color
    cls
    echo Would you like to change the backround color, change
    echo the text color, or reset it to default?
    echo.
    echo back - Change the backround color.
    echo text - Change the text color.
    echo def - Change all colors back to default.
    echo.
    echo.
    set /p color=Option: 
    if %color%==back goto back
    if %color%==BACK goto back
    if %color%==text goto text
    if %color%==TEXT goto text
    if %color%==def goto co1
    if %color%==DEF goto co1
    if %color%==* goto er
    goto er
    :back
    cls
    echo Please select a color to change the backround to:
    echo.
    echo black
    echo white
    echo red
    echo yellow
    echo green
    echo blue
    echo purple
    echo.
    echo.
    set /p back=Color: 
    if %back%== black (set b=0)
    if %back%== white (set b=7)
    if %back%== red (set b=4)
    if %back%== yellow (set b=6)
    if %back%== green (set b=2)
    if %back%== blue (set b=1)
    if %back%== purple (set b=5)
    goto co2
    :text
    cls
    echo Please select a color to change the text to:
    echo.
    echo black
    echo white
    echo red
    echo yellow
    echo green
    echo blue
    echo purple
    echo.
    echo.
    set /p back=Color: 
    if %back%== black (set t=0)
    if %back%== white (set t=7)
    if %back%== red (set t=4)
    if %back%== yellow (set t=6)
    if %back%== green (set t=2)
    if %back%== blue (set t=1)
    if %back%== purple (set t=5)
    goto co2
    :c
    cls
    title Compiler
    goto cjc
    :c2
    if exist src (goto cl) else (goto c3)
    :c3
    if exist *.java (goto cl2) else (goto ce)
    :c4
    %javac% -cp . *.java
    echo Files Compiled Successfully!
    pause
    cls
    goto menu
    :c5
    %javac% -cp . .\src\*.java
    echo Files Compiled Successfully!
    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 Runserver
    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 sl2) else (goto r4)
    :r4
    if exist .\server.class (goto sl) 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 used the
    echo compiler with 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 5.0 or JDK 6.0. Go to Mod Taharok's tutorial
    echo on the Moparscape Tuturoials section for step-by-step instructions
    echo link to download the newest JDK Update.
    pause
    cls
    goto menu
    :sl
    cls
    echo Ran Server at %time% and on %date%. >> "Compile Logs.txt"
    echo Server was run using %java%. >> "Compile Logs.txt"
    echo Thank-you for using Mod Taharok's 'Perfect' Compiler! :) >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto r5
    :sl2
    cls
    echo Ran Server at %time% and on %date%. >> "Compile Logs.txt"
    echo Server was run using %java%. >> "Compile Logs.txt"
    echo Thank-you for using Mod Taharok's 'Perfect' Compiler! :) >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto r6
    :cl
    cls
    echo Compiled Java files at %time% and on %date%. >> "Compile Logs.txt"
    echo Java files were compiled using %javac%. >> "Compile Logs.txt"
    echo Thank-you for using Mod Taharok's 'Perfect' Compiler! :) >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto c5
    :cl2
    cls
    echo Compiled Java files at %time% and on %date%. >> "Compile Logs.txt"
    echo Java files were compiled using %javac%. >> "Compile Logs.txt"
    echo Thank-you for using Mod Taharok's 'Perfect' Compiler! :) >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto c4
    :reset
    cls
    echo Resetting the Compiler's Logs...
    pause
    del "Compile Logs.txt"
    echo                                              ----------Compiler Logs---------- >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto menu
    And then save and try to run it again.

    There, there is nothing saying that you can't compile or anything.
    Now, just to check, type in r and then hit enter, some writing will come up, now you can log in but no-one else can. So, to check it's up go to client.silabsoft.org and type in your desired Username and password, but leave the Server/IP bit and port alone.

    You can leave it like this but i'm going to show you how to make it public with BT voyager in the next post


  2. #2
    Account Upgraded | Title Enabled! I-Am-No-Fool is offline
    MemberRank
    Sep 2007 Join Date
    Location
    366Posts

    [TuT]Making a server with BT Voyager.

    http://www.no-ip.com/ and register and do all that stuff then log in. Then in hosts/redirects tab click add, you should see lots of different forms. Here is what you should do:

    Then get that code
    For Windows XP users, go to start and click run and type in
    Code:
    Command
    then type into it ipconfig /all and you should see all your IP information.
    Next go to start, Control Panel, and click network connections

    Right click the one that you want and click properties.

    A "Wireless Network Connections Properties" Box should come up. Scroll down and select Internet Protocol (TCP/IP) and click properties on that. A box should come up, with Obtain an IP adress automatically, un select that and click Use the following IP address, Fill in the boxes with the appropriate information. And do the Same with the DNS server at the bottom. Once you've done that click OK on both of the boxes. You now have a static IP address. Now open up a new window/tab and type in your IP adress that you get from whatsmyip.org . It should come up with your BT page, how long your internet has been on line and everything else. Click advanced on the side bar on the left and then advanced again.

    Then click the configuration tab on the left so that it comes up with all the different selections. Click Virtual Server, type in your Username and password of the internet in and then Click the Port Forwarding link near the top of the page. Click the Add button near the right side of the page. Put a dot into the User Defined radio button. and fill in what you need.

    Next, go to Controlpanel and windows firewall, and click on the exceptions tab and click add port. Then fill in all the things you want and make sure the port is 43594 if you're using Demonscape.

    Hope this Tut helped
    Last edited by I-Am-No-Fool; 31-05-08 at 02:21 PM. Reason: Next part of Tut XD

  3. #3
    Member Mark_Xtian is offline
    MemberRank
    May 2008 Join Date
    75Posts

    Re: [TuT][Pics][Detailed]Making a server with BT Voyager.

    sorry but im kinda noob with this.. so i can make my own server with this? any commands? can i play this offline?

  4. #4
    Member Mark_Xtian is offline
    MemberRank
    May 2008 Join Date
    75Posts

    Re: [TuT][Pics][Detailed]Making a server with BT Voyager.

    i have this when i press r in Demonscape V.3 folder..



    any other folder have errrors but different with the v.3 folder...

  5. #5
    Account Upgraded | Title Enabled! I-Am-No-Fool is offline
    MemberRank
    Sep 2007 Join Date
    Location
    366Posts

    Re: [TuT][Pics][Detailed]Making a server with BT Voyager.

    Quote Originally Posted by Mark_Xtian View Post
    i have this when i press r in Demonscape V.3 folder..



    any other folder have errrors but different with the v.3 folder...
    Dude, that's fine. If you want, you can get another server.
    Im not saying you HAVE to use DemonScape

    Quote Originally Posted by Mark_Xtian View Post
    sorry but im kinda noob with this.. so i can make my own server with this? any commands? can i play this offline?
    You can play it without the internet on, but you need the server run up. The commands you can find yourself by going to client.java and searching for
    Code:
    if (command
    then you should see lots of different commands in brackets and quotes. E.G.
    Code:
    if (command.equalsIgnoreCase("COMMANDNAMEHERE"))
    in COMMANDSNAMEHERE is what you type after ::



Advertisement