Page 1 of 2

AFLobby Alpha10e

Posted: 24 Dec 2006, 03:59
by AF

Posted: 24 Dec 2006, 09:54
by malric
Nice to see there are other efforts towards a workable lobby on all platforms... (I'm kind of afraid that python dependencies for UnityLobby will scare some people off ;) )

I looked through the change log just a bit, and then started the thing, and I do not understand how usable is it yet ... Maybe a short description, you could provide a short description.

Also with my java looks really weird:

http://img123.imageshack.us/my.php?imag ... hotcn4.png

(there are also after login several things looking strange from graphical point of view)

Posted: 24 Dec 2006, 09:55
by Masse
Uber Lobby for the masses. Next Generation Spring Lobby.
yeah Masse's happy ^^

Posted: 24 Dec 2006, 12:06
by own3d
I just tried this is blackdown java the default in Ubuntu and it gave me some errors:

josh@josh:~/apps$ java AFLobby.jar
Exception in thread "main" java.lang.NoClassDefFoundError: AFLobby.jar
at gnu.java.lang.MainThread.run(libgcj.so.70)
Caused by: java.lang.ClassNotFoundException: AFLobby.jar not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at gnu.java.lang.MainThread.run(libgcj.so.70)


Since that doesnt seem to work what version of sun's java do I need?

Posted: 24 Dec 2006, 12:14
by det
Run with "java -jar AFLobby.jar".

Posted: 24 Dec 2006, 12:47
by own3d
malric wrote:Nice to see there are other efforts towards a workable lobby on all platforms... (I'm kind of afraid that python dependencies for UnityLobby will scare some people off ;) )

I looked through the change log just a bit, and then started the thing, and I do not understand how usable is it yet ... Maybe a short description, you could provide a short description.

Also with my java looks really weird:

http://img123.imageshack.us/my.php?imag ... hotcn4.png

(there are also after login several things looking strange from graphical point of view)
I too have this issue, however at random it will display as it is supposed to. I am running JAVA JRE 1.5 update 10 if that helps.

Posted: 24 Dec 2006, 12:50
by det
I have the graphical issues as well. And also, maybe once of 20 runs it ran fine, but I immediately closed it, thinking I had solved the problem when it was just random. I also tried using Java 1.6, but it doesn't open a window at all.

Posted: 24 Dec 2006, 12:56
by own3d
det wrote:I have the graphical issues as well. And also, maybe once of 20 runs it ran fine, but I immediately closed it, thinking I had solved the problem when it was just random. I also tried using Java 1.6, but it doesn't open a window at all.
For me it was more like 1/3, but stranger still it worked very well when it loaded correctly.

Posted: 24 Dec 2006, 13:04
by det
What GTK theme do you use?

Posted: 24 Dec 2006, 13:14
by det
I also have tried to compile with gcj. But I hit a stumbling block as you use sun.misc.BASE64Encoder. I guess it is undocumented and you arent supposed to use it or something.

Posted: 24 Dec 2006, 13:19
by own3d
det wrote:What GTK theme do you use?
At current im using "clearlooks" but it comes up with an error

Code: Select all

/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is unsupported, ignoring

Maybe the problem is that the GUI was tested under windows, so the Linux compatibility is not all there yet?

What i think would help instead of trying to get the app to use a GTK theme would be to use the default theme for Linux Java applications.

Posted: 24 Dec 2006, 17:10
by Kloot
Works normally on KUbuntu 6.10 with the Sun JVM (1.5.0.10) and GTK 2.10.0.


Some notes that might or might not be of use:

* After pressing the 'Show Raw Traffic' button and closing the subwindow, you need to press it twice all subsequent times to get the window to show again.

* Clicking on the 'Login' button after you're already logged in leaves you unable to get back to the main screen (or to log in a second time since your connection to the server isn't killed).

* Not sure if this is due to font- or window size (probably the former judging from the screenshots), but none of the main button labels are fully readable by default.

Posted: 24 Dec 2006, 17:35
by Rudirogdt
tried that client.

resizeable windows would be nice... some borders are over buttons...
selecting a map doesnt work
adding a bot for testing would be nice

Posted: 24 Dec 2006, 18:49
by own3d
Kloot wrote:Works normally on KUbuntu 6.10 with the Sun JVM (1.5.0.10) and GTK 2.10.0.


Some notes that might or might not be of use:

* After pressing the 'Show Raw Traffic' button and closing the subwindow, you need to press it twice all subsequent times to get the window to show again.

* Clicking on the 'Login' button after you're already logged in leaves you unable to get back to the main screen (or to log in a second time since your connection to the server isn't killed).

