PDA

View Full Version : EQ LogTools - log parsing tool


sevendeuceoff
06-05-2014, 11:46 AM
Hi,

I put together this little program for personal use, but decided to add more features and release it to the public.

EQ LogTools is a parsing tool that reads the last line of a Project 1999 log file. It looks for specific triggers for spells and disciplines and starts countdown timers when a spell has been successfully cast/landed on a target.

It also includes a "trigger" panel for notifying you when a user-defined text string occurs in the log file.

Lates beta version of EQ LogTools (0.7) can be downloaded here:
https://sourceforge.net/projects/eqlogtools/

Notes:
- Recommend using "Show PC spells for group only", as other's spells may (rarely) show up in timers if they're casting the same detrimental spell roughly at the same time as you.

Known issues:
- Spell durations, spell names, casting times, trigger strings and spell icons were taken from the Project1999 wiki, Lucy and the EQEmu forum tools and EQ Emu source code, and may be incorrect for some spells.
- If a casting skill is raised after a successful detrimental spell lands on a target, the timer for that spell may not trigger, as parsing is done by last line of text in a log file.
- Dispelled/clicked off spells are not removed from timers, however the timer fields can be erased manually or with a button.


Bugs and/or omissions can be reported here, or email (address in readme.txt).

Screenshots:

https://a.fsdn.com/con/app/proj/eqlogtools/screenshots/demo.png

https://a.fsdn.com/con/app/proj/eqlogtools/screenshots/demo2.png

tristantio
06-05-2014, 12:51 PM
Where's the source?

Also why require the JRE if you aren't just distributing the java or jar files? (what's the point of a jar in an exe)?

mipstien
06-05-2014, 01:15 PM
this program looks really helpful, but yeah source is nice.

webrunner5
06-05-2014, 01:41 PM
Yeah, this could be a very useful tool, but it does seem TOP HEAVY code wise??

Haynar
06-05-2014, 01:51 PM
No source? Might be a key logger.

1st post too. Yikes.

I recommend against 3rd party programs that have not been verified clean.

Just some friendly advice.

H

sevendeuceoff
06-05-2014, 02:24 PM
Had a pretty busy day, sorry :)

Source here:

https://github.com/72o/EQLogTools

tristantio
06-05-2014, 03:17 PM
where E is a type-variable:
E extends Object declared in class JComboBox
src/eqlogtools/ClassHandler.java:371: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
EQLogToolsGUI.comboGroup_14.setModel(new DefaultComboBoxModel(SpellNames.spellNamesDruid[13]));
^
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
src/eqlogtools/ClassHandler.java:371: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
EQLogToolsGUI.comboGroup_14.setModel(new DefaultComboBoxModel(SpellNames.spellNamesDruid[13]));

where E is a type-variable:
E extends Object declared in class JComboBox
Note: Some input files additionally use unchecked or unsafe operations.
100 warnings


Won't compile for me, how are you compiling? With Eclipse? (This was with the javac on CLI).

