Page 29 of 49
Posted: 21 Jun 2007, 18:48
by AF
The problem is he didnt follow instructions and now AFLobby is crashing trying to find smileys he didnt extract.
ONCE AGAIN DO NOT IGNORE PACKAGE1.ZIP OR AFLOBBY WILL CRASH AND BURN WHEN YOU RUN IT.
Posted: 21 Jun 2007, 18:49
by Mastablasta
yes i have that java
Posted: 21 Jun 2007, 18:52
by Relative
Create an ".aflobby" directory in your Home folder:
Terminal command:
Extract the package1.zip folders to ~/.aflobby so your .aflobby folder has ├óÔé¼┼ôimages├óÔé¼┬Ø, ├óÔé¼┼ôsounds├óÔé¼┬Ø, and ├óÔé¼┼ôminimaps├óÔé¼┬Ø folders.
Posted: 21 Jun 2007, 18:54
by Mastablasta
AF wrote:The problem is he didnt follow instructions and now AFLobby is crashing trying to find smileys he didnt extract.
ONCE AGAIN DO NOT IGNORE PACKAGE1.ZIP OR AFLOBBY WILL CRASH AND BURN WHEN YOU RUN IT.
I didnt ignore the smileys! I posted earlier where i extracted them and asked if everything was in the right place.
Mastablasta wrote:I have the stuff from package1 (minimaps images sounds) in username/AF/.aflobby
Posted: 21 Jun 2007, 18:56
by AF
oh no, /af/ is my username on my laptop, it was an example.
Posted: 21 Jun 2007, 18:57
by Relative
AF wrote:oh no, /af/ is my username on my laptop, it was an example.
Yeah, by /af/.aflobby he really means ~/.aflobby or /home/*username*/.aflobby
Posted: 21 Jun 2007, 19:01
by Mastablasta
AF wrote:oh no, /af/ is my username on my laptop, it was an example.
Oh lol, well i fixed that and what do you know everything works!
thanks for the help

Posted: 21 Jun 2007, 20:48
by Relative
Code: Select all
javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
at com.sun.media.sound.HeadspaceMixer.nResume(Native Method)
at com.sun.media.sound.HeadspaceMixer.implOpen(HeadspaceMixer.java:346)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:286)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:323)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:103)
at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:139)
at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)
at aflobby.AePlayWave.run(AePlayWave.java:70)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.formComponentShown(CChannel.java:732)
at aflobby.CChannel.access$600(CChannel.java:42)
at aflobby.CChannel$7.componentShown(CChannel.java:493)
at java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:162)
at java.awt.Component.processComponentEvent(Component.java:5870)
at java.awt.Component.processEvent(Component.java:5818)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.ExitChannel(CChannel.java:232)
at aflobby.CChannel.jButton1MouseReleased(CChannel.java:744)
at aflobby.CChannel.access$1200(CChannel.java:42)
at aflobby.CChannel$13.mouseReleased(CChannel.java:636)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.ExitChannel(CChannel.java:232)
at aflobby.CChannel.jButton1MouseReleased(CChannel.java:744)
at aflobby.CChannel.access$1200(CChannel.java:42)
at aflobby.CChannel$13.mouseReleased(CChannel.java:636)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.ExitChannel(CChannel.java:232)
at aflobby.CChannel.jButton1MouseReleased(CChannel.java:744)
at aflobby.CChannel.access$1200(CChannel.java:42)
at aflobby.CChannel$13.mouseReleased(CChannel.java:636)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.ExitChannel(CChannel.java:232)
at aflobby.CChannel.jButton1MouseReleased(CChannel.java:744)
at aflobby.CChannel.access$1200(CChannel.java:42)
at aflobby.CChannel$13.mouseReleased(CChannel.java:636)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.ExitChannel(CChannel.java:232)
at aflobby.CChannel.jButton1MouseReleased(CChannel.java:744)
at aflobby.CChannel.access$1200(CChannel.java:42)
at aflobby.CChannel$13.mouseReleased(CChannel.java:636)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at aflobby.CChannel.formComponentShown(CChannel.java:732)
at aflobby.CChannel.access$600(CChannel.java:42)
at aflobby.CChannel$7.componentShown(CChannel.java:493)
at java.awt.Component.processComponentEvent(Component.java:5870)
at java.awt.Component.processEvent(Component.java:5818)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
JSync Setup
javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
at com.sun.media.sound.HeadspaceMixer.nResume(Native Method)
at com.sun.media.sound.HeadspaceMixer.implOpen(HeadspaceMixer.java:346)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:286)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:323)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:103)
at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:139)
at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)
at aflobby.AePlayWave.run(AePlayWave.java:70)
Posted: 21 Jun 2007, 21:33
by AF
Fixed.
I also added something new:

Posted: 21 Jun 2007, 21:38
by Relative
AF wrote:Fixed.
I also added something new:
[img]cool[/img]
Secky!!!
Posted: 23 Jun 2007, 17:49
by AF
http://www.darkstars.co.uk/randomfiles/ ... build1.zip
Yesterdays build of aflobby
-New: Cell renderer for the player list, draws rank images, and alternates row colours.
-New: Rank images have been re-ordered somewhat, cropped, and transparency fixed.
-New: Rank images are now loaded from the filesystem not the JAR file, AFLobby should have a smaller JAR file now and package1.zip has been updated.
-Fix: Exiting channels has been fixed
-Fix: When playing a sound on an unavailable sound channel, an exception is caught, however it prints out a stacktrace making the user think aflobby has crashed when it hasnt
-Fix: Fixed a typo that mant when exiting a channel the channel tab didnt close
Posted: 23 Jun 2007, 18:51
by Relative
Minor issue with script generation when hosting; the host's "name" field is empty.
Code: Select all
[GAME]
{
Mapname=Energy Spire Plain.smf;
StartMetal=1000;
StartEnergy=1000;
MaxUnits=500;
StartPosType=1;
GameMode=1;
GameType=Balanced Annihilation V5.4;
LimitDGun=0;
DiminishingMMs=0;
GhostedBuildings=1;
HostIP=localhost;
HostPort=8452;
MyPlayerNum=0;
NumPlayers=2;
NumTeams=2;
NumAllyTeams=2;
[PLAYER0]
{
name=;
Spectator=0;
team=0;
}
[PLAYER1]
{
name=ONeil;
Spectator=0;
team=1;
}
[TEAM0]
{
TeamLeader=0;
AllyTeam=0;
RGBColor=0.31372 0.53725 0.02352;
Side=ARM;
Handicap=0;
}
[TEAM1]
{
TeamLeader=1;
AllyTeam=1;
RGBColor=0.35686 0.67058 0.97647;
Side=ARM;
Handicap=0;
}
[ALLYTEAM0]
{
NumAllies=0;
}
[ALLYTEAM1]
{
NumAllies=0;
}
NumRestrictions=0;
[RESTRICT]
{
}
}
Posted: 23 Jun 2007, 22:14
by AF
Script generation for "" or script generation for "ONeil"?
I can only guess if your not going to put it into a context, Who is hosting, you? Is this the hosts script? Or the other person?
Posted: 23 Jun 2007, 22:42
by Relative
Sorry, wasn't clear. I was hosting and this is the host's script. ONeil also mentioned my username was missing while we were ingame so I'm guessing his script was similar.
Problems with UnitSync?
Posted: 23 Jun 2007, 23:05
by T1nT1n
Hello, I start aflobby.sh and after I log in it gives me this:
Unsatisfied link error
Make sure you have a JNI aware UnitSync library in the same folder as AFLobby, and that it is compiled correctly using the latest java bindings. AFlobby needs the unitsync library to be able to use spring. Linux users need libjavaunitsync.so Windows users need javaunitsync.dll Apple Mac users need libjavaunitsync.dylib (Mac is not entirely supported and upto date mac builds of unitsync arent included due to time restrictions) /usr/share/games/spring/libjavaunitsync.so: /usr/share/games/spring/libjavaunitsync.so: wrong ELF class: ELFCLASS32
I cannot see my maps or mods. I am using AFLobbyB1_22june_build1.
Package1 is unziped in ~/.aflobby and package2 in /usr/share/games/spring and there is libjavaunitsync.so. Maps and mods are in ~/.spring/maps | mods.
I am runnig Java sun-jdk-1.6 on Gentoo. Do you have any idea whats wrong?
THNX.
Posted: 23 Jun 2007, 23:21
by AF
It was compiled and tested using debian absed OS', ubuntu etc.
You're using gentoo, so you must need a new libjavaunitsync.so compiled under gentoo.
You just need to compile the svn trunk branch and make a copy of unitsync.so renamed to libjavaunitsync.so. You'll need the Sun Java Development Kit v6 too.
Beyond that I cant help you as I have never gotten gentoo to install nm running it.
Posted: 23 Jun 2007, 23:32
by T1nT1n
How can I compile svn branch? Sorry, Iam noob to this.
Posted: 23 Jun 2007, 23:58
by AF
So am I, I only know howto do it using windows, aka get svn via tortoiseSVN then get vclibs2k5, open it in visual studio 2k5, and press compile.
I've never gotten linux to run on a computer with working internet capable of spring. I've never managed to get past the gentoo installer following a simple tutorial from my laptop.
And I assume most AFLobby users atm are ubuntu people. I'm a windows user and run Vista/XP.
Posted: 24 Jun 2007, 00:05
by T1nT1n
Ok, I will try to get svn working. Thank you.
Posted: 24 Jun 2007, 00:07
by Lippy
I used this tutorial:
http://spring.clan-sy.com/phpbb/viewtopic.php?t=6492 (although mixed with
http://spring.clan-sy.com/wiki/SetupGuide too; for things like dependencies)
Although instead of using
use
As that's the latest SVN. Don't forget to install the dependencies!