Welcome, Guest. Please Login or Register.
Nov 22nd, 2024, 11:13am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Gameroom Crashes »


   Arimaa Forum
   Arimaa
   Site Discussion
(Moderator: supersamu)
   Gameroom Crashes
« Previous topic | Next topic »
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Gameroom Crashes  (Read 2215 times)
ajhager
Forum Newbie
*




Arimaa player #1316

    AJosephHager


Gender: male
Posts: 5
Gameroom Crashes
« on: Mar 6th, 2006, 9:41pm »
Quote Quote Modify Modify

I'm having the same problem it seems a lot of people have had under linux, with the gameroom crashing around move 20, and then every move after that.  I've tried firefox, mozilla, and opera.  
 
I'm wondering if anyone has figured out a stable way to play on linux.  Also, I'm wondering if I would be allowed to make a simple curses gui utitilizing the bot interface code if there isn't a stable alternative.  
 
Playing Bomb_2005 with 1 minute moves and having to restart my browser, connect to arimma, load the gameroom, watch its move, think, make my move...gives added meaning to a blitz game.  Smiley
 
Thanks,
 
Aaron Hager
 
p.s.  I did read the forum post:
 
http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=talk;action=display;nu m=1135295242
 
The only conclusion was that opera sucked as much, less of the time.  And that it wasn't the browser's fault anyway.  Omar, do you plan on eventually defining an arimaa protocol like winboard or UCI;  allowing others to develop and maintain frontends. (and also allowing a consistent interface if someone else were interested in developing a server.)
« Last Edit: Mar 6th, 2006, 10:07pm by ajhager » IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Gameroom Crashes
« Reply #1 on: Mar 7th, 2006, 7:09am »
Quote Quote Modify Modify

Thanks for offering to make a front end, Aaron.  Maybe Omar will be willing to offload that responsibility even if it takes some up front (yuk yuk) effort on his part to define the protocol.
IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Gameroom Crashes
« Reply #2 on: Mar 7th, 2006, 6:05pm »
Quote Quote Modify Modify

There already is a protocol, but I just need to document it. I'll try to do that pretty soon.
IP Logged
borg
Forum Junior Member
**



Arimaa player #1593

   


Gender: male
Posts: 9
Re: Gameroom Crashes
« Reply #3 on: Mar 8th, 2006, 9:46am »
Quote Quote Modify Modify

I got the same crashes under linux and i already started to build a GUI for Arimaa to play against my bot. The GUI is nearly ready. You can already play against yourself Grin. If there will be a documentation for the protocol i will implement it.
« Last Edit: Mar 8th, 2006, 9:53am by borg » IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Gameroom Crashes
« Reply #4 on: Mar 8th, 2006, 11:33am »
Quote Quote Modify Modify

I just finished writting up the protocol specs. You can find it here.
 
http://arimaa.com/arimaa/protocol/
 
This should allow anyone to develop a client program with the same level of features as the current Flash client. This protocol is based on HTTP. So you may encounter some problems with connection lags and connections being closed while waiting for data. I plan to eventually define a protocol for a telnet type connection.
 
If you encounter any problems send me a message through the 'Contact' link on the main page.
« Last Edit: Mar 8th, 2006, 11:57am by omar » IP Logged
ajhager
Forum Newbie
*




Arimaa player #1316

    AJosephHager


Gender: male
Posts: 5
Re: Gameroom Crashes
« Reply #5 on: Mar 8th, 2006, 12:22pm »
Quote Quote Modify Modify

Wow.  Thank you for your quick response.  It brightened up even a cold rainy day such as this. (in Indiana no less) I will keep you all informed of my progress.  
 
Aaron Hager
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Gameroom Crashes
« Reply #6 on: Mar 8th, 2006, 12:57pm »
Quote Quote Modify Modify

Awesome.  Now I can fantasize about a non-Flash Windows client, in case some of the problems are due to the Flash rather than an inevitable consequence of http connections.
IP Logged

borg
Forum Junior Member
**



Arimaa player #1593

   


Gender: male
Posts: 9
Re: Gameroom Crashes
« Reply #7 on: Mar 8th, 2006, 1:44pm »
Quote Quote Modify Modify

Very nice!
I made a small but stable version of my GUI:
http://homepages.uni-paderborn.de/olaf/arimaa/SAG.jar
You will need an up to date java virtual machine and you can start it with java -jar SAG.jar.
I never tested it on Windows or MacOs, but it should run there.
 
Now i will start to implement the protocol.
IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: Gameroom Crashes
« Reply #8 on: Mar 8th, 2006, 2:55pm »
Quote Quote Modify Modify

on Mar 8th, 2006, 11:33am, omar wrote:
I just finished writting up the protocol specs. You can find it here.

Nice development.
 
One observation:
The "get game state" command pair returns *loads* of data.  In order to reduce the network traffic it might be useful to have a command of the type "update game state", which only returns the most recent move, together with the time reserves, server time, and recent chat messages.
 
But I don't really know how important network traffic is anyway.
« Last Edit: Mar 8th, 2006, 2:55pm by 99of9 » IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Gameroom Crashes
« Reply #9 on: Mar 9th, 2006, 6:08am »
Quote Quote Modify Modify

Good suggestion, Toby. The chat text and the move list have the potential of getting very big and can start to make the client feel a bit slugish. I will add an update command to the protocol.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Gameroom Crashes
« Reply #10 on: Mar 9th, 2006, 8:45am »
Quote Quote Modify Modify

Added the 'Update Game State' command.
 
Also changed the 'Login' command so that either username or email can be given.
IP Logged
borg
Forum Junior Member
**



Arimaa player #1593

   


Gender: male
Posts: 9
Re: Gameroom Crashes
« Reply #11 on: Mar 9th, 2006, 8:47am »
Quote Quote Modify Modify

mh...
http://arimaa.com/arimaa/gameroom/client1gr.cgi?action=login&usernam e=borg
Is the protocol already working?
It says always "No account for username". I tested my nickname/realname/email/etc.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Gameroom Crashes
« Reply #12 on: Mar 9th, 2006, 9:54am »
Quote Quote Modify Modify

It was checking to make sure you were a bot Smiley Fixed it.
IP Logged
borg
Forum Junior Member
**



Arimaa player #1593

   


Gender: male
Posts: 9
Re: Gameroom Crashes
« Reply #13 on: Mar 9th, 2006, 10:23am »
Quote Quote Modify Modify

ok, now it works Grin
« Last Edit: Mar 9th, 2006, 10:23am by borg » IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: Gameroom Crashes
« Reply #14 on: Mar 9th, 2006, 6:49pm »
Quote Quote Modify Modify

on Mar 8th, 2006, 1:44pm, borg wrote:
I made a small but stable version of my GUI:
http://homepages.uni-paderborn.de/olaf/arimaa/SAG.jar
You will need an up to date java virtual machine and you can start it with java -jar SAG.jar.

 
Maybe I'm doing something wrong, but I get these error messages:

Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: ArimaaGui.Board
   at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   at ArimaaGui.Main.Main() (Unknown Source)
   at ArimaaGui.Main.main(java.lang.String[]) (Unknown Source)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: java.lang.Enum not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:SAG.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
   at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
   ...6 more
IP Logged
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

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