Evony Guides and Help
Trik Forum - RuneScape Forum  
Register Forum Homepage Members Mark Forums Read


Trik Members: 34,283 | Total Posts: 132,912 | Total Threads: 25,583
Welcome to our newest member, boblin.
Go Back   Trik Forum - RuneScape Forum > Runescape 2 Cheating > Runescape Private Servers
Reload this Page How To Make a Private Server. (with pics)
Runescape Private Servers Advertise your Runescape private server(s) here. Discuss about servers, post tutorials, get help, read people's developments, etc.


Reply
 
Thread Tools Display Modes
How To Make a Private Server. (with pics)
Old
  (#1)
Teh One is Offline
Sergeant
Senior Member
Teh One is an unknown quantity at this point
 
Posts: 324
Thanks: 0
Thanked 2 Times in 2 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default How To Make a Private Server. (with pics) - 02-20-2009, 04:14 PM

This guide will explain how to create your own private server. I have completely rewritten the guide, so hopefully this will help people.

Chapter 1
Downloading java
Chapter 2
Getting a Source
Chapter 3
Getting no-ip
Chapter 4
Setting Environment Variables
Chapter 5
Clients
Chapter 6
Portforwarding
Chapter 7
Compiling/Running
Chaper 8
Tips
Chapter 9
Simple Programming

Note: First of all, before even doing anything else, you will have to download winrar. This can be downloaded here.

Chapter 1- Downloading Java
Downloading java is simple, but it can confuse you, so pay attention. You will need the java development kit, which can be downloaded here. Once you have selected to download the java development kit, you will have to select your platform, which is your operations system. Choose whichever you have, agree to the terms, and continue. Then when the new page loads, check the box and hit "Download Selected with Sun Download Manager."

Here is a picture if you don't understand:

Let the java install, then you are ready to move on to the next step.

Chapter 2- Getting a source
The next step is to download a server source. A server source can be downloaded in the private server section of this forum. Look around at the different sources there, and find one that you like. Once you have found one, save it to your desktop, as we will be using it later. For now, you can move on to the next step.

Chapter 3- Getting no-ip
Now you will need to get yourself a no-ip name. You will have to register an account with the site, which takes a few seconds, then login. Once you are in, then you are to go to the hosts and redirects tab, which is shown here:

Once there, click the "Add a Host" button.
A forum will come up once you press it. For hostname, put whatever you want, such as something like "examplescape." Then next to that, select what kind of host you want it, such as no-ip.biz or no-ip.org, etc. It doesn't make much of a difference. Leave the rest of the stuff, and press create host. Here is an example of a completed form:

After you have done that, you will have to download the no-ip software. This will update your no-ip with your settings. To do this, go to the no-ip homepage, and hit the download tab, then select your operating system.

Once you have done that, hit the download button that comes up and save it. Install it and follow all the steps. When it is finished, open the software, and your account will come up with the host you created. Check the box next to your host, and once it shows a smiley face next to it, close the program. Here is a picture to help you:

You are now ready to go to the next step.

Chapter 4- Setting environment variables-

Setting environment variables can be tricky, so read carefully.
.

First of all, open my computer and press view system information. Something will pop up with lots of tabs. Select the one that says "advanced," then at the bottom click on environment variables.

When you are in the environment variables, find where it says user variables for owner, and under that there is a whole bunch of stuff like classpath and path.

If you already have a thing that says "classpath" inside, then just edit it and put this in
Code:

CLASSPATH=C:\Program Files\Java\jdk1.6.0_11\bin;%CLASSPATH%;


If you don't, create a new variable and call it classpath and put that in.

Then find the "Path" variable and edit it and put this in-
Code:

C:\Program Files\Java\jdk1.6.0_11\bin;


Now you are done with the environment variables!
Note: If you have another version of jdk, for the part that says _11, in both classpath and path, change it to your jdk.

Chapter 5- Clients

You will now have to find a client. Your client will be what people use to connect to your server. You can find one in the private server section, or you can use a webclient. A couple of normally used webclients include the Silabsoft Client and the Moparscape Client. You will the client later on for logging into your server.

Chapter 6- Portforwarding
Portforwarding is the hardest step of all for most people, so pay close attention. Most people have routers, which means they will have to do this step, but some people just have modems, so they can skip this step. Portforwarding enables others to connect to your server.

First of all, go to start, then run, then type in cmd and press ok. A black box will come up, and inside of it type "ipconfig" and hit enter. You will see something that says default gateway then a bunch of numbers. Copy the numbers, then paste them into the address bar at the top of your browser. You will get a page with a picture of the company that made your router.

I will give the guide for a Linksys router, but there are thousands of other routers, if you are using another one go here and find your router.

Here is the guide for a linksys router from portforward.com-
Open a web browser like internet explorer or Netscape. Enter the ip address of your router in the address bar of your browser. In the picture above the address bar has http://www.google.com in it. Just replace all of that with the ip address of your router. By default the ip address


You should see a box prompting you for your username and password. Enter your username and password now. By default both the username and password are admin. Click the Ok button to log in to your router.

Click the Applications & Gaming link near the top of the page.

From there on, I'll tell you what to do. For the application put anything you like. The start to end should both be 43594. Protocol should be tcp. For ip address fill in your default gateway, then check "enable."

Finally save settings.

Also make sure to make this an exception in your firewall.

You are almost done now!

Chapter 7- Compiling/Running

Compiling and running is how you can manage your server. Every time you add something to your server, you will have to compile. There is a button in your server files that you downloaded in chapter 2 called "Compiler." Double click it, and make sure it says something like "Note: Stream.java uses...so on..." That means you have done it right. If it says "system cannot find path specified," you should edit your compiler to this:

Code:

@echo off
javac *.java
pause


If it still says that, you will have to redo the environment variables step.

Now for running.

Go in your server files and find a file that's called "runserver." Double click it, and a black box will appear, saying "Your server is online" or something similar to that. Now you can try logging in through the client you want to use. Open the client, and put in any username and password, then the ip that you made at no-ip.com, such as examplescape.no-ip.biz. If it lets you login, then congratulations! If it doesn't, it means you did one of the steps wrong, most likely the portforwarding step.

Make sure you leave the runserver box open, or else your server will go down until you reopen it.

Chapter 8- Tips
These are some handy tips that you will find useful.

1. If you want people to join your server, go in to the moparscape server status list which can be found here. Do not post your server ip in any of the forum boards, or else you will receive a mute or ban

2. If you want to make yourself admin, find the folder inside of your server files that says "characters" open it and find your name that you made, and where it says player rights, change it from 0 to 3.

3. Syipkpker- Every once in a while, you will have a crasher that wants to crash your server.
It will say syipkpker or some other name has logged in like hundreds of times. This does no harm to your computer, but your computer will start beeping. Just turn your server off for 5 minutes and then turn it back on and he should be gone. There is a way to stop this from happening, but beginners may have a hard time understanding it. The tutorial is located here.

Chapter 9- Simple Programming

Here is some simple codes to add to your server:

1- Adding Npcs
To add an npc, go into autospawn.cfg, and type the npc you want spawned, then the coordinates. Make sure to follow the same format as other npcs.
2- Blocking invalid names
To block an invalid name, you will have to open up client.java. Next, search this
Code:

refreshSkills();

Right above it add this-
Code:

for(char c : playerName.toCharArray()) {
if(!Character.isLetterOrDigit(c)) {
if(Character.isSpaceChar(c)) continue;
this.destruct();
}
}

3. Ip banning, unipbanning, banning, unbanning.
To ip ban, you can add a command to do it-
Code:

if(command.startsWith("ipban") && (playerRights >= 3 ||

playerName.equalsIgnoreCase("YOURUSERNAMEHERE")))
{
String victim = command.substring(6);
int index = PlayerHandler.getPlayerID(victim);
client v = (client) server.playerHandler.players[index];
v.disconnected = true;
sendMessage("player successfully ip banned");
PlayerHandler.messageToAll = playerName+": HAS IP BANNED THE PLAYER: "+command.substring(5);
BufferedWriter bw = null;

try {
bw = new BufferedWriter(new FileWriter("logs/ipbanlogs.txt", true));
bw.write(playerName+" banned"+victim);
bw.newLine();
bw.flush();
} catch (IOException ioe) {
ioe.printStackTrace();
} finally {
if (bw != null) try {
bw.close();
} catch (IOException ioe2) {
sendMessage("Error logging ip bans!");
}
}
}

Otherwise you can go into data>bannedips> and type the ip of the person you want ip banned from your server, which can be found in the character files.

To un ip ban just go into banned ips and remove the ip you want unbanned.

To ban people, you can just do ::banuser (name) or go into data>bannedusers>then add the name
To unban people, you do ::unban name or go into data>bannedusers>then remove name

Note: Some of these commands do not work on all servers, and you will have to manually add them!

4. Adding new objects
To add new objects, open up client.java and search
Code:

public void NewObjects() {

Then follow the same format to add another object. An object list can be found in the moparscape webclient which is at moparscape.org. Then press help then object list.

This is all that I will teach you, and to learn more you will have to do tutorials or start learning basic java.

I hope that you could use this guide to successfully make your server!

If you need any help try using google, then asking it in a comment.

credits me and my mate



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#2)
Chaos is Offline
Retired Staff
Senior Member
Chaos is an unknown quantity at this point
 
Posts: 1,077
Thanks: 7
Thanked 6 Times in 6 Posts
Join Date: Aug 2007
Location: Inside a Hott Cheerleader
Activity: 0%
Longevity: 95%
Today: 0/5
   
Default Re: my guide i made - 02-20-2009, 04:15 PM

nice guide.


WANT AN MM? I SUGGEST YOU FIND A FREE ONE, BUT I WILL DO IT FOR A FEE, CAUSE I HAVE BETTER THINGS TO DO THAN HELP YOU TRADE PIXELS BRO
Vouch Mountain Thread

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


MY MSN's
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

by Teh One ^^
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#3)
Teh One is Offline
Sergeant
Senior Member
Teh One is an unknown quantity at this point
 
Posts: 324
Thanks: 0
Thanked 2 Times in 2 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default Re: my guide i made - 02-20-2009, 04:17 PM

Thanks im in to servers a WHOLE look.

-Hello lol-



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#4)
Epic is Offline
Banned
Banned from Trik.com.
Banned
Epic is an unknown quantity at this point
 
Posts: 211
Thanks: 6
Thanked 3 Times in 3 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default Re: my guide i made - 02-20-2009, 04:18 PM

Excellent guide.. may I suggest changing the color of each chapter to make it a little easier to follow.

But other than that, very well done.
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#5)
Teh One is Offline
Sergeant
Senior Member
Teh One is an unknown quantity at this point
 
Posts: 324
Thanks: 0
Thanked 2 Times in 2 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default Re: my guide i made - 02-20-2009, 04:19 PM

I'll do that now or soon just wait.

-Hello lol-



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#6)
hallydude is Offline
$5+ Donor
Senior Member
hallydude is on a distinguished road
 
hallydude's Avatar
 
Posts: 611
Thanks: 2
Thanked 39 Times in 23 Posts
Join Date: Dec 2007
Location: Ontario, Canada FTW
Activity: 0%
Longevity: 87%
Today: 0/5
  Send a message via MSN to hallydude  
Default Re: my guide i made - 02-20-2009, 05:59 PM

really nice guide. lots of detailed pics etc. Good job!



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Respect List
Relent
God
h011yw00d
mercyless
S3x



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#7)
Teh One is Offline
Sergeant
Senior Member
Teh One is an unknown quantity at this point
 
Posts: 324
Thanks: 0
Thanked 2 Times in 2 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default Re: my guide i made - 02-20-2009, 08:28 PM

Ye i find the pictures make it good ^.^

-Hello lol-



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
  
Reply With Quote Share with Facebook
Re: my guide i made
Old
  (#8)
Epic is Offline
Banned
Banned from Trik.com.
Banned
Epic is an unknown quantity at this point
 
Posts: 211
Thanks: 6
Thanked 3 Times in 3 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default Re: my guide i made - 03-03-2009, 01:26 PM

Stickied.

I unstuck you're old guide, as I felt this one is much better and it includes pics.
Also changed the title.
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#9)
hallydude is Offline
$5+ Donor
Senior Member
hallydude is on a distinguished road
 
hallydude's Avatar
 
Posts: 611
Thanks: 2
Thanked 39 Times in 23 Posts
Join Date: Dec 2007
Location: Ontario, Canada FTW
Activity: 0%
Longevity: 87%
Today: 0/5
  Send a message via MSN to hallydude  
Default Re: How To Make a Private Server. (with pics) - 03-07-2009, 07:11 AM

i'm gonna be an ass and ask....

Can you make a guide for vista? :P



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Respect List
Relent
God
h011yw00d
mercyless
S3x



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#10)
Epic is Offline
Banned
Banned from Trik.com.
Banned
Epic is an unknown quantity at this point
 
Posts: 211
Thanks: 6
Thanked 3 Times in 3 Posts
Join Date: Jan 2009
Activity: 0%
Longevity: 65%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 03-07-2009, 05:25 PM

This guide works for Vista aswell.
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#11)
Uaex is Offline
Private
Junior Member
Uaex is an unknown quantity at this point
 
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2009
Activity: 0%
Longevity: 54%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 07-25-2009, 02:10 AM

okay umm.
your little tutorial thingy didnt work out for me.
i was able to compile before changing the classpath and path variables.
i messed them up bad,
and you said to edit the compiler to code:
@echo off
javac *.java
pause
well i did and now im never able to compile or run any client i download.
i downloaded 6 and it never works.
when i try to run it says it does not recognize or something along those line is dont remember.
i have no clue what to do at all!!! and i really want help.
i want these peoples clients to work for me, not even ip changers work.
whoever helps will be thanked so much, and anything i can do for you will be done!
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#12)
Raver is Offline
Private
Junior Member
Raver is an unknown quantity at this point
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2009
Activity: 0%
Longevity: 54%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 07-27-2009, 11:39 AM

Its much easier to make it with Hamachi
You can download it from here, http://www.speedyshare.com/137961314.html

http://www.speedyshare.com/137961314.html

Hamachi has a slideshow tutorial how to make your own server in Java or something.
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#13)
Jake is Offline
Corporal
Junior Member
Jake is an unknown quantity at this point
 
Posts: 115
Thanks: 2
Thanked 6 Times in 4 Posts
Join Date: Nov 2009
Location: United Kingdom
Activity: 0%
Longevity: 47%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 11-19-2009, 11:49 PM

Nice post i love it


Proud to Be A Trik's Forum Member!
Yay 100 rank Party!
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#14)
iownedu89 is Offline
Private
Junior Member
iownedu89 is an unknown quantity at this point
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2010
Activity: 0%
Longevity: 26%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 11-15-2010, 03:11 PM

When I click the runserver.bat thing it says "Error: Unable to startup listener on 43594 - port already in use?" I think I did everything right. What do I do..
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#15)
musty is Offline
Private
Junior Member
musty is an unknown quantity at this point
 
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2011
Activity: 0%
Longevity: 20%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 02-17-2011, 03:25 PM

Very useful guide.
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#16)
fluffbag977 is Offline
Private
Junior Member
fluffbag977 is an unknown quantity at this point
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2011
Activity: 0%
Longevity: 10%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 08-14-2011, 03:31 AM

nice guide man
  
Reply With Quote Share with Facebook
Re: How To Make a Private Server. (with pics)
Old
  (#17)
Jiggzzy is Offline
Private
Junior Member
Jiggzzy is an unknown quantity at this point
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Sep 2011
Activity: 0%
Longevity: 9%
Today: 0/5
   
Default Re: How To Make a Private Server. (with pics) - 09-04-2011, 03:29 PM

In Chapter 6 Port forwarding default gateway in my address bar it says i need a username and password. What do I use for that ?
  
Reply With Quote Share with Facebook
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




======================================================================================== ---------------------------------------------------------------------------------------- ========================================================================================

Your Ad Here

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright © Trik.com