Cast timer addon?
Hi, im looking for cast timer that show amount of seconds to cast the spell, im using blizzard standard casting bar and i'm looking for a addon that just add timer to the castingbar! kinda like
http://www.wowinterface.com/download...gBarTimer.html Thanks!!:banana: |
http://addon.ziuo.net/
plus Lua Code:
|
Quote:
thank you so much!:D but i cant get it to work!:S |
1 Attachment(s)
I edited my original post with a link that allows your to turn scripts into an AddOn. I created the AddOn for you, but I suggest giving the link a go first!
|
Quote:
|
Well, there are a few possibilities:
I didn't write the code, so it could be non-functioning code. It appears that it would work though =X. My servers are down for two more hours, I can't test that yet. The websites gives you your AddOn in a .ZIP file. Make sure you extract the folder to your WoW's AddOn folder like any other AddOn you download. If you are sure you extracted it correctly, and it is appearing in the in-game AddOn list, then I'll test the code here in a few hours and get back to you. |
Quote:
|
You are positive you are using the default casting bar, and that no other AddOn is trying to touch it?
Also, with LUA error reporting enabled, are any errors being produced? Edit: Soooo, I am an idiot. I named it Blizzard..., and then WoW...yeah...just...I am so stupid. Go back up a few posts and re-download, and re-install. Make sure to delete the old one, which should have ".old" affixed to it. I just tried it and it works. Sorry ~.~ |
Quote:
http://imageshack.us/photo/my-images...913184055.jpg/ |
Yeah, I saw that, and it sucks. I'll try to redo it so the spell text is on the left, and the time is on the right.
|
Quote:
|
Here you go. Just replace the LUA in code.lua with this, or create a new AddOn with the link at the top. Enjoy.
Lua Code:
|
Quote:
UPDATE: nope disable my addons didnt work either!:( i can't do anything wrong?!:S |
Quote:
Time: 01/29/13 20:16:43 Count: 1 Stack: Locals: omg, im so stupid, it working now, only problem is that "healing touch" spell almost overlaps with timer! THANK YOU SO MUCH FOR YOUR TIME AND EVERYTHING YOU DID!<3 |
timer
hi, just a Quick question, if i want to remove "show total" like 1.4/2.2Žand i only want 1.4 example... in the future, what do i remove/add in LUA code! thanks!
|
Quote:
lua Code:
to: lua Code:
|
I'd suggest using the SetFormattedText method instead of SetText with an additional call to format, as the former is much faster, and doesn't fill up memory with strings.
You can also speed things up by using local variables instead of table members; reading a local variable is faster than doing a table lookup. Also, you're basically recreating GameFontHighlight, so you might as well just use the predefined font object. Here's the revised code: Code:
local timer = CastingBarFrame:CreateFontString(nil, "OVERLAY", "GameFontHighlight") |
Quote:
Quote:
|
All times are GMT -6. The time now is 04:07 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI