View Full Version : Starting a 562 Server
Ishana
September 4th, 2010, 12:15
Starting 562 Server
Introduction
Many people believe that private servers are illegal, actually there that is half true because the source is user made, while the client is Jagex made, so the client is illegal while the source is not!
Parts
Part 1 : Downloading Java and JDK
Part 2 : Downloading Client and source
Part 3 : Editing "run" and "compile" files
Part 4 : Client
Part 5 : Portforwarding
Part 6 : Source
Part 1: Downloading Java and JDK
Introduction
If you played RuneScape before, you should already have Java but in case you did not download it or decided to uninstall it for some reason this will help you.
Java
First of all, go to Java.com (Only the registered members can see the link.) and then click on "Free Java download" button in red
Only the registered members can see the link.
If you don't have Java, you will get this page, click on "Agree and start downloading"
Only the registered members can see the link.
If you already downloaded Java, the website will then check if you have the latest version, if you do not have the latest version, website will ask you to download it, agree to download it.
Only the registered members can see the link.
Download the file, and then double click it to run.
Only the registered members can see the link.
If you are using Windows7 and you get this message, click yes
Only the registered members can see the link.
You will then get this message, click Install.
Only the registered members can see the link.
You will then get this download message, just wait for it to finish.
Only the registered members can see the link.
After the download message is done, the installer will begin, wait for it to finish.
Only the registered members can see the link.
If nothing went wrong, you should get this message.
Only the registered members can see the link.
Click on close button
JDK
JDK stands for "Java Development Kit", and it is important so the compiler could work!
First of all, go to Oracle.com Java downloads (Only the registered members can see the link.)
Only the registered members can see the link.
Click on this icon Only the registered members can see the link.
Scroll down, until you see this.
Only the registered members can see the link.
First, choose "Accept License Agreement".
Only the registered members can see the link.
If you get this message.
Only the registered members can see the link.
Look down until you find Windows install
Only the registered members can see the link.
Knowing which one to choose is really easy, If you are using windows7 then on your keyboard, click "Windows + Pause Break"
Only the registered members can see the link.
You will then have this window open
Only the registered members can see the link.
What you need to look here for is this
Only the registered members can see the link.
If it says 32 bit download the x86, and if it says 64 bit then download the x64.
Download the file and then click on save, it should take from 5 minutes to 10 minutes max.
Run the downloaded file, keep clicking on next and then wait for it to install (like before)
Congratulations, you now have JDK and Java!
Part 2: Downloading Client and source
Downloading client and source
You can't start editing a private server unless you have the files right?
First of all go to the Downloads (Only the registered members can see the link.) section and choose a source and a client that you like.
Recommended
None, At the moment.
Extracting
After downloading the source and client, you will need to extract them, to do that right click the file
Only the registered members can see the link.
Click on extract files
Only the registered members can see the link.
When this window opens, do not change anything and then click ok
Only the registered members can see the link.
Wait for it to extract
Only the registered members can see the link.
Congratulations, you downloaded a source, a client and you extracted them!
Part 3: Editing "run" and "compile" files
Run, runs the server or client, and compile compiles them.
A compiler is a translator that changes Java codes to computer language so the computer can understand them.
Run
First of all go to : C:\Program Files\Java
Only the registered members can see the link.
Find the folder that says jre
Only the registered members can see the link.
right click that and click rename
Only the registered members can see the link.
right click the name and click on copy that
Only the registered members can see the link.
go to run server and replace the jre there with the one you have
Right click run or runserver and then click on Edit
Only the registered members can see the link.
for example this is what I had
Only the registered members can see the link.
I have to replace it to
Only the registered members can see the link.
Compile
First of all go to : C:\Program Files\Java
Only the registered members can see the link.
Find the latest jdk version, for example mine here is 1.7.0_02
Only the registered members can see the link.
Right click on the folder of the latest jdk and click rename
Only the registered members can see the link.
then copy the name
Only the registered members can see the link.
Right click on compile in source or client and then click on Edit
Only the registered members can see the link.
Hightlight the jdk version in the text file, then paste the one you have in copy
Only the registered members can see the link.
Congratulations, you have edited, run and compile files!
Part 4: The client
Introduction
A Client is a Graphical user interface (GUI) and a connector at the same time.
(Correct me if I am wrong)
Changing Client IP
Now that you have downloaded the source and the client, First go to the client files then open the folder called "src" and then search for client or client.java, right click that and open as notepad
Only the registered members can see the link.
When notepad is open, go to the top bar in notepad and then click on edit and then on find (Shortcut Ctrl + F)
Only the registered members can see the link.
Write in the search bar 127.0.0.1 and then click "Find next"
Only the registered members can see the link.
If it can't be found then search for "localhost", if not then search for "no-ip" (Without the quotes).
I found mine here
Only the registered members can see the link.
then change it with yours! (Read below on how to find out your ip)
Finding computer IP and port forwarding
If you want to play locally, then leave the IP as 127.0.0.1.
If you want others to connect to your server, then follow the steps below.
Finding computer IP
First of all, you need to know that IP means internet protocol and that Internet protocol is a unique address for each computer, just like your home address but computer related.
Finding your IP is easy, just go to whatismyip.com (Only the registered members can see the link.) or search in Google for : (Exactly as it is including the [ and ] )
Only the registered members can see the link.
copy the numbers below and then go to your client file and then replace 127.0.0.1 or localhost with that number.
After that run compile file
Part 5: Portforwarding
Port forwarding is like opening a gateway so that online users can pass through to your computer to the server.
Portforwarding is simple, first of all you must have a router either wireless or not.
Example of a router
Only the registered members can see the link.
If you are a windows 7 user, click on Start Only the registered members can see the link.
in the search bar, write "cmd" (Without quotes)
Only the registered members can see the link.
when the window opens, write ipconfig then click enter
under Ethernet adapter, you should find IPV4 Address (IP version 4), Subnet mask & Default gateway.
Write those on paper or on notepad.
Only the registered members can see the link.
#1 = gateway
#2 = IPV4 Address
#3 = Subnet mask
Right Click the network icon in your taskbar
Only the registered members can see the link.
Click on "Open network and sharing center"
Only the registered members can see the link.
There will be a list of active networks, click on the one with the Access type : Internet
Only the registered members can see the link.
A window will open, click on properties (Might need Administrator privileges)
Only the registered members can see the link.
The list below will have Internet protocol version 4, choose that and then click on Properties
Only the registered members can see the link.
WARNING : DO NOT UNCHECK ANYTHING!
A new window will open, click on "use the following IP address"
Write in the info you got from the cmd window before
Example
Here is mine
Only the registered members can see the link.
#1 = gateway
#2 = IPV4 Address
#3 = Subnet mask
Enter the gateway in preferred DNS server.
This is what I need to enter
Only the registered members can see the link.
After you are done entering the information, Keep clicking on the Ok buttons until you close all the windows.
Opening the port
Open your internet browser, write in the url bar your gateway.
for me it was 192.168.1.1, it should ask you for a username and password.
If it is on default then try any of those options in this link
Default Router Passwords (Only the registered members can see the link.)
Since my router can not portforward, I can no longer complete the portforwarding area of my tutorial
My advice is to find your router at portforward.com (Only the registered members can see the link.) and then follow their guide.
Part 6: The source
The source, a user made framework in which the client connects to and receives packets from.
Commands
Commands, are orders/packets sent from the client chat to the server in order to preform a certain task.
Commands folder can be found at the folder : src\com\rs2hd\packethandler
find commandspackethandler and then right click it and open with notepad
Only the registered members can see the link.
Adding items
Here is an example of a command I made a while ago to add whip to the players inventory when the player writes ::whip in chat
if(cmd[0].equals("::whip")) {
player.getInventory().addItem(4151, 1);
}
The explanation of this code in English is,
If command ::whip is entered in chat, add item with the id 4151 and add only 1
Teleporting
Here is an example of a command I made a while ago to add whip to the players inventory when the player writes ::staffzone in chat
if(cmd[0].equals("::staffzone")) {
player.tele(3222, 3225, 0);
player.getActionSender().sendMessage("You are now in Lumbridge! looool");
}
The explanation of this code in English is,
If command ::staffzone is entered in chat, change player X axis to 3222, Y axis to 3225 and Z axis to 0
then send a message to the player who entered the command containing "You are now in Lumbridge! looool".
Show interface
Here is an example of a command I made a while ago to add whip to the players inventory when the player writes ::rules in chat
if(cmd[0].equals("::rules")) {
player.getActionSender().sendInterface("275");
}
The explanation of this code in English is,
If command ::rules is entered in chat, the interface with the id 275 will be opened!
Common coding errors
[I]Error 1: Curly brackets (100 errors)
This is the most asked question of all time, so read this carefully
(Below in this screenshot, I have used Notepad++ (Only the registered members can see the link.) to highlight the curly brackets)
Only the registered members can see the link.
As you can see in the picture above, curly brackets is a must to start and end the "if statement".
Warning : Compiler will give 100 errors if you have a missing curly bracket!
Here is an example of a missing curly bracket
Only the registered members can see the link.
As you can see, the next bracket does not exist!
Error 2 : Misspelling
Misspelling is really common any time, even if you are not programming of course you can still misspell!
Misspelling in programming is not so different than writing a sentence or a paragraph.
Example
Only the registered members can see the link.
If you compare this picture with the one in the previous error, You will find out that the i in
player.getInventory().additem(4151,1)
have actually turned from capital I to i , yes that will give you an error and it's really common and hard to notice!
of course the fix would be
player.getInventory().addItem(4151, 1);
Error 3 : imports and packages
Sometimes if you are following a copy and paste tutorial or coding on your own this will get in your way sometimes!
Imports are used to read functions and variables from another file, so that it can be used in the file you are editing.
Packages are folders basically, as you are telling the compiler that this file is in that folder you mentioned
Example
Only the registered members can see the link.
As you can in the picture, the package is
package com.rs2hd.packethandler;
In English that means that the file is in the folder path com/rs2hd/packethandler
for imports, again as you can see in the picture
import com.rs2hd.GameEngine;
In English that means, go to the path com/rs2hd and then read the file called GameEngine.
Only the registered members can see the link.
See? it is there!
Player rights
Player rights are ranks, like exactly on this forums.
0 = Player
1 = Mod
2 = Admin
3 = Owner
4+ = Owner with no crown
Changing a player rank is really easy, and it must be changed from the player save file which can be found at the folder : data\savedgames
Featured tutorial New
[562 RS2HD] Making your Server Run with the 562 loading 602 client (Only the registered members can see the link.)
Tutorial is now done! If you have any questions please feel free to ask!
Ishana
September 4th, 2010, 12:17
You can post if you want ;)
Any suggestions/questions please don't be scared to say ;)
Joe
September 4th, 2010, 19:13
good luck <3 i suggest making minigames like clan wars and soul wars tutorial
Cart
September 4th, 2010, 19:17
show them how to change the ip address.
Ishana
September 4th, 2010, 19:20
good luck <3 i suggest adding minigames like clan wars and soul wars
o.O
show them how to change the ip address.
Good idea thanks bro
blood rush20
September 4th, 2010, 19:21
Better than most other starting your own.... more detailed to =) Great way to start off for beginners GJ! PS. Metion about the js5_connection can happen if your servers on and to reload client til it works not many people know and get mad
Malik
September 4th, 2010, 19:23
Nice so far, mind adding some more things like adding NPC's and making them move?
iiNarbz
September 4th, 2010, 19:40
This is nice show them how to make their selfs admin/mod on a 562 and how to spawn :)
Ishana
September 4th, 2010, 19:51
@Blood rush
@Malik
Added thanks guys ;)
420
September 4th, 2010, 19:58
Very nice and very detailed :)
shockys
September 4th, 2010, 20:13
Very nice, try adding in the glitch when you log out\in and screen is black.
Easy fix for people who don't have it
scootersam
September 4th, 2010, 21:27
v ncie tut man also add in you can goto data>scripts>authentication.py or something like that and change welcome message there i do it there and its alot better :)
bwuk
September 4th, 2010, 21:58
Good luck, Looks good to ;)
Ishana
September 4th, 2010, 21:58
Thanks! i totally forgot about that (Didn't do 562 in a long time and started to get back)
Ramsin
September 4th, 2010, 22:02
Nice tutorial add pictures would make it look better.
Cjay0091
September 4th, 2010, 22:45
Show them how to declare and import, as that is a probem for lots of errors.
Yaymyshow
September 4th, 2010, 23:30
to spawn a npc is different to 562 btw.
Ishana
September 5th, 2010, 00:05
to spawn a npc is different to 562 btw.
I spawned some npcs already and they work fine for me :p
U using RS2HD?
420
September 5th, 2010, 00:08
Omg I just noticed the "recommended source" and it was mines XD ily :)
Ishana
September 5th, 2010, 14:59
Wow it's yours? didn't know that :p
Good job on it btw ;)
bwuk
September 5th, 2010, 15:12
Good luck with this project ;)
iMarket
September 6th, 2010, 01:05
Thanks this help me out alot
Ishana
September 6th, 2010, 15:52
Glad to help ;)
Cart
September 6th, 2010, 16:11
Good luck with this project ;)
This isnt a project lmao
Ishana
September 6th, 2010, 22:49
Yea.. i really don't get why people never reads 1st post :s
Cart
September 6th, 2010, 22:50
Yea.. i really don't get why people never reads 1st post :s
Two words, "post whore"? XD
Emily
September 7th, 2010, 14:25
if(cmd[0].equals("mypos")) {
player.getActionSender().sendMessage("Your position is: x: " + player.getLocation().getX() + ", y: " + player.getLocation().getY() + ", z: " + player.getLocation().getZ() + ".");
}
That isn't needed because there is already the command "coords" already added in the source lol :P
Good job though, prevents all the lame help topics that i usually have to help with
Faab234
September 7th, 2010, 14:53
if(cmd[0].equals("mypos")) {
player.getActionSender().sendMessage("Your position is: x: " + player.getLocation().getX() + ", y: " + player.getLocation().getY() + ", z: " + player.getLocation().getZ() + ".");
}
That isn't needed because there is already the command "coords" already added in the source lol :P
Good job though, prevents all the lame help topics that i usually have to help with
Also RS2HD and palidino nio?
Emily
September 7th, 2010, 15:03
Also RS2HD and palidino nio?
Yes, unless programmed from scratch. I can't think of a released 562 server, that doesn't have that command, and anyways its fairly easy to understand how to make the command anyways....
mosty
September 7th, 2010, 21:47
its pretty good but ididnt know how to make it ny ways >.< it confuzed me nd its detailed :D
Ishana
September 7th, 2010, 22:33
You would rarely see a server made from scratch :p
i can't find those i had to ask Josh for his base XD
thiefxxx3
September 8th, 2010, 10:55
can you post a pic for changing the ipcause theres a huge client file
never mind found it
Derranged
September 8th, 2010, 12:02
Nice guide but many people already can get there own 562.. Only a couple dont know how to...
Ishana
September 8th, 2010, 12:32
Nice guide but many people already can get there own 562.. Only a couple dont know how to...
Can i fix this for you?
Nice guide but many people already know how to leech 562. Only a couple dont know how to...
This guide is for those who don't know ;)
Syrup
September 8th, 2010, 13:06
thanks a lot I could never figure out were anything is in 562's this helped a lot thanks :)
iBeast
September 9th, 2010, 13:56
Can anyone tell me how to change the server ip of Runeslay source?
Ishana
September 11th, 2010, 07:03
Can anyone tell me how to change the server ip of Runeslay source?
Download the client that i posted in the tut not theirs :p or open src files
client.java then search for no-ip you should find it..
apopkafury
September 11th, 2010, 17:12
How do you change the client name?
Ishana
September 12th, 2010, 00:28
I think client.java cant remember :p
legionkiller99
September 12th, 2010, 00:33
Pretty basic guide, Incredibly useful too :)
pixelpwn
September 12th, 2010, 06:48
GReat tut
bired119
September 12th, 2010, 19:07
yes i did evrything in this tutorial but i try go on my server it dosent work it sais the hole j5 connect thing! help please!
Ishana
September 14th, 2010, 14:43
You should read the part where it says open the server before the client -.-
iTStorm
September 18th, 2010, 04:42
Show them how to download JDK because most people are stupid and don't know how to...
Ishana
September 20th, 2010, 16:50
i think they can just google it if they don't know what JDK is :p
dhmaster
September 21st, 2010, 17:10
Really nice tutorial. And I think it was good if you could show how to add for example d claws drop to a man if it's possible step by step because i have tryed to follow a guide but didnt get it to drop :( so if you could really nice, thanks :D
arvee16
September 21st, 2010, 19:14
i runned the server...and it says saved all players...now i runned the client...(change the ip to my ip on client.java)..but its stuck on connecting to update server...what's wrong?
godiam
September 23rd, 2010, 03:40
Good job man! This helped me a lot.
lolzor
September 24th, 2010, 12:29
Doesn't work!! Help me i am by rune server but it don't work.
Ishana
September 25th, 2010, 12:16
Really nice tutorial. And I think it was good if you could show how to add for example d claws drop to a man if it's possible step by step because i have tryed to follow a guide but didnt get it to drop :( so if you could really nice, thanks :D
Nice suggestion thanks i will add soon
@arvee16
Compile client?
@lolzor
It is not like i am giving you a client and asking you to test it
you have to tell me which part you stuck at :p
Ishana
October 15th, 2010, 15:25
3rd page bump
Stacx
October 15th, 2010, 15:37
Maybe you should stop bumping as you are only teaching the people how to create leeches, though I am not trying to come out as a dick, but truth hurts doesn't it.
Ishana
October 15th, 2010, 19:21
Maybe you should stop bumping as you are only teaching the people how to create leeches, though I am not trying to come out as a dick, but truth hurts doesn't it.
You just did... + if you think i am breaking the rules you should report it and not post about it..
and for your info.. i know the rules maybe more than you and as Marc said "If the topic was on 2nd page you can bump it"
and wtf is "create leeches?"
i am helping people.. and i see that you can create full framework from scratch? even if u do ur still leeching from runescape
Jon
October 15th, 2010, 19:29
Btw it's
player.getActionSender().sendCreateObject(ID, zzz, xxx, yyy, face, Type);
Ishana
October 15th, 2010, 19:42
Btw it's
player.getActionSender().sendCreateObject(ID, zzz, xxx, yyy, face, Type);
You just started a sentence with "BTW" (By the way)
Anyways, Thanks ;) .
cloudyscape
October 16th, 2010, 00:58
is coding this harder then coding 317?
con
October 16th, 2010, 19:35
Done everything you said - Nothing happened. :/
Ishana
October 17th, 2010, 16:55
is coding this harder then coding 317?
Depends really if you understand it.. but i can not say its harder since it have specific folder for everything you need for example
rs2hd\skills\woodcutting.java
SkyNetScape
October 17th, 2010, 19:45
Why does it say
IP 127.0.0.1
error_connect_js5connect, when someone dowloads my client? The servers on, nothing wrong (to me) with it where can i do the wrong thing?
alboboy94
October 17th, 2010, 19:46
lol the 127.0.0.1 is only for the hoster.
for the other people is your no-ip or ip.
/fp
SkyNetScape
October 17th, 2010, 19:48
look my client is working, when i go into it nothings wrong.. But i was testing it and downloading the client to my other PC to test it thats what came up
SkyNetScape
October 17th, 2010, 19:49
how do i change that
When someone downloads my client does it have to say my IP instead of 127.0.0.1 if it does how do i change it?
alboboy94
October 17th, 2010, 19:49
look my client is working, when i go into it nothings wrong.. But i was testing it and downloading the client to my other PC to test it thats what came up
on the other pc try putting your computer static ip.
how do i change that
When someone downloads my client does it have to say my IP instead of 127.0.0.1 if it does how do i change it?
client.java
SkyNetScape
October 17th, 2010, 19:51
client.java i did that, but i uploaded the client without pressing BUILD does it matter?
alboboy94
October 17th, 2010, 19:53
yes it does.........
build compiles the client for you.
SkyNetScape
October 17th, 2010, 19:53
OK, lemmie try that, btw whos this google guy? cant see his comments?
alboboy94
October 17th, 2010, 19:55
OK, lemmie try that, btw whos this google guy? cant see his comments?
lololol, its google advertisement.
SkyNetScape
October 17th, 2010, 19:55
Lol, i though he was trying to saysomthing :D
Jess
October 17th, 2010, 20:17
Lol, i though he was trying to saysomthing :D
Make Sure you build the client before uploading.
SkyNetScape
October 17th, 2010, 20:26
I just did what you said but still wont work..
SkyNetScape
October 17th, 2010, 20:55
OK look, i changed the ip to my own servers ip from the Client.java, and i clicked build, everythings done. Now when i play From my own computer this wat comes up
IP: MY OWN IP
error_game_js5connect
and i cant play, (BUT IF I CHANGE THE IP TO 127.0.0.1 FROM THE CLIENT.JAVA it works for me) and even though i dont change it, it doesnt work for my players...
Charlie`
October 18th, 2010, 14:01
Sexy Tutorial, Nice
aquzr
October 21st, 2010, 15:59
Hello someone help my i cant find the no ip code someone help my
Rog3r
October 21st, 2010, 22:55
You should continue to expand this but never the less, this is sticky worthy. Keep it up!
Ishana
October 22nd, 2010, 16:13
Thanks Rog3r!
I fixed a grammar error and made it easier to understand how to compile
Karbon
October 27th, 2010, 11:16
HIGHLY detailed and extremely informative and useful, IOW
IL this guide.
200kajillion/10
Wombat
October 27th, 2010, 11:24
nice guide soul
fightpitz
October 30th, 2010, 07:36
is there a vid to this? it would make more sense if i knew where to go in the src files. im new at coding.
`Conner
October 30th, 2010, 07:47
"C:\Program Files\Java\jdk1.6.0_20\bin\javac"
does not always work on all operating systems. Remember to add the ".exe" at the end.
buckyisdalegend
October 31st, 2010, 10:06
i would like to on my server have all the npcs
all i need is the codes and where to put those codes
Chief Smart
November 2nd, 2010, 10:56
Thanks for the nice tutorial! ;)
Will be using it! :D
EDIT: 1 more problem, how can I make other people play on my server? Khanz 562 ip changer won't allow it and if I send my friend the client it won't connect to my no-ip, but to 127.0.0.1 :s Although what i send him is already set up with the no-ip...
Please help... Thanx
David
November 2nd, 2010, 16:24
You are forgetting that you not only the starter message is in Actionsender.Java but also in Authentication.Py (On a lot servers)
`Conner
November 2nd, 2010, 16:29
Gj, this would be useful.
Chief Smart
November 2nd, 2010, 20:39
Fixed my problem allready, had to build before packaging and sending ;)
darkblitzrc
November 3rd, 2010, 03:53
Very nice and very detailed tutorial, very good my friend! keep it up :D
rep!
Chief Smart
November 4th, 2010, 23:42
Just another question... :s
For some of the commands you have to be a 'ProPlayer'... how can I make myself 1?
ty in advance ^^
alboboy94
November 4th, 2010, 23:43
Just another question... :s
For some of the commands you have to be a 'ProPlayer'... how can I make myself 1?
ty in advance ^^
proplayer? do you mean master lvl 138.
Chief Smart
November 5th, 2010, 00:06
proplayer? do you mean master lvl 138.
no in commandpackethandler.java there are several commands like this:
if(cmd[0].equals("npcreset") && Pro(player)) {
and as a normal admin u can't do them...
alboboy94
November 5th, 2010, 00:09
no in commandpackethandler.java there are several commands like this:
if(cmd[0].equals("npcreset") && Pro(player)) {
and as a normal admin u can't do them...
if(cmd[0].equals("givehidden") && (player.getUsername().equals("alboboy"))) {
Player other = World.getInstance().getPlayerList().get(World.getI nstance().getIdFromName(command.substring((command .indexOf(" ") + 1))));
other.getActionSender().sendMessage("You have been promoted to a hidden admin!");
if (other != null) {
other.rights = 4;
}
Chief Smart
November 5th, 2010, 00:18
if(cmd[0].equals("givehidden") && (player.getUsername().equals("alboboy"))) {
Player other = World.getInstance().getPlayerList().get(World.getI nstance().getIdFromName(command.substring((command .indexOf(" ") + 1))));
other.getActionSender().sendMessage("You have been promoted to a hidden admin!");
if (other != null) {
other.rights = 4;
}
I am already owner, which is even higher then hidden admin... I am very certain that that is not it, but ty for the help you have already given ;)
Clambam
November 11th, 2010, 19:21
Ok can somebody please help me. When I click "run" after i have already done runserver the server never loads. It gets stuck on updates. The little input window does not come up either. PLEASE HELP ME I WILL BE SO GREATFULL!
PSMAKER2011
November 24th, 2010, 19:25
i still get the js5 connection thing :O
Ipwnedx
November 25th, 2010, 05:02
Fucking sources all have invalid or deleted download links. Fuck this
Norman1995
December 1st, 2010, 22:25
Thanks alot for the guide!
But I do have 1 question I'm getting stuck at.
When I start my server the game engine says: Listening on port 43594.
Does this mean it is running on the port? Because when I'm trying to load the cliend it still gives the error.
Greetings,
Norman
Cart
December 1st, 2010, 22:28
Thanks alot for the guide!
But I do have 1 question I'm getting stuck at.
When I start my server the game engine says: Listening on port 43594.
Does this mean it is running on the port? Because when I'm trying to load the cliend it still gives the error.
Greetings,
Norman
Yes, it means that it is Listening/Running on Port "43594".
Norman1995
December 1st, 2010, 22:42
Uhh, that's pretty weird because I've been waiting till there, then started the client and it still gives the error :S
Thanks anyways.
Cart
December 1st, 2010, 22:45
Probs its the Client, I would DL another Client just incase.
Norman1995
December 1st, 2010, 22:48
Alright, uhhm from where if I may ask :$?
ultikiller20
December 4th, 2010, 10:13
i changed my ip in client.java but when i run.bat it says "ip:127.0.0.1" does it still work?????? for other poeple to get on???? i compiled and everything and changed my ip to *******.no-ip.biz
Karbon
December 4th, 2010, 11:09
i changed my ip in client.java but when i run.bat it says "ip:127.0.0.1" does it still work?????? for other poeple to get on???? i compiled and everything and changed my ip to *******.no-ip.biz
when you make the client for other people, you will have to change your ip on the client to your servers ip which for you would be .no-ip.biz, and for owner, you will have to use the local host ip which is 127.0.0.1
ahh barrage
December 10th, 2010, 00:44
hey umm im not quite sure what source to download because it seems like when i download them they dont have client.java when i search it so idk what to do......
Emily
December 10th, 2010, 00:47
hey umm im not quite sure what source to download because it seems like when i download them they dont have client.java when i search it so idk what to do......
That's because 562's don't have client.java's its separated into individual files :rolleyes:
Oscarrrrrrrrrrrrrrrrrrr
December 16th, 2010, 04:47
Hi i know im a total noob but how do you know where the coordinates are
And ps btw how do i let others download the client i make :P
Coolio
December 17th, 2010, 22:31
Hey nice guide.
I'm having trouble with my compile and it doesn't do anything.
Ficho
December 17th, 2010, 22:34
Hey nice guide.
I'm having trouble with my compile and it doesn't do anything.
whats the prob? i can help you..
what does it tells? post pic..
edit: or copy code/error w/e
Jordan589
December 19th, 2010, 04:14
Ok, is it me or does something always have to go wrong? I was going good open up the server and it says its running and then I go to the client that came with the source AND the client you said to download, went into client.java and put my ip in but in the console it still says its connecting to 127.0.0.1 and gives me the js5_connect error. What do I do? Oh, and I can't find the file to give myself admin. I am using RuneSource 562
iTStorm
December 19th, 2010, 04:16
Ok, is it me or does something always have to go wrong? I was going good open up the server and it says its running and then I go to the client that came with the source AND the client you said to download, went into client.java and put my ip in but in the console it still says its connecting to 127.0.0.1 and gives me the js5_connect error. What do I do? Oh, and I can't find the file to give myself admin. I am using RuneSource 562
You need to compile.
Jordan589
December 19th, 2010, 04:25
I do compile, when I edited it I put the v22 in there. This is my compile code:
@echo off
title rs2hd compiler
echo Preparing...
mkdir bin
cd src
copy log4j.xml ..
cd ..
move log4j.xml bin/
echo Compiling core...
"C:\Program Files\Java\jdk1.6.0_22\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/Main.java
echo Compiling loginserver...
"C:\Program Files\Java\jdk1.6.0_22\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/Main.java
echo Compiling packet handlers...
"C:\Program Files\Java\jdk1.6.0_22\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/packethandler/*.java
echo Compiling logging system...
"C:\Program Files\Java\jdk1.6.0_22\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/util/log/SLF4JAppender.java
echo Complete.
"C:\Program Files\Java\jdk1.6.0_22\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/tools/*.java
echo Complete.
pause
And this is what I get:
Only the registered members can see the link.
iTStorm
December 19th, 2010, 04:31
Hmm, thats correct..... Try compiling again.
Jordan589
December 19th, 2010, 04:33
Get the same thing... Do I have to run the build.bat in the client folder?
iTStorm
December 19th, 2010, 04:33
Yep.......
Jordan589
December 19th, 2010, 04:37
I run that and get
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Press any key to continue . . .
Jordan589
December 19th, 2010, 05:01
Nvm I'm in my server is working... Thanks for the help!
Coolio
December 25th, 2010, 21:22
How can i remove an npc?
Jess
December 25th, 2010, 21:23
How can i remove an npc?
Data
npc.xml or npcs.xml
Coolio
December 25th, 2010, 21:44
Data
npc.xml or npcs.xml
I'm trying to remove KBD but its not in npcs.xml
EDIT: Done and Fixed.
Coolio
December 26th, 2010, 02:03
Data
npc.xml or npcs.xml
Thanks
I wanna now change the way the object is facing. Like position, anyone know how?
weeezy
December 30th, 2010, 11:47
i stii dont know how to use the client to open any source...lol......when i download seperate source from client..i dunno what to do..to make it work :P
lllllllllllllllllllllllll
December 30th, 2010, 13:12
I suggest, for the object adding, to explain more about the face int.
for example, 0 = default, 1 = blah, 2 = blah, Etc.
Jesuz
January 9th, 2011, 19:19
Dont you need to portfoward? I might be wrong but other than that great tut. I used it to make my server ;) One prob is I cant connect to the server from the host comp. I have the IP in right etc but it wont let me connect. Let me try from another comp and ill be back ha
Felix Rodriguez
January 10th, 2011, 05:37
the server is on but i get the j5 connection error????
Cart
January 10th, 2011, 05:43
the server is on but i get the j5 connection error????
You connect via 127.0.0.1 if your hosting.
Felix Rodriguez
January 10th, 2011, 05:49
i am hosting it thats the probvlem i let it all load all the weay down then i open client i compiled the 127.0.0.1 and it still give me the error
Felix Rodriguez
January 10th, 2011, 05:49
i am hosting it thats the probvlem i let it all load all the weay down then i open client i compiled the 127.0.0.1 and it still give me the erro
Boneknapper
January 13th, 2011, 16:42
I'm still stuck on the updates as well, it won't load past the updates...
Help please? :]
Excorcist
January 14th, 2011, 20:26
Incredibly helpful! Got me going on my server. Definitely recommended to all the beginners out there.
Ishana
January 14th, 2011, 21:35
i am hosting it thats the probvlem i let it all load all the weay down then i open client i compiled the 127.0.0.1 and it still give me the erro
Run the server wait 2 mins then run the client
@Excorcist
Thank you :)
Killz u
January 22nd, 2011, 14:24
your compiler method isnt right for windows 7 if the tut is old i suggest updating it now and then but besides that everthing looks good
Ninoboot
January 28th, 2011, 18:02
heey,
Thank you for coding i did,
but how can i start a server i mean,,
that peoples can play it..
heroin
February 2nd, 2011, 15:55
i'm getting connecting to update server, do i need to download the 562 cache?
Ishana
February 2nd, 2011, 16:19
your compiler method isnt right for windows 7 if the tut is old i suggest updating it now and then but besides that everthing looks good
I have windows 7, it works the damn way windows works lol
i'm getting connecting to update server, do i need to download the 562 cache?
Mostly it is in the client
run the server, wait 5 mins then run the client
heroin
February 2nd, 2011, 19:17
I've done that, still doesn't work, do i need new client?
samiamnot
February 11th, 2011, 22:43
Nice tut.
jeremy1018
March 8th, 2011, 21:39
Can i ask what it means by open server because im at the part where you open client and you get the error part...and i dont get "open the server"?
Pot Up
March 8th, 2011, 21:40
Open the Batch file called RunServer in most 562's
jeremy1018
March 8th, 2011, 21:52
anyone have an AIM or anything that can kinda help me?
Itune2Rs2
March 12th, 2011, 16:26
You helped a lot. You should add the server message such as:
[SERVER] VOTE TODAY Website
Armo4life1
March 17th, 2011, 06:57
Ahh Very nice Good Job :)
Brave
March 17th, 2011, 21:01
Nice And Detailed, thanks.
specced v2
April 3rd, 2011, 07:43
good luck <3 i suggest making minigames like clan wars and soul wars tutorial
yeh that would be beast
David
April 3rd, 2011, 16:46
Open the Batch file called RunServer in most 562's
it's called runserver, without capitals ;)
XterierK
April 11th, 2011, 11:26
I love your simplicity explaining, please post MOAR!!
rapidzkid
April 15th, 2011, 12:16
Your the best person i could ever have
thanks a lot and love you after my mom and my dad
Ishana
April 15th, 2011, 12:17
Your the best person i could ever have
thanks a lot and love you after my mom and my dad
Uh.. Thanks I guess
anialator
April 18th, 2011, 13:56
hi i got A suggestion!
how about how to add/edit npc drops?
THT WOULD BE AWESOME
other than that, 10/10 (if u add that 11/10 :D )
EDIT: allso nice spoiler: Last night i dreamed of U. This morning my first thought was U. I thought of U the whole day. I think i love U.. Tomorrow maybe i'll think of V. Then W,X,Y and Z
David
April 18th, 2011, 16:00
hi i got A suggestion!
how about how to add/edit npc drops?
THT WOULD BE AWESOME
other than that, 10/10 (if u add that 11/10 :D )
EDIT: allso nice spoiler: Last night i dreamed of U. This morning my first thought was U. I thought of U the whole day. I think i love U.. Tomorrow maybe i'll think of V. Then W,X,Y and Z
There are lots of tutorials about that, check the tutorial list.
Also, that edit makes no sense and isn't funny at all.
tedhead2
April 18th, 2011, 16:02
There are lots of tutorials about that, check the tutorial list.
Also, that edit makes no sense and isn't funny at all.
I do believe I posted one on how to do that...
David
April 18th, 2011, 16:03
I do believe I posted one on how to do that...
Yeah you did -> Only the registered members can see the link.(accualy-adding-it-so-it-works)
Fallen Leaves
April 22nd, 2011, 14:18
Doesn't work for me...
Using that Jagex-Scape source, and if I do that Runserver thingy, it can't find a path or something..
And when I try to do the "run" thing at the client I get this:
Java isn't recognized as a internal or external thingy, program or batch file..
I'm Dutch so had to "translate" the errors.. poorly xD
Cbots
April 22nd, 2011, 14:22
Doesn't work for me...
Using that Jagex-Scape source, and if I do that Runserver thingy, it can't find a path or something..
And when I try to do the "run" thing at the client I get this:
Java isn't recognized as a internal or external thingy, program or batch file..
I'm Dutch so had to "translate" the errors.. poorly xD
I Can Fix This For U Easy u just have it running the wrong Version of Java Or Jdk
Fallen Leaves
April 22nd, 2011, 14:37
Cbots, Thx.
I changed the JDK thingy in the runserver, now it runs normally compared to the first time xD
But now I have another problem: at the runserver thingy, it goes all the way to Listening to port 43594, SAVED ALL PLAYERS, and it does that SAVED ALL PLAYERS thing for 5 minutes now..
Also?
Which version of Java do I need?
My "run" thingy in the client says this btw:
@echo off
java -cp bin;lib/clientlibs.jar client 0 live english game0
pause
Cbots
April 22nd, 2011, 14:38
When It Says [SEVED PLAYERS] it should do it every 30 secs That just saving all ur char Files from server
Fallen Leaves
April 22nd, 2011, 14:51
Thx.
But my "run" (client) still doesn't work..
Still the same java thingy error.. :(
Sulfur
April 22nd, 2011, 16:10
Hmm i think i might have the same error as you, still waiting for someone to help :s :/
Fallen Leaves
April 22nd, 2011, 17:15
Tell me when ya got the solution? :P
Fallen Leaves
April 22nd, 2011, 21:15
Got it, (other pc atm)
But how do you make it possible for people to play your server?
(No webclient, just client dl and play)
Cart
April 22nd, 2011, 21:17
Got it, (other pc atm)
But how do you make it possible for people to play your server?
(No webclient, just client dl and play)
PortForward and IP duc.
00nightmare3
April 25th, 2011, 04:50
actually its
0=regular player
1=mod
2=admin
you have to add 3 in by itself
Tommy thompson
May 1st, 2011, 18:12
Hey thanks can you show us how to change the ip i cant find it thanks
Hey thanks can you show us how to change the ip i cant find it thanks
Client.java search "43594" should be near the 2nd set.
replace that number for example "Server.no-ip.biz" with the IP you want.
thefree3
May 10th, 2011, 06:37
[CENTER]
Client Errors
js5_connection : If you get that error that means you opened the client before you open the server so you must FIRST OPEN THE SERVER (And wait for it to load and get to the point where it says port opened) THEN open THE CLIENT
can you do a vidoe or explain more i cant fix it
Dean
May 10th, 2011, 06:40
can you do a vidoe or explain more i cant fix it
I think Ishana quit.. :\
David
May 10th, 2011, 06:51
I think Ishana quit.. :\
That doesn't means no-one else can make it, does it?
thefree3
May 10th, 2011, 10:54
That doesn't means no-one else can make it, does it?
i still need help over here
lewis0001
May 10th, 2011, 11:06
start up the server file first... then open the client and it should work
thefree3
May 10th, 2011, 11:07
start up the server file first... then open the client and it should work
i did that and still not working some peapple said its the cache what that mean?
lewis0001
May 10th, 2011, 11:09
idk about 562 you just need to make sure the server is already running before you open the client, (thats what the error means) make sure you close all of them n dont have like 400 clients running or spme waste like that :)
mxny
May 10th, 2011, 16:50
i did that and still not working some peapple said its the cache what that mean?
first be sure to open 1 "run server" file and make sure you port forwarded + made no-ip enabled and the noip is on
jokerman004
May 14th, 2011, 23:57
how do you fix error_game_js5connect?
CodyV20
May 15th, 2011, 03:09
how do you fix error_game_js5connect?
Goooooooogggggleeeeeeeeeee
Scotticus
May 15th, 2011, 03:25
Goooooooogggggleeeeeeeeeee
This ^^
Or you could just learn to read a book.. Like ''Java for dummies'' Something like that.
darknationpk
May 15th, 2011, 03:27
In your local library Theres books about java
Scotticus
May 15th, 2011, 03:28
In your local library Theres books about java
Exactly my point :p
David
May 15th, 2011, 08:31
This ^^
Or you could just learn to read a book.. Like ''Java for dummies'' Something like that.
I have a huge book of java in 906 pages. Some things are definitely good explained, but too bad there aren't any practices in it.
Crocodile
May 20th, 2011, 19:56
uhm guys when I open a source to and go to client.java when i hit open it says the file can not be found or something like that then asks if it wants my computer to find it over the internet..
Cart
May 20th, 2011, 20:05
uhm guys when I open a source to and go to client.java when i hit open it says the file can not be found or something like that then asks if it wants my computer to find it over the internet..
Sounds like your opening Client.class instead of "Client.Java" if not, right-click and open with Notepad.
Crocodile
May 20th, 2011, 20:17
okay thanks :)
Pickaxe
May 25th, 2011, 05:47
Thanks you helped me a lot! :)
Wedidnotdie
May 27th, 2011, 21:56
Nevermind, fixed.
codmw2
June 2nd, 2011, 18:16
Thank you sooo much. I used to host delta's in my days... But, I think I'm gonna try to get used to 562's now. Thank you.. Very Detailed. Helped me a lot.
808kai702
June 6th, 2011, 01:13
Good job very detailed. i was wondering if u know how to host with hamachi please message me back:D
Ultra Killer
June 7th, 2011, 07:27
When i try to edit the starting message, the commands stop working, what should i do?
edit: It happens everytime i try to change anything, please help!!!
Darkmen167
June 7th, 2011, 07:49
I can help you when I get back home.
In which file are you doing it?
Ultra Killer
June 7th, 2011, 17:34
im editing in the source file
Darkmen167
June 7th, 2011, 17:52
No shit...
In what exact file...?
Hope
June 7th, 2011, 18:13
Lul ^ Made me laugh
SolitudeX
June 7th, 2011, 18:14
Good job very detailed. i was wondering if u know how to host with hamachi please message me back:D
You gravedig hardddd.
You gravedig hardddd.
4 days is gravedig? what
SolitudeX
June 7th, 2011, 18:24
4 days is gravedig? what
Well a lot of people gravedigged the fuck out of this.
Ishana
June 7th, 2011, 18:44
Well a lot of people gravedigged the fuck out of this.
Sticky
It's even on top I mean.. How can you grave dig a sticky?
David
June 7th, 2011, 18:56
No shit...
In what exact file...?
Lul ^ Made me laugh
The source file is the src folder
You gravedig hardddd.
Sticky
It's even on top I mean.. How can you grave dig a sticky?
^What Ishana said
Darkmen167
June 7th, 2011, 18:58
''go to: src>com>rs2hd>model>player.java
search for [SERVER]
it's pretty obvious what you have to do there :), just edit the message
Compile, and restart the server so it can take effect :)''
Copied from a little tutorial that's in the RuneSlay source, sorry for my wrong answers.
Ultra Killer
June 8th, 2011, 14:56
Sorry i havent got that file in the source i edit right now its called blankscape
its a 317...Its the server that i like most :D
i works for about one day then CRASH
error:
Exception in thread "main" java.lang.NumberFormatException: For input string: "1
076 3232 3220 0 0 0 0 0 1"
at java.lang.NumberFormatException.forInputString(Unk nown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at NPCHandler.loadAutoSpawn(NPCHandler.java:1814)
at NPCHandler.<init>(NPCHandler.java:23)
at server.main(server.java:28)
it happens when i run the source
EDIT: I found the player.java, but i found many server on my search, wich one do i edit?
wheni try to play i log in successfully then every window goes black (the game and minimap)
please help! It happens on 317, 562, 614 ALL SOURCES!
edit: darkmen167, it happens EVERYTIME i edit anything, but i think its client.java or autospawn becuse those are the files i edit most :(
clutch x pro
June 16th, 2011, 05:40
When i do the ip part n save it n when i turn source on etc it says ip:127.0.0.1 When i changed it to my ip can some1 help?
clutch x pro
June 16th, 2011, 05:41
How do i change the ip cause when i did it i saved it. Then when i turned on source etc I looked at box prompt said 127.0.0.1 ip still
MajorAssKick
June 16th, 2011, 05:51
How do i change the ip cause when i did it i saved it. Then when i turned on source etc I looked at box prompt said 127.0.0.1 ip still
You must compile it :/
eyeheartlax
June 22nd, 2011, 01:40
Alright, so I'm brand new to 562+ servers.. I'm using CorruptionX as a source right now, and I'm trying to figure out how to change the IP on the source.. >_< I didn't see it anywhere in the tut, so I'm a bit confused, if someone could help me out with this, please let me know. Sorry for the gravedig.. I didn't know where else to go.
Vesta Main
June 22nd, 2011, 01:43
When you downloaded CorruptionX source. There should be two things. Client | Source.
Open up your client go to src, and search for Client.java (or displayed as "client" open it up and search 127.0.0.1, thats your localhost, meaning you ONLY can connect to the server, other people cant.
Replace 127.0.0.1 with your no-ip or your real ip.
After youre done changing the ip click "Compile" or "build".
if it says cannot find path, then click edit on "compile" or "build" and change the java version to yours.
The java version is usually 16/17/18/19/20/21/22/23 or 24..goes up to 26.
if you see one of those numbers change it to your java version, to find your java version go here: Only the registered members can see the link.
eyeheartlax
June 22nd, 2011, 01:47
Yes, I did that part, but where do I edit the IP in the SOURCE, to where when I run.bat, it will put my server online.
Vesta Main
June 22nd, 2011, 01:55
Yes, I did that part, but where do I edit the IP in the SOURCE, to where when I run.bat, it will put my server online.
You dont.
Right where you start hosting your server, is the ip you will use for your client, your client connects to the source to get data. Thats why you add the ip to the client.
eyeheartlax
June 22nd, 2011, 01:57
Oooh, okay.. Sorry then, I sent you a PM too. Thanks.
Vesta Main
June 22nd, 2011, 02:01
I wrote on your profile wall
Gweetle
July 10th, 2011, 21:19
Edited, please read: I am running the run.bat file, and it is still giving me the "error_game_js5connect" error :(
Cart
July 10th, 2011, 21:21
I keep hearing everyone saying "You have to run the server!" How do I run the server? Other than build.bat and run.bat, there is no other .bat files (I heard someone say theres something like a runServer.bat). I'm really confused :s
assuming your looking in the right place, the run.bat runs the Server.
z0mg beast
July 10th, 2011, 21:21
Erm. Run.bat = running ftw?
Jess
July 10th, 2011, 21:21
run.bat & runserver.bat are the same thing, it depends how people rename them.
Cart
July 10th, 2011, 21:22
run.bat & runserver.bat are the same thing, it depends how people rename them.
Erm. Run.bat = running ftw?
assuming your looking in the right place, the run.bat runs the Server.
Same post time, naice jobs.
Gweetle
July 10th, 2011, 21:27
I'm running run.bat, and it's still giving me the "error_game_js5connect" error :s
Cart
July 10th, 2011, 21:38
I'm running run.bat, and it's still giving me the "error_game_js5connect" error :s
sounds like your running the Client run.bat.
The source should have a Run.bat also.
MrConner
July 10th, 2011, 22:25
I'm running run.bat, and it's still giving me the "error_game_js5connect" error :s
JS5 error is in ondemand server failing, since youre running a 562 that probably means that you either have the wrong vers table being sent by the server or the servers not even receiving the connection request from the client
Owner Zerk
July 11th, 2011, 21:55
can u please make a video for this i cant get it man please replay
and make a vid about it :P
thefree3
July 11th, 2011, 22:13
can u please make a video for this i cant get it man please replay
and make a vid about it :P
ill help you with your server just add my msn kk? ;) the.free3@windowslive.com
davidpaceway
July 18th, 2011, 00:31
If only I saw this first and not the shitty youtube videos...
killerrobot35
July 26th, 2011, 19:14
HELP! i get 'Java' is not recognized as an internal or external command,
operable program or batch file what do i do :( ?
Cart
July 26th, 2011, 19:15
HELP! i get 'Java' is not recognized as an internal or external command,
operable program or batch file what do i do :( ?
replace "Java" with your Java path.
C:/Program files/blahblah/blahlbah/java
ItalianMan
July 26th, 2011, 19:21
good luck
killerrobot35
July 26th, 2011, 19:45
now it says....
On the build batch file it says
Note:some input files use unchecked or unsafe operation.
Note:recompile with -Xlint:unchecked for details
press any key to continue...
and on the Run it says
javac: invalid flag: 0
Usage: javac <options> <source files>
use -help for a list of possible options
Press any key to continue . . .
Cart
July 26th, 2011, 20:00
now it says....
On the build batch file it says
Note:some input files use unchecked or unsafe operation.
Note:recompile with -Xlint:unchecked for details
press any key to continue...
and on the Run it says
javac: invalid flag: 0
Usage: javac <options> <source files>
use -help for a list of possible options
Press any key to continue . . .
I the build works good, try "Java" instead of Javac in your run.
killerrobot35
July 26th, 2011, 20:09
how long does it take to connect to the update server because its taking its time?
layolan
July 27th, 2011, 02:41
okay, I followed this guide, and portforwarded and stuff, changed the client ip to my no-ip, i cant access it.. It gives me the game_j5connect error...
I always open the server and let it load before openeing the client. It was working an hour ago....
Cart
July 27th, 2011, 02:46
okay, I followed this guide, and portforwarded and stuff, changed the client ip to my no-ip, i cant access it.. It gives me the game_j5connect error...
I always open the server and let it load before openeing the client. It was working an hour ago....
You connect via 127.0.0.1 if you are hosting.
layolan
July 27th, 2011, 06:59
You connect via 127.0.0.1 if you are hosting.
Okay, what about the other players. When other players log in using my No-ip, it doesn't work.. It just kinda hovers at "Connecting to update server" and then after a while it finally gives the j5connect error
lunch box
July 27th, 2011, 08:52
i find this hard -_________-
Dennis12999
July 27th, 2011, 19:13
eehm theres no Go to client source then open client.java thats fail :S
Magic
July 28th, 2011, 01:06
Okay people, it really isn't that hard.
1. Download the Client - mediafire.com/?gjgnhryzgkumnjm.
2. I know the list is outdated because most of the links lead to broken download links, but this is the one I found on the list that works. Download the source mediafire.com/?lhgnnkcaizt
3. Open up the Source folder. Right click compile and hit EDIT (second option, below OPEN). If it asks for a program, choose Notepad.
4. Next, you should see this (if you used this source)...
@echo off
title rs2hd compiler
echo Preparing...
mkdir bin
cd src
copy log4j.xml ..
cd ..
move log4j.xml bin/
echo Compiling core...
"C:\Program Files\Java\jdk1.6.0_18\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/Main.java
echo Compiling loginserver...
"C:\Program Files\Java\jdk1.6.0_18\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/Main.java
echo Compiling packet handlers...
"C:\Program Files\Java\jdk1.6.0_18\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/packethandler/*.java
echo Compiling logging system...
"C:\Program Files\Java\jdk1.6.0_18\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/util/log/SLF4JAppender.java
echo Complete.
"C:\Program Files\Java\jdk1.6.0_18\bin\javac" -d bin -cp deps/jython.jar;deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/tools/*.java
echo Complete.
pause
Replace the italicized numbers with your version of JDK. Go to your Computer -> C Drive -> Program Files -> Java. The folder says "jdk1.6.0_XX". Replace XX with your version. (For example, my folder says "jdk1.6.0_21", so I replaced "18" with "21".)
3. Go back to the source folder, and do the same for runsever.bat (All this does is does a final compile check and runs the server, there is only one you need to change).
4. After that, RUN runserver.bat and wait a minute.
5. Once it says:
[Year/Month/Day Hour:Minute:Second] [Fatality]: Listening on port 43594. open the client folder and run Run.bat.
If it doesn't help, I have no idea. Since its running default 127.0.0.1, its all local, therefore you don't need to portforward or anything.
Cloud
August 4th, 2011, 04:39
you should make a video of doing this it will make life so much easier
Cloud
August 4th, 2011, 06:58
Magic I did the steps right and I got the server to work but when i log in everything is working but I have a black screen, I can move and tele and stuff and the chatbox shows and minimap and everything else just that its black screen lol.. any suggestions?
black guy 12
August 4th, 2011, 20:46
The system cannot find the path specified.
When i Try, to Click on the Build. That Happens.
This is the Source you Provided Above that I'm Having Problems with.
ven0m0us
August 6th, 2011, 20:29
On AznsScape all I have for player files are some .DAT files, when i change the rights, it says my "username is invalid" when i log in
z a c h
August 8th, 2011, 01:23
dude, i am so lost... i want to make a rsps and i don't get any of this..
Killingall
August 9th, 2011, 06:18
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Press any key to continue . . .
What does this mean??
Thank You so much in advance
Cart
August 9th, 2011, 07:04
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Press any key to continue . . .
What does this mean??
Thank You so much in advance
That means your compiler works.
xi sod xi
August 11th, 2011, 00:36
ive done every thing but download java jdk do i need that?
Cart
August 11th, 2011, 00:38
ive done every thing but download java jdk do i need that?
Yeah, the bats need JDK.
vernaboy
August 12th, 2011, 00:12
To be honest, it looks very thorough, but i'm totally lost on what to do and how to start one ...
b3nni2
August 12th, 2011, 03:32
Why reset the server when i will log in then out then its again reset ? :o pls help
ezryzz
August 14th, 2011, 05:32
i need help making a server :/
PrimalDrag
August 16th, 2011, 09:40
could you make this into a video so we know exactly what to do?
guthhix
August 25th, 2011, 19:27
Would it be weird if I said ILY??? shame, this really helped an amazing guide can you PM me ASAP be cool to talk to someone that knows how to program as this is the first time I have ever touched Java, THanks
darkkd
August 27th, 2011, 21:08
I ran the server and it never said server started or even said port loaded did i miss something?
I already Port Forwarded. :(
darkkd
August 27th, 2011, 21:26
it ends up not saying [Year/Month/Day Hour:Minute:Second] [Fatality]: Listening on port 43594.
Skibby
August 29th, 2011, 18:14
Um... I did all that source shit with that runserver and then it goes to SAVED PLAYERS. then when i start up my run.bat in the client folder it still says js5 connect :/ any1 wanna help?:o
it says (my ip)
js5 connect error.
Beuner
August 29th, 2011, 18:24
Is the ip in the client set to: 127.0.0.1?
Skibby
August 29th, 2011, 19:56
Is the ip in the client set to: 127.0.0.1?
Nope mine is set to my ip adress shud i set it to 127.0.0.1?
Cart
August 29th, 2011, 21:21
Yes you should.
Skibby
August 29th, 2011, 21:40
i rextracted the 562 client, ran the complier for rune source and the runserver for it then compiled in the client folder and ran the bat still js5connected im so confused
Midgethead
August 30th, 2011, 16:47
Hmm can someone help me out? It's getting stuck at "connecting to update server"
Bloodah
August 30th, 2011, 16:54
Thanks for this! It helped me making my first rsps! THX
Skibby
August 30th, 2011, 21:10
Blood how did u do this??? im so confused
OpticX
August 31st, 2011, 16:33
what about chaning the message of the week and stuff?
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.