[Linux Lobby] AFLobby Beta 3.9.7 - Page 26

[Linux Lobby] AFLobby Beta 3.9.7

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

Moderator: Moderators

User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Even with the visual I'm not sure what you are talking about :lol:

500th in thread!!!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

congratulations

In the mean time is this what you meant?

Image
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Yeah, but not only "alert me when this battle finished".
Or a global event if someone opens a game with a mod xy.
Or a map yx.
Or player xyx opens a game.

Edit:
Found a bug/problem, I think someone has said it. The pm does not work 100% correctly. If some on pm me AFLobby stopped working.
But If I open a pm window AFLobby does not stop. Then I can send and receive.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I know I fixed that pm window bug last night.

And theres a little flaw in some fo your logic. I cant add a 'when user opens a battle' event to that menu because theyd have to have opened a batle to even be on that list.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

I think what he means is that it messages you if anyone opens a game with the specified mod e.g. you give the command to AFlobby to "PM me when game appears with mod 'BAv5.4'"

Also he seems to want to have options such as "AFLobby pm me when this selected game becomes unlocked and has a free slot"

In the end I think it's a good idea, but it may take some work which may not be worth it. Also, if you do implement it, remember to turn off any background searching once your ingame so that it doesn't take up any valuable cpu cycles!
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I think what he means is that it messages you if anyone opens a game with the specified mod e.g. you give the command to AFlobby to "PM me when game appears with mod 'BAv5.4'"

Also he seems to want to have options such as "AFLobby pm me when this selected game becomes unlocked and has a free slot"
Exactly!
Can you change the color changing in the battle window. If a player have the color yellow or white I can´t read any informations about him.
I had two times the problem that the host changes the map and I did not notice it.
The problem was I could press ready button without having the map. This ends in a restart for all.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Support for the following protocol commands has been added

DISABLEUNITS
ENABLEUNITS
ENABLEALLUNITS

That means AFLobby now supports restricted units. However no UI has been added for adding or removing them so this is only for tasclient hosts atm.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

As a side note, I want to add sounds to AFLobby but I cant play them from inside the JAR archive and need to put them in folders in the FS.

For windows and linux compatability I should put them in /aflobby/sounds/ along with everything else (minimaps settings etc).

This means the JAR archive will probably be 70% smaller but theres this extra set of folders that needs moving into the correct location so its no longer a drag and drop into spring folder installation.

This does mean UI images and smiley images will be modifiable and I can change the code to show custom smileys. And in time very basic theme support.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

AF wrote:As a side note, I want to add sounds to AFLobby but I cant play them from inside the JAR archive and need to put them in folders in the FS.

For windows and linux compatability I should put them in /aflobby/sounds/ along with everything else (minimaps settings etc).

This means the JAR archive will probably be 70% smaller but theres this extra set of folders that needs moving into the correct location so its no longer a drag and drop into spring folder installation.

This does mean UI images and smiley images will be modifiable and I can change the code to show custom smileys. And in time very basic theme support.
Cool!

Could you also make AFLobby create the folders this time, as i foresee newcomers getting confused and reporting the minimap 'errors' as bugs (like we did)

And don't forget about a feature saving username and password!

Are you planning to add an icon detailing someone's status (i.e. ingame etc..) in the channel list of players?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

That channel player list is old, and needs replacing with something more appropriate. However it does its job for the most part.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Another issue with URLs.

Hyperlinked: Blue
http://www.mediterrasian.com/graphics/recipe%20pics/hummus.jpg

Looks like its the non-alphanumeric symbols this time.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Added a rename command.
PM window plays a sound when a message is recieved.
fixed regex for % characters
tried to fix the sides when moving between different mods
tried to fix map not found in battle window.
selected item in battle window is now highlighted red and bold

Image
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Have some funny console output and I was kicked because the host could not start because of i/o problems, don´t know if I was the problem. But my console out put is a bit crazy:
heapsize=85196800
JSync Setup
n# of sides: 4
side 0 : Heavy Class
side 1 : Pyro Class
side 2 : Combat Engineer Class
side 3 : Minelayer Class
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
n# of sides: 4
side 0 : Heavy Class
side 1 : Pyro Class
side 2 : Combat Engineer Class
side 3 : Minelayer Class
n# of sides: 4
side 0 : Heavy Class
side 1 : Pyro Class
side 2 : Combat Engineer Class
side 3 : Minelayer Class

infoid:79533 BATTLECLOSED 79533

n# of sides: 4
side 0 : Heavy Class
side 1 : Pyro Class
side 2 : Combat Engineer Class
side 3 : Minelayer Class
javax.imageio.IIOException: Can't read input file!
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 42, Size: 42
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at aflobby.CBattleTableModel.getValueAt(CBattleTableModel.java:91)
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.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JViewport.paint(JViewport.java:747)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
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)

infoid:79541 BATTLECLOSED 79541

n# of sides: 4
side 0 : Heavy Class
side 1 : Pyro Class
side 2 : Combat Engineer Class
side 3 : Minelayer Class
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!

infoid:79555 BATTLECLOSED 79555

n# of sides: 4
side 0 : Heavy Class
side 1 : Pyro Class
side 2 : Combat Engineer Class
side 3 : Minelayer Class
javax.imageio.IIOException: Can't read input file!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Juhu, have you include my feature request: "event system"==?????
Thx, hope I´m hope I will not kicked from a host with this version.

Edit:
Tested out!
First try:
Enter login informations....done logged in.
/rename name does work. But I get no response if it works.
Try 02:
Logged in with new name. Works. After two mins stoped working. Don´t know why. Its the same as pm window bug. I have a window but no controls.
Try 03:
Information entered press login.... stoped work. WTH???
No console out put that I can give you. Only normal debugging informations:
make sure AFLobby and libunitsync.so is in your current working folder
heapsize=85196800
JSync Setup
Edit02:
Maybe a problem with swing? Does aflobby require swing? Because I don´t know if I have installed it....?!? I will check it.
Edit03:
Could not found a installed packed with the name *swing*, but I think its not the problem.
Because the build before works good. Okay some problems with i/o and /rename not available.
Hope the next build will work better and have a option to save the lobby name.
And my super imaged event system. Ah, the colors are not fixed. Mhm, have you played a game with your lobby af? If a player choosed the color white or yellow you can´t read it. Maybe you should change the text to black and add a information about the color like this: color: xy or color (Colored) or "color name"(Colored)

Big edit:
Found a big bug!!!!!!!!!
If I join a game, the lobby switch me between spectator and player two times in a sec.. Crazy! Its impossible to play!
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Agon wrote: Big edit:
Found a big bug!!!!!!!!!
If I join a game, the lobby switch me between spectator and player two times in a sec.. Crazy! Its impossible to play!
Yep, AF already knows, I reported it yesterday. For me it only appeared when i didn't have the map; so try downloading the map beforehand and joining.
Try 02:
Logged in with new name. Works. After two mins stoped working. Don´t know why. Its the same as pm window bug. I have a window but no controls.
I'm not sure what you are trying to say here.. but at the moment the register new account doesn't work (AF knows too)

I'll start posting the bugs here too so bugs only get reported once.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Lippy wrote:
Agon wrote: Big edit:
Found a big bug!!!!!!!!!
If I join a game, the lobby switch me between spectator and player two times in a sec.. Crazy! Its impossible to play!
Yep, AF already knows, I reported it yesterday. For me it only appeared when i didn't have the map; so try downloading the map beforehand and joining.
Yeah, I just noticed this problem too.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Quote:
Try 02:
Logged in with new name. Works. After two mins stoped working. Don´t know why. Its the same as pm window bug. I have a window but no controls.


I'm not sure what you are trying to say here.. but at the moment the register new account doesn't work (AF knows too)

I'll start posting the bugs here too so bugs only get reported once.
Forget it. It was only a problem with my fast mouse skills 8) .
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The flickering between spectator mode and normal mode is me trying to implement user force data such as FORCESPECTATOR failing miserably because betalord had to go and use the stupidest method of implementing it then using no real explanation on howto handle it.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

AF wrote:The flickering between spectator mode and normal mode is me trying to implement user force data such as FORCESPECTATOR failing miserably because betalord had to go and use the stupidest method of implementing it then using no real explanation on howto handle it.
Funny i swear he does that with a lot of things :P

Keep up the great work AF :)
Post Reply

Return to “Linux”