Page 13 of 49
Posted: 01 Apr 2007, 02:57
by AF
Alpha 20 Progress
- Starting rectangles are now supported, complete with translucent display for better viewing of the minimap and overlapping boxes. All that's left is an interface for drawing them for hosts. Expect the ability to drag and drop to move and resize, rather than deleting and recreating.
- Resizing fixed, the window should properly size itself at the start and not cause the tabs offscreen issue.
- Ally and team numbers raised to 16 from 8
- Script generation fixed
- full ADDSTARTRECT and REMOVESTARTRECT protocol support
- handling of the spring process is complete
- Away and ingame are now set and unset properly when ingame
- Various battle windowmappicker bugs fixed
- Fixed a minimap generation error when creating minimaps for smf files not in archives
- Changed battle screen slightly to make it easier to join battles, and easier to see which are ongoing and which are passworded
- Fixed listing fo private games in battletable
- Changed battletable to allow re-arranging of columns, and better resizing of columns.
Posted: 01 Apr 2007, 05:03
by AF
- Battle table is now colour coded with blue rows being ingame, and yellow rows being passworded and not ingame...
Posted: 01 Apr 2007, 18:27
by AF
btw can somebody recompile unitsync for linux users using the new java bindings at
http://www.darkstars.co.uk/randomfiles/ ... itSync.cpp
Posted: 01 Apr 2007, 21:31
by Kloot
Posted: 01 Apr 2007, 22:34
by Tobi
How do you compile it kloot?
Using scons unitsync with a manually hacked include path or using tools/unitsync/setup.py using a manually hacked include path?
Or some other way?
Posted: 01 Apr 2007, 23:41
by Kloot
using a manually hacked makefile with manually hacked include paths actually

Posted: 05 Apr 2007, 01:45
by AF
Thanks for the new unitsync.
Alpha 20 progress continued:
- Fixed traffic processing crashbug
- Fixed unknown sync status bug
- Fixed player left bug
- .smf/sm3 is trimmed off of mapnames in the battle list
- Battles are now listed by open, private, ingame, and within these sections they're ordered via mod name.
Posted: 05 Apr 2007, 10:42
by Tobi
Kloot, have you compiled unitsync with Java on MinGW before? If so, could you give me instructions which libraries you needed etc. so I don't have to figure it out myself?
(I'm updating mingwlibs and trying to integrate the unitsync Java bindings in SVN)
Posted: 05 Apr 2007, 15:12
by Kloot
No, I haven't looked at the Windows side before (since AF already did that

), but to compile the Java bindings into unitsync you only have to add some include paths ( /blabla/jdk1.x_y/include/ and blabla/jdk1.x_y/include/<platform>/ ) for aflobby_JUnitSync.cpp (where <platform> is win32 for a Windows JDK), it's not necessary to link against anything.
Posted: 05 Apr 2007, 15:28
by AF
Here are the include folders used from the Java dev kit 1.5.0_11 and 1.6:
http://www.darkstars.co.uk/randomfiles/ ... eaders.zip
http://www.darkstars.co.uk/randomfiles/ ... eaders.zip
I'd use the 1.6 headers but if there're any issues it'd be safe to fall back to 1.5.0_11. The lib folder in the jdk has c++ library files but theyr'e for using the java virtual machine embedded in a c++ program IIRC, or using the java awt toolkit directly via c++.
There should be a similar setup in linux/mac os x
Posted: 05 Apr 2007, 20:02
by Tobi
Kloot wrote:it's not necessary to link against anything.
Ah nice, that's what I wanted to hear
I already figured the headers out, that was the easy part

Posted: 08 Apr 2007, 13:04
by AF
Download Alpha 20a here
See above posts for changelog. I've also added basic tabbed channels.
Posted: 23 Apr 2007, 23:33
by AF
Download AFLobby Alpha 21 here
alpha 21 changelog:
- Corrected drawing issues with channel tabs
- Channels close properly now
- Fixed a bug with image loading
- Changed the running of spring so that messages said in spring can be read by AFLobby
- A new dialog for the JNI error with more information and explanation, aswell as word wrapping, it wont be so wide it goes offscreen anymore.
- Removed 3 columns from the battle table to speed it up
- Removed html formatting on the battle table to speed it up
- The player list now refreshes when you go onto the player tab immediatly.
- The player list is now in 3 columns aligned via html tables
- The player list now shows Country flags and ranks.
- Some framework for commands such as "/j #channel" are in palce, the commands still dont work yet.
- Fixed private message windows not showing the entire window preventing them being closed.
- Fixed channel panels not resizing correctly leading to white space at the bottom.
Posted: 24 Apr 2007, 21:11
by architeuthis
AF, I just tried out Aflobby alpha 21. It looks quite good. But when I tried to join a battle (I don't know if aflobby is already supposed to do this, but I tried to do it anyway) aflobby crashed and I got this error message (in the terminal):
Code: Select all
unitsync: Unitsync assertion failed: unitsync.cpp:651: Array index out of bounds. Call GetPrimaryModCount before GetPrimaryModArchive.
java: unitsync.cpp:651: const char* GetPrimaryModArchive(int): Assertion `(unsigned)index < modData.size()' failed.
Aborted (core dumped)
Furthermore I noticed that I can't see everything in this bar, I can't scroll to the left or the right nor resize the bar (see picture). And below the bar I can still see parts of the flags from the players tab, but I don't know if that's useful to you.

Posted: 24 Apr 2007, 21:14
by Tobi
AF wrote:
alpha 21 changelog:
I see many of the bugs I reported have been fixed.

Posted: 24 Apr 2007, 22:15
by Tim-the-maniac
Looks nice but I get a JNI error thing:
Code: Select all
path variable = C:\Program Files\Spring library path = C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Microsoft DirectX SDK (June 2006)\Utilities\Bin\x86";C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
I have the javaunitsync.dll in my Spring folder.
Posted: 24 Apr 2007, 23:34
by AF
how're you executing aflobby?
via the batch script? directly? command line? from a subfolder? from inside the archive?
Posted: 25 Apr 2007, 00:26
by Tim-the-maniac
Talked to AF in the lobby and he doesn know whats up, any other people get that error?
Posted: 25 Apr 2007, 00:32
by AF
architeuthis, can you get me a stacktrace on the crash? What window manager are you using? What mod was the battle you tried to join?
Posted: 25 Apr 2007, 00:55
by AF
As for tims issue, I have found a possible issue with windows users but he logged off before I could do anything.
Here is a build without the error window, run it in a command prompt and feed me back the stacktrace. I suspect that the javaunitsync.dll requires dlls used in spring 0.75 or needs vs 2005 to work and needs recompiling using mingw32.
http://www.darkstars.co.uk/randomfiles/AFtest21.zip