Elitist Jerks
Register
Blogs
Chat
Forums
New Posts


Go Back   Elitist Jerks > Public Discussion > User Interface and AddOns

Reply
 
LinkBack (16) Thread Tools
Old 03/18/08, 11:18 AM   #76 (permalink)
Von Kaiser
 
Human Rogue
 
Forscherliga (EU)
Just a more or less common question.
To get timers on buffs/debuff working I added an textobject to the buttonframe.
I wrote a function that returns the number in seconds if time remaining was less then 60seconds.

Everything showed up fine, but it wasn't updating itself. Only the cooldown spiral was moving as intended.

I discovered later that it was working on the targetoftarget frame, so I kept digging.

Finally I found following line of code under the tot-Frame in the core.lua
object:SetScript("OnUpdate", OnUpdate)
I added this line to the other frames as well, and now the timers are working everywhere.

So far so good.

What I want to know is, if that has any influence at the overall performance, and if so, wether there is a better way.

And if someone could explain to me what happens by calling that script, I would be gratefull.

"...gone missing."
 
User is offline.
Reply With Quote
Old 03/18/08, 11:20 AM   #77 (permalink)
"If its not the best then its wrong"
 
sadris's Avatar
 
Tauren Druid
 
Mal'Ganis
OnUpdate is called on every frame refresh, so if you had 20fps, then it would be called 20 times a second.

You can only update every 1/2 second, for example by rewriting the OnUpdate func like:

  local OnUpdate = function(self, a1)
  	time = time + a1
  	
  	if(time > .5) then
  		<DO STUFF IN HERE>
  		time = 0
  	end
  end

Originally Posted by Anias View Post
queues cause people who generally fail to leave, so being on a server with queues can only be good in terms of your long term happiness
Originally Posted by Kiyoshi
Season 3 was pretty serious business. There's really no telling what Season 4 will hold.
 
User is offline.
Reply With Quote
Old 03/18/08, 5:27 PM   #78 (permalink)
Von Kaiser
 
Draenei Paladin
 
Aggramar (EU)
Font size of runits?

I've been having fun with runits all evening, but I haven't seen anywhere I can edit the font size of the units.
(or rather, I've tried searching for font and size and such, without luck. And skimming through hasn't produced anything either) Can I be true that there's no way of doing this?
 
User is online.
Reply With Quote
Old 03/18/08, 8:21 PM   #79 (permalink)
Von Kaiser
 
Tauren Druid
 
Demon Soul
Originally Posted by Kamna View Post
I've been having fun with runits all evening, but I haven't seen anywhere I can edit the font size of the units.
(or rather, I've tried searching for font and size and such, without luck. And skimming through hasn't produced anything either) Can I be true that there's no way of doing this?

In the layout.lua file find this:

local hpp = hp:CreateFontString(nil, "OVERLAY")
    hpp:SetPoint("RIGHT", -3, 0)
    hpp:SetFontObject(GameFontHighlight)
    hpp:SetTextColor(1, 1, 1)

And change the bold part to:

hpp:SetFont("Fonts\\skurri", 12)
This will set the font of the hpp setting to use the skurri font in the main Fonts folder at size 12. Just replace the path to your font in "", you can also specify your own size and if it has an outline.
 
User is offline.
Reply With Quote
Old 03/19/08, 12:21 AM   #80 (permalink)
Glass Joe
 
Human Priest
 
Muradin
Some changes a lot of people might like to make:

If you want the minimap in the bottom right corner, change in rMinimap\rMinimap.lua

      Minimap:SetPoint("Top",0,-15)
      Minimap:SetPoint("Right",-15,0)
to

      Minimap:SetPoint("BOTTOM",UIParent,"BOTTOM",-230,14);
      Minimap:SetPoint("RIGHT",-15,0)
---------------

If you want the buffs to now be on the top right of your screen where the minimap used to be, change in rBuff\rBuff.lua

      TemporaryEnchantFrame:SetPoint("TOPRIGHT", Minimap, "TOPLEFT", -15, 0)
