stone clicking sound missing - windows 7

Comments, questions, rants, etc, that are specifically about KGS go here.
User avatar
Codexus
Dies with sente
Posts: 101
Joined: Tue Sep 14, 2010 4:24 am
Rank: DGS 6k
GD Posts: 0
KGS: Codexus
DGS: Codexus
Location: Geneva, Switzerland
Has thanked: 66 times
Been thanked: 57 times

Re: stone clicking sound missing - windows 7

Post 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 ;)
Mef
Lives in sente
Posts: 852
Joined: Fri Apr 23, 2010 8:34 am
Rank: KGS [-]
GD Posts: 428
Location: Central Coast
Has thanked: 201 times
Been thanked: 333 times

Re: stone clicking sound missing - windows 7

Post 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.
User avatar
Codexus
Dies with sente
Posts: 101
Joined: Tue Sep 14, 2010 4:24 am
Rank: DGS 6k
GD Posts: 0
KGS: Codexus
DGS: Codexus
Location: Geneva, Switzerland
Has thanked: 66 times
Been thanked: 57 times

Re: stone clicking sound missing - windows 7

Post 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 :)
Hicham
Beginner
Posts: 8
Joined: Tue Apr 27, 2010 6:39 am
Rank: KGS 1D EGF 2kyu
GD Posts: 871
Location: Brussels, Belgium
Has thanked: 16 times
Been thanked: 1 time

Re: stone clicking sound missing - windows 7

Post 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.
davesf
Beginner
Posts: 1
Joined: Sun Sep 30, 2012 5:09 pm
Rank: KGS 6 kyu
GD Posts: 0
KGS: jeske

Re: stone clicking sound missing - windows 7

Post 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)
User avatar
Codexus
Dies with sente
Posts: 101
Joined: Tue Sep 14, 2010 4:24 am
Rank: DGS 6k
GD Posts: 0
KGS: Codexus
DGS: Codexus
Location: Geneva, Switzerland
Has thanked: 66 times
Been thanked: 57 times

Re: stone clicking sound missing - windows 7

Post 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.
dfunkt
Dies with sente
Posts: 78
Joined: Sun Jan 01, 2012 1:17 pm
Rank: 9k
GD Posts: 0
Universal go server handle: dfunkt
Has thanked: 10 times
Been thanked: 33 times

Re: stone clicking sound missing - windows 7

Post 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.
User avatar
Codexus
Dies with sente
Posts: 101
Joined: Tue Sep 14, 2010 4:24 am
Rank: DGS 6k
GD Posts: 0
KGS: Codexus
DGS: Codexus
Location: Geneva, Switzerland
Has thanked: 66 times
Been thanked: 57 times

Re: stone clicking sound missing - windows 7

Post 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.
ProtoJazz
Dies in gote
Posts: 52
Joined: Mon Jun 25, 2012 11:19 pm
Rank: KGS 13k
GD Posts: 0
Universal go server handle: ProtoJazz
Been thanked: 19 times

Re: stone clicking sound missing - windows 7

Post by ProtoJazz »

I started making my own stone sounds as I play. I expect the neighbors think Im atleast 3 stones
User avatar
UnclMartin
Dies in gote
Posts: 55
Joined: Sat Oct 29, 2011 1:44 pm
GD Posts: 0
KGS: UnclMartin
Has thanked: 6 times
Been thanked: 12 times

Re: stone clicking sound missing - windows 7

Post 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.
lovelove
Lives in gote
Posts: 604
Joined: Mon Nov 05, 2012 4:21 am
Rank: Tygem 5 Dan
GD Posts: 0
Location: Séoul, Corée
Has thanked: 88 times
Been thanked: 365 times

Re: stone clicking sound missing - windows 7

Post by lovelove »

What is wms doin? Java keep bothers me to update, but I can't cuz stone sound will be gone again.
Amsterdam, soon.
Fede
Dies in gote
Posts: 21
Joined: Mon Aug 29, 2011 11:55 pm
GD Posts: 0
IGS: Fede
Has thanked: 14 times
Been thanked: 3 times

Re: stone clicking sound missing - windows 7

Post 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.
User avatar
DeFlow
Lives with ko
Posts: 162
Joined: Sat Oct 13, 2012 12:54 pm
Rank: KGS 5 kyu
GD Posts: 0
KGS: DefLow
Universal go server handle: DeFlow
Has thanked: 29 times
Been thanked: 29 times

Re: stone clicking sound missing - windows 7

Post 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.
lovelove
Lives in gote
Posts: 604
Joined: Mon Nov 05, 2012 4:21 am
Rank: Tygem 5 Dan
GD Posts: 0
Location: Séoul, Corée
Has thanked: 88 times
Been thanked: 365 times

Re: stone clicking sound missing - windows 7

Post 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.
Amsterdam, soon.
User avatar
DeFlow
Lives with ko
Posts: 162
Joined: Sat Oct 13, 2012 12:54 pm
Rank: KGS 5 kyu
GD Posts: 0
KGS: DefLow
Universal go server handle: DeFlow
Has thanked: 29 times
Been thanked: 29 times

Re: stone clicking sound missing - windows 7

Post 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?
Post Reply