Jump to content

dogetrix

Members
  • Posts

    93
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by dogetrix

  1. 18 hours ago, FrostBug said:

    Basically this^, but with slots instead of items, since Item does not contain slot data, if the 2 "different" items have the same name, it will still interact with the first occurence of the item twice

    So if you have three items of the same type `getItems` will give you one object?

    Or is it that when you interact with the item it automatically selects the first one in the inventory?

    Either way it's dumb as hell. When you interact with an item you should expect to actually interact with that specific item.

  2. You will have to set up a whole load of drivers and shit for a long time. 

    I custom built a lightweight pc with the intention of installing ubuntu (this was quite a long time ago). After about 4 hours of unsuccessfully attempting to install 16.04 and trying all sorts of fixes I discovered that it was incompatible with the motherboard. So I had to downgrade to 14.04, reburn the disc, install again, which took another 30 minutes to an hour. After that, it took another couple of hours to get the runescape client, right java version, and some miscellaneous stuff (drivers, blahblah) to get set up. You will end up with a lot of stackoverflow pages open with the "best answer" completely useless. Ubuntu is also considered one of the more user-friendly distros.

    The hours do add up. If you are a casual user then don't go with linux. If you aren't a casual then it might be different.

  3. HMMMMMMM

        public Area[] getSlayerMasterAreas() {
            Area turael = new Area(2928, 3539, 2935, 3534);
            Area mazchna = new Area(3505, 3514, 3519, 3505);
            Area vannaka = new Area(3144, 9915, 3149, 9912);
            Area chaeldar = new Area(2440, 4435, 2449, 4429);
            Area nieve = new Area(2429, 3428, 2437, 3420);
            Area duradel = new Area(2866, 2984, 2872, 2980).setPlane(1);
            Area[] slayerMasters = new Area[]{turael, mazchna, vannaka, chaeldar, nieve, duradel};
            return slayerMasters;
        }

    aio slayer when

  4. 2 hours ago, Solzhenitsyn said:

     

    When I try to use a second comparator to tie-break, o is an object and the reference to realDistance and bar are not found.

    
    objects.getAll().stream.sorted(Comparator.comparingInt(map::realDistance).thenComparingInt(foo::bar).findFirst();

     

    your parentheses are messed up lol. You're welcome

×
×
  • Create New...