Page 1 of 2

Crash when getting in game after selecting new character.

PostPosted: Thu Dec 06, 2012 2:26 am
by Vulkus
Hey I just now signed up and am trying to start playing but the client crashes as soon as I get into the game. The bug report is kind of gibberish to me so could someone please point me in the right direction?

javax.media.opengl.GLException: java.lang.RuntimeException: Delayed error in resource gfx/borka/admiral-kjol (v6), from forking source backed by HTTP res source (http://plymouth.seatribe.se/res/)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:383)
at haven.HavenPanel.run(HavenPanel.java:418)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/borka/admiral-kjol (v6), from forking source backed by HTTP res source (http://plymouth.seatribe.se/res/)
at haven.Resource.checkerr(Resource.java:1403)
at haven.Resource.layers(Resource.java:1238)
at haven.Resource.layers(Resource.java:1282)
at haven.Composited.nmod(Composited.java:329)
at haven.Composited.changes(Composited.java:357)
at haven.Composited.setup(Composited.java:363)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.Composite.setup(Composite.java:64)
at haven.Gob.setup(Gob.java:199)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.addgob(MapView.java:339)
at haven.MapView$4.setup(MapView.java:348)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.setup(MapView.java:389)
at haven.PView$1.setup(PView.java:126)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.setup(RenderList.java:123)
at haven.PView.draw(PView.java:150)
at haven.MapView.draw(MapView.java:656)
at haven.Widget.draw(Widget.java:479)
at haven.Widget.draw(Widget.java:484)
at haven.GameUI.draw(GameUI.java:355)
at haven.Widget.draw(Widget.java:479)
at haven.Widget.draw(Widget.java:484)
at haven.RootWidget.draw(RootWidget.java:61)
at haven.UI.draw(UI.java:139)
at haven.HavenPanel.redraw(HavenPanel.java:271)
at haven.HavenPanel$1.display(HavenPanel.java:88)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
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)

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 2:55 am
by Vulkus
Just an aside, it seems to crash the moment the background appears. Dunno if that helps.

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 4:13 am
by Chiprel
I think that either your firewall is blocking download of game files or one(or more) files downloaded got corrupted. Would say it's second issue probably. Try clearing java cache and start game again.
How to:
http://www.java.com/en/download/help/plugin_cache.xml

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 6:13 am
by Vulkus
Thanks. I've done that a number of times though without any luck. I'm pretty sure now it's the firewall on my router, which I've had problems with before. Do you know what ports I would need to open in order to get the files properly?

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 6:36 am
by Chiprel
Made quick search in client source and got those two. Not sure if those are all ports you need to open. I saw post or sticky with all ports listed but I don't remember where through :(
mainport 1870
authport 1871

edit:
MagicManICT wrote:TCP 1871, UDP 1870

Enjoy!

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 6:51 am
by Vulkus
Ah I'm still getting the same problem after forwarding the ports and clearing java's cache . Damnit.

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 7:00 am
by MagicManICT
It's a small possibility the Java install has corrupted at some point after an update. (There was an earlier Java bug a year or two ago that was causing this.) It's a bit more of a hassle, but you could try uninstalling Java, make sure it's cleaned out of your system (there's a couple utilities floating around the internet that will do this), and then reinstall. Make sure to reboot after uninstalling, or Java may not install correctly.

As a note, make sure security software is set up correctly, too.

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 7:01 am
by Chiprel
Do what MagicManICT suggested and if that won't work you can try:
Downloading custom client and maybe that will go well.
If that wont work I can try uploading that .res file which is giving you an error and you'll be able to preload that .res file by putting it in custom_res directory.

Ender client:
viewtopic.php?f=11&t=50

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 7:32 am
by Vulkus
Update:
Cleaning and reinstalling Java 7 then trying the same and installing Java 6 instead made no difference, neither did using Ender's client. I'm checking to make sure it's the same error each time and it is so there's been no difference in what's causing the crash. Just really confused as to why.

Re: Crash when getting in game after selecting new character

PostPosted: Thu Dec 06, 2012 8:14 am
by Chiprel
https://dl.dropbox.com/u/95535397/res.zip

^unpack that and put in yourUSER\.salem\cache\
so it looks like: yourUSER\.salem\cache\res\

("(dot)salem", not "salem")

Start salem.
Im on win xp. You might have ".salem" in different place. Just run win search for it.