Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Starting a 562 Server

Newbie Spellweaver
Joined
Aug 4, 2011
Messages
74
Reaction score
3
First, Some files you must download:




or

1. Extract Client and File using WinRAR

You can extract at desktop, its better view

2. Changing Your JDK Version

go to Server Folder, open 'runserver.bat' file with notepad (or just right-click and click edit)

Look for something like that

Code:
C:\Program Files\Java\jdk1.6.0_17\bin\javac

Change to you jdk version

Code:
C:\Program Files\Java\[B]JDK VERSION HERE!![/B]\bin\javac

Save and close.

3. Checking Client IP

Go to client folder, then src folder

open first file with notepad, scroll down to line 630 (can be checked with status bar on notepad)

You will see something like that

Code:
if (string.endsWith("[B]127.0.0.1[/B]"))

if the ip isnt 127.0.0.1 change it.. but i think will be at localhost ip already

Save and close

4. Running Server

At this point all ips and stuff must be okay, run the runserver.bat then open the client, it will load

5. Making it online (HAMACHI WAY)

Go to hamachi and make a network with id and pass.
Get your players to download hamachi and enter on this network
Play

5.1 Making it online (NO-IP WAY)
Download NO-IP
Make sure you got your router port opened!
Make a host
change IP on client (on local host client it dont need)
Play

I will put pics and more details soon, for more info like port openning etc, use search bar
 
Last edited:
There's no RL just AFK
Loyal Member
Joined
May 2, 2006
Messages
473
Reaction score
6
Using hamachi is advised against, but if you choose to use it you cannot change the ip from the one they give you, and all users must join your hamachi channel.
 
Experienced Elementalist
Joined
Oct 27, 2005
Messages
262
Reaction score
2
are you sur eyou uploaded properly? winrar say that file is corrupted when i axtract it ( client) reupload please.
 
Newbie Spellweaver
Joined
Dec 8, 2011
Messages
13
Reaction score
1
starting these 500+ servers are a pain sometimes -.-
 
Newbie Spellweaver
Joined
Aug 4, 2011
Messages
74
Reaction score
3
Everything its fine, i tested it like 10 minutes ago. all downloads are working.
 
Initiate Mage
Joined
Dec 27, 2011
Messages
2
Reaction score
0
Ok... I'm having a problem starting up the server... here's the window when it hangs up:

Preparing...
A subdirectory or file bin already exists.
1 file(s) copied.
1 file(s) moved.
Compiling core...
completed...
running server...
[2011/12/27 17:16:54] [Fatality]: rs2hd framework
[2011/12/27 17:16:54] [Fatality]: Loading Clans...
[2011/12/27 17:16:54] [Fatality]: Loaded 35 clans.
[2011/12/27 17:16:54] [Fatality]: Loaded 15500item prices.
[ Loaded Corrupted-Pkerz 562 [Beta] Shops ]
[2011/12/27 17:16:56] [Fatality]: Reading mapdata...
[2011/12/27 17:16:56] [Fatality]: Loaded mapdata.
[2011/12/27 17:16:56] [Fatality]: loaded 0 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 3 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 4 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 5 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 19 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 29 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 36 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 38 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 45 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 47 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 63 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 66 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 68 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 69 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 76 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 78 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 79 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 84 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 87 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 89 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 91 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 92 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 112 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 114 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 117 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 119 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 123 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 140 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 141 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 147 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 148 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 152 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 158 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 163 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 165 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 166 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 170 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 171 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 172 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 173 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 182 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 189 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 190 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 193 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 194 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 202 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 205 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 206 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 207 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 216 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 217 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 221 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 226 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 229 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 234 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 235 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 244 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 248 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 253 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 254 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: loaded 255 PacketHandlers.
[2011/12/27 17:16:56] [Fatality]: Loading item definitions...
[2011/12/27 17:17:01] [Fatality]: Loaded 11720 item definitions.
[2011/12/27 17:17:01] [Fatality]: Loading npc definitions...
[2011/12/27 17:17:01] [Fatality]: Loaded 105 npc definitions.
[2011/12/27 17:17:01] [Fatality]: Setting up world...
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.converters.Conversion
Exception: Cannot construct com.rs2hd.model.NPC as it does not have a no-args co
nstructor : Cannot construct com.rs2hd.model.NPC as it does not have a no-args c
onstructor
---- Debugging information ----
message : Cannot construct com.rs2hd.model.NPC as it does not have a
no-args constructor
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAcces
sException
cause-message : Cannot construct com.rs2hd.model.NPC as it does not have a
no-args constructor
class : java.util.ArrayList
required-type : com.rs2hd.model.NPC
path : /list/npc
line number : 2
-------------------------------
[2011/12/27 17:17:01] [Fatality]: Cannot construct com.rs2hd.model.NPC as it doe
s not have a no-args constructor : Cannot construct com.rs2hd.model.NPC as it do
es not have a no-args constructor
---- Debugging information ----
message : Cannot construct com.rs2hd.model.NPC as it does not have a
no-args constructor
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAcces
sException
cause-message : Cannot construct com.rs2hd.model.NPC as it does not have a
no-args constructor
class : java.util.ArrayList
required-type : com.rs2hd.model.NPC
path : /list/npc
line number : 2
-------------------------------
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.convert(TreeUnmarshaller.java:88)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.AbstractReferenc
eUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.convertAnother(TreeUnmarshaller.java:75)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.convertAnother(TreeUnmarshaller.java:59)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.converters.collection
s.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:77)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.converters.collection
s.CollectionConverter.populateCollection(CollectionConverter.java:68)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.converters.collection
s.CollectionConverter.unmarshal(CollectionConverter.java:61)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.convert(TreeUnmarshaller.java:81)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.AbstractReferenc
eUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.convertAnother(TreeUnmarshaller.java:75)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.convertAnother(TreeUnmarshaller.java:59)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.TreeUnmarshaller
.start(TreeUnmarshaller.java:142)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.core.AbstractTreeMars
hallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.XStream.unmarshal(XSt
ream.java:907)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.XStream.unmarshal(XSt
ream.java:893)
[2011/12/27 17:17:01] [Fatality]: com.thoughtworks.xstream.XStream.fromXML(XStre
am.java:845)
[2011/12/27 17:17:01] [Fatality]: com.rs2hd.model.World.setEngine(World.java:375
)
[2011/12/27 17:17:01] [Fatality]: com.rs2hd.GameEngine.<init>(GameEngine.java:15
2)
[2011/12/27 17:17:01] [Fatality]: com.rs2hd.Server.<init>(Server.java:75)
[2011/12/27 17:17:01] [Fatality]: com.rs2hd.Main$1.run(Main.java:35)
[2011/12/27 17:17:01] [Fatality]: java.lang.Thread.run(Unknown Source)
 
