Adblock breaks this site

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

Discussion in 'RuneScape Miscellaneous' started by Pwn0r, Aug 13, 2009.

  1. Pwn0r

    Pwn0r Newcomer

    Joined:
    Jul 17, 2009
    Posts:
    11
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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**
     
  2. z508NewRelease

    z508NewRelease Newcomer

    Joined:
    Aug 15, 2009
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    im Still getting "system cannot find path...."


    I downloaded newest version... PLEASE HELP ME!
     
  3. grim_raper

    grim_raper Newcomer

    Joined:
    Nov 1, 2009
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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.
     
  4. peekemans

    peekemans Newcomer

    Joined:
    Jan 5, 2010
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    @ grim_raper

    these are just notes
    its compiled succesful
     
  5. Pwn0r

    Pwn0r Newcomer

    Joined:
    Jul 17, 2009
    Posts:
    11
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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.
     
  6. venka

    venka Newcomer

    Joined:
    May 10, 2010
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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
     
  7. dubby

    dubby Newcomer

    Joined:
    Sep 24, 2011
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    Well when i enter this and try to make the compiler i get this error:

    [​IMG]

    Could you please help me with this?
     
  8. Rabo Bank

    Rabo Bank Forum Addict
    Banned

    Joined:
    Sep 25, 2011
    Posts:
    440
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    I get the some error as him ^. If you have the answer, please pm me!
     
  9. ForumAddict#1

    ForumAddict#1 Active Member
    Banned

    Joined:
    Aug 1, 2011
    Posts:
    209
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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
     
  10. Zma Vitamin

    Zma Vitamin Active Member
    Banned

    Joined:
    Oct 30, 2011
    Posts:
    235
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    I dont know how to fix this error, nothing worked yet, and i got the same error as rabo bank.
     
  11. Russian

    Russian Newcomer

    Joined:
    Oct 18, 2012
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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 . . .
     
  12. bottingvps

    bottingvps Active Member
    Banned

    Joined:
    Oct 5, 2012
    Posts:
    147
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    If i can give you an advice.. Learn a Programming language, like Java.. As people become skilled programmers it'll be faster to compile and fix bugs..
     
  13. Pvm Micro

    Pvm Micro Newcomer

    Joined:
    Dec 24, 2012
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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:
     
  14. calmer

    calmer Member

    Joined:
    Oct 26, 2012
    Posts:
    77
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    wow this is a nice guide thanks
     
  15. Mr Josh

    Mr Josh Member
    Banned

    Joined:
    Feb 25, 2013
    Posts:
    38
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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.
    [​IMG]
     
  16. Z_Static

    Z_Static Member
    Banned

    Joined:
    Feb 25, 2013
    Posts:
    47
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    Check to see if you set your environmental variables correctly.
     
  17. 1iplayrs

    1iplayrs Newcomer

    Joined:
    Jul 23, 2013
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    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)
     
  18. dmdarkdragon14

    dmdarkdragon14 Newcomer

    Joined:
    Dec 28, 2015
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    |||,,,,..RSPS Compiling Guide,,,,..|||

    this is the line i use and works for me
     
< ============================= DDoS ATTACK ALERT =================================== | Agaroth317 GE Gambling 24 skills 18 Bosses Boss pets Economy >


 
 
Adblock breaks this site