Author |
Topic: Javascript client changes (Read 5384 times) |
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Javascript client changes
« Reply #30 on: Jul 20th, 2010, 5:30pm » |
Quote Modify
|
Email links are working fine for me; so this is going to be hard to trace.
|
|
IP Logged |
|
|
|
knarl
Forum Guru
Arimaa player #1648
Gender:
Posts: 104
|
|
Re: Javascript client changes
« Reply #31 on: Jul 20th, 2010, 5:37pm » |
Quote Modify
|
on Jul 20th, 2010, 5:30pm, omar wrote:Email links are working fine for me; so this is going to be hard to trace. |
| Not sure if this will help, but here are the errors logged by IE8: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Wed, 21 Jul 2010 01:35:24 UTC Message: 'soundManager' is undefined Line: 57 Char: 1 Code: 0 URI: http://arimaa.com/arimaa/java/ys/ms4/v5/js_sit.cgi?sid=9591371543&gr id=3&rand=67911712 Message: Error: soundManager.play(): Not loaded yet - wait for soundManager.onload() before calling sound-related methods. Caller: function setGameState(o){ } Line: 12 Char: 6713 Code: 0 URI: http://arimaa.com/arimaa/jsClient/pro/sm2/sm2.js
|
« Last Edit: Jul 21st, 2010, 7:16pm by Forum Admin » |
IP Logged |
|
|
|
knarl
Forum Guru
Arimaa player #1648
Gender:
Posts: 104
|
|
Re: Javascript client changes
« Reply #32 on: Jul 20th, 2010, 5:41pm » |
Quote Modify
|
When I get home to my linux box, I'll dump any console output from chromium and/or iceweasle (firefox). If there's any other debugging tasks I can help with, let me know. Cheers, knarl.
|
|
IP Logged |
|
|
|
Hippo
Forum Guru
Arimaa player #4450
Gender:
Posts: 883
|
|
Re: Javascript client changes
« Reply #33 on: Jul 21st, 2010, 2:40pm » |
Quote Modify
|
Now after the server update my e-mail link works well (I have not tested it before), but when I try openning the game from gameroom, I get a source code.
|
« Last Edit: Jul 21st, 2010, 7:12pm by Forum Admin » |
IP Logged |
|
|
|
Sconibulus
Forum Guru
Arimaa player #4633
Gender:
Posts: 116
|
|
Re: Javascript client changes
« Reply #34 on: Jul 21st, 2010, 4:29pm » |
Quote Modify
|
I've got the same thing happening as Hippo, but a much longer message.
|
« Last Edit: Jul 21st, 2010, 7:11pm by Forum Admin » |
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Javascript client changes
« Reply #35 on: Jul 21st, 2010, 7:18pm » |
Quote Modify
|
on Jul 21st, 2010, 2:40pm, Hippo wrote:Now after the server update my e-mail link works well (I have not tested it before), but when I try openning the game from gameroom, I get a source code. |
| Should be fixed now.
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Javascript client changes
« Reply #36 on: Jul 21st, 2010, 7:23pm » |
Quote Modify
|
on Jul 20th, 2010, 5:37pm, knarl wrote: Thanks this helps a lot with tracing down the problem. Seems like the problem started when I added sounds to the JavaScript client for when the opponent enters or leaves the game. Seems like as soon as the window opens it wants to play a sound, but the sound libraries have not yet loaded; although sometimes they do; which explains the inconsistent nature of this bug.
|
|
IP Logged |
|
|
|
knarl
Forum Guru
Arimaa player #1648
Gender:
Posts: 104
|
|
Re: Javascript client changes
« Reply #37 on: Jul 21st, 2010, 8:55pm » |
Quote Modify
|
on Jul 21st, 2010, 7:23pm, omar wrote: Thanks this helps a lot with tracing down the problem. Seems like the problem started when I added sounds to the JavaScript client for when the opponent enters or leaves the game. Seems like as soon as the window opens it wants to play a sound, but the sound libraries have not yet loaded; although sometimes they do; which explains the inconsistent nature of this bug. |
| Cool, so you just check soundManager.onload() returns successfully before you continue, and we're all good? cheers, knarl.
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Javascript client changes
« Reply #38 on: Jul 21st, 2010, 9:37pm » |
Quote Modify
|
OK, I think I fixed the problem with the JavaScript client not working sometimes. Let me know if you still see it.
|
|
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: Javascript client changes
« Reply #39 on: Jul 21st, 2010, 11:20pm » |
Quote Modify
|
on Jul 21st, 2010, 9:37pm, omar wrote:OK, I think I fixed the problem with the JavaScript client not working sometimes. Let me know if you still see it. |
| Three out of three for me on opening postal games from e-mail links. Thanks omar and knarl!
|
|
IP Logged |
|
|
|
Hippo
Forum Guru
Arimaa player #4450
Gender:
Posts: 883
|
|
Re: Javascript client changes
« Reply #40 on: Jul 22nd, 2010, 1:54am » |
Quote Modify
|
Wow, it works well. I have been able to send a move against Greg from Xperia again. Thanks Omar (and knarl)
|
|
IP Logged |
|
|
|
mooseye
Forum Full Member
Arimaa player #3205
Gender:
Posts: 20
|
|
Re: Javascript client changes
« Reply #41 on: Jul 22nd, 2010, 5:57pm » |
Quote Modify
|
I had almost given up on playing any more till I was trying to tell my wife about it and was using the email link to get to the site to show her how to get started and lo and behold, the game opened. Happy Day! I am addicted to this game. Have to have it. I am not that great a player but I love it. A big THANK YOU and a hug to who ever fixed it.
|
|
IP Logged |
We're only here for a little while!
|
|
|
knarl
Forum Guru
Arimaa player #1648
Gender:
Posts: 104
|
|
Re: Javascript client changes
« Reply #42 on: Jul 22nd, 2010, 6:08pm » |
Quote Modify
|
Thanks Omar!!! Looks like it's working well now. I did get one blank board the second game I tried, but it was probably a cache issue or something, because no problem since then! Cheers, knarl.
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Javascript client changes
« Reply #43 on: Jul 23rd, 2010, 8:51am » |
Quote Modify
|
Awesome. I'm glad to hear that it is working now. Tracing the problem is usually the hard part. Since the problem wasn't happening for me it was hard to trace. The posting by knarl, really helped to get this fixed. Thanks.
|
|
IP Logged |
|
|
|
brixel
Forum Newbie
Arimaa player #5197
Gender:
Posts: 2
|
|
Re: Javascript client changes
« Reply #44 on: Jul 29th, 2010, 2:35pm » |
Quote Modify
|
I can't play games vs bots, although I can view and play logged games. When I try to play a bot, I get the board but can't place pieces. A yellow question mark appears in upper left corner of the window. I'm using Explorer 8.
|
|
IP Logged |
|
|
|
|