Thread: [317] #180 - Anguish - Hydra's / Raids / OSRS Eco Emulation (Bug Fixed Ascend)

Page 19 of 27 FirstFirst ... 91718192021 ... LastLast
Results 181 to 190 of 268
  1. #181  
    Registered Member
    Join Date
    Feb 2020
    Age
    27
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by FindersRKeeper View Post
    [Only registered and activated users can see links. ]

    I'm dealing with this issue, I tried putting it in my src file and my Root file aswell and it still won't read it. I went through every line of code and I cannot figure out why its not reading my items.txt file in Eclipse IDE. Saying the 'path is not specified'. I'm not sure how I would configure a path to this.
    @[Only registered and activated users can see links. ] Check out the link in my post above yours. It helped me solve this same issue. You may have to mess with the path in order to find the files. I ended up going through and changing nearly every directory path in the server in order for it to be able to locate the files correctly. I'm not entirely sure why, but it did end up working for me. I changed the path separator variable (String sep = System.getProperty("path.separator") to just "//" and had it print out all the paths. Just made more sense in my mind than using semicolons since I'm on windows. Feel free to PM if you have any questions or hit me up on discord CVersi#3284. I have the server running correctly, but since I'm brand new to this I don't really know how to incorporate the cache files correctly to allow the client to run and I'm a bit stuck. That said, I definitely will keep working at it. Seems like the code has the cache loading from the internet. It makes more sense in my mind to incorporate it in the client and only have it load a new cache when there's an update but I'm not entirely sure in how all this is supposed to go. I know I'll figure it out though. I uploaded all of the cache files to my google drive and linking from there since I don't want to change too much of the code before I have it running. Good luck, and I look forward to hearing from you!

    EDIT 1: Just viewed your profile and saw you commented on the post I linked to. What OS are you using? Respond to this or PM me here or on discord and I'll do what I can. We can figure this out together. I will be more than happy to help if you'll allow me to.

    I didn't do as I suggested and list the directory in the config file because I didn't realize how many files I would have to change, but that would be my recommendation for you. Create new variables in config.java:

    Code:
    	public static String SEP = System.getProperty("path.separator");
    	public static String FILE_DIRECTORY = System.getProperty("user.dir");
    Use these to point to your directory, and add the path manually where you need to. For example, in the file you specify, I use this on these lines that import the file:

    Code:
    	    String file_location = Config.FILE_DIRECTORY;
    	    String sep = Config.SEP
    	    String direc = Config.FILE_DIRECTORY + sep + "Angush-Server" + sep + "data" + sep + "cfg"
    	    try (BufferedReader file = new BufferedReader(new FileReader(direc + FileName))) {
    	
     {
    Reply With Quote  
     

  2. #182  
    Registered Member
    Join Date
    May 2020
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by CVersi View Post
    @[Only registered and activated users can see links. ] Check out the link in my post above yours. It helped me solve this same issue. You may have to mess with the path in order to find the files. I ended up going through and changing nearly every directory path in the server in order for it to be able to locate the files correctly. I'm not entirely sure why, but it did end up working for me. I changed the path separator variable (String sep = System.getProperty("path.separator") to just "//" and had it print out all the paths. Just made more sense in my mind than using semicolons since I'm on windows. Feel free to PM if you have any questions or hit me up on discord CVersi#3284. I have the server running correctly, but since I'm brand new to this I don't really know how to incorporate the cache files correctly to allow the client to run and I'm a bit stuck. That said, I definitely will keep working at it. Seems like the code has the cache loading from the internet. It makes more sense in my mind to incorporate it in the client and only have it load a new cache when there's an update but I'm not entirely sure in how all this is supposed to go. I know I'll figure it out though. I uploaded all of the cache files to my google drive and linking from there since I don't want to change too much of the code before I have it running. Good luck, and I look forward to hearing from you!

    EDIT 1: Just viewed your profile and saw you commented on the post I linked to. What OS are you using? Respond to this or PM me here or on discord and I'll do what I can. We can figure this out together. I will be more than happy to help if you'll allow me to.

    I didn't do as I suggested and list the directory in the config file because I didn't realize how many files I would have to change, but that would be my recommendation for you. Create new variables in config.java:

    Code:
    	public static String SEP = System.getProperty("path.separator");
    	public static String FILE_DIRECTORY = System.getProperty("user.dir");
    Use these to point to your directory, and add the path manually where you need to. For example, in the file you specify, I use this on these lines that import the file:

    Code:
    	    String file_location = Config.FILE_DIRECTORY;
    	    String sep = Config.SEP
    	    String direc = Config.FILE_DIRECTORY + sep + "Angush-Server" + sep + "data" + sep + "cfg"
    	    try (BufferedReader file = new BufferedReader(new FileReader(direc + FileName))) {
    	
     {
    Adding you on discord rn
    Reply With Quote  
     

  3. #183  
    Developer

    Join Date
    May 2015
    Age
    24
    Posts
    186
    Thanks given
    0
    Thanks received
    9
    Rep Power
    1
    right guys i am using this source and got foxtrot highscores, i am trying to hide admins and owners on the highscores but it is not removing them from it, does anyone have any idea how to do this or can help me?
    Reply With Quote  
     

  4. #184  
    Registered Member
    Join Date
    Jan 2020
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NullPointerException
    at ethos.server.data.ServerData.loadServerData(Server Data.java:78)
    at ethos.server.data.ServerData.<init>(ServerData.jav a:69)
    at ethos.Server.<clinit>(Server.java:132)
    How can I fix this?
    Reply With Quote  
     

  5. #185  
    Registered Member
    Join Date
    Jan 2017
    Posts
    119
    Thanks given
    7
    Thanks received
    19
    Discord
    View profile
    Rep Power
    9
    Quote Originally Posted by Ezz4mee View Post
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NullPointerException
    at ethos.server.data.ServerData.loadServerData(Server Data.java:78)
    at ethos.server.data.ServerData.<init>(ServerData.jav a:69)
    at ethos.Server.<clinit>(Server.java:132)
    How can I fix this?

    in ServerData.java find:

    Code:
     	private PriorityQueue<Field> updateQueue
    replace it all with:

    Code:
    	private PriorityQueue<Field> updateQueue = 
    			new PriorityQueue<Field>(5, Collections.reverseOrder());
    the imports:

    Code:
    
    import java.lang.reflect.Field;
    
    import java.util.Collections;
    Reply With Quote  
     

  6. #186  
    Registered Member
    Join Date
    Jan 2020
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by socklol View Post
    in ServerData.java find:

    Code:
     	private PriorityQueue<Field> updateQueue
    replace it all with:

    Code:
    	private PriorityQueue<Field> updateQueue = 
    			new PriorityQueue<Field>(5, Collections.reverseOrder());
    the imports:

    Code:
    
    import java.lang.reflect.Field;
    
    import java.util.Collections;
    Hi mate thanks for reply I tried what you told me to do I got new error
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NullPointerException
    at ethos.server.data.ServerData.loadServerData(Server Data.java:80)
    at ethos.server.data.ServerData.<init>(ServerData.jav a:71)
    at ethos.Server.<clinit>(Server.java:132)
    Reply With Quote  
     

  7. #187  
    Registered Member
    Join Date
    Jan 2017
    Posts
    119
    Thanks given
    7
    Thanks received
    19
    Discord
    View profile
    Rep Power
    9
    show contents of entire serverdata file
    Reply With Quote  
     

  8. #188  
    Registered Member
    Join Date
    Feb 2020
    Age
    27
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Ezz4mee View Post
    Hi mate thanks for reply I tried what you told me to do I got new error
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NullPointerException
    at ethos.server.data.ServerData.loadServerData(Server Data.java:80)
    at ethos.server.data.ServerData.<init>(ServerData.jav a:71)
    at ethos.Server.<clinit>(Server.java:132)
    @[Only registered and activated users can see links. ] Pretty sure that's the same error as before. The issue is that Java cannot find the required file. I had a similar issue. I posted a link on the previous page that has a fix for this, but you'll have to go through to different java files as it throws errors and manually change the path to the required data file, rerun, and fix the next error. Most of them are inside the data folder of the server. It doesn't take long and should boot right up for you when you've completed all the fixes.
    Reply With Quote  
     

  9. #189  
    Developer/Server Owner

    Join Date
    Jun 2016
    Posts
    175
    Thanks given
    36
    Thanks received
    10
    Discord
    View profile
    Rep Power
    0
    someone post a fiixed version? i cba
    Reply With Quote  
     

  10. #190  
    Registered Member IcEbLiTzMeHh's Avatar
    Join Date
    Jul 2010
    Posts
    223
    Thanks given
    0
    Thanks received
    15
    Rep Power
    4
    Magic combat doesn't work whatsoever, autocast or regular casting? Whats up with that?

    Quote Originally Posted by onemorenight View Post


    plz i need the cape name who the guy is wearing
    Quote Originally Posted by Liam Baby View Post


    Never go full retard
    Reply With Quote  
     

Page 19 of 27 FirstFirst ... 91718192021 ... LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 61
    Last Post: 11-16-2020, 12:45 AM
  2. Replies: 17
    Last Post: 02-11-2020, 01:44 PM
  3. Replies: 15
    Last Post: 01-31-2018, 07:10 PM
  4. Mastyscape 317 OSRS Eco ! (req) Players To test
    By mastydog in forum Requests
    Replies: 1
    Last Post: 08-04-2017, 01:51 PM
  5. Replies: 8
    Last Post: 05-16-2017, 12:32 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
  •