Page 1 of 1

Achaea Crit Counter

Posted: Sat Jun 12, 2010 4:44 pm
by Wyd
A simple crit counter for Achaea.

Usage:

crit (on/off) - enable and disable the counter..only have it on while hunting, as hitting other adventurers will throw it off

crit reset - reset the counter

crit show - show statistics.


you will need to modify the BashingTrigger trigger for your own hunting attacks for the script to work.
A example of the CRIT SHOW command - the typo has already been fixed!
A example of the CRIT SHOW command - the typo has already been fixed!
crit_preview.jpg (19.53 KiB) Viewed 8987 times
CritCounter.xml
Crit Counter Script
(8.4 KiB) Downloaded 1048 times

Re: Achaea Crit Counter

Posted: Sun Jun 13, 2010 10:36 am
by Wyd
Right, so there is a missing "return" in the load script - should be in the check if the file was loaded correctly.

I'll fix it up shortly

Re: Achaea Crit Counter

Posted: Sat Jun 19, 2010 3:21 pm
by Sohl
I've run into a couple problems so far with this script. Doing 'crit show' gives me the following error in the debug window:

LUA: ERROR running script Crit Counter (Alias93) ERROR:[string "if not CritCounter then..."]:85:
bad argument #1 to 'pairs' (table expected, got nil)

Doing 'crit reset' gives me:

LUA: ERROR running script Crit Counter (Alias93) ERROR:[string "if not CritCounter then..."]:117:
bad argument #1 to 'pairs' (table expected, got nil)

and doing 'crit off' or 'crit on' both give me the echo:

[ CRIT COUNTER ]: Counter has been enabled!

Please let me know if you know what's going on here, since I would really love this script.

Re: Achaea Crit Counter

Posted: Sun Jun 20, 2010 1:28 am
by Wyd
Sorry about that, I'd done something stupid...I've updated the OP with the working version.

Give a yell if you notice anything else

Re: Achaea Crit Counter

Posted: Fri Jul 02, 2010 11:45 pm
by Sohl
Works great, thanks for the fix.

Re: Achaea Crit Counter

Posted: Sun Jul 11, 2010 10:38 pm
by Kazuya
I just grabbed the script today and imported it. The aliases are working for me correctly, however the critical hits aren't being tallied. I customized the trigger by putting in the first chunk of my attack, and the trigger is recognizing it, but every hit is only being counted as a regular hit.

Any suggestions?

EDIT: After a few more days of using the Crit Counter script, it seems that it has started working and is correctly tallying my critical hits, and saving them from session to session.