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 King_Nothing » Wed Jan 14, 2015 1:58 am

I have tried lots of things, but I keep getting this error:

java.lang.RuntimeException: Delayed error in resource gfx/hud/hwaup (v-1), from forking source backed by HTTP res source (http://game.salemthegame.com/res/)
at haven.Resource.checkerr(Resource.java:1512)
at haven.Resource.layer(Resource.java:1396)
at haven.Resource.layer(Resource.java:1405)
at haven.Resource.loadimg(Resource.java:1522)
at haven.GameUI$MenuButton.<init>(GameUI.java:169)
at haven.GameUI$MainMenu$11.<init>(GameUI.java:995)
at haven.GameUI$MainMenu.<init>(GameUI.java:995)
at haven.GameUI.makemenu(GameUI.java:1072)
at haven.GameUI.<init>(GameUI.java:158)
at haven.GameUI$$_.create(GameUI.java:117)
at haven.Widget.makechild(Widget.java:246)
at haven.UI.newwidget(UI.java:175)
at haven.RemoteUI.run(RemoteUI.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/hud/hwaup(v-1), from forking source backed by HTTP res source (http://game.salemthegame.com/res/)
at haven.Resource$Loader.handle(Resource.java:446)
at haven.Resource$Loader.run(Resource.java:420)
... 1 more
Caused by: java.io.FileNotFoundException: http://game.salemthegame.com/res/gfx/hud/hwaup.res
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at haven.Resource$HttpSource.get(Resource.java:370)
at haven.Resource$TeeSource.get(Resource.java:266)
at haven.Resource$Loader.handle(Resource.java:439)
...2 more






What am I doing wrong? What should I change? I tried updating to java 8, tried downloading both .jar and .jnlp, tried downloading the source folder, tried opening lsalem.jar (which says Connection refused: Connect when I try logging in)... What should I do?
eat oatmeal crackers & worship deer jesus
Image
User avatar
King_Nothing
 
Posts: 150
Joined: Fri Sep 26, 2014 10:31 pm
Location: DANMARK

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

Postby Kandarim » Wed Jan 14, 2015 2:42 am

delete client-res.jar and try again. Sadly, it happens for some weird reason where it sometimes gets overwritten or something goes missing.

King_Nothing wrote:tried opening lsalem.jar (which says Connection refused: Connect when I try logging in)...

This won't work, as you need to supply the client with the location of the game server and the resource file server on start-up. In case you don't mind messing with batch scripts, you can correctly start it with:
Code: Select all
javaw -jar salem.jar -U http://plymouth.seatribe.se/res/ plymouth.seatribe.se

But this won't fix your error, only allow you to skip the updating step for faster client startup.
As this is occasionally asked here is also the batch script for starting the client with given heap and stack size (Xmx and Xms respectively)
Code: Select all
javaw -Xms1024m -Xmx1024m -jar salem.jar -U http://plymouth.seatribe.se/res/ plymouth.seatribe.se
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 bologna_man00 » Wed Jan 14, 2015 8:28 pm

Any way you could add a "reset window config" button somewhere? I usually play on my laptop connected to a larger monitor to give me more screen space. If I forget to move my map and toolbars back to the center of the screen before bringing my laptop somewhere else, I have to close the client, delete the windows.conf file and relaunch the client.

This gets annoying after a while and I'd be nice if I didn't have to go through that whole process just to see my map.
User avatar
bologna_man00
 
Posts: 322
Joined: Fri Aug 24, 2012 2:56 am

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

Postby Kandarim » Wed Jan 14, 2015 8:32 pm

Code: Select all
del ~\Salem\windows.conf
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 King_Nothing » Thu Jan 15, 2015 9:07 am

Kandarim wrote:delete client-res.jar and try again. Sadly, it happens for some weird reason where it sometimes gets overwritten or something goes missing.

King_Nothing wrote:tried opening lsalem.jar (which says Connection refused: Connect when I try logging in)...

This won't work, as you need to supply the client with the location of the game server and the resource file server on start-up. In case you don't mind messing with batch scripts, you can correctly start it with:
Code: Select all
javaw -jar salem.jar -U http://plymouth.seatribe.se/res/ plymouth.seatribe.se

But this won't fix your error, only allow you to skip the updating step for faster client startup.
As this is occasionally asked here is also the batch script for starting the client with given heap and stack size (Xmx and Xms respectively)
Code: Select all
javaw -Xms1024m -Xmx1024m -jar salem.jar -U http://plymouth.seatribe.se/res/ plymouth.seatribe.se


Yes! It worked. Deleting client-res.jar that is. Thanks!
eat oatmeal crackers & worship deer jesus
Image
User avatar
King_Nothing
 
Posts: 150
Joined: Fri Sep 26, 2014 10:31 pm
Location: DANMARK

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

Postby Kandarim » Sat Jan 17, 2015 12:08 am

JessicaTheRipper wrote:we need a button to hide the UI @Ender @Kandarim


Such a button exists :)
Image
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 JessicaTheRipper » Sat Jan 17, 2015 12:13 pm

i was referring to the UI as a whole (skillbars, top left screen char slots)
User avatar
JessicaTheRipper
 
Posts: 122
Joined: Wed Jan 07, 2015 10:58 am

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

Postby Kandarim » Sun Jan 18, 2015 10:43 pm

gratefully leeching off other peoples work: merged Ender's change. This means that the abacus toolbelt is now integrated into the window. Other changes can be read over yonder.

Personal change: violin mute will now also shut up the stall violinist. Think about their families! If you mute them I think a fair punishment is the recital of a poem in Boston. Think of their families!
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 JohnCarver » Mon Jan 19, 2015 7:05 am

Kandarim wrote:Personal change: violin mute will now also shut up the stall violinist.


You are a monster.
ceedat wrote:the overwhelming frustration of these forums and the unnecessarily over complicated game mechanics is what i enjoy about this game most.

Nsuidara wrote:it is a strange and difficult game in no positive way
User avatar
JohnCarver
Site Admin
 
Posts: 6826
Joined: Fri Jun 06, 2014 3:02 am

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

Postby majtejn » Mon Jan 19, 2015 10:46 am

Code: Select all
java.lang.NullPointerException
   at haven.RemoteUI.rcvmsg(RemoteUI.java:43)
   at haven.UI.wdgmsg(UI.java:239)
   at haven.Widget.wdgmsg(Widget.java:480)
   at haven.Widget.wdgmsg(Widget.java:482)
   at haven.GameUI.wdgmsg(GameUI.java:803)
   at haven.Widget.wdgmsg(Widget.java:482)
   at haven.Window.wdgmsg(Window.java:264)
   at haven.Widget.wdgmsg(Widget.java:475)
   at haven.Polity$MemberList.change(Polity.java:77)
   at haven.Polity$MemberList.change(Polity.java:57)
   at haven.Listbox.mousedown(Listbox.java:110)
   at haven.Widget.mousedown(Widget.java:528)
   at haven.Window.mousedown(Window.java:221)
   at haven.Widget.mousedown(Widget.java:528)
   at haven.GameUI.mousedown(GameUI.java:1260)
   at haven.Widget.mousedown(Widget.java:528)
   at haven.UI.mousedown(UI.java:316)
   at haven.HavenPanel.dispatch(HavenPanel.java:393)
   at haven.HavenPanel.run(HavenPanel.java:446)
   at java.lang.Thread.run(Unknown Source)


Second crash this morning. I didn't copy the first, that occurred when I was experimenting with the new crafting menu. This one happened in the town menu.
majtejn
 
Posts: 119
Joined: Sat Oct 05, 2013 5:13 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: Google [Bot] and 4 guests