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/11/08, 7:57 AM   #26 (permalink)
In the middle of my backswing?!
 
nj00s's Avatar
 
Tauren Druid
 
Al'Akir (EU)
Any ideas how to display the hotkeys on rBars? If at all possible

Couldn't find anything (that worked) in the lua code :o
 
User is offline.
Reply With Quote
Old 03/11/08, 9:58 AM   #27 (permalink)
Don Flamenco
 
zork's Avatar
 
Dwarf Warrior
 
Eredar (EU)
Originally Posted by nj00s View Post
Any ideas how to display the hotkeys on rBars? If at all possible

Couldn't find anything (that worked) in the lua code :o
Have you tried to search the rBars.lua for the string "hotkey"?

You will find:
getglobal(this:GetName().."HotKey"):Hide()
Now tell me, you haven't looked at all, right? Stop fooling yourself!

 
User is offline.
Reply With Quote
Old 03/11/08, 10:12 AM   #28 (permalink)
In the middle of my backswing?!
 
nj00s's Avatar
 
Tauren Druid
 
Al'Akir (EU)
Originally Posted by zork View Post
Have you tried to search the rBars.lua for the string "hotkey"?

You will find:
getglobal(this:GetName().."HotKey"):Hide()
Now tell me, you haven't looked at all, right? Stop fooling yourself!
Thanks! Fixed it now. Awesome o/

And I did look, and changed something, guess I did something wrong
 
User is offline.
Reply With Quote
Old 03/11/08, 7:56 PM   #29 (permalink)
Glass Joe
 
Tauren Druid
 
Bronzebeard
I'm just getting started with "rMods" and lua editing. I've done a little tweaking here and there, but I can't seem to make my stance bar / shapeshifting bar visible using rBars.

This is the spot in the lua that I find most promising:
  
  -- set shaftshift ON/OFF here !!!
  local set_shapeshift = 1
However, I can't seem to make the bar show up, despite what I do with that line. I've changed it to 0, 1, 2, and I've tried commenting the whole line (putting -- in front of it); no visible changes happened when I did any of those things.

Also, when you edit a lua, do you have to restart WoW to see the changes, or does a /reloadui work?

Last edited by autrui : 03/11/08 at 8:25 PM. Reason: Clarity
 
User is offline.
Reply With Quote
Old 03/11/08, 8:04 PM   #30 (permalink)
Piston Honda
 
Draenei Shaman
 
Quel'dorei
/reload works in most cases.

Lord, beer me strength.
 
User is offline.
Reply With Quote
Old 03/12/08, 11:21 AM   #31 (permalink)
Don Flamenco
 
zork's Avatar
 
Dwarf Warrior
 
Eredar (EU)
Type "/console reloadui" to reload the interface.

 
User is offline.
Reply With Quote
Old 03/12/08, 11:22 AM   #32 (permalink)
Von Kaiser
 
Gretten's Avatar
 
Draenei Shaman
 
Deathwing (EU)
I realize this may be a stupid question, but I've been looking through the LUA and I can't say that I've been enlightened.
When I play ingame with standard setup for rBars, I have only 7 or 8 buttons, and I can't move them (that's OK, I know how to do that), so I'm left with less buttons than I want.
Is there any way to add more buttons so I can add them to the bars? Also, any way to add more bars, but hide them and then add keybinds, as well as turning off paging? I have a nasty habit to hit a new page when I pvp, so I prefer to have them permanently off.
 
User is offline.
Reply With Quote
Old 03/12/08, 11:40 AM   #33 (permalink)
Don Flamenco
 
Blood Elf Rogue
 
Magtheridon (EU)
Originally Posted by Gretten View Post
I realize this may be a stupid question, but I've been looking through the LUA and I can't say that I've been enlightened.
When I play ingame with standard setup for rBars, I have only 7 or 8 buttons, and I can't move them (that's OK, I know how to do that), so I'm left with less buttons than I want.
Is there any way to add more buttons so I can add them to the bars? Also, any way to add more bars, but hide them and then add keybinds, as well as turning off paging? I have a nasty habit to hit a new page when I pvp, so I prefer to have them permanently off.
Go into interface options and turn on the extra bars in there. As for the paging unbind your switch page keys.
 
User is offline.
Reply With Quote
Old 03/12/08, 1:36 PM   #34 (permalink)
mxy
Glass Joe
 
