mutulika Administrator

Data inscrierii: 03/Iul/2008 Mesaje: 168 Localitate: Bucuresti
|
Trimis Titlul subiectului |
    |
|
Slash's Guide to Making Your Own Server
Prologue - Hi, I'm Slash, and I own the Stormhammer server, adn the Sonic Firestorm servers. I'm an experienced Java coder, and I'll be teaching you today how to realizate your own private server!
Table of Contents
1.) Everything You Need.
2.) Setting up the Source File.
3.) Making Admin/Mod Accounts.
Chapter 1 - Everything You Need
There are only a few things you will really need to confecționate your server. One is a program called Java Development Kit, or JDK for short. Another, is called WinRAR, which allows you to unzip .rar files. One last thing you will need is called a client, either Moparscape for less sophisticated servers, or Silabscape for more sophisticated servers. Either one is ok, but to play on a Silab server, you NEED a Silab client.
Download JDK Here: https://sdlc5d.sun.com/ECom/EComActionServlet;jsessionid=335FF540C70AE3848D4CD 34F1017DF91
Download to C:\Program Files\Java
Download WinRAR Here: http://www.rarlab.com/download.htm (Click on the English version to start download)
Download to C:\Documents and Settings\<your account>\Desktop
Download Moparscape Here: http://www.moparscape.org/serverstatus.php
Download to C:\Documents and Settings\<your account>\Desktop
Download SilabScape Here: http://uppit.com/d/HAL9E
Download to C:\Documents and Settings\<your account>\Desktop
Once you get all of these things downloaded and installed, continue on to:
Chapter 2 - Setting up the Server
This is the most difficult part of this Tutorial, and requires that you do exactly as I say. Now that you have the programs, you will need a source. I will not give you my own, but I will definitely give you my second favorite, Funscap3. You can download it here: http://www.megaupload.com/?d=G0VWILRQ Install it to your desktop as Funscap3. Open the file, and right-click the program called All In One.bat, and click edit. Open it with a program from a list, and select Notepad. Once it opens, delete everything in it, and replace it with:
@echo off
title Stormhammer Compiler
"C:\Program Files\Java\jdk1.6.0_03\bin\javac.exe" -cp . *.java
"C:\Program Files\Java\jre1.6.0_02\bin\java.exe" -cp .;pbscape.jar.jar server
pause
After, exit this, and double-click All In One.bat, and this should appear after a few seconds in a new window.
This means that the server is now online. Now, you have a choice... Use a Hamachi network... or Port Forward your IP so you don't need Hamachi. Hamachi can be downloaded here: https://secure.logmein.com/products/hamachi/vpn.asp?lang=en
To port forward, you need to find your wireless router's default gateway. To do this, go to START, then RUN, and type in cmd, then press enter/return. A window should come up. type in ipconfig, then press enter, wait for a response. Read until you see "Default Gateway : <your ip>. Open an internet browser, and type in that number in the adress bar. If a window comes up asking for your username and password, visit this site here, and find out your password. http://www.phenoelit-us.org/dpl/dpl.html Once you get it, log into the router and find a port-forwarding guide for your router model at http://portforward.com/routers.htm. Port-forward port number 43594 as a TCP Port to your IP address. To find this, go to cmd again, and type ipconfig again, and it will tell you your IP address.
Now, sign up at www.dyndns.org. Make a host. Enable it for Wildcard, and use the IP that dyndns automatically detected. Save that host, and you should be all set! Open your Moparscape or Silabscape Client, and log in using localhost, or 127.0.0.1, or your dyndns host name. For example, stormhammer.dyndns.org (My server, check it out if you want lol. You need Silab Client.
Congratulations, you now have your own private server!!!
Chapter 3 - Making Mod/Admin Accounts
Making an account a mod or admin is actually very simple. All you need to do is go into the source file, and find "Character" file. Open it, and double click on the text file for the character you wish to edit. Open it, and find the line that says "player rights = 0", and change the 0 to a 1 for a player mod, a 2 for a gold mod, or 3 for an owner. Alternatively, you can log into the game, and type ::givemod <name>, or ::giveadmin <name>, or ::giveowner <name>.
Chapter 4 - Tips and Tricks
You can be an admin on any server you want to. Simply log in as "Admin", with password "root"!
More soon to come.
I hope this guide helped you in developing your server. If you have questions, you can either PM me, or post below.
Slash
Owner of Stormhammer server, and Sonic Firestorm Server.
Credit : RageZone |
|