I agree. AF thanks for keeping up the good work!own3d wrote:Autopackage fell on its face long ago, the best solution is just a binary in an archive as before but maybe packaged with spring so its just 1 linux download?
[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
I've fixed a bug with pm windows that lets you have multiple pm windows for the same user via logging in and out. There's also logged in and out messages on pm windows and aflobby now goes back to the login page on a disconnect and pops up a message.
Also I forgot to mention the agreement on registering now shows proper RTF formatting.
I'm going to add 'user went ingame' messages too in pm windows, and the small white spaces next to messages in multiline messages are going to become timestamps instead.
I also fixed channel messages and line accumulation (emulated multiline messages), and gray timestamps have now been added in the space between now and the previous paragraph along with a row of pretty icons!

After that I have the following checklist:
- Change the start tab so it looks presentable
- Call unitsync for spring version and handle checking for updates so tobis test server can be used
- Create a settings panel with a tasclient perform list script
- add the /say command for use in above list
- add a /sendtraffic command for above list
- makes the battle window set the minimap to not found if the min changes and the user doesnt have the new map.
- turn urls into hyperlinks and open them in the default browser using the new class I added.
- add a button under exit channel labelled 'join on login' for autoadding to the above list.
And I know sometimes what I write makes me sound like I'm being an ass, so thanks for putting up with me ^_^.
And big thanks to relative/hellcom for the torrent of bug reports and daily tests.
Also I forgot to mention the agreement on registering now shows proper RTF formatting.
I'm going to add 'user went ingame' messages too in pm windows, and the small white spaces next to messages in multiline messages are going to become timestamps instead.
I also fixed channel messages and line accumulation (emulated multiline messages), and gray timestamps have now been added in the space between now and the previous paragraph along with a row of pretty icons!

After that I have the following checklist:
- Change the start tab so it looks presentable
- Call unitsync for spring version and handle checking for updates so tobis test server can be used
- Create a settings panel with a tasclient perform list script
- add the /say command for use in above list
- add a /sendtraffic command for above list
- makes the battle window set the minimap to not found if the min changes and the user doesnt have the new map.
- turn urls into hyperlinks and open them in the default browser using the new class I added.
- add a button under exit channel labelled 'join on login' for autoadding to the above list.
And I know sometimes what I write makes me sound like I'm being an ass, so thanks for putting up with me ^_^.
And big thanks to relative/hellcom for the torrent of bug reports and daily tests.
Committed.AF wrote:http://www.darkstars.co.uk/randomfiles/ ... ndings.cpp
Updated with spring version and some line ending fixes.
Do you test the version from buildbot (test installer) at times to check it works correctly?
Added user went ingame came out of game emssages to pm windows, timestamps done, added the extra commands, fixed a connection class bug I found testing cookiebot.
I also added a settings tab and the logon script, aka perform list in tasclient, only this ones more flexible and can have protocol commands sent, channel messages, and comments(if a line isnt command its a comment).
I've also added a button to channels that adds /j channelname to the end of the list.

And here's the new settings panel, more tabs wil be added as new options are added.

I also added a settings tab and the logon script, aka perform list in tasclient, only this ones more flexible and can have protocol commands sent, channel messages, and comments(if a line isnt command its a comment).
I've also added a button to channels that adds /j channelname to the end of the list.

And here's the new settings panel, more tabs wil be added as new options are added.

A little stack trace for you. Lobby locked up, not sure what action may of caused it to occur, and have not been able to recreate this particular one.
Code: Select all
[Loaded java.io.InterruptedIOException from shared objects file]
[Loaded javax.swing.SystemEventQueueUtilities$RunnableCanvas from shared objects file]
[Loaded javax.swing.SystemEventQueueUtilities$RunnableCanvasGraphics from shared objects file]
[Loaded sun.awt.X11.XDestroyWindowEvent from shared objects file]
[Loaded java.awt.Component$FlipBufferStrategy from shared objects file]
JSync Setup
Exception in thread "Timer-0" java.lang.NullPointerException
at aflobby.CProtocol.ProcessEvents(CProtocol.java:132)
at aflobby.CProtocol.Update(CProtocol.java:262)
at aflobby.JCUpdateTask.run(CProtocol.java:34)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
[Loaded sun.reflect.GeneratedMethodAccessor10 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor11 from __JVM_DefineClass__]
[Loaded sun.misc.Signal$1 from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded java.io.DeleteOnExitHook from shared objects file]
Compile the unitsync in svn. You'll need java 6 dev kit/JDK to build it.
Relative, that stack trace makes no sense when you look at the code
This will need a newer beta 1 build to be tested but I cant see why it'd crash. Itd crash if 'i' was null, which means 'temp' is null or empty, but that cant be possible because events has to be empty for that to happen and there's a check at the start of the functionf ro that =s.. Unless a null object was added to events.
Relative, that stack trace makes no sense when you look at the code
Code: Select all
ArrayList<CEvent> events = new ArrayList<CEvent>();
void ProcessEvents (){
if(events.isEmpty ()){
return;
}
ArrayList<CEvent> temp = new ArrayList<CEvent>();
for(int i = 0; i < events.size (); i++){
temp.add (events.get (i)); // why didnt it crash here?
}
//temp.addAll(events);
events.clear (); // or here?
Iterator<CEvent> i = temp.iterator (); // or here?
while(i.hasNext ()){ // line 132
CEvent e = i.next (); // a single line was added in a function further up so this is probs the crashpoint
if(e.data[0].equalsIgnoreCase ("JDISCONNECTED")==true){
try {
wait (50);
Hey, AF, is it possible to integrate Kloot's nice linux configuration utility; http://spring.clan-sy.com/phpbb/viewtop ... n+settings
or maybe you could add something similar yourself. It would be nice to keep everything in 1 package.
or maybe you could add something similar yourself. It would be nice to keep everything in 1 package.
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
Found out what must be wrong:PauloMorfeo wrote:...paulo@portatil:~/Desktop/nova pasta$ sh aflobby.sh make sure AFLobby and libunitsync.so is in your current working folder
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
at java.awt.EventQueue.invokeLater(libgcj.so.7)
at javax.swing.SwingUtilities.invokeLater(libgcj.so.7)
at aflobby.Main.main(Main.java:87)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit
at java.lang.Class.forName(libgcj.so.7)
at java.lang.Class.forName(libgcj.so.7)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
...3 more
No wonder it doesn't works. Java 1.4 instead of the minimum required of Java 1.5...paulo@portatil:~$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.0 (Ubuntu 4.1.0-1ubuntu8)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What i don't understand is that it seems that i have the Java from Sun also installed, that one 1.5 or 1.6(?), which is what Netbeans needs to execute. I must have chosen to install both the "open" java as well as Sun's Java and, now, calling "java" from the command line is linking to the "open" one (1.4).
I have a (linux) unitsync with the Java bindings right here:
http://www.ashu39.dsl.pipex.com/unitsync.tar.gz
http://www.ashu39.dsl.pipex.com/unitsync.tar.gz
The new AFLobby you gave me doesn't seem to work with either the new or old unitsync.
Code: Select all
Exception in thread "Timer-4" java.lang.UnsatisfiedLinkError: aflobby.CUnitSyncJNIBindings.Init(ZI)I
at aflobby.CUnitSyncJNIBindings.Init(Native Method)
at aflobby.CSync.Setup(CSync.java:76)
at aflobby.LoginTask.run(JLoginPanel.java:20)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)