Undead Rogue
 
Stormscale (EU)
any edits i make to the lua of ptags seems to work only for the first instance wherein nameplates are shown, after which they revert the changes even though the lua says otherwise. why is this :[
 
User is offline.
Reply With Quote
Old 03/14/08, 10:08 AM   #35 (permalink)
Glass Joe
 
Meebo's Avatar
 
Blood Elf Paladin
 
Proudmoore
Originally Posted by autrui View Post
I'm just getting started with "rMods" and lua editing. I've done a little tweaking here and there, but I can't seem to make my stance bar / shapeshifting bar visible using rBars.

This is the spot in the lua that I find most promising:
  
  -- set shaftshift ON/OFF here !!!
  local set_shapeshift = 1
However, I can't seem to make the bar show up, despite what I do with that line. I've changed it to 0, 1, 2, and I've tried commenting the whole line (putting -- in front of it); no visible changes happened when I did any of those things.

Also, when you edit a lua, do you have to restart WoW to see the changes, or does a /reloadui work?
What's making the shapeshift bar invisible is rFader, you just need to open it in an editor and change the Alpha settings.
 
User is offline.
Reply With Quote
Old 03/14/08, 10:16 AM   #36 (permalink)
Von Kaiser
 
Kyuki's Avatar
 
Draenei Shaman
 
Emerald Dream (EU)
I've been on the lookout for quite a while, and I'm morely curious as if there are some kind of 'readme' or guidiance on how to use these rMods, and work with the .lua editing.

Like "how to work with rMods" - if there isnt any, then just screw this question, I dont expect someone to have written one, just wondering.
 
User is offline.
Reply With Quote
Old 03/14/08, 1:32 PM   #37 (permalink)
Von Kaiser
 
Blood Elf Paladin
 
Nazgrel
I don't think there is a guide, as if you are a coder, you'll understand it, if you're not, it's mostly gibberish.
 
User is offline.
Reply With Quote
Old 03/14/08, 1:49 PM   #38 (permalink)
Glass Joe
 
Orc Rogue
 
Magtheridon (EU)
What am trying to do is set the background of the runits to be reaction colored like in this shot :
http://zorktdmog.zo.funpic.de/roth_u...108_231301.jpg
Tho the only options i can see that are related to backgroudn color are this lines :
if(bar.bg) then
--bar.bg:SetVertexColor(color.r*.5, color.g*.5, color.b*.5)
bar.bg:SetVertexColor(1,1,1,0.3)
Is there something that am missing ?

EDIT:
ok am experimenting and now my background shows reaction colors .. BUT also the whole healthbar

Last edited by daka242 : 03/14/08 at 2:27 PM.
 
User is offline.
Reply With Quote
Old 03/14/08, 3:10 PM   #39 (permalink)
Don Flamenco
 
zork's Avatar
 
Dwarf Warrior
 
Eredar (EU)
To all of you that use rBars. I managed to fix the CPU-usage problem. You can download the new version from my svn-trunk. (Link in my signature)

Code:
http://rothui.googlecode.com/svn/trunk/rBars/rBars.lua

The trick was to rewrite some of the Blizzard functions and not to use the "OnUpdate" function.

Last edited by zork : 03/14/08 at 3:16 PM.

 
User is offline.
Reply With Quote
Old 03/14/08, 3:41 PM   #40 (permalink)
Glass Joe
 
Orc Rogue
 
Magtheridon (EU)
rBars blocked from using BonusActionButton12:Show()
Count: 1

Call Stack:
[C]: in function `Show'
Interface\AddOns\rBars\rBars.lua:229: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:327: in function `ActionButton_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
its giving this on my druid when am stealthed
 
User is offline.
Reply With Quote
Old 03/14/08, 3:59 PM   #41 (permalink)
Von Kaiser
 
Kyuki's Avatar
 
Draenei Shaman
 
Emerald Dream (EU)
Originally Posted by Delita View Post
I don't think there is a guide, as if you are a coder, you'll understand it, if you're not, it's mostly gibberish.
=(

Well not much to do then, rather than just sit around with the 25~mb memusage that I can't cut atm.
 
User is offline.
Reply With Quote
Old 03/14/08, 4:06 PM   #42 (permalink)
Glass Joe
 
Orc Rogue
 
Magtheridon (EU)
Well am not a coder but doing a basic stuff like moving stuff around is pretty easy.What exactly do you want to do ?
 
User is offline.
Reply With Quote
Old 03/14/08, 5:51 PM   #43 (permalink)
Von Kaiser
 
Kyuki's Avatar
 
Draenei Shaman
 
Emerald Dream (EU)
Get started
 
User is offline.
Reply With Quote
Old 03/14/08, 6:11 PM   #44 (permalink)
In the middle of my backswing?!
 
nj00s's Avatar
 
Tauren Druid
 
Al'Akir (EU)
Originally Posted by Kyuki View Post
Get started
Well, delete all your addons.
Figure out what you want to do.
Install for example rUnits and open the .lua file in notepad++ (or some other program, normal notepad works).
Change something, reload UI - Not happy? Change it back, or change it to something else.

If you haven't done any coding before I can imagine it to be hard to see what does what, but I think you can make sense of most of it after a while of poking about with it.

Not really anything else then that.
If you want to learn to code, I'd suggest a book over a guide.

A question of my own: Is there an event I can add to rFader for players that are out of range? I only need the name of the event if there is one, if not it's probably complicated :|

Last edited by nj00s : 03/14/08 at 9:04 PM.
 
User is offline.
Reply With Quote
Old 03/14/08, 9:05 PM   #45 (permalink)
Von Kaiser
 
Night Elf Druid
 
Vashj
Originally Posted by Kyuki View Post
Get started
WoWWiki:Interface customization - WoWWiki - Your guide to the World of Warcraft
 
User is offline.
Reply With Quote
Old 03/15/08, 3:15 PM   #46 (permalink)
Glass Joe
 
Night Elf Druid
 
Xavius (EU)
I've been thinking about adding some sort of 'module' to bFader, which can set alpha depending on, if i have a target selected or not. E.g. i get to hide my player frame if i not have a target targetted, so i get the minimalism feel when im idling/chatting or whatever. Now the thing is, that i don't know what the name of that certain event should be.

I have been looking into PLAYER_TARGET_CHANGED, but this event seems to be fired on both gaining and losing a target.

Therefore i ask you, if anyone know if such two event exists, one fired when gaining a target, and one fired when lossing a target.

Thanks in advance
 
User is offline.
Reply With Quote
Old 03/15/08, 4:33 PM   #47 (permalink)
Don Flamenco
 
Blood Elf Rogue
 
Magtheridon (EU)
if UnitExists"TARGET"
 
User is offline.
Reply With Quote
Old 03/16/08, 1:38 AM   #48 (permalink)
"If its not the best then its wrong"
 
sadris's Avatar
 
Tauren Druid
 
Mal'Ganis
What is with the core.lua:initObject function? I placed a object:SetScript("OnUpdate", PvpUpdate) in it where PvpUpdate is defined as:
  local PvPUpdate = function(self, a1)
  	time = time + a1
  	
  	if(time > 1.5) then
  		self:UpdatePVP()
  		time = 0
  	end
  end
Yet the UpdatePVP function is never called. Similarly, I inserted UNIT_FACTION = "UpdatePVP", into the events table and object:RegisterEvent"UNIT_FACTION" into the initObject function and still, the UpdatePVP function is never called. Judging from the Spawn function, initObject is called for all non-raid unit frames, so what am I missing?

In a nutshell, how can I add a new event to the unit frames and how can I get a generic OnUpdate to work?
 
User is offline.
Reply With Quote
Old 03/16/08, 2:00 AM   #49 (permalink)
Glass Joe
 
Orc Hunter
 
Emerald Dream
Hey Zork thanks for all the addons, i have modified a lot of them to suit my needs, but i have one problem.
i am using Fader, but instead of waiting bars to change to to Combat i want it to change due to wether or not i have my mouse over the frame.

and an Error Report,
i get an error using rUnits
Healthbar.lua
line 61
--attempt to index global 'happiness' (a nil value)--
 
User is offline.
Reply With Quote
Old 03/16/08, 5:41 AM   #50 (permalink)
Von Kaiser
 
Nuke's Avatar
 
Human Priest
 
Stonemaul (EU)
Anyone got an idea how to make rBuffs go from left to right on increase,and not from right to left like they are doing now?
 
User is offline.
Reply With Quote
Reply