[Linux Lobby] AFLobby Beta 3.9.7 - Page 32

[Linux Lobby] AFLobby Beta 3.9.7

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

Moderator: Moderators

User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

Hey,

AF, I'm loving the lobby so far. I hope you're planning to let people change the theme later though :P

Under Ubuntu 7.04 I'm getting this error when I try to host a game:
"OPENBATTLEFAILED Invalid command format or bad arguments"

It happens regardless of what I type in the boxes and how I set it up.

Sorry if the answer is somewhere in the thread, I'm too lazy to go looking through it all, and search didn't give me any hits.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Wow the AFLobby base is expanding :P

@TheHive -> whats the error in the terminal? And yes, AF is planning user interchangeable themes.

@rabe; I have no idea what your error is; your errors are wierd; are you sure you're not running the SVN version? As the type of errors you get seem similar to what i got when I tried using SVN version online (AFAIK AFlobby does not check versions).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

rabe, its a unitsync error not an AFLobby error, AFLobby has no references to libjpeg.so and cant use it anyway as I havent written JNI bindings for it and have no need to.

If it was an AFLobby error there would be an UnsatisfiedLinkException.

However I beleive I saw you in the lobby so I'm not sure if its been corrected or not.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

And yes, I'm going to tie all the colours into a settings class and allow the user to swap out all the graphics at some point.
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

are you sure you're not running the SVN version?
I DO have the actual SVN version (svn checkout from https://taspring.clan-sy.com/svn/spring/trunk). Which one should I use instead?
However I beleive I saw you in the lobby so I'm not sure if its been corrected or not.
Yes, I can join the lobby. The client only crashes whent it tries to build minimap images. The created files then don't have any content but the program can start (withouth minimap functionality).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

hmm, its my understanding that ti onyl ever builds minimaps when the login progress bar shows, meaning you could never login.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

rabe wrote:
are you sure you're not running the SVN version?
I DO have the actual SVN version (svn checkout from https://taspring.clan-sy.com/svn/spring/trunk). Which one should I use instead?
Ahhh... there's your problem!; the SVN is the development version and not the version you should use online; (you only needed to compile the SVN version for the latest unitsync)

Use

Code: Select all

svn checkout https://taspring.clan-sy.com/svn/spring/tags/taspring_0.74b3/ 
instead.

Finally you should be sorted!

(Theres also an ebuild ready for gentoo you can use; http://spring.clan-sy.com/wiki/SetupGuide)
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 34, Size: 34
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at aflobby.CBattleTableModel.GetBattleAt(CBattleTableModel.java:87)
        at aflobby.CBattleTableModel.getValueAt(CBattleTableModel.java:94)
        at javax.swing.JTable.getValueAt(JTable.java:2652)
        at javax.swing.JTable.prepareRenderer(JTable.java:5666)
        at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2067)
        at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1969)
        at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1765)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
        at javax.swing.JComponent.paintComponent(JComponent.java:758)
        at javax.swing.JComponent.paint(JComponent.java:1022)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5104)
        at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1386)
        at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1317)
        at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1132)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5052)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        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)
happened while resizing battle list columns.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

fixed in the next build
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

Lippy wrote:@TheHive -> whats the error in the terminal? And yes, AF is planning user interchangeable themes.
nothing in the terminal, as far as i know, I'm not on it right now, but i remember thinking it was strange that there was nothing in the terminal
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

hmm, its my understanding that ti onyl ever builds minimaps when the login progress bar shows, meaning you could never login.
No, it is different. At the first time the program tries to create minimaps. In fact, there are minimap-files created, the program crashes and leaves them without content. After restarting AFLobby the files exist so it does not try to build them again and starts without error.
Ahhh... there's your problem!; the SVN is the development version and not the version you should use online; (you only needed to compile the SVN version for the latest unitsync)
I installed the version from the other URL now, but my problems remain exactly the same.

And there is a really strange bug in spring(not AFLobby): You always have to put the mods in the "maps" folder to make spring detect them - at least this is the case for me.
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

Ok, I can now host games.

Not sure what exactly happened, but it works now. :-)

All good, thanks for the work AF!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Id look at your unitsync.so again. Making sure all the dependencies including libjpeg were compiled in and that they're 64bit
HeadHunter
Posts: 53
Joined: 15 May 2007, 12:33

UNITSYNC

Post by HeadHunter »

I have OpenSuSE 10.2. Spring works fine and is installed in /usr/local/share/games/spring. Mods are on win disc in /windows/c/Spring and are symlinked in proper way to the spring folder and with .springrc.
AFlobby is run using JRE6. It runs well, but I have 3 global issues:
1). I do not know how to build unitsync. I downloaded the .cpp from darkstars http://www.darkstars.co.uk/randomfiles/ ... ndings.cpp and built it by

Code: Select all

 scons unitsync
It gives me a unitsync.so, but i think it is not the needed one :?
2). When I run AFlobby with ANY of the available unitsync's i do not know wich name should i use [unitsync/libunitsync/libjavaunitsync]. Also, AFlobby can do 2 things with all that libs:hang up(with my own build, no error messages), or say that it have not found unitsync. What shall i do?
3). And, to finish it up, 2 bugs. first, when moving aflobby's window, it shakes a lot. It just moves randomly between 2 pos:the new and the pos where it was. When i stop dragging window, it lies peacefully in the new pos. Not so bad, but annoying. And the second-It would be better if i could send a PM to a player by clicking his name. Currently it leads to crash..
PS: AF, i'm not a very good coder, but i can help you if you tell me what ot do=) I think i could try rewrite unitsync in java since it does not include any gui calls, so contact me if you are interested.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

If it crashes you post the stacktrace here. If it lockups you say so here.

its libjavaunitsync.so use the binary in the latest build if your 32bit, if your 64bit look up the thread.

As for the movement issue and the pm issue, I don't get that, it works fine for me. What cpu are you running with?

Also make sure your not using alpha23b. We've all moved on to beta 1 release candidates, unitsync changed with it too, and youll see that the version of my bindings in the svn/trunk is different from the one on my site, tobi made a few changes to help with compiling..
Drezil
Posts: 33
Joined: 08 Mar 2007, 13:32

Post by Drezil »

minor bug: perform does not work correctly.

if I alter my perform to sth. like

Code: Select all

/join #bla
/join #blup
aflobby does nothing. in proir versions i got sth. like:

Code: Select all

f:/join #bla/join #blup
in the console.

the settings are safed, but every "newline"-character is deleted. Maybe this is an linux-issue? (\n instead of \r\n ?)

should not be that hard to fix ;)
Last edited by Drezil on 28 Jun 2007, 01:22, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

sthl?
I'm not familiar with that line of net lingo, The nearest I know is shut the hell up(sthu).

Scripts are loaded and saved correctly uing the java API to retrieve the line delimeter, and I've corrected the channels tab todo the same.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Hey AF buddy, what is actually left to do till it is a full featured client?
Just a quick rundown will do :)
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

http://www.urbandictionary.com/define.php?term=sth;

sth:
s'n'n, sumthn, somethin, something
e.g. i wanna do sth fun today, im sick of this boring shit here

never heard that one before...
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

sth is a pretty crap shorten of it lol.
Post Reply

Return to “Linux”