Custom client by Latikai, building on Ender's client

Forum for game modifications and custom clients.

Re: Custom client by Latikai, building on Ender's client

Postby Chrumps » Fri Oct 07, 2016 12:32 pm

I have got the IllegalArgumentException bug.
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(Unknown Source)
at java.util.TimSort.mergeAt(Unknown Source)
at java.util.TimSort.mergeForceCollapse(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.ArrayList.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at haven.Inventory.sortItemsLocally(Inventory.java:203)
at haven.Inventory.resort(Inventory.java:394)
at haven.GItem.uimsg(GItem.java:262)
at haven.UI.uimsg(UI.java:252)
at haven.RemoteUI.run(RemoteUI.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)

It happened during sifting with automatic sorting on. Chances are it happened at the moment of receiving a bigger gem. Maybe it is related to the gem not being in the cache before.

I have hazy suspicions that there is more bugs related to things not being in the cache as I had other cases of crashing when I got something new.
Chrumps
 
Posts: 594
Joined: Wed Apr 09, 2014 9:51 pm
Location: Poland

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Fri Oct 07, 2016 2:45 pm

Chrumps wrote:It happened during sifting with automatic sorting on. Chances are it happened at the moment of receiving a bigger gem. Maybe it is related to the gem not being in the cache before.


It is, and I am aware. The problem is that java should not throw these errors in the first place because I explicitly turn them off. (we don't care that the comparison method violates its contract - that tends to happen when you're sorting stuff that can change at the same time).
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby JohnSnow » Sat Oct 08, 2016 3:28 am

Please make trees with fruits the same size as blooming trees.
All Hail the Snake-King!
User avatar
JohnSnow
 
Posts: 364
Joined: Mon Jul 04, 2016 2:49 pm
Location: Winterfell

Re: Custom client by Latikai, building on Ender's client

Postby Heffernan » Sat Oct 08, 2016 4:00 am

so i just crashed and logged back in

had loads of granite and stone on me but cuz of the crash he started using granite for a wall, so i dropped the stone and wanted to pick it up again so it gets prioroty

Image

but picking up 500 stone wich has a super low hitbox can be complicated, could there be a change to pickup 1 item under you and the client picks up all if it under you? like stone, boards, cotton etc..
User avatar
Heffernan
 
Posts: 8564
Joined: Mon Sep 08, 2014 3:07 pm
Location: Marps Closet

Re: Custom client by Latikai, building on Ender's client

Postby Shrapnel » Sat Oct 08, 2016 4:15 am

Heffernan wrote:... could there be a change to pickup 1 item under you and the client picks up all if it under you? like stone, boards, cotton etc..


+1

Shift or Cntr + Right Click should pickup all items of the same type.
User avatar
Shrapnel
Customer
 
Posts: 420
Joined: Thu Feb 13, 2014 10:09 pm

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Sat Oct 08, 2016 8:27 am

there is a plugin that will pick up the item closest to you. One at a time, other solutions are too complicated. Think before you act ;)
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby Taipion » Sat Oct 08, 2016 12:25 pm

Heffernan wrote:so i just crashed and logged back in

had loads of granite and stone on me but cuz of the crash he started using granite for a wall, so i dropped the stone and wanted to pick it up again so it gets prioroty

Image

but picking up 500 stone wich has a super low hitbox can be complicated, could there be a change to pickup 1 item under you and the client picks up all if it under you? like stone, boards, cotton etc..


That would only work if it was dropped, as you need to be ON top of an item, exactly, to pick it up iirc...


[edit:] (you may take the following as a bug report if you like to)

Kandarim wrote:there is a plugin that will pick up the item closest to you. One at a time, other solutions are too complicated. Think before you act ;)

This does work, if you click slowly, nuking it with 10 clicks/s WILL crash the client within a few seconds.
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2660
Joined: Fri Mar 08, 2013 4:12 pm

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Sat Oct 08, 2016 4:33 pm

i'll test whether the server can handle you sending multiple pickup requests at the same time. If so, that may be a solution.
It would definitely only work when you are on exactly the same subtile (11x11 for a given tile) as the items, though, as taipion pointed out.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby j_chu » Fri Oct 21, 2016 7:12 pm

Yesterday It was all working fine, but today I start the client and I get this error...

Code: Select all
java.net.UnknownHostException: DonnEssime.github.io
   at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at sun.net.NetworkClient.doConnect(Unknown Source)
   at sun.net.www.http.HttpClient.openServer(Unknown Source)
   at sun.net.www.http.HttpClient.openServer(Unknown Source)
   at sun.net.www.http.HttpClient.<init>(Unknown Source)
   at sun.net.www.http.HttpClient.New(Unknown Source)
   at sun.net.www.http.HttpClient.New(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
   at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
   at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
   at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.launch(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)



Any help plz...
j_chu
 
Posts: 46
Joined: Mon Aug 03, 2015 10:29 pm

Re: Custom client by Latikai, building on Ender's client

Postby honeymilk » Fri Oct 21, 2016 7:25 pm

j_chu wrote:Yesterday It was all working fine, but today I start the client and I get this error...

Code: Select all
java.net.UnknownHostException: DonnEssime.github.io
   at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at sun.net.NetworkClient.doConnect(Unknown Source)
   at sun.net.www.http.HttpClient.openServer(Unknown Source)
   at sun.net.www.http.HttpClient.openServer(Unknown Source)
   at sun.net.www.http.HttpClient.<init>(Unknown Source)
   at sun.net.www.http.HttpClient.New(Unknown Source)
   at sun.net.www.http.HttpClient.New(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
   at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
   at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
   at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
   at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.launch(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)



Any help plz...


It can be related to a DDoS attack that have knocked DNS out with several services, including github. (idk what in the world they are talking about, but its in today's DDoS attack news)

Edit: https://www.hackread.com/ddos-attack-dns-sites-suffer-outage/
User avatar
honeymilk
Customer
 
Posts: 249
Joined: Sun Dec 28, 2014 4:51 am

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 72 guests