Quantcast
Download
(14 Kb)
Download
Updated: 11-01-16 04:37 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Updated:11-01-16 04:37 PM
Created:01-09-09 09:43 PM
Downloads:106,309
Favorites:294
MD5:
7.1.0

rActionBar  Popular! (More than 5000 hits)

Version: 710.20161101
by: zork [More]
Optional Files (3)
File Name
Version
Size
Author
Date
Type
1.0-2016112401
2kB
11-24-16 01:07 AM
Addon
710.20161027
1kB
10-27-16 12:41 PM
Addon
700.20161004
1kB
10-04-16 06:07 AM
Addon


Archived Files (30)
File Name
Version
Size
Author
Date
710.20161027
14kB
zork
10-27-16 12:42 PM
700.20161004
14kB
zork
10-04-16 06:04 AM
60000.01
21kB
zork
10-24-14 07:48 PM
50400.01
20kB
zork
09-08-13 08:45 AM
50200.01
20kB
zork
03-04-13 05:36 PM
50100.01
20kB
zork
11-28-12 01:28 PM
50001.08a
19kB
zork
11-20-12 03:24 AM
50001.07
20kB
zork
09-21-12 02:15 PM
40300.06
21kB
zork
01-20-12 12:51 PM
40300.05
21kB
zork
12-10-11 08:38 AM
40300.04
20kB
zork
12-06-11 11:36 AM
40300.03
20kB
zork
12-04-11 06:11 PM
40300.02
20kB
zork
12-01-11 03:05 PM
40300.01
20kB
zork
11-30-11 12:29 PM
4.008
18kB
zork
06-29-11 03:35 PM
4.007
18kB
zork
04-28-11 11:42 AM
4.006
18kB
zork
02-09-11 01:54 PM
4.005
18kB
zork
11-12-10 06:27 PM
4.004
17kB
zork
10-17-10 08:33 AM
4.003
16kB
zork
10-16-10 06:05 AM
4.002
16kB
zork
10-15-10 08:41 PM
4.001
16kB
zork
10-15-10 03:41 PM
100812
8kB
zork
08-12-10 03:12 PM
007
7kB
zork
12-10-09 11:54 AM
006
7kB
zork
09-05-09 04:47 PM
005-2
7kB
zork
04-19-09 04:21 PM
004-6
7kB
zork
04-02-09 12:07 PM
003
3kB
zork
03-21-09 10:40 AM
002
2kB
zork
01-11-09 02:07 PM
001
2kB
zork
01-09-09 09:43 PM


Post A Reply Comment Options
Unread 10-31-12, 09:39 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Hi there, i would like to be able to have different button sizes on action bar 1 on different characters, this is how i edited the charspecific lua.

Code:
  --get the addon namespace
  local addon, ns = ...
  local cfg = ns.cfg

  -----------------------------
  -- CHARSPECIFIC REWRITES
  -----------------------------

  local playername, _ = UnitName("player")
  local _, playerclass = UnitClass("player")

  if playername == "Itsamemario" or playername == "Rothor" or playername == "Wolowizard" or playername == "Loral" then
    cfg.bars.stancebar.enable = false
    cfg.bars.bar1.uselayout2x6 = false
    cfg.bars.bar1.buttons = {
                    size            = 36,
                    margin          = -2,
      },
    cfg.bars.bar2.uselayout2x6 = false
    cfg.bars.bar2.mouseover.enable = false
    cfg.bars.bar3.mouseover.enable = false
    cfg.bars.bar4.mouseover.fadeOut.alpha = 0
    cfg.bars.bags.mouseover.fadeOut.alpha = 0
    cfg.bars.micromenu.mouseover.fadeOut.alpha = 0
  end
In game it doesnt change anything apart from the fact that i get this error

Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\rActionBarStyler\charspecific.lua line 24:
   unexpected symbol near '='
Tnx for your time.

--------EDIT---------
NVM GOT IT WORKING


correct lua:
Code:
  -----------------------------
  -- INIT
  -----------------------------

  --get the addon namespace
  local addon, ns = ...
  local cfg = ns.cfg

  -----------------------------
  -- CHARSPECIFIC REWRITES
  -----------------------------

  local playername, _ = UnitName("player")
  local _, playerclass = UnitClass("player")

  if playername == "Itsamemario" or playername == "Rothor" or playername == "Wolowizard" or playername == "Loral" then
    cfg.bars.stancebar.enable = false
    cfg.bars.bar1.uselayout2x6 = false
    cfg.bars.bar1.buttons.size = 36
    cfg.bars.bar1.buttons.margin = -2
    cfg.bars.bar2.uselayout2x6 = false
    cfg.bars.bar2.mouseover.enable = false
    cfg.bars.bar3.mouseover.enable = false
    cfg.bars.bar4.mouseover.fadeOut.alpha = 0
    cfg.bars.bags.mouseover.fadeOut.alpha = 0
    cfg.bars.micromenu.mouseover.fadeOut.alpha = 0
  end
Last edited by madmatt91 : 10-31-12 at 09:48 AM.
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 02:15 AM  
tomsu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
"Always show actionbars"

Hi Zork! Real quick question:

When you enable "Always show actionbars" option from the interface menu, why doesn't actionbar1 react to it? Also, is there a way to fix it somewhere in the .lua?

