[Linux Lobby] AFLobby Beta 3.9.7 - Page 12

[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 »

I did a little research and found this:

http://mindprod.com/jgloss/font.html

lucida sans it seems was a lucky guess, it's installed on windows by the sun Java runtime. That page also lists the necessary actions to load a ttf font and use it...
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Don't spend your time telling me what I should and shouldnt be doing right now. I have enough problems as it is and this isnt as much of a priority at the moment. I apologize for being somewhat blunt, but I dont appreciate rude remarks like that.
*Response lag*

Did you read what I posted? That was hardly rude, it was a merely a polite suggestion to help you out. All I said was try joining a real Linux forum and ask a simple question to those whom are more knowledgeable. Last time I checked all you needed to join and use a forum is a browser that can render HTML. You don't need to install an entirely new operating system for just that. I apologize for being somewhat blunt, but I don't appreciate rude remarks like that.
:roll:
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I saw a rude remark. If you did not intend it as a rude remark you should have been more careful. Blunt remarks are usually identical to rude remarks but have different body language and tone attatched to them, and this is a text medium.

But please dont clutter the thread up any more than it has been.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Download Alpha 19 here


- Numerous GUI tweaks and repositions, colour changes, resizings
- Fixed an error with minimaps and mapnames not immediatly showing in the battle window
- Set a lot of components to use a 'SansSerif' font which the JRE should map onto an OS font at runtime.
- Fixed one or two resizing bugs
- Recompiled unitsync.dll
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

It's better, though the tabs are still not quite there:
Image

Also, the menu needs resizing to see all options:
no more valid

And there's only one label with dots at the end, but that might be due to its length. So the font seems to be working.
Last edited by SupaSonic on 11 Mar 2007, 16:00, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I remember getting that last bug but I remember fixing it too and seeing it vanish
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Download Alpha 19a here

That panel is white because its double buffered, and it seems it was resized accidentally to the right of the form.

I've also removed some margins on the top buttons.
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

Yep, no more dots.
The menu Page is also fine now.
The only issue issue remaining is the tabs - like on the first screenshot.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Does the issue stay if you resize the window?
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

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

Post by AF »

Justa quick update, I've fixed script generation so tasclient vs AFLobby should work.

Now I need to add support for starting rectangles, AI, and battle moderator commands, then I can start on the major UI overhaul.
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

Hi I am trying to get the Aflobby it's the new one that you done.

it keeps on giving me this error

unsatisfied link error, make sure you have a JNI aware Unitsync library in the same folder as AF Lobby, path: /home/samuelmp library path:


what does this mean, can you he;p me please
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

err, Operating system, version number, service packs?, What version of Java? Which Java runtime? How're you running it? Are you doing that from inside the archive or have you extracted the contents of the archive? Are you doing it via the provided scripts or running aflobby directly?

Please provide information! An error rport is useless if its just an error message wihout a context or description of what happened to get the error.
User avatar
iamacup
Posts: 987
Joined: 26 Jun 2006, 20:43

Post by iamacup »

mangotsome wrote:Hi I am trying to get the Aflobby it's the new one that you done.

it keeps on giving me this error

unsatisfied link error, make sure you have a JNI aware Unitsync library in the same folder as AF Lobby, path: /home/samuelmp library path:


what does this mean, can you he;p me please
it means do you have a JNI aware unitsync libary in directory specified.

do you?
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

I am using Simply Mepis 6.5 RC1. I am using sun java 6 web start. I think I am from inside the archive, as I extracted it and the opend aflobby.jar with Java 6 Web start, that right click thing. i think i am running the lobby directly.

I don't know what you mean by the provided scripts.

I can see these file is aflobby_alpha19a folder

Lib = folder which has AbsoluteLayout.jar swing-layout-1.0.jar
aflobby.bat
aflobby.jar
aflobby.sh
libunitsync.so
unitsync.dll


service packs, I dont know what you mean by this but I don't use windows
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

iamacup, your probly right,

how do I do this JNI aware unitsync libary in directory specified,
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

You cant just start it thatw ay unless you're under windows

extract everything into the spring folder and run one of the scripts

aflobby.sh if under linux

aflobby.bat if under windows.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Hey AF, as we talked in the lobby here is the stack trace from that crash.

Code: Select all

rutter@stumpy:~$ cd /home/rutter/.aflobby
rutter@stumpy:~/.aflobby$ bash aflobby.sh
make sure AFLobby and libunitsync.so is in your current working folder
working directory : /home/rutter/.aflobby
n# of sides: 2
side 0 : ARM
side 1 : CORE
javax.imageio.IIOException: Can't read input file!
/home/rutter/.aflobby/smalldivide.smf.jpg
javax.imageio.IIOException: Can't read input file!
/home/rutter/.aflobby/.jpg
javax.imageio.IIOException: Can't read input file!
/home/rutter/.aflobby/.jpg
javax.imageio.IIOException: Can't read input file!
/home/rutter/.aflobby/.jpg
javax.imageio.IIOException: Can't read input file!
/home/rutter/.aflobby/.jpg
/home/rutter/.aflobby/SmallDivide.smf.jpg
javax.imageio.IIOException: Can't read input file!
/home/rutter/.aflobby/.jpg
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.
aflobby.sh: line 2: 10344 Aborted                 (core dumped) java -Djava.library.path=. -jar aflobby.jar
rutter@stumpy:~/.aflobby$ 
Running ubuntu edgy with java 6 sun runtime. The client crashed after I entered ID for a battle. I don't know the mod or any details about the game I was trying to join as I was just typing in ID numbers with the hope of striking lucky.

Also, I have some problems/questions.

The only way I can get the lobby running without the unitsync.so missing error (even when its there it doesn't work) and for the lobby to detect mods and maps (but not the AI) is by running the lobby via aflobby.sh. Should I be doing this? Using it was lucky guess.

Furthermore, where do I find/compile the unitsync.so and what directory do I place it in?

Here is the aflobby directory:

Code: Select all

rutter@stumpy:~/.aflobby$ ls
2_Continents_Remake.smf.jpg         GreenHaven.smf.jpg
4B_facility.smf.jpg                 Hells Pass.smf.jpg
Absolute_Zero-V2.smf.jpg            Hills_and_Valleys-v06.smf.jpg
aflobby.bat                         Hills_and_Valleys-v09.smf.jpg
aflobby.jar                         HorstAndGraben.smf.jpg
aflobby.sh                          Iron_Gauntlet-v02.smf.jpg
Altored_Arctic.smf.jpg              lib
Altored_Divide.smf.jpg              libunitsync.so
Altored_Earth.smf.jpg               Mars.smf.jpg
AncientArena.smf.jpg                MartianDesert.smf.jpg
Aquatic_Divide_TNM05-V2.smf.jpg     MetalHeck.smf.jpg
ArcticPlainsV2.smf.jpg              Metal_Holms_v2.smf.jpg
AWallDividesIt.smf.jpg              MetalWall.smf.jpg
BlackLake_Swamp_v_1.smf.jpg         MoonQ20x.smf.jpg
Blue Planet.smf.jpg                 Moon Quartet Remake.smf.jpg
Brazillian_Battlefield.smf.jpg      NanoArenaV2.smf.jpg
Castles.smf.jpg                     Okiriver_Remake-v01.smf.jpg
ClayHillsV2.smf.jpg                 Painted Desert Remake V2.smf.jpg
Comet Catcher Redux.smf.jpg         Parched_mesa-v04.smf.jpg
Comet Catcher Remake.smf.jpg        Plains_and_passes.smf.jpg
Comet Catcher Remake-v02.smf.jpg    Pro-Iron-Pools.smf.jpg
ConquerorsIsle-v02.smf.jpg          Red River North Remake.smf.jpg
Core_Prime_Industrial_Area.smf.jpg  Risk v02.smf.jpg
CorePrime_Rev2.smf.jpg              River Dale-v01.smf.jpg
CorePrime_revision1.smf.jpg         Road to War v2.smf.jpg
Craggy Hills v3.smf.jpg             Severnaya_Industrial_v96.smf.jpg
Crossing_4_final.smf.jpg            Shining_Islands.smf.jpg
Crust.smf.jpg                       Shore2Shore_Remake-v01.smf.jpg
DeepSpaceConflictV2.smf.jpg         SmallDivide.smf.jpg
DeltaSiegeDry.smf.jpg               Small Supreme Battlefield.smf.jpg
DeltaSiegeRevX.smf.jpg              Small Supreme Battlefield V2.smf.jpg
DeltaSiege.smf.jpg                  Small Supreme Islands V2.smf.jpg
Deserted_Gully-v05.smf.jpg          Sparewood-v01.smf.jpg
Desertforts_V2.smf.jpg              SpeedMetalDuo v2.smf.jpg
DesertTriad.smf.jpg                 SpeedMetal.smf.jpg
Dessicated Sinkhole b1.smf.jpg      Speedrnetall.smf.jpg
DigSite.smf.jpg                     SpeedWaterDuo.smf.jpg
DireStrights.smf.jpg                supcom.smf.jpg
Dividing_Wall.smf.jpg               Supreme Battlefield.smf.jpg
duckfusions.smf.jpg                 Tactical_Divide_v2.smf.jpg
duck.smf.jpg                        Tangerine.smf.jpg
Egypt.smf.jpg                       The Cold Place Remake V2.smf.jpg
Energy Spire Plain.smf.jpg          TheColdPlace.smf.jpg
Evad_River_Confluence-v01.smf.jpg   The Pass V2.smf.jpg
Green Comet Basic.smf.jpg           unitsync.dll
Green Comet V3.smf.jpg              unitsync.so
Greener_Fields.smf.jpg              Victoria Crater.smf.jpg
GreenFields_Island.smf.jpg          WideOpenCombat.smf.jpg
Green_Fields.smf.jpg                XantheTerra_v3.smf.jpg
rutter@stumpy:~/.aflobby$ 
Another thing, is there anyway at all to tell which battles are open, locked, ingame etc... in the battle tab?

Edit: Also, is the lobby working :P? I mean is it at a state where I can join a game and start spring? I tried to host a match just to test if running spring worked, but it didn't run. Is there some configuration I need to do? I'm using tobi's .debs.

Sorry for asking so many questions.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Also, is the lobby working ? I mean is it at a state where I can join a game and start spring? I tried to host a match just to test if running spring worked, but it didn't run. Is there some configuration I need to do? I'm using tobi's .debs.
alpha 19a, no

alpha 20, yes

And yah, just running AFLobby directly means that Linux isnt told to look in the working directory so it never finds unitsync.so, hence the pre-prepared script.

As a side note, the battle tab is not intended to be the final look, rather its a quickly put together set of controls to let me test the underlying code.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Thanks AF, good luck with the upcoming alpha 20 release then. Besides what I have already mentioned I've not noticed any problems or bugs as of yet.
Post Reply

Return to “Linux”