Page 6 of 8

Re: stone clicking sound missing - windows 7

Posted: Wed Sep 26, 2012 12:26 am
by Codexus
After not playing on KGS for a while I had the bad surprise to encounter this issue when coming back (on win 7 x64)

I solved it by installing Java 6u31 (apparently the latest that still works) without uninstalling Java 7. Then I just dowloaded the CGoban jar file and made a batch file to start it with version 6u31.

Code: Select all

"C:\Program Files\Java\jre6\bin\javaw" -jar cgoban.jar
That way I can keep an unmodified latest version of Java 7 for everything else and have CGoban working without having to pull off my own hair in frustration trying some of the clever hacks proposed here ;)

Re: stone clicking sound missing - windows 7

Posted: Wed Sep 26, 2012 5:58 am
by Mef
Codexus wrote:After not playing on KGS for a while I had the bad surprise to encounter this issue when coming back (on win 7 x64)

I solved it by installing Java 6u31 (apparently the latest that still works) without uninstalling Java 7. Then I just dowloaded the CGoban jar file and made a batch file to start it with version 6u31.

Code: Select all

"C:\Program Files\Java\jre6\bin\javaw" -jar cgoban.jar
That way I can keep an unmodified latest version of Java 7 for everything else and have CGoban working without having to pull off my own hair in frustration trying some of the clever hacks proposed here ;)
I believe you could also download the JNLP ( http://files.gokgs.com/javaBin/cgoban.jnlp )and use:

Code: Select all

"C:\Program Files\Java\jre6\bin\javaws" cgoban.jnlp
And you would retain the automatic updating features of java webstart.

Re: stone clicking sound missing - windows 7

Posted: Wed Sep 26, 2012 10:14 am
by Codexus
Mef wrote:

Code: Select all

"C:\Program Files\Java\jre6\bin\javaws" cgoban.jnlp
And you would retain the automatic updating features of java webstart.
I just tried your suggestion but it doesn't work for me. The Java 6 logo is displayed but CGoban itself is still started with Java 7. As I understand it, java webstart is supposed to choose the correct version of Java to run based on the content of jnlp file and defaults to the latest. There might be a way to modify the jnlp for that but then there are code signing problems if I do that.

But thanks for the idea anyway :)

Re: stone clicking sound missing - windows 7

Posted: Thu Sep 27, 2012 1:32 pm
by Hicham
Wms, any idea when you would have time to fix this? As a non-it guy I feel a bit out of my league messing around with java hacks.

Re: stone clicking sound missing - windows 7

Posted: Sun Sep 30, 2012 5:10 pm
by davesf
I was able to fix my missing stone-click sounds with the java-extension-mixer-hack.. Thanks for that.

What's really weird, is that the KGS "error" sound (if I try to click before the mis-click timer) still soudns find, just the stone click sounds are missing.

Testaudio produced no sound for me.. here is the output.

C:\kgs>java -jar testaudio.zip
Played audio file at volume 0.85125035

C:\kgs>java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

Re: stone clicking sound missing - windows 7

Posted: Sun Sep 30, 2012 11:28 pm
by Codexus
davesf wrote: What's really weird, is that the KGS "error" sound (if I try to click before the mis-click timer) still soudns find, just the stone click sounds are missing.
yes, wms said he used different ways to play a sound in Java as they were coded at different times and some functions were not available in earlier versions.

Now I haven't seen the code but it would seem to me that for a quick fix, just a ugly copy/paste of the code for a sound that works to replace one that doesn't should solve this problem in no time... Better code can be written later if needed.

Re: stone clicking sound missing - windows 7

Posted: Mon Oct 01, 2012 2:22 pm
by dfunkt
I give up. I'll fix the *!@*$!@#*$ stone sounds.
If this server is such a nuisance, why not just shut it down? Or hand control in all respects (including programming) to someone who cares.
But I'm going on vacation on Friday (to Congress then to a family event); I don't want to fix before then, because if there is a problem with my fix I won't be able to change anything until I return. So I'll try to get a fix in sometime after August 20...it's a long way off, but that's when I'll be back around.
It's well past August 20th now and stone sounds are still broken. No updates have been offered and the only solutions seem to be made for people with programming savvy.

Re: stone clicking sound missing - windows 7