Tried searching for it myself, but I'm not that expierenced with .lua yet and tried to find some answers in the comments, but couldn't find anything there either.

Here's a picture to demonstrate what I mean

Thanks
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 05:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Re:

Interesting. Someone had the same question lately. That is due to Blizzard code.

The first actionbar has no grid, because by default the default MainActionBar has an actionbar textue (the one with the gryphons etc.) underneath with a grid included in the image. That's why Blizzard did not add a grid to the first actionbar.

Thus actionbar 1 has no grid to be displayed.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-16-12 at 05:43 AM.
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 07:18 AM  
tomsu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re:

Originally Posted by zork
Interesting. Someone had the same question lately. That is due to Blizzard code.

The first actionbar has no grid, because by default the default MainActionBar has an actionbar textue (the one with the gryphons etc.) underneath with a grid included in the image. That's why Blizzard did not add a grid to the first actionbar.

Thus actionbar 1 has no grid to be displayed.
Thought this might be the case, but had to make sure from someone who actually knows lua Thanks anyways!
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 03:36 PM  
Bloodier
A Fallenroot Satyr

Forum posts: 20
File comments: 55
Uploads: 0
I'm trying to modify the petbar to have one column only.

In petbar.lua I changed the following (lines that were changed by others are the commented):

Code:
local frame = CreateFrame("Frame", "rABS_PetBar", UIParent, "SecureHandlerStateTemplate")
  --frame:SetWidth(num*cfg.buttons.size + (num-1)*cfg.buttons.margin + 2*cfg.padding)
  --frame:SetHeight(cfg.buttons.size + 2*cfg.padding)
  frame:SetWidth(cfg.buttons.size + 2*cfg.buttons.margin)
  frame:SetHeight(num*cfg.buttons.size + (num-1)*cfg.buttons.margin + 2*cfg.padding)
Code:
 for i=1, num do
    local button = _G["PetActionButton"..i]
    table.insert(buttonList, button) --add the button object to the list
    button:SetSize(cfg.buttons.size, cfg.buttons.size)
    button:ClearAllPoints()
    if i == 1 then
      --button:SetPoint("LEFT", frame, cfg.padding, 0)
	  button:SetPoint("TOP", frame, cfg.buttons.margin, 0)
    else
      local previous = _G["PetActionButton"..i-1]
      --button:SetPoint("LEFT", previous, "RIGHT", cfg.buttons.margin, 0)
	  button:SetPoint("TOP", previous, "BOTTOM", cfg.padding, 0)
    end
I get a stepped bar without margin between buttons. What's wrong with the code?
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 07:13 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
You inserted the values into the x, not the y value. Swap padding/margin with 0.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-17-12, 07:35 AM  
Bloodier
A Fallenroot Satyr

Forum posts: 20
File comments: 55
Uploads: 0
Originally Posted by zork
You inserted the values into the x, not the y value. Swap padding/margin with 0.
Thanks that solved the step problem
Report comment to moderator  
Reply With Quote
Unread 11-17-12, 10:06 AM  
Bloodier
A Fallenroot Satyr

Forum posts: 20
File comments: 55
Uploads: 0
Another question. How can I use the same position for different characters? Where is it saved? Can't see any rActionBar file in WTF folder.
Last edited by Bloodier : 11-17-12 at 10:07 AM.
Report comment to moderator  
Reply With Quote
Unread 11-17-12, 01:32 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Originally Posted by Bloodier
Another question. How can I use the same position for different characters? Where is it saved? Can't see any rActionBar file in WTF folder.
That file is called layout-local.txt in your WTF/SERVER/CHAR folder.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-18-12, 05:49 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 188
Uploads: 0
Having trouble with doing festival tables. Addon doesn't switch to the vehicle bar on this for some reason. Haven't tested it though with today's version. Will add once I test it out in a little bit if anything changes.
Report comment to moderator  
Reply With Quote
Unread 11-19-12, 02:40 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
That is fixed. Make sure you have the latest version.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-19-12 at 02:42 AM.
Report comment to moderator  
Reply With Quote
Unread 11-19-12, 07:14 PM  
Clamsoda
A Frostmaul Preserver

Forum posts: 269
File comments: 35
Uploads: 0
The latest version isn't packaged with rLib, not sure if that is intended or not.
Report comment to moderator  
Reply With Quote
Unread 11-20-12, 03:20 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Args. Thank you. Of course not intended.

Version 50001.08a will have rLib included. Sry.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-20-12 at 03:25 AM.
Report comment to moderator  
Reply With Quote
Unread 11-25-12, 02:11 PM  
Siannus
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 83
Uploads: 2
Im considering using this instead of Bartendar for my UI, however, Ive noticed in all screenshots and videos Ive seen that utilize this addon, empty slots are just that, empty. Is there anyway to have it to where empty slots are filled so to speak with the button styler of choice? Like if the styler adds a say white border and semi-transparent background, will the empty slots show that?

Also, will this scale with different resolution? I know my Bartendar will scale correctly from one resolution to another (ie: 1920x1090 vs 1440x900).
Last edited by Siannus : 11-25-12 at 02:14 PM.
Report comment to moderator  
Reply With Quote
Unread 11-25-12, 02:26 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
If you want a Grid you can enable that in the default interface settings.
If you want different button border styles you can try rActionButtonStyler.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: