Damage Counter script errors
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
Thanks, works but went on a killing spree, nothing was recorded. I even added display to see my hits... it works no feeding into the table
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
Total hits: 19
Total crits: 0
Total crit-rate: 0.000
Statistics:
pathetic 0 [ 0.000 ] - 19 hits ago!
weak 0 [ 0.000 ] - 19 hits ago!
punishing 0 [ 0.000 ] - 19 hits ago!
surprising 0 [ 0.000 ] - 19 hits ago!
amazing 0 [ 0.000 ] - 19 hits ago!
astonishing 0 [ 0.000 ] - 19 hits ago!
mauling 0 [ 0.000 ] - 19 hits ago!
decimating 0 [ 0.000 ] - 19 hits ago!
devastating 0 [ 0.000 ] - 19 hits ago!
pulverizing 0 [ 0.000 ] - 19 hits ago!
maiming 0 [ 0.000 ] - 19 hits ago!
eviscerating 0 [ 0.000 ] - 19 hits ago!
mutilating 0 [ 0.000 ] - 19 hits ago!
disemboweling 0 [ 0.000 ] - 19 hits ago!
dismembering 0 [ 0.000 ] - 19 hits ago!
massacring 0 [ 0.000 ] - 19 hits ago!
mangling 0 [ 0.000 ] - 19 hits ago!
demolishing 0 [ 0.000 ] - 19 hits ago!
obliterating 0 [ 0.000 ] - 19 hits ago!
annihilating 0 [ 0.000 ] - 19 hits ago!
eradicating 0 [ 0.000 ] - 19 hits ago!
vaporizing 0 [ 0.000 ] - 19 hits ago!
destructive 0 [ 0.000 ] - 19 hits ago!
extreme 0 [ 0.000 ] - 19 hits ago!
porcine 0 [ 0.000 ] - 19 hits ago!
divine 0 [ 0.000 ] - 19 hits ago!
daunting 0 [ 0.000 ] - 19 hits ago!
terminal 0 [ 0.000 ] - 19 hits ago!
Total crits: 0
Total crit-rate: 0.000
Statistics:
pathetic 0 [ 0.000 ] - 19 hits ago!
weak 0 [ 0.000 ] - 19 hits ago!
punishing 0 [ 0.000 ] - 19 hits ago!
surprising 0 [ 0.000 ] - 19 hits ago!
amazing 0 [ 0.000 ] - 19 hits ago!
astonishing 0 [ 0.000 ] - 19 hits ago!
mauling 0 [ 0.000 ] - 19 hits ago!
decimating 0 [ 0.000 ] - 19 hits ago!
devastating 0 [ 0.000 ] - 19 hits ago!
pulverizing 0 [ 0.000 ] - 19 hits ago!
maiming 0 [ 0.000 ] - 19 hits ago!
eviscerating 0 [ 0.000 ] - 19 hits ago!
mutilating 0 [ 0.000 ] - 19 hits ago!
disemboweling 0 [ 0.000 ] - 19 hits ago!
dismembering 0 [ 0.000 ] - 19 hits ago!
massacring 0 [ 0.000 ] - 19 hits ago!
mangling 0 [ 0.000 ] - 19 hits ago!
demolishing 0 [ 0.000 ] - 19 hits ago!
obliterating 0 [ 0.000 ] - 19 hits ago!
annihilating 0 [ 0.000 ] - 19 hits ago!
eradicating 0 [ 0.000 ] - 19 hits ago!
vaporizing 0 [ 0.000 ] - 19 hits ago!
destructive 0 [ 0.000 ] - 19 hits ago!
extreme 0 [ 0.000 ] - 19 hits ago!
porcine 0 [ 0.000 ] - 19 hits ago!
divine 0 [ 0.000 ] - 19 hits ago!
daunting 0 [ 0.000 ] - 19 hits ago!
terminal 0 [ 0.000 ] - 19 hits ago!
Re: Damage Counter script errors
Change the "CritCounter:AddCrit(type)" function to this:
Make sure that matches one of the entries in the _critNames table.
Then go and get a critical hit again - you should see "Crit Type: <the type of critical>" printed.
Make sure that matches one of the entries in the _critNames table.
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
Still wont auto add on table. Strange...
Re: Damage Counter script errors
Any errors showing up when you get a critical hit?
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
Total hits: 935
Total crits: 49
Total crit-rate: 5.241
Statistics:
pathetic 0 [ 0.000 ] - 935 hits ago!
weak 0 [ 0.000 ] - 935 hits ago!
punishing 0 [ 0.000 ] - 935 hits ago!
surprising 0 [ 0.000 ] - 935 hits ago!
amazing 0 [ 0.000 ] - 935 hits ago!
astonishing 0 [ 0.000 ] - 935 hits ago!
mauling 0 [ 0.000 ] - 935 hits ago!
decimating 0 [ 0.000 ] - 935 hits ago!
devastating 0 [ 0.000 ] - 935 hits ago!
pulverizing 0 [ 0.000 ] - 935 hits ago!
maiming 0 [ 0.000 ] - 935 hits ago!
eviscerating 0 [ 0.000 ] - 935 hits ago!
mutilating 0 [ 0.000 ] - 935 hits ago!
disemboweling 0 [ 0.000 ] - 935 hits ago!
dismembering 0 [ 0.000 ] - 935 hits ago!
massacring 0 [ 0.000 ] - 935 hits ago!
mangling 0 [ 0.000 ] - 935 hits ago!
demolishing 0 [ 0.000 ] - 935 hits ago!
obliterating 0 [ 0.000 ] - 935 hits ago!
annihilating 0 [ 0.000 ] - 935 hits ago!
eradicating 0 [ 0.000 ] - 935 hits ago!
vaporizing 0 [ 0.000 ] - 935 hits ago!
destructive 0 [ 0.000 ] - 935 hits ago!
extreme 0 [ 0.000 ] - 935 hits ago!
porcine 0 [ 0.000 ] - 935 hits ago!
divine 0 [ 0.000 ] - 935 hits ago!
daunting 0 [ 0.000 ] - 935 hits ago!
terminal 49 [ 100.000 ] - 5 hits ago!
Total crits: 49
Total crit-rate: 5.241
Statistics:
pathetic 0 [ 0.000 ] - 935 hits ago!
weak 0 [ 0.000 ] - 935 hits ago!
punishing 0 [ 0.000 ] - 935 hits ago!
surprising 0 [ 0.000 ] - 935 hits ago!
amazing 0 [ 0.000 ] - 935 hits ago!
astonishing 0 [ 0.000 ] - 935 hits ago!
mauling 0 [ 0.000 ] - 935 hits ago!
decimating 0 [ 0.000 ] - 935 hits ago!
devastating 0 [ 0.000 ] - 935 hits ago!
pulverizing 0 [ 0.000 ] - 935 hits ago!
maiming 0 [ 0.000 ] - 935 hits ago!
eviscerating 0 [ 0.000 ] - 935 hits ago!
mutilating 0 [ 0.000 ] - 935 hits ago!
disemboweling 0 [ 0.000 ] - 935 hits ago!
dismembering 0 [ 0.000 ] - 935 hits ago!
massacring 0 [ 0.000 ] - 935 hits ago!
mangling 0 [ 0.000 ] - 935 hits ago!
demolishing 0 [ 0.000 ] - 935 hits ago!
obliterating 0 [ 0.000 ] - 935 hits ago!
annihilating 0 [ 0.000 ] - 935 hits ago!
eradicating 0 [ 0.000 ] - 935 hits ago!
vaporizing 0 [ 0.000 ] - 935 hits ago!
destructive 0 [ 0.000 ] - 935 hits ago!
extreme 0 [ 0.000 ] - 935 hits ago!
porcine 0 [ 0.000 ] - 935 hits ago!
divine 0 [ 0.000 ] - 935 hits ago!
daunting 0 [ 0.000 ] - 935 hits ago!
terminal 49 [ 100.000 ] - 5 hits ago!
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
I added this display(matches) on trigger, fired everything just fine, but wont add to the table... hmm.
Re: Damage Counter script errors
It has added the terminal hits - chances are your regex trigger for capturing critical hits, is either not catching right, or is capturing a different string than you have in the critNames table
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
Your attacks strike an unholy wasp 3 times, with *MANGLING* strength!
Your attacks strike a ghastly wasp 2 times, with ***DISMEMBERING*** viciousness!
Your attacks strike a cunning wasp 6 times, with obliterating passion!
**************************************************************************************************
^Your attack[s]? strike[s]? a[n]? (.*) (\d+) time[s]?, with (.*) (.*)!
^Your attack[s]? strike[s]? the (.*) (\d+) time[s]?, with (.*) (.*)!
CritCounter:AddCrit(matches[4])
**************************************************************************************************
Your attacks strike a ghastly wasp 2 times, with ***DISMEMBERING*** viciousness!
Your attacks strike a cunning wasp 6 times, with obliterating passion!
**************************************************************************************************
^Your attack[s]? strike[s]? a[n]? (.*) (\d+) time[s]?, with (.*) (.*)!
^Your attack[s]? strike[s]? the (.*) (\d+) time[s]?, with (.*) (.*)!
CritCounter:AddCrit(matches[4])
**************************************************************************************************
* Edited for clarity. Seriously, man, use your Lua tags. =p Do everyone helping you a favour. (Oneymus)
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Damage Counter script errors
Just discovered why it wont feed into the table;
It only picks up terminal not others, check the trigger and list above. Thanks
It only picks up terminal not others, check the trigger and list above. Thanks