* Not sure if this is due to font- or window size (probably the former judging from the screenshots), but none of the main button labels are fully readable by default.
How did you get it to work? what things did you do (in sequence of commands)

Posted: 24 Dec 2006, 19:06
by Kloot
1. unzip AFLobbyAlpha10e.zip
2. java -jar AFLobby.jar

Posted: 24 Dec 2006, 19:16
by own3d
Kloot wrote:1. unzip AFLobbyAlpha10e.zip
2. java -jar AFLobby.jar
I do not understand, I did exactly the same yet its not working properly. I also have the same version of java (1.5.10) on the same distribution.

Posted: 24 Dec 2006, 22:54
by AF
I test udner Windows.

At startup AFLobby attempts to set the look and feel to native, which for me is my XP theme. It does this without using platform specific code,a s the JRE provides a native look and feel aswell as the default swing emtal look and feel.

However I believe that I may need to set some options that may have effects in GTK that arent necessarily visible in windows.

Rudirogdt, as said the client is in alpha stage and is nto 100% usable, btu its getting there quickly.

At the moment you cna join and host battles, and chat and mess around with all the options. Stuff todo with you as a player such as your colour and team is incomplete altho some infrastructure is in palce for that. Map selection isnt available yet either but it will be hopefully in alpha11 along with more compelte battle support.

I'm,a fraid I hadnt checked the raw traffic window in ages so thanks for pointing out that bug.
Clicking on the 'Login' button after you're already logged in leaves you unable to get back to the main screen (or to log in a second time since your connection to the server isn't killed).
You mean you cant logout then back in again?
Not sure if this is due to font- or window size (probably the former judging from the screenshots), but none of the main button labels are fully readable by default.
hmm can I see a screenshot of this?

At the moment there is no platform specific code thats actually used yet. Just a function called boolean IsWindows() thats never called, and that uses a pure java method of determining the result.
I also have tried to compile with gcj. But I hit a stumbling block as you use sun.misc.BASE64Encoder. I guess it is undocumented and you arent supposed to use it or something.
hmmm, Betalord wrote the code to that function and used it in the server, and pointed me towards it. From what I had read it wasnt supposed to be usable but betalord used it and I needed to lift a dependency on a remote php script for logins, which was abouts alpha 4...

Maybe I should try and fix some of these problems and bring out an alpha 10.5 with full source code.

Posted: 24 Dec 2006, 23:24
by Kloot
You mean you cant logout then back in again?
Yes, the only way to login again is either by killing the lobby and restarting it, or (which I've just discovered by accident) by first clicking on 'back' from within the login screen, then on the sketch drawing and the 'Log into Lobby' button, and finally on the 'Go' button directly. If you don't click on the sketch while doing this, you get an 'already logged in' message.
hmm can I see a screenshot of this?
Sure, click me.

Posted: 24 Dec 2006, 23:45
by own3d
I need some support i cant get this to work at all it just does what the second poster's report said. Also the options and such fail to work and you cannot specify where the executables etc are.

Posted: 24 Dec 2006, 23:48
by det
AF wrote:Maybe I should try and fix some of these problems and bring out an alpha 10.5 with full source code.
A full source release would be nice :-)