Page 32 of 49
Posted: 26 Jun 2007, 15:03
by theHive
Hey,
AF, I'm loving the lobby so far. I hope you're planning to let people change the theme later though
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.
Posted: 26 Jun 2007, 16:35
by Lippy
Wow the AFLobby base is expanding
@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).
Posted: 26 Jun 2007, 16:50
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.
Posted: 26 Jun 2007, 16:51
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.
Posted: 26 Jun 2007, 17:20
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).
Posted: 26 Jun 2007, 20:11
by AF
hmm, its my understanding that ti onyl ever builds minimaps when the login progress bar shows, meaning you could never login.
Posted: 26 Jun 2007, 20:45
by Lippy
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)
Posted: 26 Jun 2007, 20:49
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.
Posted: 26 Jun 2007, 21:26
by AF
fixed in the next build
Posted: 27 Jun 2007, 07:52
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
Posted: 27 Jun 2007, 12:11
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.
Posted: 27 Jun 2007, 14:04
by theHive
Ok, I can now host games.
Not sure what exactly happened, but it works now.
All good, thanks for the work AF!
Posted: 27 Jun 2007, 15:55
by AF
Id look at your unitsync.so again. Making sure all the dependencies including libjpeg were compiled in and that they're 64bit
UNITSYNC
Posted: 27 Jun 2007, 15:59
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
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.
Posted: 27 Jun 2007, 16:09
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..
Posted: 27 Jun 2007, 20:08
by Drezil
minor bug: perform does not work correctly.
if I alter my perform to sth. like
aflobby does nothing. in proir versions i got sth. like:
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

Posted: 27 Jun 2007, 20:17
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.
Posted: 27 Jun 2007, 20:36
by clericvash
Hey AF buddy, what is actually left to do till it is a full featured client?
Just a quick rundown will do :)
Posted: 27 Jun 2007, 20:40
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...
Posted: 27 Jun 2007, 20:45
by clericvash
sth is a pretty crap shorten of it lol.