|
||
Title: Gameroom Crashes Post by ajhager on Mar 6th, 2006, 9:41pm 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. :) Thanks, Aaron Hager p.s. I did read the forum post: http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=talk;action=display;num=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.) |
||
Title: Re: Gameroom Crashes Post by Fritzlein on Mar 7th, 2006, 7:09am 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. |
||
Title: Re: Gameroom Crashes Post by omar on Mar 7th, 2006, 6:05pm There already is a protocol, but I just need to document it. I'll try to do that pretty soon. |
||
Title: Re: Gameroom Crashes Post by borg on Mar 8th, 2006, 9:46am 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 ;D. If there will be a documentation for the protocol i will implement it. |
||
Title: Re: Gameroom Crashes Post by omar on Mar 8th, 2006, 11:33am 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. |
||
Title: Re: Gameroom Crashes Post by ajhager on Mar 8th, 2006, 12:22pm 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 |
||
Title: Re: Gameroom Crashes Post by Fritzlein on Mar 8th, 2006, 12:57pm 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. |
||
Title: Re: Gameroom Crashes Post by borg on Mar 8th, 2006, 1:44pm 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. |
||
Title: Re: Gameroom Crashes Post by 99of9 on Mar 8th, 2006, 2:55pm on 03/08/06 at 11:33:31, omar wrote:
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. |
||
Title: Re: Gameroom Crashes Post by omar on Mar 9th, 2006, 6:08am 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. |
||
Title: Re: Gameroom Crashes Post by omar on Mar 9th, 2006, 8:45am Added the 'Update Game State' command. Also changed the 'Login' command so that either username or email can be given. |
||
Title: Re: Gameroom Crashes Post by borg on Mar 9th, 2006, 8:47am mh... http://arimaa.com/arimaa/gameroom/client1gr.cgi?action=login&username=borg Is the protocol already working? It says always "No account for username". I tested my nickname/realname/email/etc. |
||
Title: Re: Gameroom Crashes Post by omar on Mar 9th, 2006, 9:54am It was checking to make sure you were a bot :-) Fixed it. |
||
Title: Re: Gameroom Crashes Post by borg on Mar 9th, 2006, 10:23am ok, now it works ;D |
||
Title: Re: Gameroom Crashes Post by 99of9 on Mar 9th, 2006, 6:49pm on 03/08/06 at 13:44:14, borg wrote:
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 |
||
Title: Re: Gameroom Crashes Post by ntroncos on Mar 9th, 2006, 7:49pm on 03/09/06 at 18:49:03, 99of9 wrote:
The problem is that you are using gij from GCJ proyect. This is still fresh and lacks the gui support. I bumped into the same problem so i tried out the java sun jre. It works smoothly :). download de jre from:http://java.com/en/download/help/5000010500.xml#enable get the Linux self extracting binary file. unpack and go to the jre1.5.0_06/bin directory. the run: ./java -classpath ../lib/ -jar ~/SAG.jar it should work just fine. |
||
Title: Re: Gameroom Crashes Post by borg on Mar 9th, 2006, 9:49pm mmh.. same problem here with the gij. I never tried it before. I need some functions to get the pictures which are in the jar-file. The guys from the gcj-project simply didn't implemented this functions yet. I think there is no other possibilty to do this. So you have to install the java virtual machine from sun. :-[ |
||
Title: Re: Gameroom Crashes Post by 99of9 on Mar 10th, 2006, 1:14am Ok, actually i already had jre as well. Thanks for the help - I know nothing about java. It worked! Good luck implementing the rules and the communication. |
||
Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |