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 CalHob » Sun Apr 02, 2017 11:31 pm

Just had a crash:

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.mergeCollapse(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)
CalHob
 
Posts: 37
Joined: Wed Dec 19, 2012 3:39 am

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

Postby nuty » Mon Apr 10, 2017 7:37 pm

how to fix this? Mon Apr 10 19:17:20 BST 2017
java.io.FileNotFoundException: later.txt (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at haven.Translate.load(Translate.java:52)
at haven.Translate.<init>(Translate.java:26)
at haven.Translate.<clinit>(Translate.java:21)
at haven.Text$Foundry.render(Text.java:157)
at haven.Text$Foundry.render(Text.java:174)
at haven.Button.<init>(Button.java:67)
at haven.LoginScreen$1.<init>(LoginScreen.java:72)
at haven.LoginScreen.<init>(LoginScreen.java:72)
at haven.Bootstrap.run(Bootstrap.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)
Mon Apr 10 19:24:31 BST 2017
java.io.FileNotFoundException: later.txt (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at haven.Translate.load(Translate.java:52)
at haven.Translate.<init>(Translate.java:26)
at haven.Translate.<clinit>(Translate.java:21)
at haven.Text$Foundry.render(Text.java:157)
at haven.Text$Foundry.render(Text.java:174)
at haven.Button.<init>(Button.java:67)
at haven.AccountList.add(AccountList.java:98)
at haven.AccountList.<init>(AccountList.java:35)
at haven.LoginScreen.<init>(LoginScreen.java:70)
at haven.Bootstrap.run(Bootstrap.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)
Mon Apr 10 19:35:07 BST 2017
java.io.FileNotFoundException: later.txt (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at haven.Translate.load(Translate.java:52)
at haven.Translate.<init>(Translate.java:26)
at haven.Translate.<clinit>(Translate.java:21)
at haven.Text$Foundry.render(Text.java:157)
at haven.Text$Foundry.render(Text.java:174)
at haven.Button.<init>(Button.java:67)
at haven.AccountList.add(AccountList.java:98)
at haven.AccountList.<init>(AccountList.java:35)
at haven.LoginScreen.<init>(LoginScreen.java:70)
at haven.Bootstrap.run(Bootstrap.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)
nuty
 
Posts: 128
Joined: Tue Mar 19, 2013 7:48 pm

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

Postby Kandarim » Mon Apr 10, 2017 9:51 pm

those crashes don't actually matter, nuty. They're due to the translater feature not finding a place to dump unknown sentences (sentences it can't translate). Fixed by just creating a layer.txt file (either in ~/Salem or ~/Salem/bin, can't remember which of the two).
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: 5227
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby nuty » Mon Apr 10, 2017 10:23 pm

Kandarim wrote:those crashes don't actually matter, nuty. They're due to the translater feature not finding a place to dump unknown sentences (sentences it can't translate). Fixed by just creating a layer.txt file (either in ~/Salem or ~/Salem/bin, can't remember which of the two).

why cant i log in then? its just black screen after login in cant eaven chose character
nuty
 
Posts: 128
Joined: Tue Mar 19, 2013 7:48 pm

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

Postby Kandarim » Mon Apr 10, 2017 10:29 pm

off the top of my head, I'd go with internet provider troubles. Russia and China in particular are known for ISPs that block connections to non-standard server ports, i.e. they stop you from connecting to the resource server. Have a look at VPN solutions if you are in either of those countries (or countries with similar internet issues).
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: 5227
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby nuty » Wed Apr 12, 2017 1:03 am

im in ireland i played normaly for few days here. now i cant connect
nuty
 
Posts: 128
Joined: Tue Mar 19, 2013 7:48 pm

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

Postby Kandarim » Wed Apr 12, 2017 4:59 pm

then possibly there's a corrupt resource file somewhere (although to my knowledge that's rather rare in other countries). Try deleting ~/.salem.
This will delete your entire resource file cache (3D models and the like), which will prompt a re-download of objects as you see them in-game. Total download on the order of 300 or 400 MB or the like.
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: 5227
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby nuty » Fri Apr 14, 2017 2:29 pm

Kandarim wrote:then possibly there's a corrupt resource file somewhere (although to my knowledge that's rather rare in other countries). Try deleting ~/.salem.
This will delete your entire resource file cache (3D models and the like), which will prompt a re-download of objects as you see them in-game. Total download on the order of 300 or 400 MB or the like.

yea that did it thanks
nuty
 
Posts: 128
Joined: Tue Mar 19, 2013 7:48 pm

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

Postby Osky » Fri Apr 14, 2017 10:40 pm

My client seems to load in slower and slower, is there a cache folder or something that I should delete for maintenance?

Thanks in advance
Osky
 
Posts: 13
Joined: Wed Aug 01, 2012 1:22 am

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

Postby Kandarim » Fri Apr 14, 2017 11:22 pm

There is no real reason for the client to start up slower because it has a large resource cache.
But if you want to try it whether it changes anything (if you find that it does, please let me know :)) the cache is located at C:\Users\<Osky>\.salem.
Just delete that entire folder (but note that the first character log-in will take a while, as all resource files are being re-downloaded from the server.
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: 5227
Joined: Mon Jan 21, 2013 4:18 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 3 guests