[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
AFLobby wont work with Java5 as the GTK support is completely broken. Java6 has no graphical issues for me. I do have a problem when I enter my information and click the login button, however.
Exception in thread "Timer-2" java.lang.NumberFormatException: For input string: "*"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at aflobby.JConnection.ProcessEvents(JConnection.java:143)
at aflobby.JConnection.Update(JConnection.java:252)
at aflobby.JCUpdateTask.run(JConnection.java:31)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

I have a few UI improvements for alpha 12. See in that screenshot at the top, the click here to view pages? Clicking it pulls out a page with thumbnails of every single page or window in AFLobby all grouped into categories.
As you can see I've resized that page too, and it works, although some items arent quite correctly placed, thats being worked on.
Screenshot taken in Vista Business edition.
I saw this and collected a few possible icons for it all 128x128 which is the biggest they come
http://www.ashu39.dsl.pipex.com/possibleicons.zip
I was meant to ahve thumbnails. It was setup to create an image out of each JView component and then draw it, but they all show up as white boxes =(
So I thought about icons but its nice to know someone pre-empted me.
I like splash.png and the keyboard. Not so sure about the styles but fiddling the colour scheme of the files would work. Perhaps if they're made semi translucent white with a few simplifications of details.
Anyways, right now the feature is fully functional save the thumbnail glitch.
So I thought about icons but its nice to know someone pre-empted me.
I like splash.png and the keyboard. Not so sure about the styles but fiddling the colour scheme of the files would work. Perhaps if they're made semi translucent white with a few simplifications of details.
Anyways, right now the feature is fully functional save the thumbnail glitch.



Download alpha12 here
Changelog
- Battle Sync with tasclient
- Battle window Map picker
- GUI colour changes
- Pull down page switcher
- Protocol support changes for TASServer 0.33
- Numerous small fixes
- Minimap loading progress screen
- Minimap showing in battle window
- Main Window resizing
- UI resizing and alignment fixes
- Pages are now only need as and when they're needed
- Java UnitSync bindings
- New version notification
Last edited by AF on 12 Feb 2007, 02:38, edited 1 time in total.
I think I'm missing some dependences or I have done something wrong. Do you have a readme file or some instructions. When I try to run the .jar I get this:

Running ubuntu edgy 6.10
Edit: If I hover over areas I can find "log into lobby" etc..., but it's still a little borked. Also, I cannot seem to log in, when I press "go" nothing happens.
Edit 2: Command line output

Running ubuntu edgy 6.10
Edit: If I hover over areas I can find "log into lobby" etc..., but it's still a little borked. Also, I cannot seem to log in, when I press "go" nothing happens.
Edit 2: Command line output
Code: Select all
~/Desktop/AFLobby_alpha12.zip_FILES$ java -jar "AFLobby.jar"
/usr/share/themes/Human/gtk-2.0/gtkrc:70: Engine "ubuntulooks" is unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:240: Priority specification is unsupported, ignoring
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group
at aflobby.LMain.AddView(LMain.java:626)
at aflobby.LMain.formWindowOpened(LMain.java:439)
at aflobby.LMain.access$300(LMain.java:54)
at aflobby.LMain$3.windowOpened(LMain.java:152)
at java.awt.Window.processWindowEvent(Window.java:1187)
at java.awt.Window.processEvent(Window.java:1148)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Are you using Sun Java or another Java vm? And does it correct itself temporarily when you resize the window?
Perhaps its soemthign todo with the java runtime, I use Java 6, so if someone on windows could test using java 5 if thats what you're using.
I changed the main viewpoint to a latered pane and then put the old pane inside it so that I could use several main views, such as the page picker screen.
By the way does anybody notice that these sorts of graphical issues mainly arise with ubuntu users? I've not noticed any reports outside ubuntu of these things.
Perhaps its soemthign todo with the java runtime, I use Java 6, so if someone on windows could test using java 5 if thats what you're using.
I changed the main viewpoint to a latered pane and then put the old pane inside it so that I could use several main views, such as the page picker screen.
By the way does anybody notice that these sorts of graphical issues mainly arise with ubuntu users? I've not noticed any reports outside ubuntu of these things.
How do I find out, I used http://www.getautomatix.com/ to get java. All I know is that I am using Java 5 runtime.AF wrote:Are you using Sun Java or another Java vm?
I am unable to resize it.And does it correct itself temporarily when you resize the window?
That might be simply because ubuntu is the most popular desktop flavor right now.By the way does anybody notice that these sorts of graphical issues mainly arise with ubuntu users? I've not noticed any reports outside ubuntu of these things.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
running mandriva 2007 here, and sun java 6; the grafics works (& i can resize the window)
i'm stuck in the login screen as well, i think it cannot find the correct unitsync library/bindings in linux.
here's the stdout report after i try to login.
i'm stuck in the login screen as well, i think it cannot find the correct unitsync library/bindings in linux.
here's the stdout report after i try to login.
Exception in thread "Timer-5" java.lang.UnsatisfiedLinkError: no unitsync in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at aflobby.JUnitSync.LoadUnitSync(JUnitSync.java:29)
at aflobby.JSync.Setup(JSync.java:38)
at aflobby.JChannelView.Initialize(JChannelView.java:74)
at aflobby.JChannelView.<init>(JChannelView.java:50)
at aflobby.JLoginPanel.NewEvent(JLoginPanel.java:227)
at aflobby.LMain.ProcessEvents(LMain.java:552)
at aflobby.LMain.Update(LMain.java:451)
at aflobby.UpdateTask.run(LMain.java:49)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Last edited by BrainDamage on 12 Feb 2007, 13:02, edited 1 time in total.
I'm getting Java 6 runtime right now. I'll get back to you once I'm done.
Edit: All visuals are perfect under Java 6, but I cannot log in. It just stays on a "logging in" screen. If I input the incorrect password or username it can identity it saying that it is incorrect. So it is connecting to the server.
Do I need to place the .jar in a certain directory?
Edit: All visuals are perfect under Java 6, but I cannot log in. It just stays on a "logging in" screen. If I input the incorrect password or username it can identity it saying that it is incorrect. So it is connecting to the server.
Do I need to place the .jar in a certain directory?
http://www.darkstars.co.uk/randomfiles/ ... itSync.cpp
compile unitsync.so with this file added in. You'll need to have the java jdk to build it for JNI.h, but do share it if you build it!
compile unitsync.so with this file added in. You'll need to have the java jdk to build it for JNI.h, but do share it if you build it!
Repeated exactly on my install ubuntu 6.10 running gnome I will test under kde its still this GTK problem when is JAVA 6 comming out?Relative wrote:How do I find out, I used http://www.getautomatix.com/ to get java. All I know is that I am using Java 5 runtime.AF wrote:Are you using Sun Java or another Java vm?
I am unable to resize it.And does it correct itself temporarily when you resize the window?
That might be simply because ubuntu is the most popular desktop flavor right now.By the way does anybody notice that these sorts of graphical issues mainly arise with ubuntu users? I've not noticed any reports outside ubuntu of these things.
It's not out officially yet for some unknown reason (ubuntu can be slow at this sort of thing) for (k)(x)ubuntu, but you can install it manually by getting it at java sun. That's what I did.own3d wrote: Repeated exactly on my install ubuntu 6.10 running gnome I will test under kde its still this GTK problem when is JAVA 6 comming out?
JNI-aware UnitSync.so available here
Dump the file next to AFLobby.jar and rename it to 'unitsync.so', that should give you a fully functional lobby.
Dump the file next to AFLobby.jar and rename it to 'unitsync.so', that should give you a fully functional lobby.