Page 218 of 237

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

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

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

PostPosted: Mon Apr 10, 2017 7:37 pm
by nuty
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)

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

PostPosted: Mon Apr 10, 2017 9:51 pm
by Kandarim
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).

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

PostPosted: Mon Apr 10, 2017 10:23 pm
by nuty
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

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

PostPosted: Mon Apr 10, 2017 10:29 pm
by Kandarim
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).

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

PostPosted: Wed Apr 12, 2017 1:03 am
by nuty
im in ireland i played normaly for few days here. now i cant connect

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

PostPosted: Wed Apr 12, 2017 4:59 pm
by Kandarim
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.

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

PostPosted: Fri Apr 14, 2017 2:29 pm
by nuty
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

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

PostPosted: Fri Apr 14, 2017 10:40 pm
by Osky
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

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

PostPosted: Fri Apr 14, 2017 11:22 pm
by Kandarim
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.