[Linux Lobby] AFLobby Beta 3.9.7 - Page 24

[Linux Lobby] AFLobby Beta 3.9.7

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

Moderator: Moderators

Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Agon wrote:Thx.
Can report something:
Console:
java -jar aflobby.jar
heapsize=85196800

And than a window popped up:
Incorrect startup Its been detected that you're not a windows user and the current working directory is not in the library path. The most probable cause of this is using methods such as double clicking from a file manager, running from within an archiving tool, or using java -jar aflobby.jar. This is incorrect. A bash script was provided with AFLobby named aflobby.sh, which contains the correct method of starting AFLobby. Its suggested you exit AFLobby and follow this advice. path variable = /usr/share/games/spring library path = /usr/lib64/jvm/java-1.5.0-sun-1.5.0_update10/jre/lib/amd64/server: /usr/lib64/jvm/java-1.5.0-sun-1.5.0_update10/jre/lib/amd64: /usr/lib64/jvm/java-1.5.0-sun-1.5.0_update10/jre/../lib/amd64
I ignored it and I tried to login, that doesn´t work:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group
at aflobby.JLoginPanel.LoginButtonActionPerformed(JLoginPanel.java:274)
at aflobby.JLoginPanel.access$100(JLoginPanel.java:46)
at aflobby.JLoginPanel$2.actionPerformed(JLoginPanel.java:116)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
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)
A install readme would not be bad.
Or for Linux user a shell script like this:

Code: Select all

java -jar aflobby.jar
use 'java -Djava.library.path=. -jar aflobby.jar'
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Me and Lippy are happy to report that we haven't suffered any crashes with login, loading, or channel joins. The changes to the battle tab are also a great improvement. However, we have noticed two minor bugs with the url hyperlinks.

*Firstly, links don't work unless http:// is in front of it:

Doesn't work: http://www.somerandomurl.com
Works: http://www.somerandomurl.com

*Secondly, if the url contains a capitalisation it cuts off the expression:

Blue: hyperlinked

http://www.somerandomurl.com
http://www.somerandomurl.com/AFL
http://www.somerandomurl.com/aFL
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The stacktrace suggests you dotn have java 1.6 installed or java 1.6 is not your only JRE and another JRE is whats running aflobby.

Update to java 1.6 and uninstall any earleir versions e.g. java 1.5.

Also aflobby isnt intended for any JRE not made by Sun. Sun Java 6, no GCJ etc..
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Also, another thing, the flickering is getting very annoying. This is particularly true when you have main tabbed as every time some leaves/joins/speaks the flicker occurs. I know that other users have had problems with double buffering in the past versions, but maybe you could throw it on your to do list or make another version of the current test build to see if the issue still exists.

Edit: Also, all my issues from the previous version seem to have be resolved as well.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Okay fixed the problems with java and unitsync.so. Now I found a new problem/bug/error while using the mapbrowser:
Image loading error for /home/agon/.aflobby/minimapsaquatic_divide_tnm05-v2.smf.jpg: ERRORED
No images.
Edit:
In /home/agon/ is no .aflobby folder.
Edit02:
I create the folder. But no image was created in this folder.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

are you running the build from earlier or the build I posted not long ago?

Someone reported that bug a few pages back. Download the june 12th build1 I linked to.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Yeah, that's the most recent one.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Another "bug":
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
Displayed if I want start a game as host with only one player :lol: .
And than spring: Missing content....Could not found map/xy
Edit01:
Okay, first try playing online with aflobby, funny!
I joined, dl map, no map preview. Game starts. All good. All players ready. I was a spectator. But I could not see any unit. Map EE-RiverGlade02 and EE 0.173. Maybe a Spring bug I don´t know. After closing Spring aflobby started again spring and joined the server!?!?!
Console give the same error:
javax.imageio.IIOException: Can't read input file!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Are you sure? These are all bugs I quashed ages ago that people have since said have vanished
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

├âÔÇ×h, I can uninstall Spring and than install it again only with aflobby.
Edit01:
Done.
Image error:
Image loading error for /home/agon/.aflobby/minimapsmars.smf.jpg: ERRORED
Image loading error for /home/agon/.aflobby/minimapssmalldivide.smf.jpg: ERRORED
Last edited by Agon on 12 Jun 2007, 23:11, edited 1 time in total.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Well I just got a couple of "exceptions" in the terminal, but haven't seen them effect aflobby in any way, visually at least:

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at aflobby.CChannel.JChatHyperlinkUpdate(CChannel.java:694)
        at aflobby.CChannel.access$1400(CChannel.java:40)
        at aflobby.CChannel$15.hyperlinkUpdate(CChannel.java:669)
        at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:327)
        at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:828)
        at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:638)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at aflobby.CChannel.JChatHyperlinkUpdate(CChannel.java:694)
        at aflobby.CChannel.access$1400(CChannel.java:40)
        at aflobby.CChannel$15.hyperlinkUpdate(CChannel.java:669)
        at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:327)
        at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:828)
        at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:638)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
[Loaded aflobby.JChannelView$34 from file:/usr/share/games/spring/aflobby.jar]
[Loaded javax.swing.JViewport$1 from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at aflobby.CChannel.JChatHyperlinkUpdate(CChannel.java:694)
        at aflobby.CChannel.access$1400(CChannel.java:40)
        at aflobby.CChannel$15.hyperlinkUpdate(CChannel.java:669)
        at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:327)
        at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:828)
        at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:638)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at aflobby.CChannel.JChatHyperlinkUpdate(CChannel.java:694)
        at aflobby.CChannel.access$1400(CChannel.java:40)
        at aflobby.CChannel$15.hyperlinkUpdate(CChannel.java:669)
        at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:327)
        at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:828)
        at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:638)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
[Loaded sun.awt.X11.XContentWindow$SavedExposeEvent from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded sun.awt.datatransfer.SunClipboard$1 from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.text.html.TableView from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.text.html.CSS$LayoutIterator from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.text.html.TableView$RowIterator from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.text.html.TableView$ColumnIterator from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.text.html.TableView$RowView from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.text.html.TableView$CellView from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at aflobby.CChannel.JChatHyperlinkUpdate(CChannel.java:694)
        at aflobby.CChannel.access$1400(CChannel.java:40)
        at aflobby.CChannel$15.hyperlinkUpdate(CChannel.java:669)
        at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:327)
        at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:828)
        at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:638)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Woah, I just got Agon's Bug :shock: I thought these were gone:

Code: Select all

[Loaded javax.imageio.IIOException from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
[Loaded sun.reflect.GeneratedConstructorAccessor9 from __JVM_DefineClass__]
Edit: I just realised that I didn't have the map, so there was no image for it to read.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

But I have the maps. And I get t the bug!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

yes but do you have the minimaps?

Relative, that bugs caused by bad hyperlinks, I've fixed it now.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

nm found the minimap bug.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Small Feature request: save user name and password, because it's annoying having to type it in every time :P

And could you have another go at double buffering, because the #main is a big no-no at the moment. Like relative said, you could always have 2 releases at the same time; or even one with a windows-esque "safe mode".

Overall though, AFlobby is looking buff!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

My current build has doublebuffering, I'll upload it.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

I'm waiting...:P
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

http://www.darkstars.co.uk/randomfiles/ ... build1.zip

I also figured out howto fix regex for urls too so the link in #aflobby should work now.
Post Reply

Return to “Linux”