to

      TemporaryEnchantFrame:SetPoint("Top", UIParent,"TOPRIGHT", -30, -10)
I'm pretty sure its working correctly :x

---------------

Now that LynStats is all out of place, change the following in LynStats\core.lua:

      local frame_anchor = "BOTTOMRIGHT"
      local pos_x = -10
      local pos_y = 10

      and farther below:

      self:SetPoint(frame_anchor, UIParent, frame_anchor, pos_x, pos_y)
to

      local frame_anchor = "CENTER"
      local pos_x = 0
      local pos_y = 85

      self:SetPoint(frame_anchor, Minimap, frame_anchor, pos_x, pos_y)

Last edited by mepi : 03/19/08 at 12:29 AM.
 
User is offline.
Reply With Quote
Old 03/19/08, 8:26 AM   #81 (permalink)
Glass Joe
 
Orc Rogue
 
Magtheridon (EU)
Anyone have idea how to set the background to be Unit reaction based like in this screenshot ?
http://zorktdmog.zo.funpic.de/roth_u...708_210414.jpg
 
User is offline.
Reply With Quote
Old 03/19/08, 9:35 AM   #82 (permalink)
Von Kaiser
 
Murloc Mage
 
Boulderfist (EU)
Originally Posted by daka242 View Post
Anyone have idea how to set the background to be Unit reaction based like in this screenshot ?
http://zorktdmog.zo.funpic.de/roth_u...708_210414.jpg
The screenshot you posted is from the creator of rUI... Roth / Zork .. why dont you just ask him ?
 
User is offline.
Reply With Quote
Old 03/19/08, 4:36 PM   #83 (permalink)
Von Kaiser
 
Dwarf Hunter
 
Argent Dawn
Originally Posted by vaff View Post
The screenshot you posted is from the creator of rUI... Roth / Zork .. why dont you just ask him ?
I think he just did, seeing as how this thread is about zork's compilation and he checks it frequently. Should've been a PM, yadda yadda, but there might just be another person who knows how to do it.

On topic, the only things bothering me about any of the rMods are things to do with pets. For rBars the WoW art background for the pet bar persists, and for rUnits there is an lua error on line 61 (I believe) of the Healthbar.lua, having to do with the happiness and indexing a nil value.
 
User is offline.
Reply With Quote
Old 03/19/08, 5:30 PM   #84 (permalink)
Von Kaiser
 
Blood Elf Paladin
 
Nazgrel
It seems to be indexing a nil value for all non-hunters and hunters without an active pet out when you join a party/group and leave a party/group, as they have no pet with no happyness available to check for the number in the pet healthbar. I've been playing with Healthbar.Lua line 61 to see where it's tracking too for non-hunters/hunters without pets out, but to no avail as of yet.
 
User is offline.
Reply With Quote
Old 03/19/08, 9:33 PM   #85 (permalink)
Von Kaiser
 
Tauren Druid
 
Demon Soul
Any chance someone could translate rFilters to English?
 
User is offline.
Reply With Quote
Old 03/19/08, 10:35 PM   #86 (permalink)
Glass Joe
 
foofoo's Avatar
 
Gnome Rogue
 
Azshara (EU)
Originally Posted by Velveeta View Post
Any chance someone could translate rFilters to English?
I marked the translations with "//"

local rf_settings = {
td_list = {
["Rüstung zerreißen"] = {}, //Sunder Armor
["Demoralisierender Ruf"] = {}, //Demoralizing Shout
["Donnerknall"] = {}, //Thunderclap
["Feenfeuer"] = {}, //Fairy Fire
["Fluch der Schwäche"] = {}, //Curse of Weakness
},
tb_list = {
["Renew"] = {},
["Rejuvenation"]

[top] {},
},
pd_list


{
["Bloodboil"] = {},
["Carrion Swarm"]

[top] {},
},
pb_list


{
["Schlachtruf"] = {}, //Battle Shout
["Befehlsruf"] = {}, //Commanding Shout
},
}
As far as I could see, other german words in the following code are already listed above.

