AFLobby Alpha10e

AFLobby Alpha10e

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

AFLobby Alpha10e

Post by AF »

malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post 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)
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post by Masse »

Uber Lobby for the masses. Next Generation Spring Lobby.
yeah Masse's happy ^^
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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?
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Post by det »

Run with "java -jar AFLobby.jar".
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Post 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.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Post by det »

What GTK theme do you use?
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Post 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.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post 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.
Rudirogdt
Posts: 82
Joined: 18 May 2006, 18:00

Post 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
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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)
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

1. unzip AFLobbyAlpha10e.zip
2. java -jar AFLobby.jar
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post 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.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post 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.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Post 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 :-)
Post Reply

Return to “Linux”