Posted: Tue Oct 02, 2012 10:01 am
by Codexus
I'm sure wms will fix it as soon as he can.
dfunkt wrote:If this server is such a nuisance, why not just shut it down? Or hand control in all respects (including programming) to someone who cares.
I have been in this exact situation. My free applet had problems after a Java upgrade and it's really annoying to have to go back and fix something that broke itself for no good reason when you have other priorities at the moment. And that kind of angry comment demanding an immediate fix did not help me get in the mood to work on something I give away for free again.

We just have to be patient.

Re: stone clicking sound missing - windows 7

Posted: Tue Oct 02, 2012 10:30 am
by ProtoJazz
I started making my own stone sounds as I play. I expect the neighbors think Im atleast 3 stones

Re: stone clicking sound missing - windows 7

Posted: Thu Oct 25, 2012 10:43 am
by UnclMartin
The admins have been told that the switch to use the old audio engine is only for Java 1.6.0_30 to 1.6.0_37. It is not available in Java 1.7, and Java older than 1.6.0_30.

Re: stone clicking sound missing - windows 7

Posted: Fri Dec 07, 2012 10:41 am
by lovelove
What is wms doin? Java keep bothers me to update, but I can't cuz stone sound will be gone again.

Re: stone clicking sound missing - windows 7

Posted: Fri Dec 07, 2012 11:17 am
by Fede
lovelove wrote:What is wms doin? Java keep bothers me to update, but I can't cuz stone sound will be gone again.
No idea. The last thing I heard was this (Jul the 31st):
wms wrote:I give up. I'll fix the *!@*$!@#*$ stone sounds.

But I'm going on vacation on Friday (to Congress then to a family event); I don't want to fix before then, because if there is a problem with my fix I won't be able to change anything until I return. So I'll try to get a fix in sometime after August 20...it's a long way off, but that's when I'll be back around.
Maybe someone has more up to date information.

Re: stone clicking sound missing - windows 7

Posted: Thu Dec 13, 2012 3:57 am
by DeFlow
Codexus wrote:After not playing on KGS for a while I had the bad surprise to encounter this issue when coming back (on win 7 x64)

I solved it by installing Java 6u31 (apparently the latest that still works) without uninstalling Java 7. Then I just dowloaded the CGoban jar file and made a batch file to start it with version 6u31.

Code: Select all

"C:\Program Files\Java\jre6\bin\javaw" -jar cgoban.jar
That way I can keep an unmodified latest version of Java 7 for everything else and have CGoban working without having to pull off my own hair in frustration trying some of the clever hacks proposed here ;)
For everybody still reading this thread, I just used Codexus fix and it still works.
Mef wrote:I believe you could also download the JNLP ( http://files.gokgs.com/javaBin/cgoban.jnlp )and use:

Code: Select all

"C:\Program Files\Java\jre6\bin\javaws" cgoban.jnlp
And you would retain the automatic updating features of java webstart.
Also tried this, doesn't work.

Re: stone clicking sound missing - windows 7

Posted: Thu Dec 13, 2012 3:58 am
by lovelove
DeFlow wrote:
Codexus wrote:After not playing on KGS for a while I had the bad surprise to encounter this issue when coming back (on win 7 x64)

I solved it by installing Java 6u31 (apparently the latest that still works) without uninstalling Java 7. Then I just dowloaded the CGoban jar file and made a batch file to start it with version 6u31.

Code: Select all

"C:\Program Files\Java\jre6\bin\javaw" -jar cgoban.jar
That way I can keep an unmodified latest version of Java 7 for everything else and have CGoban working without having to pull off my own hair in frustration trying some of the clever hacks proposed here ;)
For everybody still reading this thread, I just used Codexus fix and it still works.
Mef wrote:I believe you could also download the JNLP ( http://files.gokgs.com/javaBin/cgoban.jnlp )and use:

Code: Select all

"C:\Program Files\Java\jre6\bin\javaws" cgoban.jnlp
And you would retain the automatic updating features of java webstart.
Also tried this, doesn't work.
So still no fixes for the client, which is the only choice.

Re: stone clicking sound missing - windows 7

Posted: Thu Dec 13, 2012 4:29 am
by DeFlow
Why is it the only choice? I have to agree with you that it's a bit... unprofessional to leave a bug like this hanging for so long, but the fix mentioned above is available to anyone, right? Or is it only available to windows users?