Last edited by foofoo : 03/19/08 at 11:36 PM.
 
User is offline.
Reply With Quote
Old 03/19/08, 11:31 PM   #87 (permalink)
Von Kaiser
 
Tauren Druid
 
Demon Soul
Originally Posted by foofoo View Post
I marked the Translations with "//"



As far as I could see, other german words in the following code are already listed above.
Cool, thanks alot.
 
User is offline.
Reply With Quote
Old 03/20/08, 5:10 PM   #88 (permalink)
Glass Joe
 
Human Priest
 
Muradin



anyone have any clue why this is happening?
 
User is offline.
Reply With Quote
Old 03/21/08, 1:46 AM   #89 (permalink)
evl
Von Kaiser
 
evl's Avatar
 
Gnome Rogue
 
Kazzak (EU)
rUnits seems to be a pretty old fork of oUF, I would suggest you merge the newest version with your own fork, the new version supports stand-alone layouts, much better aura handling, default but user movable frames and is a lot lighter.

oUF - Unit frame framework for the people. Does nothing by itself.

There's also a bunch of other very minimal addons on the same git.

(note: I'm not haste but I've worked a bit on the newest oUF with him)
 
User is offline.
Reply With Quote
Old 03/21/08, 2:52 AM   #90 (permalink)
Von Kaiser
 
Draenei Priest
 
Feathermoon
I'm having trouble figuring out what text to alter to hide the raid frames in rUnits, If anyone could help, I would apprciate it.
I was also trying to change the Font and size. I was trying the same thing that Velveeta suggested and for some reason its not working. The script looks correct to me, anyone know why this code isn't working?

Originally Posted by Velveeta View Post
In the layout.lua file find this:

local hpp = hp:CreateFontString(nil, "OVERLAY")
    hpp:SetPoint("RIGHT", -3, 0)
    hpp:SetFontObject(GameFontHighlight)
    hpp:SetTextColor(1, 1, 1)

And change the bold part to:

hpp:SetFont("Fonts\\skurri", 12)
This will set the font of the hpp setting to use the skurri font in the main Fonts folder at size 12. Just replace the path to your font in "", you can also specify your own size and if it has an outline.
Thanks in advance for the help.

Last edited by Auralin : 03/21/08 at 2:55 AM. Reason: Grammer
 
User is offline.
Reply With Quote
Old 03/21/08, 1:32 PM   #91 (permalink)
Von Kaiser
 
Night Elf Druid
 
Vashj
Originally Posted by Auralin View Post
I'm having trouble figuring out what text to alter to hide the raid frames in rUnits, If anyone could help, I would apprciate it.
local temptoggle = CreateFrame"Frame"
  temptoggle:SetScript("OnEvent", function(self, event, ...)
      if GetNumRaidMembers() > 1 then
          raid:Hide()
      elseif GetNumPartyMembers() > 1  then
          party:Show()
      end
  end)
The original code is found in the layout.lua file, near the very bottom.
 
User is offline.
Reply With Quote
Old 03/21/08, 6:43 PM   #92 (permalink)
Glass Joe
 
Draenei Paladin
 
Uldaman
I was fooling around with rBuffs last night, but couldn't find the line of code to get the buff durations to show under the buttons. Is there a line of code that needs to be added or did I just overlook it?
 
User is offline.
Reply With Quote
Old 03/21/08, 6:49 PM   #93 (permalink)
Glass Joe
 
Troll Mage
 
Kel'Thuzad
Just check the Buff Times option in the WoW Interface options.
 
User is offline.
Reply With Quote
Old 03/22/08, 3:02 PM   #94 (permalink)
Glass Joe
 
Night Elf Rogue
 
Eonar (EU)
I'm trying to figure out how to lower the size of the button padding with rbars. Is this possible at all?
 
User is offline.
Reply With Quote
Old 03/22/08, 4:13 PM   #95 (permalink)
Von Kaiser
 
Draenei Priest
 
