Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Site Discussion >> Watch games with mozilla
(Message started by: iceflower on Oct 13th, 2004, 2:26pm)

Title: Watch games with mozilla
Post by iceflower on Oct 13th, 2004, 2:26pm
Hi,

i'm new to arimaa. It's a very interesting game. To learn a bit about how to play the game, i just wanted to watch some games. But there's a little problem: When i am in the "watch games" window, and i click on a game, a new window opens with the game. Unfortunately, the window is not resizable, and it is mutch too small to see the entire board. When i want to play myself, the window is too small, too. But in this case, it is resizable, so this is no real problem.

TIA
iceflower.



Title: Re: Watch games with mozilla
Post by Fritzlein on Oct 13th, 2004, 3:38pm
I also have had trouble observing games in progress with Mozilla.  It isn't a window resizing problem, though: the game just never loads.  I have had to content myself with waiting until the game is over and replaying it.  :'(

Title: Re: Watch games with mozilla
Post by iceflower on Oct 13th, 2004, 4:54pm
This is no problem here. The game is shown. Just the window is too small.

iceflower

Title: Re: Watch games with mozilla
Post by 99of9 on Oct 13th, 2004, 5:27pm
what happens if you increase your screen resolution?

Title: Re: Watch games with mozilla
Post by iceflower on Oct 13th, 2004, 5:47pm
I'm driving my monitor with maximal resolution. But i just tried what happens when i decrease resolution: The window has the same size in pixels. So the visible part of the board stays exactly the same.

Title: Re: Watch games with mozilla
Post by RonWeasley on Oct 14th, 2004, 7:46am
I watch with mozilla without any of the problems you describe.  Unfortunately I don't have any helpful advice.  Hermione fixes things like that.  Try ennounciating your spells.

My mozilla problem is that when a game reaches about 25 moves or more, mozilla crashes every 5 minutes or so.  This happens both when I watch and when I play.  I suspect Malfoy trying to cheat.  Omar knows about the crashes during play, but has not had much opportunity to work with mozilla.  I expect this intermittent problem to be difficult to solve.

Ron

Title: Re: Watch games with mozilla
Post by 99of9 on Oct 14th, 2004, 10:18am
Ah now I understand - Malfoy is messing with me as well.  It makes fast games pretty difficult!

I tried Netscape (on a diff computer), and it detects the errors but doesn't crash, just pops up a warning message.

Title: Re: Watch games with mozilla
Post by iceflower on Oct 14th, 2004, 12:42pm
Hi again,

i just inspected the source of the "watch games" window. There exists this function:


Code:
function openGame(id, role, side){
   open('opengamewin.cgi?gameid='+id+'&role='+role+'&side='+side,'','toolbar=no,width=350,height=250,scrollbars=no,directories=no,location=no,menubar=no,personalbar=no,resizable=no');
   void('');
}


I think the setting "resizable=yes" would solve the problem.

Title: Re: Watch games with mozilla
Post by Belbo on Oct 14th, 2004, 4:16pm
Mozilla shows me a warning message after about 20-25 moves, but it doesnīt crash.

But sometimes I have another problem when I start to play or start to watch a game: I canīt see all the pieces on the board (1 or 2 are missing, sometimes 3), but I can still hear the "invisible" pieces moving. If one of my pieces is "invisible", I canīt move it. So I have to quit the game and return again hoping to see all pieces. Once I can see all the pieces, thereīs no problem anymore until the end of the game.
Sometimes I donīt have this problem for many days, and then suddenly it appears at some games in a row.

Title: Re: Watch games with mozilla
Post by omar on Oct 14th, 2004, 6:11pm
I just changed it to resizable=yes. Let me know if that helps.

BTW: what is the max resolution of your screen. If it is less than 1024x768 the game window won't fit too well on your screen.

Frank I think the problem you mentioned might be due to the flash client not being able to download the images of the pieces after starting up. This is being caused by the network delay and flash timing out on trying to load the image. I'll have to see if something can be done about it.

Omar

Title: Re: Watch games with mozilla
Post by iceflower on Oct 14th, 2004, 8:11pm
Hi Omar,


Quote:
I just changed it to resizable=yes. Let me know if that helps.


Thank you for that. Now everything seems to be fine.


Quote:
BTW: what is the max resolution of your screen. If it is less than 1024x768 the game window won't fit too well on your screen.


1280x1024. That should be ok. The problem seems to be that you open the window with the parameter "width=350,height=250". At least on mozilla, the flash shows with a size of 620x520, due to the site information (or however this option is named in the english version of mozilla :-)).


Quote:
Frank I think the problem you mentioned might be due to the flash client not being able to download the images of the pieces after starting up. This is being caused by the network delay and flash timing out on trying to load the image. I'll have to see if something can be done about it.


Do  you mean the problem Belbo speaks of? I don't have that problem. (Or at least i am not aware of until now.)

Frank

BTW: Thank you for your fine work.

Title: Re: Watch games with mozilla
Post by omar on Oct 18th, 2004, 2:34pm
Glad that fixes it for you.

I was refereing to Belbo at the end of my last message. Forgot you're also Frank.

Omar

Title: Re: Watch games with mozilla
Post by RonWeasley on Oct 20th, 2004, 11:50am
Clarification:  I'm using Fedora, the prerelease version of the next Mozilla.

In my latest game, Fedora crashed every move after move 18.  Kind of like trying to get a potion completed in Snape's class.  When I watch, crashes begin after move 20 and are not as frequent.  They are not correlated to a move being made.

I'm interested in the warning message Belbo gets.  Can you tell us what it is?

Title: Re: Watch games with mozilla
Post by Belbo on Oct 20th, 2004, 3:20pm
The warning was:

Illegal Operation in Plugin

Shockwave Flash

The plugin performed an illegal operation. You are strongly advised to restart Navigator



This happened in my last game against Arimaanator at move 21w. Arimaanator thought more than a minute about his move, then the window popped up. After I closed the window, Arimaanatorīs move was shown on the board and my clock was already running.

It always happens like this, just before the move is shown.

Title: Re: Watch games with mozilla
Post by RonWeasley on Oct 21st, 2004, 12:50pm
Thanx, Belbo.

I just got another Shockwave program to crash my Fedora Core 1 in a similar way.  It was likely doing a draw.  It's an intermittent behavior, so my suspicion is that Fedora is doing something to an improper address, probably due to incorect initialization or a bad array index.  I say segmentation fault.  This points the problem squarely at Fedora Core 1 and lets Omar off the hook.

I guess I'll just have to wait until the next version.

Title: Re: Watch games with mozilla
Post by omar on Oct 21st, 2004, 10:42pm
I also get this message. But I just check the 'Dont show this message again for this session' and click 'OK'. The client continues to work fine. So it more of a warning rather then a crash.

Im not sure exactly what is causing the problem, but I have a feeling it is due to the client and server keeping an HTTP connection open long periods of time.

I've also seen it happening in other flash programs.

Omar





Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB Đ 2000-2003. All Rights Reserved.