Last edited:
Newbie Spellweaver
Joined
Mar 25, 2012
Messages
5
Reaction score
1
When I extract the client I get a error saying the file is broken :\ I guess ill look for another 562 client
 
Initiate Mage
Joined
Apr 27, 2012
Messages
1
Reaction score
0
[2011/12/27 17:17:01] [Fatality]: Cannot construct com.rs2hd.model.NPC as it doe
s not have a no-args constructor : Cannot construct com.rs2hd.model.NPC as it do
es not have a no-args constructor

In case you get an error like
Code:
Exception: Cannot construct com.rs2hd.model.*** as it does not have a no-args constructor : Cannot construct com.rs2hd.model.*** as it does not have a no-args constructor

Go to the file that error came from on the location:
src/com/rs2hd/model/***.java and open it.

In the beginning you will see:
Code:
public class *** extends *{

Go down until you see the first function and put
Code:
public ***(){}

In front of it, this will add a constructor function WITHOUT arguments to the class which from as far as I can see is required for some reason.

Don't be silly, replace *** with the class name.

This comes from someone with almost no Java knowledge. (Just PHP, C++ and Lua)

Hope this helps :thumbup1:
 
Joined
Dec 30, 2006
Messages
595
Reaction score
25
Hey, guys!

So, this is the first time ever I play around with RS server files, in fact it's been years since I last played the original game, but I got very curious and wanted to play :)

So, I came into a problem: the client I got from this thread just freezes during loading at the update part. It says it connected to the update server and never does anything after that. And I don't really know where to start.

Also, I can't seem to figure out where I can control the server more. I'd like to make my own player and start changing things but I just don't know where to go. I tried going to "127.0.0.1:43594" but the browser just sends me an empy file with no extension named "download".

Can anyone give some assistance?
 
Initiate Mage
Joined
Feb 6, 2013
Messages
4
Reaction score
0
In case you get an error like
Code:
Exception: Cannot construct com.rs2hd.model.*** as it does not have a no-args constructor : Cannot construct com.rs2hd.model.*** as it does not have a no-args constructor

Go to the file that error came from on the location:
src/com/rs2hd/model/***.java and open it.

In the beginning you will see:
Code:
public class *** extends *{

Go down until you see the first function and put
Code:
public ***(){}

In front of it, this will add a constructor function WITHOUT arguments to the class which from as far as I can see is required for some reason.

Don't be silly, replace *** with the class name.

This comes from someone with almost no Java knowledge. (Just PHP, C++ and Lua)

Hope this helps :thumbup1:
i did plased the part. still i get the error help me plese
Code:
package com.rs2hd.model;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Random;
import java.util.HashMap;
import java.util.*;
import com.rs2hd.event.Event;
import com.rs2hd.model.NPCDrop.Drop;
import com.rs2hd.GameEngine;
import com.rs2hd.content.Combat.CombatType;
import com.rs2hd.content.DeathEvent;
import com.rs2hd.model.Hits.Hit;
import com.rs2hd.util.Misc;

/**
 * Represents a 'non-player' character in the game.
 * @author Graham
 *
 */
public class NPC extends Entity {
public int giveDrop = 0;
private transient boolean IsFamiliar = false;
public transient int AttackStyle = 0;
public transient int NPCCharges = 0;
public transient boolean UsingThis = false;
public transient int NPCDamage[] = new int[14];
public transient boolean npccanloot=false;
private transient NpcWalk NpcWalk;
public NPC(){}    
public Item dropId(int id, int amt) {
    return new Item(id, amt);
}
 
Newbie Spellweaver
Joined
Jan 10, 2014
Messages
12
Reaction score
1
I had the same problem I used MrBanjo's post and fixed it. NPC, Locator, and items had to have the code added to it.

I edited the files and uploaded them. just replace the with the old ones and the server should run good

 
Back
Top