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

Page 6 of 11 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 106
  1. #51  
    Registered Member
    Join Date
    May 2020
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Followed the tutorial to a T. I'm trying to build the client via the Gradle task. I get the following error:

    Code:
    error: cannot find symbol
    		JSObject.getWindow(var0).eval(var1);
    Attached image

    I tried adding a dependency jre/lib/plugin.jar as a dependency to the client and order it to the top but the error still occurs when compiling. Any advice on how to resolve this issue? If I find the solution, I'll edit this post later.


    Update: SOLUTION!

    Follow the trouble-shooting guide for the Open-OSRS git repository. I changed my version to JDK 8 and this let the client build successfully!
    Reply With Quote  
     

  2. #52  
    Professional Lurker
    null's Avatar
    Join Date
    Mar 2017
    Posts
    121
    Thanks given
    15
    Thanks received
    31
    Rep Power
    67
    I'm struggling right now... could someone maybe have a look at what im doing through discord?
    Attached image
    Discord: null#0101
    Reply With Quote  
     

  3. #53  
    RSPS SERVICES PROVIDER

    The Plateau's Avatar
    Join Date
    May 2015
    Posts
    999
    Thanks given
    592
    Thanks received
    191
    Rep Power
    129
    Just got it fixed but client wont load ?

    Attached image
    Reply With Quote  
     

  4. #54  
    Developer/Server Owner

    Join Date
    Jun 2016
    Posts
    181
    Thanks given
    38
    Thanks received
    12
    Rep Power
    0
    Hi im trying to get this to run, this is the error im coming across. I went thru the comments and replies to try to find a fix,

    > Task :kronos-server:run
    [01/21/2021 04:58:33 PM]: Loading server settings...
    [01/21/2021 04:58:33 PM]: WARNING: Offline mode enabled!
    [01/21/2021 04:58:34 PM]: Loading server data...
    Failed to install signal handler: java.lang.IllegalArgumentException: Unknown signal: TRAP
    [main] INFO io.ruin.Server - sun.misc.Launcher$AppClassLoader@18b4aac2
    [Attach Listener] INFO kilim.agent.KilimAgent - agentmain method invoked with args: and inst: sun.instrument.InstrumentationImpl@4d7481bc
    [main] INFO io.ruin.Server - Looking for system.properties in C:\Users\fatch\Desktop\Kronos-master\kronos-server\server.properties
    [main] ERROR rollingErrorFileLogger -
    java.io.FileNotFoundException: C:\Users\fatch\Desktop\Kronos-master\kronos-server\Cache\main_file_cache.dat2 (The system cannot find the path specified)
    at java.io.RandomAccessFile.open0(Native Method)
    at java.io.RandomAccessFile.open(RandomAccessFile.jav a:316)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.j ava:243)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.j ava:124)
    at io.ruin.api.filestore.FileStore.<init>(FileStore.j ava:17)
    at io.ruin.Server.main(Server.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at kilim.WeavingClassLoader.run(WeavingClassLoader.ja va:122)
    at kilim.tools.Kilim.trampoline(Kilim.java:110)
    at kilim.tools.Kilim.trampoline(Kilim.java:79)
    at io.ruin.Server.main(Server.java:80)
    Attached image
    Reply With Quote  
     

  5. #55  
    Registered Member Equity's Avatar
    Join Date
    Aug 2013
    Posts
    388
    Thanks given
    57
    Thanks received
    15
    Rep Power
    15
    Quote Originally Posted by Virtos View Post
    Hi im trying to get this to run, this is the error im coming across. I went thru the comments and replies to try to find a fix,

    > Task :kronos-server:run
    [01/21/2021 04:58:33 PM]: Loading server settings...
    [01/21/2021 04:58:33 PM]: WARNING: Offline mode enabled!
    [01/21/2021 04:58:34 PM]: Loading server data...
    Failed to install signal handler: java.lang.IllegalArgumentException: Unknown signal: TRAP
    [main] INFO io.ruin.Server - sun.misc.Launcher$AppClassLoader@18b4aac2
    [Attach Listener] INFO kilim.agent.KilimAgent - agentmain method invoked with args: and inst: sun.instrument.InstrumentationImpl@4d7481bc
    [main] INFO io.ruin.Server - Looking for system.properties in C:\Users\fatch\Desktop\Kronos-master\kronos-server\server.properties
    [main] ERROR rollingErrorFileLogger -
    java.io.FileNotFoundException: C:\Users\fatch\Desktop\Kronos-master\kronos-server\Cache\main_file_cache.dat2 (The system cannot find the path specified)
    at java.io.RandomAccessFile.open0(Native Method)
    at java.io.RandomAccessFile.open(RandomAccessFile.jav a:316)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.j ava:243)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.j ava:124)
    at io.ruin.api.filestore.FileStore.<init>(FileStore.j ava:17)
    at io.ruin.Server.main(Server.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at kilim.WeavingClassLoader.run(WeavingClassLoader.ja va:122)
    at kilim.tools.Kilim.trampoline(Kilim.java:110)
    at kilim.tools.Kilim.trampoline(Kilim.java:79)
    at io.ruin.Server.main(Server.java:80)
    java.io.FileNotFoundException: C:\Users\fatch\Desktop\Kronos-master\kronos-server\Cache\main_file_cache.dat2 (The system cannot find the path specified)

    this is tellling you it cannot find your cache folder.

    put your cache folder in Kronos-Server folder & Kronos-Update-Server folder.
    Attached image
    Reply With Quote  
     

  6. #56  
    Banned

    Join Date
    Dec 2019
    Age
    31
    Posts
    376
    Thanks given
    361
    Thanks received
    214
    Rep Power
    0
    I noticed I had a few errors coming across doing this for the first time in Intellij. Never used the IDE, but starting to figure it out.

    For some odd reason, it was missing this class (Item.java) so I wrote it out (not sure if was included) but could be handy for anyone that has these error lol

    Code:
    package net.runelite.api;
    
    import lombok.Value;
    import lombok.extern.slf4j.Slf4j;
    
    @Slf4j
    public class Item
    {
    	public String[] id;
    	public int quantity;
    	public int itemId;
    
        public Item(int itemId, int quantity, String[] id) {
    		this.id = id;
    		this.quantity = quantity;
    		this.itemId = itemId;
    
    	}
    
    	public int getId() {
        	return itemId;
    	}
    
    	public int getQuantity() {
        	return quantity;
    	}
    }
    Attached image

    So if anyone needs help setting up let me know.

    For most part, runs pretty good and just fine. Good release dude.

    Attached image
    Reply With Quote  
     

  7. #57  
    Registered Member
    Join Date
    Aug 2018
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I am getting this error for some reason I dont know why
    Caused by: java.lang.IllegalStateException: Expected a name but was NUMBER at line 1 column 90 path $.2.ge_limit
    https://gyazo.com/646b8eb0feb803b62655361dcc77f0cf
    Reply With Quote  
     

  8. #58  
    Registered Member
    Join Date
    Feb 2021
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    If anyone has managed to get a working client could you please add me on discord at jared#1741 i'm very stuck trying to get the client working. I'm lost on this Client Config Loader. would greatly appreciate the help. Thank you!
    Reply With Quote  
     

  9. #59  
    Registered Member
    Join Date
    Apr 2012
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Is it possible to let my friends connect to the developer world? I changed the IP adresses to my public IP and forwarded the ports (7304 & 13302) to my computer. However is it even possible to build a client to connect to the dev world which my friends could use to connect?

    We wanna try some inferno and have some fun. If needed I can pay.
    Reply With Quote  
     

  10. #60  
    Registered Member
    Join Date
    Feb 2013
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    NVM fixed thx
    Reply With Quote  
     

Page 6 of 11 FirstFirst ... 45678 ... 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
  •