Thread: Running RSPS on CentOS (Linux)

Page 11 of 15 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 146
  1. #101  
    Registered Member
    Join Date
    Jan 2010
    Posts
    466
    Thanks given
    259
    Thanks received
    77
    Rep Power
    43
    Quote Originally Posted by dani_gonzales View Post
    here is it my Compiler.sh
    Code:
    javac -cp 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 -dr a   bin src\server\model\players\Details\*.java src\server\model\players\combat\magic\*.java src\server\event\*.java src\server\model\items\*.java src\server\clip\*.java src\server\clip\region\*.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 &

    For the compiler part. Change all backslashes to forward slashes.

    I have done this for you below:
    Code:
    javac -cp 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 -dr a   bin src/server/model/players/Details/*.java src/server/model/players/combat/magic/*.java src/server/event/*.java src/server/model/items/*.java src/server/clip/*.java src/server/clip/region/*.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 &
    Note: Everytime you modify your compile file, it is recommended to re-apply the chmod or it might not execute.


    Quote Originally Posted by dani_gonzales View Post
    Permision code is 755
    i typed in shh client
    chmod 755 Compiler.sh
    no errors but wont compile my changes
    I just changed welcome message for a test
    chmodding your .sh file will just give permissions for that file to be executed.

    Always remember that Linux is also case sensitive and you will need to change directories allotting to your configuration files / file naming. (not sure if it's explained in this tutorial)

    Quote Originally Posted by dani_gonzales View Post
    if i type it llike this /root/Server/Compiler.sh
    send me this message

    /root/Server/Compiler.sh: line 1: javac: command not found
    Okay, trying to understand you here, but it seems as if you are trying to execute your compile.sh

    So, first you are going to want to jump into your server directory.

    E.G: (Assuming your server directory is in the home directory of root)
    Code:
    cd /home/servername/
    then you would execute the compile.sh file by doing

    Code:
     ./compile

    Quote Originally Posted by dani_gonzales View Post
    i just changed jjavac to java but ...
    Unrecognized option: -d
    Could not create the Java virtual machine.
    This is because javac is the directive of the Java Compiler. Java will run the JVM, which is used to actually start-up your server.

    Quote Originally Posted by dani_gonzales View Post
    any hellp pls?
    i have instaled jdk 6 u22
    Your JDK version is suitable and will work, however I recommend updating your repositories / OpenJDK versions to open-jdk7

    If this does not help you. When I am online, I could possibly teamview you to give you a visual aspect of doing it, if reading the directions are working for you.

    just send me a PM when I am online with your teamviewer id / pass.
    Reply With Quote  
     

  2. #102  
    Registered Member
    Join Date
    Jul 2012
    Posts
    65
    Thanks given
    12
    Thanks received
    1
    Rep Power
    11
    Help me please !
    I have done everything right but everyone is resettet on my server !
    Eco reset, stats reset,..
    Also all my shops, replaced npc,.. are removed !
    But the objects I moved are on the place I moved them to ?
    My commands are also updated...
    PLease help

    Thanks in advance,
    Ikbenpure5

    Edit : Also all my shops, replaced npc,.. are removed !
    Reply With Quote  
     

  3. #103  
    Registered Member Knugen's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Thanks given
    2
    Thanks received
    1
    Rep Power
    21
    Quote Originally Posted by ikbenpure5 View Post
    Help me please !
    I have done everything right but everyone is resettet on my server !
    Eco reset, stats reset,..
    Also all my shops, replaced npc,.. are removed !
    But the objects I moved are on the place I moved them to ?
    My commands are also updated...
    PLease help

    Thanks in advance,
    Ikbenpure5

    Edit : Also all my shops, replaced npc,.. are removed !
    This is because linux is case sensitive. Change all the config dirs so they match the code. I'm not sure where everything is being loaded but look around and you should find it =)
    Reply With Quote  
     

  4. #104  
    Registered Member
    Join Date
    Aug 2012
    Posts
    64
    Thanks given
    2
    Thanks received
    2
    Rep Power
    0
    any one got skype and could help me i cant get the server to start add me please any help will be appreciated.

    Skype: AcFORR3ALoo
    Reply With Quote  
     

  5. #105  
    Registered Member Skinny's Avatar
    Join Date
    Jan 2012
    Posts
    59
    Thanks given
    3
    Thanks received
    2
    Rep Power
    11
    Hey! Thanks for the great thread, really appreciate it. However, on the Java site. I can't tfind rpm.bin, only .rpm?
    Reply With Quote  
     

  6. #106  
    Banned

    Join Date
    Dec 2009
    Posts
    733
    Thanks given
    0
    Thanks received
    85
    Rep Power
    0
    Added you on skype
    Reply With Quote  
     

  7. #107  
    Registered Member Skinny's Avatar
    Join Date
    Jan 2012
    Posts
    59
    Thanks given
    3
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by Brody View Post
    Added you on skype
    Hey Can you help me out too? Do you know which JDK I should download?
    Reply With Quote  
     

  8. #108  
    Registered Member susurik's Avatar
    Join Date
    Jan 2011
    Posts
    253
    Thanks given
    140
    Thanks received
    13
    Rep Power
    2
    Dont you need to change all paths in java files? Last time i used linux was about 3 yrs ago, but i rememmber that i had to go trow java files and change paths (path to file location).
    Reply With Quote  
     

  9. #109  
    Donator
    Artego's Avatar
    Join Date
    May 2010
    Posts
    476
    Thanks given
    39
    Thanks received
    24
    Rep Power
    8
    Quote Originally Posted by susurik View Post
    Dont you need to change all paths in java files? Last time i used linux was about 3 yrs ago, but i rememmber that i had to go trow java files and change paths (path to file location).
    Bump because of that question.
    Reply With Quote  
     

  10. #110  
    Registered Member
    Join Date
    May 2012
    Posts
    70
    Thanks given
    6
    Thanks received
    3
    Rep Power
    0
    does it matter if i run centros 5 or 6?
    Reply With Quote  
     

Page 11 of 15 FirstFirst ... 910111213 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Running an RSPS on Ubuntu (Linux)
    By playsoon in forum Tutorials
    Replies: 28
    Last Post: 01-07-2013, 06:05 PM
  2. Replies: 10
    Last Post: 12-26-2012, 03:32 PM
  3. Setting up a server on Centos (Linux)?
    By Throat in forum Help
    Replies: 7
    Last Post: 07-20-2010, 05:27 PM
  4. Problem Running My RSPS on a Arch Linux VPS.
    By Maximum ZxZ in forum Software
    Replies: 3
    Last Post: 07-12-2010, 01:44 AM
  5. Help with Linux CentOS
    By Cryptikx in forum Software
    Replies: 7
    Last Post: 12-05-2009, 11:54 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •