Page 26 of 49

Posted: 13 Jun 2007, 20:33
by Relative
Even with the visual I'm not sure what you are talking about :lol:

500th in thread!!!

Posted: 13 Jun 2007, 23:14
by AF
congratulations

In the mean time is this what you meant?

Image

Posted: 14 Jun 2007, 14:26
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.

Posted: 14 Jun 2007, 16:09
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.

Posted: 14 Jun 2007, 16:37
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!

Posted: 14 Jun 2007, 16:52
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.

Posted: 14 Jun 2007, 18:32
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.

Posted: 14 Jun 2007, 18:42
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.

Posted: 14 Jun 2007, 19:12
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?

Posted: 14 Jun 2007, 22:47
by AF
That channel player list is old, and needs replacing with something more appropriate. However it does its job for the most part.

Posted: 15 Jun 2007, 12:29
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.

Posted: 15 Jun 2007, 23:09
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

Posted: 15 Jun 2007, 23:25
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!

Posted: 16 Jun 2007, 01:00
by AF

Posted: 16 Jun 2007, 12:09
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!

Posted: 16 Jun 2007, 15:50
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.

Posted: 16 Jun 2007, 15:57
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.

Posted: 16 Jun 2007, 15:58
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) .

Posted: 16 Jun 2007, 19:05
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.

Posted: 17 Jun 2007, 12:47
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 :)