Feathermoon
I have a question about rfilters. Is there anyway to distinguish between the class your currently playing and the buffs / debuffs that show up? For instance: on my warlock, I want my DOTs to show up, but on my priest I don't want to see warlock debuffs. On my priest, I want to see fort, and spirit, ect, but on my warlock I don't want to see those.
Would it most likely be beter to just get a differerent filter mod, if so does anyone have a sugestion for one. I've always just used the built in filters with mods like pitbull.

Also, I can't find the offset for debuffs for rUnits and I'm not 100% on how to set one up. Im trying to get the debuffs to go to the left instead of the right. If someone could point me to the right line or tell me what I need to insert, it would be a big help.

I was also wondering if anyone else had tried to run rBars and FuBar at the same time. I tried setting up fubar for a couple small addons, and it caused rBars to completely change positions on the screen. I know that FuBar by defaul will move the Bliz UI up or down to make room for its self, but not completely relocate the bars. If anyone knows anything about this or a quick fix to prevent this bug, it would be appriciated, I'm sure I'm not the only person that has wanted to use these addons in conjunction with each other.

Thanks in advance.

P.S I almost have my Layout completed, I'll post soon.

Last edited by Auralin : 03/23/08 at 1:49 AM. Reason: added fubar question
 
User is offline.
Reply With Quote
Old 03/22/08, 4:20 PM   #96 (permalink)
Von Kaiser
 
Draenei Priest
 
Feathermoon
Sorry for the Back to back posting just answering Jayis' question.

Originally Posted by Jayis View Post
I'm trying to figure out how to lower the size of the button padding with rbars. Is this possible at all?
There might be an easier way, but I know if you make a line for every button and possition it individually you can change it. like so:

  ShapeshiftButton1:ClearAllPoints()
  ShapeshiftButton1:SetPoint("TOPLEFT",Minimap,"LEFT",-32,82);

  ShapeshiftButton2:ClearAllPoints()
  ShapeshiftButton2:SetPoint("BOTTOM",ShapeshiftButton1,"BOTTOMLEFT",15,-40);

  ShapeshiftButton3:ClearAllPoints()
  ShapeshiftButton3:SetPoint("BOTTOM",ShapeshiftButton2,"BOTTOMLEFT",15,-40);

  ShapeshiftButton4:ClearAllPoints()
  ShapeshiftButton4:SetPoint("BOTTOM",ShapeshiftButton3,"BOTTOMLEFT",15,-40);

  ShapeshiftButton5:ClearAllPoints()
  ShapeshiftButton5:SetPoint("BOTTOM",ShapeshiftButton4,"BOTTOMLEFT",15,-40);

  ShapeshiftButton6:ClearAllPoints()
  ShapeshiftButton6:SetPoint("BOTTOM",ShapeshiftButton5,"BOTTOMLEFT",15,-40);
I used that bit of code to make my shapeshift bar vertical along the side of my minimap. You can make any variation on that you'd like.

If someone knows any easier way of doing this I'd love to hear it.
 
User is offline.
Reply With Quote
Old 03/22/08, 4:50 PM   #97 (permalink)
Glass Joe
 
Human Priest
 
Muradin
Originally Posted by mepi View Post



anyone have any clue why this is happening?
any ideas? i've tried replacing rBars to no avail
 
User is offline.
Reply With Quote
Old 03/22/08, 5:00 PM   #98 (permalink)
Don Flamenco
 
zork's Avatar
 
Dwarf Warrior
 
Eredar (EU)
Originally Posted by mepi View Post
http://img145.imageshack.us/img145/7462/errorvb7.gif

anyone have any clue why this is happening?
This is only a warning. Some actions are not allowed to be called while in combat or sth like that. To get rid of the warning message just disable the addon Baud error frame, I use it to find errors.

Its not a big deal imo.

 
User is offline.
Reply With Quote
Old 03/22/08, 5:12 PM   #99 (permalink)
Glass Joe
 
Human Priest
 
Muradin
Ah ok thanks zork, I really didn't understand what the error/warning was. It seems to happen quite frequently
 
User is offline.