Download
(13Kb)
Download
Updated: 04-11-07 01:32 PM
Pictures
File Info
Updated:04-11-07 01:32 PM
Created:unknown
Downloads:20,285
Favorites:21
MD5:

StunWatch 2.5b(fixed)  Popular! (More than 5000 hits)

Version: 2.5b(fixed #3)
by: bentagon [More]

Update: v2.5b(fixed #3)
- Got rid of the bad path saved with the previous version. There is no path in this new version but unzip it to your WoW interface folder.
Update: v2.5b(fixed #2)
- Added code so that StunWatch only tries to initialize skills for the player's class. This should hopefully prevent some errors some players were receiving for skills their current character did not have
Update: v2.5b(fixed)
- Fixed issue with bad variable name on line 9
Update: v2.5b
- Added commands to set CombatLogRanges to increase detection range of combat log messages
- Updated English help text and set more output to both chat frame and message frame
- Fixed bug that was updating pounce duration with hibernate's duration


Update: v2.5a
- Fixed issue causing CC effect ending to not be detected
- Added new message frame and option to display calculated cc durations



This is a modification of StunWatch 2.4a by Platykurtic (original StunWatch by Vector).

v2.5 StunWatch supports both Rogue -and- Druid crowd control skills.
The game will try to update all skills but will only show the skill ranks appropriate for your class.

To install the interface, extract the zip file to your World of Warcraft's Interface\AddOns folder. Typically, WoW is installed to C:\Program Files\World of Warcraft. Look for the Interface folder there and underneath it should be an AddOns folder. Extract the zip file using Pathnames.

Usage: /sw
This will list all available options

Usage: /sw option
Options:
on : Enables StunWatch
off : Disables StunWatch
lock : Locks StunWatch bars and enables it
unlock : Unlocks StunWatch bars and allows you to move them
g : Autodetect Improved Gouge Rank"
g0 : Sets Gouge duration to default, untalented duration
g1 : Sets Gouge to Improved Gouge Rank 1 duration
g2 : Sets Gouge to Improved Gouge Rank 2 duration
g3 : Sets Gouge to Improved Gouge Rank 3 duration
k : Autodetect Kidney Shot Rank
k1 : Sets Kidney Shot to Rank 1 duration
k2 : Sets Kidney Shot to Rank 2 duration
s : Autodetect Sap Rank
s1 : Sets SAP to Rank 1 duration
s2 : Sets SAP to Rank 2 duration
s3 : Sets SAP to Rank 3 duration
b : Autodetect Bash Rank
b0 : Sets Bash duration to default, untalented duration (based on Rank)
b1 : Sets Bash duration to ranked duration plus Rank 1 Brutal Impact
b2 : Sets Bash duration to ranked duration plus Rank 2 Brutal Impact
p : Autodetect Pounce Rank
p0 : Sets Pounce duration to default, untalented duration
p1 : Sets Pounce duration to include Rank 1 Brutal Impact
p2 : Sets Pounce duration to include Rank 2 Brutal Impact
print : Prints the current configuration
invert : Invert progress bar direction
scale : Scale StunWatch, use 0.25 to 3.0
width : Set bar width, use 50 to 300
alpha : Set bar alpha, use 0 to 1
grow : Set bar growth up, down or off


Known Issues:
- If player casts cc spell at far/max range, the game does not detect the spell landing on the target and does not display a message in the combat log so StunWatch never knows that the spell landed and does not display a bar.
- Some cc effects do not display a message in the combat log when they end/break so StunWatch does not know to stop showing the bar (until the normal duration ends).
- Breaking a cc effect with a spell that adds a debuff to the target (e.g. Moonfire) is known to trick StunWatch and it doesn't know to remove the cc effect bar (until the normal duration ends).

Optional Files (0)


Post A Reply Comment Options
Unread 04-07-21, 08:59 AM  
anarchi
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Fixed error

If the StunWatch not showing up and display error StunWatch.lua on lines 317 and 331, etc. then just..

REPLACE string.gmatch for string.gfind:

Works for me, Vanilla server Kronos
Last edited by anarchi : 04-07-21 at 02:20 PM.
Report comment to moderator  
Reply With Quote
Unread 07-26-07, 07:30 AM  
laoyao
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I have a problem

StunWatch.lua
814
attempt to compare number with nil

and i can not use /sw b ,when i did "/sw b" i can't press "Enter" key,why?
Last edited by laoyao : 07-26-07 at 10:27 AM.
Report comment to moderator  
Reply With Quote
Unread 07-07-07, 07:24 AM  
puhi
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi, i would need a help on an error, this is what i get as soon as i see my character:

Interface\AddOns\StunWatch\StunWatch.lua:777: attempt to index failed '?' (a nil value)

Would appriciate it if you could help me fix this, thank you
Report comment to moderator  
Reply With Quote
Unread 05-24-07, 03:39 PM  
odariz
A Kobold Labourer
 
odariz's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
This is a very nice addon, only thing that could make Rogue's life better is a ticker for Garrote, Rupture, Expose Armor, ect. I have Sorren's Timer but the enability to move the bars to a less "distracting" spot is annoying. Other abilites such as Disarm effects from Riptose and Daze from Twisting Blades would also be very nice and appreicated.
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 08:59 PM  
Kolakhan
A Deviate Faerie Dragon

Forum posts: 18
File comments: 54
Uploads: 0
Pathing in your zip file is FUBAR!!! I just moved the files over but you might want to fix that, thanks for the hard work.
Last edited by Kolakhan : 03-08-07 at 09:03 PM.
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 03:31 PM  
bentagon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 1
Originally posted by Kolakhan
My error only happens on my Rogue but not my Druid. Answer please.
I've uploaded a newer v2.5b (you'll have to wait till it gets approved) that I've coded to only try to initialize skills that your selected character has. While I didn't have any errors on my rogue or druid, hopefully this will resolve the issue for you.

I still recommend you delete the StunWatch.lua file in your WTF\<account name>\SavedVariables folder. Make sure you do this for each account if you have more than one account you log into WoW with.
Last edited by bentagon : 03-08-07 at 03:31 PM.
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 03:10 PM  
bentagon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 1
Originally posted by Kryo`
lol, yes I know, but when I stun a creep, nothing works.
I know that i have to stun a creep to view any bar... hum...
I repeat that I can't see any bar when I stun, when I /sw unlock I can see the bars, but nothing when I stun.
I am french, i'm sorry if my english is not good..
The problem could come from the language of my game ? ( french )
Yes, that would be the problem. There is no French localizations and unless someone can provide the French equivalent of the lines of text for StunWatch to detect, this won't work.
Report comment to moderator  
Reply With Quote
Unread 03-07-07, 06:54 AM  
Kolakhan
A Deviate Faerie Dragon

Forum posts: 18
File comments: 54
Uploads: 0
My error only happens on my Rogue but not my Druid. Answer please.
Report comment to moderator  
Reply With Quote
Unread 03-05-07, 10:52 AM  
Kryo`
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
lol, yes I know, but when I stun a creep, nothing works.
I know that i have to stun a creep to view any bar... hum...
I repeat that I can't see any bar when I stun, when I /sw unlock I can see the bars, but nothing when I stun.
I am french, i'm sorry if my english is not good..
The problem could come from the language of my game ? ( french )
Report comment to moderator  
Reply With Quote
Unread 03-05-07, 09:00 AM  
bentagon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 1
Re: Nothing works

Originally posted by Kryo`
I have a big problem :/
Nothing works, I've extracted this folder in my addons, when I launch the game, I can see : "Stunwatch loaded" or something like that.
But after, I can't see anything, I've written "/sw on" but nothing.
(I am a druid)
Is there some option to activate for my class ?
Thx for ur help!
First of all, StunWatch can be on but you won't see anything until you actually stun or otherwise cc something (Pounce, Maim, root, cyclone, etc).

If you want to see the bars (to position them) while out of combat, use /sw unlock.
Last edited by bentagon : 03-05-07 at 09:01 AM.
Report comment to moderator  
Reply With Quote
Unread 03-04-07, 07:04 PM  
Kryo`
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Unhappy Nothing works

I have a big problem :/
Nothing works, I've extracted this folder in my addons, when I launch the game, I can see : "Stunwatch loaded" or something like that.
But after, I can't see anything, I've written "/sw on" but nothing.
(I am a druid)
Is there some option to activate for my class ?
Thx for ur help!
Report comment to moderator  
Reply With Quote
Unread 03-02-07, 07:34 AM  
Kolakhan
A Deviate Faerie Dragon

Forum posts: 18
File comments: 54
Uploads: 0
ID: 28
Error occured in: Global
Count: 1
Message: ..\AddOns\StunWatch\StunWatch.lua line 774:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
StunWatch\StunWatch.lua:774: StunWatch_UpdatePounce()
StunWatch\StunWatch.lua:676: StunWatch_LoadVariables()
[string "StunWatch_Variable_Frame:OnUpdate"]:2:
[string "StunWatch_Variable_Frame:OnUpdate"]:1

Every time I boot up!!!
Report comment to moderator  
Reply With Quote
Unread 02-07-07, 10:44 AM  
bentagon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 1
I've uploaded a fixed version of v2.5b that fixes the bad variable name on Line 9.

A note for those who are getting the error on line 774:
this error typically shows up when you install StunWatch 2.5+ overtop of a pre-existing StunWatch and can be typically resolved by deleting the StunWatch.lua file in your WTF\<account name>\SavedVariables folder.
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 05:11 PM  
bentagon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 1
Re: Error 956

Roulder,
There is a bug in 2.5b. Line 9 of StunWatch.lua reads:
StunWatch_SetCLRange(STUNWATCH_COMBATLOG_RANGE);

and needs to be changed to:
StunWatch_SetCLRange(STUNWATCH.COMBATLOG_RANGE);

That will fix your problem. I already have that fix in for 2.5c but I'm going to hold off releasing it until I manage to iron out all the problems with Spanish localization with littleshiro.
Report comment to moderator  
Reply With Quote
Unread 02-05-07, 09:52 AM  
Roulder
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Error 956

Originally posted by bentagon
Sorry about the other v2.5a I submitted as a patch. Still learning the system!

I just downloaded version 2.5b and I am getting an error right when I log in on my rogue. This error causes me to not be able to access any of the /sw interface options.

The error reads:

Interface\Addons\StunWatch\StunWatch.lua
:956: attempt to concatenate local range
(a nil value)

What should I do to fix this?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: