Thread: [Kronos] How to setup your IDE + Environment

Page 1 of 11 123 ... LastLast
Results 1 to 10 of 106
  1. #1 [Kronos] How to setup your IDE + Environment 
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    It seems some users are having issues with the complexity of the gradle project.
    Kronos is configured using a master gradle project with modules that each have their own tasks.

    IntelliJ Download:
    https://www.jetbrains.com/idea/downl...ection=windows
    JetBrains will give you a free ultimate license if you are a student in uni. Otherwise, community is perfectly fine.

    I've updated the download thread with v1.1 which strips out some of the Spring API which was preventing a seamless setup. This API was only for runelite's highscores, so if you want to re add this later, feel free. We only commented out the initializtion.


    First simply unzip the project to your desired location
    Attached image


    Open IntelliJ and choose "Open"
    Attached image


    Navigate to where you unzipped Kronos and select the root build.gradle file.
    Again, make sure you select the root, each file does have it's own build script that will be automatically imported!
    Attached image


    Then, be sure to select "Open as Project"
    Attached image


    This may take some time depending on several factors including your hardware and internet connection.
    IntelliJ is now importing all of sub-projects, downloading the dependencies and indexing the files.
    This is the power of gradle!


    After the status bar on the bottom right is completed with indexing and downloading deps, you're basically done!
    Before going any further, I'd recommend building the entire project.
    Open the Gradle tab of IntelliJ and go into the root project, build folder, and build the entire project.
    This will generate all of the class files for all of the projects and ensure you have no errors. (You won't at this point unless you simply don't have Java installed or something similar)
    Attached image


    In your Project explorer, navigate into "kronos-server"
    Select and rename "server.example.properties" to "server.properties"
    Attached image


    Now, open "server.properties".
    You'll want to ensure offline is set to "true" for now until you get all your web services setup.
    Your cache path may also need to be slightly adjusted as well depending on gradle config or operating system.
    If you have your SQL setup, you will want to enter that as well now.
    Attached image


    In your file explorer, navigate to "runelite" and find the "build.gradle.kts" file.
    Right click it, and add "Import Gradle Directory"
    Attached image



    You're done!
    You can now navigate back to the Gradle tab and run the kronos-server task.
    Then Launch the update server.
    Finally, run the runelite client.
    Configure your client as described in the downloads thread, and you'll be good to connect!
    Attached image
    Attached image
    Reply With Quote  
     


  2. #2  
    🖤Runic Developer🖤
    Castiel's Avatar
    Join Date
    Apr 2013
    Posts
    1,752
    Thanks given
    564
    Thanks received
    288
    Rep Power
    609
    any idea how to fix this problem ?
    https://prnt.sc/wddhbe
    Attached image
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    May 2016
    Age
    26
    Posts
    281
    Thanks given
    162
    Thanks received
    64
    Rep Power
    96
    Quote Originally Posted by Castiel View Post
    any idea how to fix this problem ?
    https://prnt.sc/wddhbe
    If you're planning to host this server, add support for IPv6 DNS

    Otherwise just set prefer IPv4 to true and prefer IPv6 to false

    Also setup your jav_config.ws in the client and build if you haven't already.
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by nxz1 View Post
    Hey, did you fix it ? I have the same problem, just want to play localhost for fun



    Thanks for the tutorial
    you need to upload your javconfig and adjust where the client looks for it.
    ClientConfigLoader line 44

    I included the javconfig in the v1.1 release that I put out yesterday on the downloads thread.
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Registered Member
    Join Date
    May 2020
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Castiel View Post
    any idea how to fix this problem ?
    https://prnt.sc/wddhbe
    Hey, did you fix it ? I have the same problem, just want to play localhost for fun
    Reply With Quote  
     

  8. #6  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by nxz1 View Post
    Hey, did you fix it ? I have the same problem, just want to play localhost for fun
    See my above post.
    https://www.rune-server.ee/runescape...ml#post5722584
    Reply With Quote  
     

  9. #7  
    Registered Member
    Join Date
    May 2020
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Patrity View Post
    you need to upload your javconfig and adjust where the client looks for it.
    ClientConfigLoader line 44

    I included the javconfig in the v1.1 release that I put out yesterday on the downloads thread.
    thanks
    Reply With Quote  
     

  10. #8  
    🖤Runic Developer🖤
    Castiel's Avatar
    Join Date
    Apr 2013
    Posts
    1,752
    Thanks given
    564
    Thanks received
    288
    Rep Power
    609
    Quote Originally Posted by nxz1 View Post
    Hey, did you fix it ? I have the same problem, just want to play localhost for fun
    yes i fixed it
    Attached image
    Attached image
    Reply With Quote  
     

  11. #9  
    ♫ Musical Project ♫

    Natalie's Avatar
    Join Date
    Dec 2015
    Posts
    172
    Thanks given
    91
    Thanks received
    59
    Rep Power
    154
    The server runs fine, just the client won't run and keeps giving this error. "Caused by: java.lang.ClassNotFoundException: net.runelite.client.ui.ClientUI"
    Reply With Quote  
     

  12. #10  
    Registered Member
    Join Date
    May 2020
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Natalynn View Post
    The server runs fine, just the client won't run and keeps giving this error. "Caused by: java.lang.ClassNotFoundException: net.runelite.client.ui.ClientUI"
    Try turning off your antivirus or making an exception for the ClientUI
    Reply With Quote  
     

Page 1 of 11 123 ... 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. Replies: 4
    Last Post: 08-13-2015, 05:22 AM
  2. Replies: 2
    Last Post: 08-13-2015, 12:53 AM
  3. How to setup rsps in Eclipse IDE
    By Floppy Disk in forum Snippets
    Replies: 5
    Last Post: 03-26-2015, 08:04 PM
  4. How To Set Your "Environment Variables".
    By Gluon in forum Tutorials
    Replies: 0
    Last Post: 01-29-2012, 10:48 PM
  5. [PICS]How to setup your JDK javac Classpath!
    By Aeronix in forum Tutorials
    Replies: 7
    Last Post: 11-24-2009, 08:24 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •