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 Sollar » Tue Oct 15, 2013 12:18 pm

Kandarim wrote:This is an issue that crops up sometimes if your java application either
1) has no permissions to save files locally (i.e. it can't save the new resource files from the server and crashes)
2) is started with the wrong arguments, and therefore has no server to get the resource files from. If you are using a no-update shell script or similar, make sure your arguments are correct :)
3) has a somehow corrupt cache. Deleting ~/.salem/ and ~/Salem/cache might work. In this scenario, however, the default client wouldn't fix the other clients. Because the default client saves the cache files in the java temp files, seperately from Ender's/my client, they are two seperate entities.

In either of the first two cases, your solution to load the resource files with the default client is at best a temporary solution until your client comes another resource file not in the jar files or in the file cache.


I think.


Image

On a more serious note, I got it. I got what you said, I'll delete the pointed directories
User avatar
Sollar
 
Posts: 44
Joined: Tue Mar 26, 2013 5:03 pm

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

Postby runspired » Tue Oct 15, 2013 4:03 pm

Tried 3 (no luck), and am not doing 2 (but if I were to decide to what arguments should I include). How might I go about testing/giving the app the ability to save files locally?
runspired
 
Posts: 3
Joined: Sun Sep 22, 2013 12:25 am

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

Postby Kandarim » Tue Oct 15, 2013 4:50 pm

runspired wrote:Tried 3 (no luck), and am not doing 2 (but if I were to decide to what arguments should I include). How might I go about testing/giving the app the ability to save files locally?


if you have never done (2) manually you should ignore it. (1) *should* not be applicable unless under extremely exotic circumstances (which would never have worked). I honestly don't really know how to fix it beyond deleting your cache.
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 Sollar » Tue Oct 15, 2013 9:00 pm

I cannot log in again .. same error display. I erased .salem and /salem/cache yet i still cannot log in ...
Standard client works but I cannot use that anymore, I'd rather not play until a fix is done. Pls help
User avatar
Sollar
 
Posts: 44
Joined: Tue Mar 26, 2013 5:03 pm

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

Postby Kandarim » Tue Oct 15, 2013 10:20 pm

Are you having the same issue with ender's client ?
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 Lihz » Tue Oct 15, 2013 10:27 pm

Look at my post @page 8
Lihz
Customer
 
Posts: 222
Joined: Sun Aug 12, 2012 12:24 am

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

Postby ZtyX » Thu Oct 17, 2013 11:34 am

Your client doesn't work for me anymore. Here is the error message that I'm receiving.

java.lang.RuntimeException: haven.Resource$LoadException: Weird version number on gfx/terobjs/tree/rbirch/rtrunk (12 > 11), loaded from local res source
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:409)
at haven.HavenPanel.run(HavenPanel.java:444)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Weird version number on gfx/terobjs/tree/rbirch/rtrunk (12 > 11), loaded from local res source
at haven.Resource.load(Resource.java:164)
at haven.Resource.load(Resource.java:198)
at haven.Material$OldMat$2.resolve(Material.java:298)
at haven.Material$Res.get(Material.java:220)
at haven.StaticSprite.lsparts(StaticSprite.java:61)
at haven.StaticSprite.<init>(StaticSprite.java:53)
at haven.StaticSprite$1.create(StaticSprite.java:38)
at haven.Sprite.create(Sprite.java:111)
at haven.ResDrawable.init(ResDrawable.java:53)
at haven.ResDrawable.<init>(ResDrawable.java:42)
at haven.Gob.setup(Gob.java:240)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.addgob(MapView.java:563)
at haven.MapView$3.setup(MapView.java:572)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.setup(MapView.java:630)
at haven.PView$1.setup(PView.java:198)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.setup(RenderList.java:123)
at haven.PView.draw(PView.java:222)
at haven.MapView.draw(MapView.java:922)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.GameUI.draw(GameUI.java:575)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.RootWidget.draw(RootWidget.java:81)
at haven.UI.draw(UI.java:147)
at haven.HavenPanel.redraw(HavenPanel.java:295)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:588)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572)
at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909)
at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


