Advertise Here
Disable Ads
Elitist Jerks
»
Search Forums
Search Results
Username
Remember me?
Password
Showing results 1 to 38 of 38
Search took
0.01
seconds.
Search:
Posts Made By:
Shefki
Forum:
Druids
10/10/10, 9:44 PM
Replies:
832
[WOTLK 4.0] Restoration Discussion
Views:
399,575
Posted By
Shefki
Make your life easier: /run local start,...
Make your life easier:
/run local start, duration = GetSpellCooldown("Rejuvenation") print(duration)
And yes if you put any points in Swift Rejuvenation then Rejuvenation's GCD is no longer...
Forum:
Druids
01/01/10, 6:12 PM
Replies:
1,318
Restoration Itemization
Views:
913,983
Posted By
Shefki
I think there's one thing that should be clear to...
I think there's one thing that should be clear to people that may not be. How useful T10 is going to be as an immediate upgrade for you is going to largely depend on what level of T9 you're wearing...
Forum:
Druids
08/12/09, 4:06 PM
Replies:
1,318
Restoration Itemization
Views:
913,983
Posted By
Shefki
Has anyone actually gotten the Solace. MMO shows...
Has anyone actually gotten the Solace. MMO shows it as 25 man normal mode loot but I find it really hard to believe. So I figure one of two things are going on.
Possibility #1 is that it is normal...
Forum:
User Interface and AddOns
07/07/09, 2:17 AM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
I'd do this: local i = 1 local...
I'd do this:
local i = 1
local renew,shield,mending = false,false,false
while true do
local name,_,icon = UnitAura(unit,i)
if not name then
break
elseif name == "Power Word: Shield" then
...
Forum:
User Interface and AddOns
06/30/09, 5:09 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Right because of the way Lua handles multiple...
Right because of the way Lua handles multiple returns in a list:
a,b,foo(),e,f
Let's say foo returns c,d
The above would actually only evaluate to:
a,b,c,e,f
However:
a,b,foo()
Forum:
User Interface and AddOns
06/30/09, 3:04 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Umm you're using Short wrong. The format...
Umm you're using Short wrong. The format parameter on Short is just a boolean to say if you want Short to do the format for you or not. If it's false it returns the format string and then the value...
Forum:
User Interface and AddOns
06/29/09, 1:50 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
You really don't want to make a temporary table...
You really don't want to make a temporary table like that. It's certainly convenient but you're produce garbage everytime. This is much better efficiency wise:
local happiness =...
Forum:
User Interface and AddOns
06/29/09, 1:44 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
In order to do the talent stuff right you have to...
In order to do the talent stuff right you have to use LibTalentQuery or whatever the lib is called. I really don't want to suck in an extra dependency for a very very very few people that might use...
Forum:
User Interface and AddOns
06/27/09, 3:04 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
local pre,size,start =...
local pre,size,start = "raid",GetNumRaidMembers(),1
if size <= 0 then
pre = "party"
size = GetNumPartyMembers()
start = 0
end
for i=start,size do
local unit
if i == 0 then
unit =...
Forum:
User Interface and AddOns
06/25/09, 3:00 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
The code is missing the i = i + 1 that it needed....
The code is missing the i = i + 1 that it needed. Making it an infinite loop and thus the wow crash.
local fort,mag,dis=true,false,false
local s=Status(unit)
local i = 1
while true do
local...
Forum:
User Interface and AddOns
06/24/09, 6:37 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
There is no point. Somehow it ended up on some...
There is no point. Somehow it ended up on some of the percent tags in the default tags for PB in the past and it's been in many modified tags as a result. If you want to drop the decimal parts of...
Forum:
User Interface and AddOns
06/24/09, 6:35 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
I'd do this: if s then if s == "Feign Death"...
I'd do this:
if s then
if s == "Feign Death" then
s = "FD"
end
return s
end
Forum:
User Interface and AddOns
06/23/09, 6:33 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Just a note. I know a lot of people have...
Just a note. I know a lot of people have questions. But please don't PM me your questions. Just post them here. It's better if I answer them here because then everyone benefits from my answers. ...
Forum:
User Interface and AddOns
06/20/09, 7:53 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
You really shouldn't use reverse and gsub to add...
You really shouldn't use reverse and gsub to add the space. You produce 4 strings just to add a space to the end of level if needed.
Just do something like this:
if level == Level("player") then
...
Forum:
User Interface and AddOns
06/20/09, 3:22 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
This isn't the whole tag but here's how to do the...
This isn't the whole tag but here's how to do the short name stuff you want:
local name = Name(unit)
if #name > 21 then
name = Abbreviate(name)
end
return name
Upper and loser case can be done...
Forum:
User Interface and AddOns
06/20/09, 7:49 AM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
if UnitPowerType(unit) ~= 0 then return...
if UnitPowerType(unit) ~= 0 then
return VeryShort(Power(unit,0))
end
Setup a UNIT_TARGET event with the All checkbox checked.
Forum:
User Interface and AddOns
06/20/09, 2:38 AM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Fixed in the next push. You'll have to reselect...
Fixed in the next push. You'll have to reselect the default text form the dropdown as changes to the text defaults don't update the current code in use.
Forum:
User Interface and AddOns
06/19/09, 4:42 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
PowerColor doesn't take a unit argument it takes...
PowerColor doesn't take a unit argument it takes the name of the power.
local _,power_name = UnitPowerType(unit)
local r,g,b = PowerColor(power_name)
I need to add a helper SeperateDigits to do...
Forum:
User Interface and AddOns
06/19/09, 4:35 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
+ is an mathematical operator, it's not useful on...
+ is an mathematical operator, it's not useful on strings in Lua.
Lua doesn't have a proper ternary operator. You can get away with:
something and value_for_true or value_for_false
But if...
Forum:
User Interface and AddOns
06/18/09, 9:23 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Well they're not all done yet. Still got some...
Well they're not all done yet. Still got some more stuuff to work on.
Forum:
User Interface and AddOns
06/18/09, 7:13 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
See my tag above. WoW API never actually returns...
See my tag above. WoW API never actually returns Unknown that's a DogTag thing. Don't bother to return "" LuaTexts already handles that for you. Makes the code cleaner to just return nothing.
Forum:
User Interface and AddOns
06/18/09, 6:45 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Work in progress to convert these... Some are...
Work in progress to convert these...
Some are done... Will work more on this after raid.
[(IsLeader ? "!":Color("00FF00")) (IsMasterLooter ? "!":Color("FFFF33")) Name:Truncate(9, nil):Prepend(" ")...
Forum:
User Interface and AddOns
06/18/09, 5:37 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Yup it's a bug where I got lazy. I'll get it...
Yup it's a bug where I got lazy. I'll get it fixed.
Forum:
User Interface and AddOns
06/18/09, 5:33 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
IsMouseOver() doesn't need an event. Using the...
IsMouseOver() doesn't need an event. Using the function flags the text for update when the mouse enters or leave the frame the text is attached to.
PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED...
Forum:
User Interface and AddOns
06/18/09, 1:54 AM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
A) Sure thing. B) Hmm I haven't paid that much...
A) Sure thing.
B) Hmm I haven't paid that much attention to the memory savings lately but it's likely to be fairly significant if you actually top running LibDogTag-3.0 and LibDogTag-Unit-3.0...
Forum:
User Interface and AddOns
06/17/09, 5:07 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
I'll try to get through these later. Some of...
I'll try to get through these later. Some of those are gonna take me a bit to go through and "unparse". So I can write them as LuaTexts.
Forum:
User Interface and AddOns
06/17/09, 5:04 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
You need |T to start the icon, followed by the...
You need |T to start the icon, followed by the path and then a : and then a number for the size and then |t to end it.
You can just use one variable. This is probably what you want:
local i =...
Forum:
User Interface and AddOns
06/17/09, 4:15 AM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
And be warned, using Angle() in the middle of...
And be warned, using Angle() in the middle of params won't work right unless it's the last one. In retrospect I kinda wish I hadn't added them at all. But it sure made the default tags a little...
Forum:
User Interface and AddOns
06/16/09, 6:55 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
The %02x is the format code for the format. It...
The %02x is the format code for the format. It says the variable in that place will be an integer... 0 means you want it zero padded, i.e. "1" would be "01", 2 means you want two places digits and...
Forum:
User Interface and AddOns
06/16/09, 5:45 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Your problem is the FF. That either needs to be...
Your problem is the FF. That either needs to be 0xFF to say you're giving it a number in hex or it needs to be a decimal number 255.
Fix that and it should work.
Also you need two loops one for...
Forum:
User Interface and AddOns
06/16/09, 12:46 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Stops the custom color that was started by a...
Stops the custom color that was started by a previous |cff escape code.
Forum:
User Interface and AddOns
06/15/09, 6:16 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
HPColor(cur,max) though I really don't understand...
HPColor(cur,max) though I really don't understand why you didn't just use HPColor in DogTags like so:
[HP:Short "/" MaxHP:Short " " PercentHP:VeryShort:Percent:HPColor]
which would be like so in...
Forum:
User Interface and AddOns
06/15/09, 3:50 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Don't do concat like that. Do this: If...
Don't do concat like that. Do this:
If MaxPower(unit) > 0 then
return |cff3da5ee%s|r",Short(Power(unit),true)
end
Doing that avoids producing a lot of unnecessary garbage.
Forum:
User Interface and AddOns
06/15/09, 2:05 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
Honestly, I haven't looked at the implementation...
Honestly, I haven't looked at the implementation in Stuf. So I really can't say. Lua itself of course will be the same, but I provide helper functions with are going to be different and I'm not...
Forum:
User Interface and AddOns
06/15/09, 2:04 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
local i = 1 local fort,spirit,shadow_prot =...
local i = 1
local fort,spirit,shadow_prot = true,true,true
while true do
local name,_,icon = UnitAura(unit,i,"HELPFUL")
if not name then
break
elseif name == "Power Word: Fortitude" then
...
Forum:
User Interface and AddOns
06/14/09, 10:05 PM
Replies:
234
LuaTexts - The new DogTags
Views:
71,355
Posted By
Shefki
I'll try to keep an eye on this thread and answer...
I'll try to keep an eye on this thread and answer questions if need be. I'm really hoping that a community will spring up around LuaTexts to help people out with them. However, LuaTexts is PB4...
Forum:
Druids
04/23/09, 5:46 PM
Replies:
2,439
Resto (PvE) Healing Discussion
Views:
1,168,207
Posted By
Shefki
It's 50%.
It's 50%.
Forum:
Druids
04/23/09, 3:13 PM
Replies:
2,439
Resto (PvE) Healing Discussion
Views:
1,168,207
Posted By
Shefki
General Vezax
Someone was saying they didn't think Lifebloom's mana refund worked on the General Vezax fight. It does. However, if you're in the energy field of the Shadow Crash (which reduces your mana costs)...
Showing results 1 to 38 of 38
Ten Ton Hammer Network
EVE
GW2
Spark
SWToR
WoW
Contact Us
Privacy Policy