Amber Client

Forum for alternative clients, mods & discussions on the same.

Re: Amber Client

Postby Mistmonk » Mon Feb 29, 2016 6:10 pm

Hi... never used linux before but heard it was possible to get around the shader error for custom clients so trying to figure it out... this error comes up right now when trying to run the .sh file,

Code: Select all
JNLParseException[ Could not parse launch file. Error at line 1.]
   at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
   at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:999)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
   at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
   at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
   at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
   ... 8 more


And wrapped exception
Code: Select all
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
   at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:999)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
   at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
   at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
   at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
   at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:745)


It might be a permissions thing, not sure how to give scripts permission... been trying for a few hours now, but kind of stuck on getting permission to give permission... (thinking about permissions because need to give a different script permission to change mouse settings but can't figure that out either)
Mistmonk
 
Posts: 27
Joined: Fri Dec 02, 2011 5:22 am

Re: Amber Client

Postby romovs » Mon Feb 29, 2016 8:44 pm

carson330 wrote:So uhh, hows that steel auto-loader coming along? That's a serious game changer if you decide to release that :)

Top priority atm. Just waiting for when we start making steel.
RaidenKoizuma wrote:When it gets to "Building Map" the client just crashes. any fixes?

Run with run-debug.bat and post the error log.
Clemence wrote:A suggestion : the client take some time to open, and I often wonder if I correctly double clicked or not, leading to open 2 windows.
Would be handy to have a pop up saying the client is opening as soon as you open it, saying to wait a bit for the opening.
It probably won't help much to integrate that to the client, the popup will show with the same delay. But you can add this
Code: Select all
msg * Haven and Hearth is loading...

As the first line in run.bat. The only problem is that you'll need to manually close the message box.

carson330 wrote:So uhh, hows that steel auto-loader coming along? That's a serious game changer if you decide to release that :)

No idea, sorry. Check that you have all the relevant options enabled and sound volumes are not set to 0.

Mistmonk wrote:Hi... never used linux before but heard it was possible to get around the shader error for custom clients so trying to figure it out... this error comes up right now when trying to run the .sh file,

Code: Select all
JNLParseException[ Could not parse launch file. Error at line 1.]
   at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.



Might be an issue with OpenJDK. So if you use that try installing Oracle's JRE (and make sure that its the one being actually invoked from the command line).
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Amber Client

Postby Mistmonk » Mon Feb 29, 2016 10:08 pm

romovs wrote:Might be an issue with OpenJDK. So if you use that try installing Oracle's JRE (and make sure that its the one being actually invoked from the command line).


Um, think it is now?...

java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)


where previously it was
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)


But still getting the same error :d


Edit: Oh, got the mouse script to work by just typing "sh filename" in terminal, it still doesn't work if I click it from the desktop :/ buuut... when trying to do the same with run.sh, it says "Error: Unable to access jarfile hafen.jar" which is right there in the same folder o,o
Last edited by Mistmonk on Mon Feb 29, 2016 10:24 pm, edited 1 time in total.
Mistmonk
 
Posts: 27
Joined: Fri Dec 02, 2011 5:22 am

Re: Amber Client

Postby romovs » Mon Feb 29, 2016 10:22 pm

Try removing ~/.java/.userPrefs folder, maybe settings file got corrupted.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Amber Client

Postby Mistmonk » Mon Feb 29, 2016 10:51 pm

romovs wrote:Try removing ~/.java/.userPrefs folder, maybe settings file got corrupted.

... can't find that anywhere :lol:
Why do I always post seconds before finding out how to do something? stupid hidden files being hidden D:


Anyway, now it acts like it's loading something when clicking run.sh, but nothing happens. sh run.sh in terminal still gives Error: Unable to access jarfile hafen.jar



Edit-again: Omg I got it to work, I had to change hafen.jar to the full filepath in run.sh. Idk why lol. Thanks! Finally can play with all the extra goodies :D
Mistmonk
 
Posts: 27
Joined: Fri Dec 02, 2011 5:22 am

Re: Amber Client

Postby AHaPXuCT » Tue Mar 01, 2016 11:50 am

plz help me! )
My log when you run from any custom client
Image
AHaPXuCT
 
Posts: 1
Joined: Mon Nov 08, 2010 1:44 pm

Re: Amber Client

Postby romovs » Tue Mar 01, 2016 5:32 pm

AHaPXuCT wrote:plz help me! )
My log when you run from any custom client
img


I have a suspicion that somehow default client when invoked through JNLP loads a different set of video drivers than the custom clients or maybe uses different java installation.

If you have both discrete and integrating GPU, check the management utility for you video card, there should be a place where you can assign specific GPU to applications (java).
Perhaps updating video drivers directly from the vendor site instead of Windows update would help.
But don't know really, all that are just theories...
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Amber Client

Postby Turtlesir » Tue Mar 01, 2016 11:14 pm

is there something wrong with center planting? my char plants one tile south of the one i clicked.
User avatar
Turtlesir
 
Posts: 813
Joined: Fri Aug 28, 2015 3:55 pm
Location: five levels under the sea

Re: Amber Client

Postby Clemence » Tue Mar 01, 2016 11:23 pm

romovs wrote:
Clemence wrote:A suggestion : the client take some time to open, and I often wonder if I correctly double clicked or not, leading to open 2 windows.
Would be handy to have a pop up saying the client is opening as soon as you open it, saying to wait a bit for the opening.
It probably won't help much to integrate that to the client, the popup will show with the same delay. But you can add this
Code: Select all
msg * Haven and Hearth is loading...

As the first line in run.bat. The only problem is that you'll need to manually close the message box.

Thanks, and I dont even have to close it manually, I just see a box flashing thats percfect thx.
User avatar
Clemence
 
Posts: 447
Joined: Sat Mar 19, 2011 5:26 am

Re: Amber Client

Postby romovs » Wed Mar 02, 2016 12:09 am

Turtlesir wrote:is there something wrong with center planting? my char plants one tile south of the one i clicked.

Yes, haven't found why yet.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 86 guests