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

Page 12 of 27 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 268
  1. #111  
    Donator
    snurf's Avatar
    Join Date
    Oct 2015
    Posts
    583
    Thanks given
    70
    Thanks received
    90
    Rep Power
    0
    minimap icons are bugged, anyone found out what went wrong with it?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #112  
    Registered Member
    Join Date
    Jan 2017
    Posts
    119
    Thanks given
    7
    Thanks received
    19
    Discord
    View profile
    Rep Power
    9
    Quote Originally Posted by Atlas 317 View Post
    Can someone help me get this server up and running? I'm just getting back into programming. I am currently using an IDE and getting these errors:

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    Collections cannot be resolved

    at ethos.server.data.ServerData.<init>(ServerData.jav a:64)
    at ethos.Server.<clinit>(Server.java:132)
    go to ServerData.java and replace


    Code:
    	private PriorityQueue<Field> updateQueue = new PriorityQueue<>();

    with


    Code:
    	private PriorityQueue<Field> updateQueue = 
    			new PriorityQueue<Field>(5, Collections.reverseOrder());
    Reply With Quote  
     

  3. #113  
    Registered Member
    Join Date
    Jun 2013
    Posts
    66
    Thanks given
    7
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by socklol View Post
    go to ServerData.java and replace


    Code:
    	private PriorityQueue<Field> updateQueue = new PriorityQueue<>();

    with


    Code:
    	private PriorityQueue<Field> updateQueue = 
    			new PriorityQueue<Field>(5, Collections.reverseOrder());
    I tried that and i get error "Collections cannot be resolved"
    Reply With Quote  
     

  4. #114  
    Xora RSPS Owner
    Josh RSPS's Avatar
    Join Date
    Sep 2014
    Posts
    49
    Thanks given
    13
    Thanks received
    1
    Discord
    View profile
    Rep Power
    6
    Anyone help? Im getting this error as well


    Quote Originally Posted by chase92 View Post
    I downloaded your link and I am getting this error

    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)

    What do I do on that line...
    Reply With Quote  
     

  5. #115  
    Registered Member
    King Zeus's Avatar
    Join Date
    Jan 2018
    Posts
    182
    Thanks given
    26
    Thanks received
    72
    Rep Power
    120
    Quote Originally Posted by runtw2 View Post
    I tried that and i get error "Collections cannot be resolved"
    Dont forget to import collections...

    But also that isn't how I would fix it. Looks like you might have your data files incorrectly placed or missing some
    Reply With Quote  
     

  6. #116  
    Registered Member
    Join Date
    Jun 2013
    Posts
    66
    Thanks given
    7
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by King Zeus View Post
    Dont forget to import collections...

    But also that isn't how I would fix it. Looks like you might have your data files incorrectly placed or missing some
    Import collections fixed it. But you're right I'm still not completely out of the waters. How would you suggest I fix it because I don't know which data files I'm missing or have misplaced.

    All I did was download the base and set it up in eclipse so I don't know if this is my fault or the uploader's. Not trying to be cheeky, just confused. Any help is appreciated.
    Reply With Quote  
     

  7. #117  
    Registered Member
    Join Date
    Jan 2017
    Posts
    119
    Thanks given
    7
    Thanks received
    19
    Discord
    View profile
    Rep Power
    9
    Quote Originally Posted by runtw2 View Post
    Import collections fixed it. But you're right I'm still not completely out of the waters. How would you suggest I fix it because I don't know which data files I'm missing or have misplaced.

    All I did was download the base and set it up in eclipse so I don't know if this is my fault or the uploader's. Not trying to be cheeky, just confused. Any help is appreciated.
    your imports should look like this:

    Code:
    package ethos.server.data;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.NotSerializableException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.lang.reflect.Field;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.PriorityQueue;
    
    import org.apache.commons.io.FilenameUtils;
    Reply With Quote  
     

  8. #118  
    Xora RSPS Owner
    Josh RSPS's Avatar
    Join Date
    Sep 2014
    Posts
    49
    Thanks given
    13
    Thanks received
    1
    Discord
    View profile
    Rep Power
    6
    When hosting do i use ipv4 or ipv6? My buddy cant play with me but I can login. I am port fowarded I checked the port...
    Reply With Quote  
     

  9. #119  
    Registered Member
    Join Date
    Jan 2020
    Posts
    25
    Thanks given
    1
    Thanks received
    2
    Rep Power
    6
    Quote Originally Posted by megajosh View Post
    When hosting do i use ipv4 or ipv6? My buddy cant play with me but I can login. I am port fowarded I checked the port...
    I have the same problem
    Reply With Quote  
     

  10. #120  
    Registered Member
    King Zeus's Avatar
    Join Date
    Jan 2018
    Posts
    182
    Thanks given
    26
    Thanks received
    72
    Rep Power
    120
    Make sure to set LIVE_SERVER to true in client configuration.
    Reply With Quote  
     

Page 12 of 27 FirstFirst ... 2101112131422 ... 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: 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
  •