Also what wrapper are you using for jar to exe? (I assume thats how you're making a native exe)

sevendeuceoff
06-05-2014, 03:30 PM
where E is a type-variable:
E extends Object declared in class JComboBox
src/eqlogtools/ClassHandler.java:371: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
EQLogToolsGUI.comboGroup_14.setModel(new DefaultComboBoxModel(SpellNames.spellNamesDruid[13]));
^
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
src/eqlogtools/ClassHandler.java:371: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
EQLogToolsGUI.comboGroup_14.setModel(new DefaultComboBoxModel(SpellNames.spellNamesDruid[13]));

where E is a type-variable:
E extends Object declared in class JComboBox
Note: Some input files additionally use unchecked or unsafe operations.
100 warnings


Won't compile for me, how are you compiling? With Eclipse? (This was with the javac on CLI).

Also what wrapper are you using for jar to exe? (I assume thats how you're making a native exe)

Yes with Eclipse. I used launch4j for wrapping

iruinedyourday
06-06-2014, 06:00 PM
any updates on this sweet looking tool?

I am afraid to use cus of this heh, but it looks so cool!

No source? Might be a key logger.

1st post too. Yikes.

I recommend against 3rd party programs that have not been verified clean.

Just some friendly advice.

H

sevendeuceoff
06-07-2014, 11:17 AM
any updates on this sweet looking tool?

I am afraid to use cus of this heh, but it looks so cool!

Source has been posted, but I can assure you the program is quite safe. All it does is parse a log file and save your selections in the Windows registry for the next time you open the program.

Frug
06-07-2014, 11:24 AM
Source has been posted, but I can assure you the program is quite safe. All it does is parse a log file and save your selections in the Windows registry for the next time you open the program.

The knee-jerk "might be a key logger" post I thought was quite irresponsible.

Messianic
06-07-2014, 01:46 PM
The knee-jerk "might be a key logger" post I thought was quite irresponsible.

I disagree. Better safe than sorry, and he didn't do it in a mean way.

iruinedyourday
06-07-2014, 10:57 PM
Im gona give this a try today, hopefully you dont heartbleed my life savings :P I will let you know how it goes! thanks for the nice looking tool :D

iruinedyourday
06-09-2014, 04:37 PM
I started using this tool and it works really well! its easy to use and nice and visually pleasing... Although last night my enthrall timer stopped updating for some reason, while other spell timers worked. I haven't restarted but assume that it will work when I try to play later tonight.

This shit is legal right??

Thulack
06-09-2014, 04:38 PM
Its just a log reader so yes its legal.

sevendeuceoff
06-09-2014, 05:08 PM
Although last night my enthrall timer stopped updating for some reason, while other spell timers worked. I haven't restarted but assume that it will work when I try to play later tonight.

Well, there are a few possible natural causes for this to happen, one being the "landed spell" text never shows up in the log (too far away?), the other being a spellcasting skill-up triggering at the same time as the detrimental spell lands (causing the "landed spell" text to fall behind and not getting picked up). However neither of these should prevent the timer from starting on subsequent casts, was this the case with you?

iruinedyourday
06-09-2014, 05:48 PM
Well, there are a few possible natural causes for this to happen, one being the "landed spell" text never shows up in the log (too far away?), the other being a spellcasting skill-up triggering at the same time as the detrimental spell lands (causing the "landed spell" text to fall behind and not getting picked up). However neither of these should prevent the timer from starting on subsequent casts, was this the case with you?

unfortunately I didn't happen to notice, it was during a fast camp break so any of those things could have happened. Ill try to watch that stuff and see If I can repro it in the future.

The thing that I found odd was when I re-loaded the log file, or hit reset timers, I still couldn't get the enthrall timer to start up. I did not try restarting the entire app tho. Which I'm sure would have fixed it!.. in theory, right?

sevendeuceoff
06-09-2014, 06:37 PM
unfortunately I didn't happen to notice, it was during a fast camp break so any of those things could have happened. Ill try to watch that stuff and see If I can repro it in the future.

The thing that I found odd was when I re-loaded the log file, or hit reset timers, I still couldn't get the enthrall timer to start up. I did not try restarting the entire app tho. Which I'm sure would have fixed it!.. in theory, right?

Ok, I'll poke around and see if I can see something amiss. Thanks.

iruinedyourday
06-09-2014, 06:38 PM
Ok, I'll poke around and see if I can see something amiss. Thanks.

Dude, thank you! this thing is sweeeeet I cant believe you put so much work into it.

I was like 'ru serious, I tell it my level, my class, it knows... everything?!?!'

brilliant tool man, brilliant!

*one piece of feedback*

If I am killing 4 things, and say rooting or mezzing 3 of the 4.. it resets the timer on my mez/root every time I cast.. so my mez that is goign to break first, is no longer on the timer.. Same for buffs, if your buffing an entire group.

Would be super cool if: 'if spell timer is counting down, and spell is cast a second time, create a NEW timer next to the current one' So in teh instance I described above, you would have 3 timers counting down.

that is just my opinion and you are the master who made this tool so do whatever you like with it!

but I thought that would be helpful last night. :D

Seuche
07-02-2014, 01:54 PM
I tested as well and found the trigger working only with about 90% accuracy. Even "Your fear spell has worn off." entry was written to the logs sometimes no trigger sound was played. This is the event which was triggered the most so I guess it is not a coincident this one was observed by me.

The option "always on top" is nice but I would prefer the possibility to resize the windows and arrange the spell timers by myself including the option to arrange the spell timers in one column. It is a nice feature to have that value help but for me it would be sufficient to have text boxes where I put in the spell name by myself in the order I prefer. This way I could move that parser into one corner only seeing the first entries I would have filled out.

Anyway it is a good approach. Once it would cover 100% of the entries I would use it every time.

iruinedyourday
07-02-2014, 02:00 PM
I have been using this error free, sometimes it takes a restart or whatever but I assume it was user error. But I love it. It is a very simple clean UI experience.

One thing I was bummed about that I tried was opening 2 instances of it is not possible. I use multiple types of mez spells, and all of them reside on 1 drop down.

So I thought, well if I change the drop down to Enthrall on one, and Entrance on another, and Mesmerize etc on the 3rd instance - Ill be able to time all my mez's! But opening the second instance just didn't work :( maybe that was user error, sounds crazy that it wouldn't be possible to open more than one instance of this sweet sweet app, but maybe there isnt?

That would be cool functionality without altering the GUI or any of the other sweet sweet code you got in there. Still A+ app. Of course, being able to time all the variations of your spells in one GUI would be super hot.

talian21
07-26-2014, 07:36 PM
How is this better/not reinventing the wheel, vis a vis GamTextTriggers from gambosoft.com?

Kajiel Godspeed
09-24-2014, 03:35 PM
Just DLed this hoping to try it out but when i run the program I get an error message:

Could not find main class: eqlogtools.EQLogToolGUI. Program will exit.

???