[Linux Lobby] AFLobby Beta 3.9.7 - Page 13

[Linux Lobby] AFLobby Beta 3.9.7

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

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Alpha 20 Progress

Image

- 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

- Battle table is now colour coded with blue rows being ingame, and yellow rows being passworded and not ingame...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

btw can somebody recompile unitsync for linux users using the new java bindings at http://www.darkstars.co.uk/randomfiles/ ... itSync.cpp
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post 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?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

using a manually hacked makefile with manually hacked include paths actually :-)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post 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)
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post 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.
Last edited by Kloot on 05 Apr 2007, 16:10, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Kloot wrote:it's not necessary to link against anything.
Ah nice, that's what I wanted to hear :P

I already figured the headers out, that was the easy part ;-)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Download Alpha 20a here

See above posts for changelog. I've also added basic tabbed channels.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post 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.

Image
Last edited by architeuthis on 24 Apr 2007, 21:15, edited 1 time in total.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

AF wrote: alpha 21 changelog:
I see many of the bugs I reported have been fixed. :P
Tim-the-maniac
Posts: 250
Joined: 22 Jul 2006, 19:58

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

how're you executing aflobby?

via the batch script? directly? command line? from a subfolder? from inside the archive?
Tim-the-maniac
Posts: 250
Joined: 22 Jul 2006, 19:58

Post by Tim-the-maniac »

Talked to AF in the lobby and he doesn know whats up, any other people get that error?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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
Post Reply

Return to “Linux”