• Log in or sign up for an account here: https://www.sythe.org/login

|||,,,,..RSPS Compiling Guide,,,,..|||

Pwn0r

Newcomer
Joined
Jul 17, 2009
Sythe Gold
0
Messages
11
For those of you who do not know how to compile your server, (which most of you do), Here is a guide on how to Compile your server.

First off, What does "Compile" Mean? Compiling is when you change something in client.java. Client.java is the java code which is based off your server. If you change something in client.java, and save it without compiling, You won't be able to run your server.

1. Download The Latest version of Jdk: http://java.sun.com/javase/downloads/index.jsp

2. Select "JDK 6 Update 14", and Download It.


3. Once its all downloaded, Open up notepad. Copy and paste this Code:

Code:
@echo off
COLOR 02
title Runescape Private Server Compiler- Pwn0r
"C:\Program Files\Java\jdk1.6.0_14\bin\javac.exe" -cp . *.java
pause

4. Good, Now save it as "Compile.bat".

5. Open up your private server source.
Click "Client.java" Then Press "CTRL + F" and Search For.. Welcome to (Your Runescape Server). Replace it with your new server name, and Keep searching for the private server and replacing it with a new name. (You Can Add Staff Lists, Syntax'es, Summoning, ::pickup, later.)

6. Now that you have done that, click "compile.bat" Note that it should be in your source's file, so it will compile all java files.

7. Wait a moment, and when it says "press a key to continue", you server has been compiled.

==========================================================
You Now can run your server, and it has b33n c0mp1l3d!!! =D

**PwNoR**
 
when i try to compile my server it says
"Note: stream.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details"
can u please help me, im not sure on wat to do wen it says that.
 
im Still getting "system cannot find path...."


I downloaded newest version... PLEASE HELP ME!

Well, you have to set the path. So go to your environmental variables, and click new, and type the variable: "CLASSPATH", then type the path of your JDK Version up to \bin, then after bin it should say, "%CLASSPATH%;" and try to compile then.
 
hey dude i did all the steps and i did the classpath thing and it still doesn't work the compile so can you plz help me with it plz pm me or post another post ty o_O
 
Well when i enter this and try to make the compiler i get this error:

35a9lzr.jpg


Could you please help me with this?
 
1. Why the fuck would you post a tutorial on this.. :facepalm:
2. How the fuck are people so stupid?

And actually this is what you need kind off.. but most people who don't know about compliers will just leech a server anyways and wont need to make there own..

Code:
@echo off
"C:\Program Files\Java\jdk1.6.0_27\bin\javac.exe" -classpath deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\world\map\*.java
pause


This is for your client.. with your current version of java..
Code:
@echo off
Title Compiler
"C:\Program Files\Java\jdk1.6.0_27\bin\javac.exe" *.java
pause
 
src\server\Server.java:15: error: cannot find symbol
import server.model.objects.DoubleDoors;
^
symbol: class DoubleDoors
location: package server.model.objects
src\server\model\objects\Doors.java:66: error: cannot find symbol
if (DoubleDoors.getSingleton().handleDoor(id, x, y, z))
{
^
symbol: variable DoubleDoors
location: class Doors
src\server\Server.java:153: error: cannot find symbol
DoubleDoors.getSingleton().load();
^
symbol: variable DoubleDoors
location: class Server
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
Press any key to continue . . .
 
Well when i enter this and try to make the compiler i get this error:

35a9lzr.jpg


Could you please help me with this?

Sorry to bump if this is old, but for people that need to know how to fix this error.

This error is basically telling you that you do not have a source. Probably because you havn't downloaded it yet. Just get the source that came with the client and you should be fine :laugh:
 
I get this error and i honestly don't think it's something to do with the compiling code cause I've tried many of them and ain't nothing working so if you know how to fix please add me on Skype That_Lvl_3

~Yours Truly, Josh.
errorvqs.png
 
I get this error and i honestly don't think it's something to do with the compiling code cause I've tried many of them and ain't nothing working so if you know how to fix please add me on Skype That_Lvl_3

~Yours Truly, Josh.
errorvqs.png

Check to see if you set your environmental variables correctly.
 
Same as Them, This is what should be in my Client right?

@echo off
COLOR 02
title Runescape Private Server Compiler- Pwn0r
"C:\Program Files\Java\jdk1.6.0_14\bin\javac.exe" -cp . *.java
pause

I'm not using The newest version Of JDK and i've it setup as CLASSPATH and it looks right, i'm not sure though :( My source is downloaded and stuff but its not in the same folder, does it need to be? one is on desktop and one in My documents :L

-Thanks, Troy :)

Screenshots Help (I used Hyperion Edit V4 for my Server/Source) and i used 525 HD client as my client)
 
Same as Them, This is what should be in my Client right?

@echo off
COLOR 02
title Runescape Private Server Compiler- Pwn0r
"C:\Program Files\Java\jdk1.6.0_14\bin\javac.exe" -cp . *.java
pause

I'm not using The newest version Of JDK and i've it setup as CLASSPATH and it looks right, i'm not sure though :( My source is downloaded and stuff but its not in the same folder, does it need to be? one is on desktop and one in My documents :L

-Thanks, Troy :)

Screenshots Help (I used Hyperion Edit V4 for my Server/Source) and i used 525 HD client as my client)

this is the line i use and works for me
@echo off
COLOR 02
title your server name here Compiler-
"C:\Program Files\Java\jdk1.8.0_66\bin/javac" -cp lib/*; -d bin -sourcepath src src/com/rs/*.java
@pause
 
Runescape Gamblingrunescape gambling
Back
Top