|
Post by Bakchuda on Feb 14, 2007 17:20:04 GMT
The problem is with the 'attacks.' at the end of the line. I fixed it by adding "'attacks.' => :null" to the @linetypes entry on line 16, and then copying the function heal() on line 150 into a new blank function called null(). All better Thanks for finding that, I have now updated the analyzer to do a little more data validation. Of course, it is still pretty easy to fake a attack or save line and screw up the analysis, but at least you won't accidentally crap it out now by saying the word "attacks" in chat. And to concur with resonance, you can send the output to a file just as he wrote, with " > somefile.txt" after the command (minus the quotes)
|
|
|
Post by Bakchuda on Feb 14, 2007 20:50:43 GMT
HTML and tabular format is here! Preview: devel.snipehunt.net/downloads/analysis.htmlNow you need a whopping 2 files to run this program, the script itself and the CSS file for the html output. I have zipped them both together here: devel.snipehunt.net/downloads/chatAnalyzer.zipThe scrip file now has a third option at the top to specify the name of the output file, which defaults to analysis.html I have tested the output in IE 7 and Firefox 2 and they both look nice, let me know if any other browsers have issues, or if the output of your particular log file looks odd. Happy Analyzing!
|
|
|
Post by kaldair on Feb 14, 2007 21:10:50 GMT
Nice output. LOL I just realized I've seen better coding involving HG than some programs I've used which were purchased for thousands of dollars 0.o
Kaldair
|
|
|
Post by MurphysLawAgain on Feb 14, 2007 21:58:13 GMT
WOW - thats just what I wanted. Thanks very much for those amendments! Informative and pretty Cheers Phandal
|
|
|
Post by cathedralmaster on Feb 15, 2007 1:16:12 GMT
The minimum ab listed is often higher than the maximum ab listed. Either one or both is wrong.
Would it be possible to give the sums of damage as well as their averages? Averages are nice in unchanging situations where each round is the same, but when you have a druid immuting while your spiking during a battle, you often get crap data from the averages. For example, I was killed by the Consort of Acid which did on average 0 dmg to me. To get an average you must be computing the amount of damage recieved and the amount of times one is damaged - if both could be listed as well as the result, it would be very helpful.
|
|
|
Post by Bakchuda on Feb 15, 2007 5:32:49 GMT
I can certainly modify it to display the sum easily enough.
With regard to the ABs and hits/misses, i am considering displaying all hits and misses, and every recorded AB, since the HTML format gives a little more room for this. The results would be sorted of course, and I could probably even put a * next to hits and misses that were caused by a roll of 20 or 1 respectively.
Cath, as to the max and min mixup, could you send me a PM with a chunk of the log file that you analyzed for this? I'd like to debug the script with some other data than the one I have laying around.
|
|
|
Post by dodrudon on Feb 15, 2007 5:39:04 GMT
Didn't somebody mention that being flatfooted, flanked, and various spell effects could change your AC/AB on the fly, making AB/AC hard to record? Maybe have a list of the number of times each AB/AC was recorded as hit/miss.
Hits 10 - 1 time 11 - 8 times 12 - 9 times
Misses 12 - 1 time 6 - 3 times
I dunno, I haven't tried it yet but plan to. Sounds really cool =)
|
|
|
Post by resonance378 on Feb 15, 2007 17:57:12 GMT
I think it's possible to have a higher AB that misses than a lower AB that hits.
You miss because they save with a 20 You hit because they roll a 1
Yeah, think first then open mouth...
|
|
|
Post by cathedralmaster on Feb 15, 2007 20:00:55 GMT
Cath, as to the max and min mixup, could you send me a PM with a chunk of the log file that you analyzed for this? I'd like to debug the script with some other data than the one I have laying around. Sent it to your email.
|
|
|
Post by Bakchuda on Feb 15, 2007 21:47:44 GMT
Thanks Cath, I got it and updated the script. It now prints out in each cell in the table the Average, the number of entries, and the sum of each damage type. I also corrected a calculation that was causing cumulative rounding errors, so the average numbers should actually make some sense. The min/max AB is fixed (was sorting a list of strings rather than ints.... ) and I removed any misses from 1's or hits from 20's from that analysis, so the numbers should be closer to the targets actual AC. Flatfooted and AC reductions still can monkey with the values, but the results seem to make a little more sense now. Let me know if you find any other quirks, or have other comments/suggestions.
|
|
|
Post by Bakchuda on Feb 16, 2007 16:53:33 GMT
I just noticed last night that the recent update changed the output for the spell resistance check, the target's name is now included in the check! I will be modifying the script shortly (sometime this weekend) so it will display Spell Resistance information on each critter.
|
|
|
Post by illandous on Feb 19, 2007 15:44:50 GMT
Looking forward to the update.
|
|
|
Post by Bakchuda on Feb 20, 2007 21:04:12 GMT
Another update has been completed for the analyzer. New features include: Spell Resistance values are now gathered General immunities (Immune to sneak attack, knockdown, etc) are now displayed I also fixed a couple little bugs and tweaked the html display. Try it out and let me know how it goes. devel.snipehunt.net/downloads/chatAnalyzer.zip
|
|
|
Post by illandous on Feb 20, 2007 21:09:03 GMT
Excellent. look forward to trying it out.
|
|
|
Post by resonance378 on Feb 20, 2007 23:06:38 GMT
Whoot! Can't wait to crank it through my log files to find out what I lack (other than talent, a girlish figure, and a 2Billion$ trust fun)!
|
|