Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(4 Kb)
Download
Updated: 06-28-11 11:28 AM
Addon for:
oUF.
Updated:06-28-11 11:28 AM
Created:02-08-09 07:58 AM
Downloads:13,782
Favorites:89
MD5:
oUF Swing  Popular! (More than 5000 hits)
Version: 40200.1
by: p3lim, Thalyra
This addon is discontinued.

Description:
oUF Swing is a element plug-in made for the UnitFrame framework oUF.
It is required that you have this addon updated at all times to make everything work as it should.
You can download oUF by clicking on the link located under the "Download" button on the right.

Features:
- Timer for Auto Shot
- Timer for Attack
- Timer for Shoot
- Hide on DualWielding
- Stop while Slaming
- Parryhaste Support
- Dual Wield Support
- Option to Hide on Combat End
- Text fontstring on that bar
- Ability to set custom time format

Note:
Read the documentation inside the lua file for usage.
You need to add this addon to your layout's toc metadata!
40200.1:
- update for 4.2 (i hate COMBAT_LOG_EVENT...)

40100.3:
- the .Text Frames are now reparented to .Twohand, .Mainhand and .Offhand, i had problems with being the text below the bars today ;)

40100.2:
- .Swing is now hidden when no one of the timers is shown

40100.1:
- Patch 4.1 changes
- ToC update

40000.3b:
- Code improvements
- added oUF embedded support

40000.2b:
- Dual Wield support
- completely rewritten (needed for Dual Wield support)

40000.1:
- updated ToC to 40000
- Slam has only got 1 Spell ID left
- no more reaction on instants which have been on-swing attacks

30300.6:
- fixed an error with the time text

30300.5:
- fixed a bug with hiding @ dual wield
- fixed the "laggy" bar when slamming as a warrior

30300.4:
- multilanguage support for dw hiding
- edited one line regarding parryhaste

30300.3:
- Parryhaste Support
- small bug fixed regarding sword specc proccs

30300.2:
- Option to Hide at Combat End
- Stops only while Slaming
- Checks Sword Specc Proccs (not sure if working)

30300.1:
- Updated to 3.3.5
- Hides on DualWielding
- Stops while Casting

30100.3:
- Updated toc to 3.1

30000.2:
- Initial commit
Archived Files (14)
File Name
Version
Size
Author
Date
40100.3
3kB
p3lim
06-05-11 05:52 AM
40100.2
3kB
p3lim
05-19-11 09:37 AM
40100.1
3kB
p3lim
04-30-11 07:43 AM
40000.3b
3kB
p3lim
12-02-10 05:49 AM
40000.2b
3kB
p3lim
11-28-10 09:34 AM
40000.1
2kB
p3lim
10-18-10 11:01 AM
30300.6
2kB
p3lim
10-01-10 04:59 AM
30300.5
2kB
p3lim
09-25-10 08:16 AM
30300.4
3kB
p3lim
08-15-10 05:35 AM
30300.3
2kB
p3lim
08-03-10 08:57 AM
30300.2
2kB
p3lim
07-17-10 07:51 AM
30300.1
1kB
p3lim
07-15-10 04:39 AM
30100.3
1kB
p3lim
04-17-09 09:32 AM
30000.2
1kB
p3lim
02-08-09 07:58 AM


Post A Reply Comment Options
Unread 09-29-10, 06:21 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 263
Uploads: 5


This is what i get with .5, anything changed? .4 worked as charm.
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
ichik is offline Report comment to moderator  
Reply With Quote
Unread 08-06-10, 12:44 AM  
korn3r
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 1
yes it does. thanks)
korn3r is offline Report comment to moderator  
Reply With Quote
Unread 08-05-10, 08:53 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1296
File comments: 1181
Uploads: 25
Do the following (ingame) and see if it returns "Оружие"
Code:
/run print(ENCHSLOT_WEAPON)
If it does, you can use that global string instead of a localized one.
p3lim is online now Report comment to moderator  
Reply With Quote
Unread 08-03-10, 10:42 AM  
Thalyra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 46
Uploads: 1
i will change this with the next version (i hope i get an idea for dw support soon )
Thalyra is offline Report comment to moderator  
Reply With Quote
Unread 08-03-10, 10:00 AM  
korn3r
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 1
found problem...
i`m playing on RU realms and i have localized item types (my "testing" rogue is on EU )
so "itemType ~= "Weapon"" should be "itemType ~= "Оружие"" for me

is there a chance to change func to something like
if itemType ~= GetItemInfo(25) then
i mean not hardly write Weapon in code, but get localized type from other item like "Worn Shortsword" (id 25)

ofc i could change line 89 for myself to
if ( itemType ~= "Weapon" and itemType ~= "Оружие" ) then
but i think it would be nice to have multilangual support "out-of-box"
Last edited by korn3r : 08-03-10 at 10:05 AM.
korn3r is offline Report comment to moderator  
Reply With Quote
Unread 08-03-10, 08:59 AM  
Thalyra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 46
Uploads: 1
thats a strange behaviour, on my warrior the hiding works normally

you could try the newest version (30300.3), but on the dw-hiding code i didnt changed anything
Thalyra is offline Report comment to moderator  
Reply With Quote
Unread 08-03-10, 05:54 AM  
korn3r
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 1
no errors
bar just dont hides on dualwielding
timer resets each time i hit with my offhand

edit:
just checked on my rogue - everything is ok on it (bar properly hides when i`m dualwielding)
checked warrior with 2x1h weapons - still doesnt hides
Last edited by korn3r : 08-03-10 at 06:09 AM.
korn3r is offline Report comment to moderator  
Reply With Quote
Unread 08-03-10, 05:36 AM  
Thalyra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 46
Uploads: 1
hmm, for me its working with your code

do you get any lua errors?
Thalyra is offline Report comment to moderator  
Reply With Quote
Unread 08-01-10, 04:44 PM  
korn3r
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 1
hi
just awesome addon

i have a problem
i see "Hides on DualWielding" in changelog, but it doesnt hides for me (Fury Warrior).
maybe i`m doing something wrong or it doesnt hides in latest build?
sry for my english

here`s my code
Code:
		if(IsAddOnLoaded("oUF_Swing")) then      
			self.Swing = CreateFrame('StatusBar', nil, self)
			self.Swing:SetPoint('TOP', self.Health, 'BOTTOM', 0, -30)
			self.Swing:SetStatusBarTexture(sett1ngs.texture)
			self.Swing:GetStatusBarTexture():SetHorizTile(false)
			self.Swing:SetStatusBarColor(0.3, 0.5, 0.2)   
			self.Swing:SetHeight(4)
			self.Swing:SetWidth(sett1ngs.mX)

			self.Swing.Text = self.Swing:CreateFontString(nil, "OVERLAY")
			self.Swing.Text:SetFont(sett1ngs.font, sett1ngs.fontsize, "THINOUTLINE")
			self.Swing.Text:SetPoint("BOTTOMRIGHT", self.Swing, "TOPRIGHT", 0,1)
			self.Swing.bd = SetBD(self.Swing, backdrop, sett1ngs.bcolor)   
		end
korn3r is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: