i too got it working on ubuntu. 9.10 in this case. one thing it complains about is the sound: 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.MixerClip.open(MixerClip.java:162) at com.sun.media.sound.MixerClip.open(MixerClip.java:256) at sound.SoundEffect.<init>(SoundEffect.java:53) at sound.SoundEffect.<clinit>(SoundEffect.java:30) at model.MageloggerModel.initSoundEngine(MageloggerModel.java:639) at model.MageloggerModel.<init>(MageloggerModel.java:564) at executables.MageLogger.<init>(MageLogger.java:86) at executables.MageLogger.main(MageLogger.java:306)
the result is: when i start up ML, THEN try to play music, or even have NWN make sounds, the latter fails and I can hear only the first. if I start up NWN first, then ML won't make any sounds and all other applications works just fine.
To fix that problem, start magelogger with 'padsp java -jar testnew.jar'. There are other ways to fix it, but that is the easiest.
The errors returned this morning, Golly. This whole thing makes me think that the linux version of NWN flushes its logs differently than the windows version. Same errors as before with the beta were appearing in the console, and it wasn't accepting commands on the fly.
Also, I think that this is going to be difficult to track down. Parsing seems to work fine if done from archived logs, just not live. If I knew more about how you're reading the logfile, it's possible I could help, but I don't know.
Ok broskie, will try and get you: - A version that does a trace of every line that gets parsed, when it is detected. (So you can see it on the fly) - Get you the code sample of how I do my parsing/line update detection
- MAJOR bugfix for linux & Mac (Thx to arek for pointing out that linebreak on Windows is an oddball with 2bytes!! ) - Hola mobs recognition --> 2 more commands : ml hola & ml hola offenders --> 2 more sounds : Hola mob entering view & hola mob being beaten on.
Gollem9's magelogger public release V04 - Has NEW search GUI for items on toons/Bankchests (Includes images for items!!!!!) - In the search criteria, if you put '*' in front of criteria it finds items that "contain" the search criteria
so a question / comment, but why dont you create the party based off of the party chat printed to the log? gets rid of the need to do !who party class and what not, and people are added as soon as they say something with [Party] in the log.
i'm currently developing a logger, and this is how i create my ArrayList of Players. Is there any reason why you would NOT want to do this?
and also, the whole [DM] and [Guide] issue is circumvented this way as they are not present in the Party chat lines.
and a side question - are you using regular expressions to parse out your info?