I'm using:
Java 7 update 25 - 32 bit.
Ender's client works.
I tried updating to Java 7 update 45. The problem persists, but now Java also threatens to block Salem in a future security update.

I just tried to delete the Salem cache and the Salem itself folder and my error message looked slightly different (now like the other guy), but basically the same, I suppose. The only difference is that it crashed while downloading/loading files after I logged in on a fresh client.

java.lang.RuntimeException: java.lang.RuntimeException: Delayed error in resource gfx/terobjs/tree/rbirch/rstump (v10), from forking source backed by HTTP res source (http://plymouth.seatribe.se/res/)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:409)
at haven.HavenPanel.run(HavenPanel.java:444)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/terobjs/tree/rbirch/rstump (v10), from forking source backed by HTTP res source (http://plymouth.seatribe.se/res/)
at haven.Resource.checkerr(Resource.java:1486)
at haven.Resource.layer(Resource.java:1371)
at haven.Resource.layer(Resource.java:1380)
at haven.Resource.getcode(Resource.java:1042)
at haven.Sprite.create(Sprite.java:106)
at haven.ResDrawable.init(ResDrawable.java:53)
at haven.ResDrawable.setup(ResDrawable.java:58)
at haven.Gob.setup(Gob.java:247)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.addgob(MapView.java:563)
at haven.MapView$3.setup(MapView.java:572)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.setup(MapView.java:630)
at haven.PView$1.setup(PView.java:198)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.setup(RenderList.java:123)
at haven.PView.draw(PView.java:222)
at haven.MapView.draw(MapView.java:922)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.GameUI.draw(GameUI.java:575)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.RootWidget.draw(RootWidget.java:81)
at haven.UI.draw(UI.java:147)
at haven.HavenPanel.redraw(HavenPanel.java:295)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:588)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572)
at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909)
at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Wrong res version (11 != 10)
at haven.Resource.load(Resource.java:1429)
at haven.Resource.access$300(Resource.java:40)
at haven.Resource$Loader.handle(Resource.java:437)
at haven.Resource$Loader.run(Resource.java:416)
at java.lang.Thread.run(Unknown Source)
We Have MOST Fun on Jamestown!
Image
User avatar
ZtyX
 
Posts: 709
Joined: Sun Oct 07, 2012 6:48 am

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

Postby Kandarim » Thu Oct 17, 2013 5:12 pm

the good thing is: i'm now getting the same error on the birches as you guys. The bad news is: don't expect a fix tonight.
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 ZtyX » Thu Oct 17, 2013 10:33 pm

Kandarim wrote:the good thing is: i'm now getting the same error on the birches as you guys. The bad news is: don't expect a fix tonight.


That's quite alright.. At least we CAN expect a fix, right? I miss my raidermode trees. :)
Do you have an idea of what it could be?
We Have MOST Fun on Jamestown!
Image
User avatar
ZtyX
 
Posts: 709
Joined: Sun Oct 07, 2012 6:48 am

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

Postby Kandarim » Thu Oct 17, 2013 11:05 pm

ZtyX wrote:
Kandarim wrote:the good thing is: i'm now getting the same error on the birches as you guys. The bad news is: don't expect a fix tonight.


That's quite alright.. At least we CAN expect a fix, right? I miss my raidermode trees. :)
Do you have an idea of what it could be?


You can expect a fix, probably over the weekend (although I don't make promises about it). Soon™.

The exact problem for the trunk (11->12) is that the version of the resource the client is receiving is newer than the one it assumes it will get, causing it to give up all the delusions of grandeur and to wallow in self-pity.

The exact problem for the stump is as of yet unknown but I shall assume it is related. More digging will be required. For now I can only suggest to tele to boston on the default client and untoggle raider trees there.

What causes the error to pop up recently, I do not know (I assume the recent changes to the resource system code-wise and the update to the resource files)
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

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 4 guests