• 0

    posted a message on fraction question
    The bar I'm talking about



    It's made by to addon's one for the background panel. just a very small lua code & the tekst

    on the left, you have latency / fps / mem (on mouse over tooltip with detailed mem stats)
    in the center XP + Resting bonus (not showed on level 70 chars) Gold & Tracked Fraction Reputation (only when tracked)

    the info = 16kb

    If you wonder why I took this way instead of haven Titan / FuBar / Statsblock.

    I think the latest Titan is running the Rock framework as does FuBar. It took to mutch mem and had way to mutch settings, I did use Infopanel (by Aezay) but It lacked the touch add had icons ;)

    So that is why I did start my own so that it fits my needs and does not more than I need.

    I still run statsblock, since its great.


    Posted in: Lua Code Discussion
  • 0

    posted a message on Razer keyboards and mice
    Quote from tekkub »

    Those mice were prone to bad wire connections though. Mine broke after a year or so, as did two others friends had.

    The newer MS mice are decent though. I love my Laser 6000


    Yes Tekkub I remeber that mouse, and the bad wire connection... It broke like yours..
    I use Logitch at this time.
    Posted in: General Chat
  • 0

    posted a message on fraction question
    The bar does'nt support them.

    I'm my bar it's purely for information when grinding to get you rep up.
    I don't have a tooltip, and the bar only shows the tracked fraction
    Posted in: Lua Code Discussion
  • 0

    posted a message on fraction question
    okay got the exalted thing working, at least I think it does.

    The collor thing aint working for some reason.
    and still have isues with the value, not showing the actual value, but shows the total value since neutral

    if (GetWatchedFactionInfo() == nil) then
    	rep = ""
    else
    local name, reaction, min, max, value = GetWatchedFactionInfo();
    
    	-- colored
    	local FACTION_BAR_COLORS = {
    
      	[1] = {r = 0.8, g = 0.3, b = 0.22},
    	  [2] = {r = 0.8, g = 0.3, b = 0.22},
      	[3] = {r = 0.75, g = 0.27, b = 0},
    	  [4] = {r = 0.9, g = 0.7, b = 0},
      	[5] = {r = 0, g = 0.6, b = 0.1},
    	  [6] = {r = 0, g = 0.6, b = 0.1},
    	  [7] = {r = 0, g = 0.6, b = 0.1},
      	[8] = {r = 0, g = 0.6, b = 0.1},
    	}
    	local factionColor = FACTION_BAR_COLORS[reaction] -- factionColor.r, factionColor.g, and factionColor.b
    
    	-- faction text
    	local factionText = _G['FACTION_STANDING_LABEL'..reaction]
    
    		rep = ""..(name).." "..(factionText).." "..(value)..""
    end
    Posted in: Lua Code Discussion
  • 0

    posted a message on fraction question
    Thanks

    if (GetWatchedFactionInfo() == nil) then
    	rep = ""
    else
    local name, reaction, min, max, value = GetWatchedFactionInfo();
    
    	-- colored
    	local FACTION_BAR_COLORS = {
    
      	[1] = {r = 0.8, g = 0.3, b = 0.22},
    	  [2] = {r = 0.8, g = 0.3, b = 0.22},
      	[3] = {r = 0.75, g = 0.27, b = 0},
    	  [4] = {r = 0.9, g = 0.7, b = 0},
      	[5] = {r = 0, g = 0.6, b = 0.1},
    	  [6] = {r = 0, g = 0.6, b = 0.1},
    	  [7] = {r = 0, g = 0.6, b = 0.1},
      	[8] = {r = 0, g = 0.6, b = 0.1},
    	}
    	local factionColor = FACTION_BAR_COLORS[reaction] -- factionColor.r, factionColor.g, and factionColor.b
    
    	-- faction text
    	local factionText = _G['FACTION_STANDING_LABEL'..reaction]
    
    	-- number of exalted
    	local testFactionText
    	local numExalted = 0
    	for i = 1, GetNumFactions() do
      	local name, description, reaction, bottomValue, topValue, earnedValue, atWarWith,
    	  	canToggleAtWar, isHeader, isCollapsed, isWatched = GetFactionInfo(i)
      	testFactionText = _G['FACTION_STANDING_LABEL'..reaction]
    	  if testFactionText == FACTION_STANDING_LABEL8 then
        	numExalted = numExalted + 1
    		end
    	end
    	rep = ""..(name).." "..(factionText)..""
    end


    is working, I still have 2 things should
    factionText
    return a colored standing?
    And If I use earnedValue it complains about

    Interface\AddOns\AI-Info\AI-Info.lua:131: attempt to concatenate global 'earnedValue' (a nil value)
    [C]: ?
    Interface\AddOns\AI-Info\AI-Info.lua:131: in function <Interface\AddOns\AI-Info\AI-Info.lua:50>


    O yes,
    	-- number of exalted
    	local testFactionText
    	local numExalted = 0
    	for i = 1, GetNumFactions() do
      	local name, description, reaction, bottomValue, topValue, earnedValue, atWarWith,
    	  	canToggleAtWar, isHeader, isCollapsed, isWatched = GetFactionInfo(i)
      	testFactionText = _G['FACTION_STANDING_LABEL'..reaction]
    	  if testFactionText == FACTION_STANDING_LABEL8 then
        	numExalted = numExalted + 1
    		end
    	end

    ist just there to count the exalted fractions, Since I only whant that part to output the message to chat. I could move that to standalone, while the rests stays in the panel or is there a something I'm missing?
    Posted in: Lua Code Discussion
  • 0

    posted a message on fraction question
    Quote from Thaoky »

    for i = 1, GetNumFactions() do
      local name, description, reaction, bottomValue, topValue, earnedValue, atWarWith,
      canToggleAtWar, isHeader, isCollapsed, isWatched = GetFactionInfo(factionIndex)


    Hum.. is it normal that your parameter in GetFactionInfo is not your loop iterator ?
    You should have this instead:

    blablabla = GetFactionInfo(i)


    I realy don't know egingell gave me that part.
    I was using the on in the top, but It did'nt work out like I wanted
    Posted in: Lua Code Discussion
  • 0

    posted a message on IRC - what where and how
    I can see the channel with 222 (online peeps) , but cant login

    [INFO] Channel view for ?#wowace? opened.
    === #wowace ##unavailable Forwarding to another channel

    keep getting this thing
    Posted in: General Chat
  • 0

    posted a message on BetterQuest
    Interface\AddOns\BetterQuest\modules\sink\sink.lua:107: attempt to concatenate local 'title' (a boolean value)
    (tail call): ?
    Interface\AddOns\BetterQuest\modules\sink\sink.lua:107: in function `?'
    Interface\AddOns\Ampere\CallbackHandler-1.0.lua:146: in function <Interface\AddOns\Ampere\CallbackHandler-1.0.lua:146>
    [string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
    [C]: ?
    [string "safecall Dispatcher[4]"]:13: in function `?'
    Interface\AddOns\Ampere\CallbackHandler-1.0.lua:91: in function `Fire'
    ...ns\BetterQuest\lib\LibQuixote-2.0\LibQuixote-2.0.lua:514: in function `?'
    ...ns\BetterQuest\lib\LibQuixote-2.0\LibQuixote-2.0.lua:547: in function `?'
    ...ns\BetterQuest\lib\LibQuixote-2.0\LibQuixote-2.0.lua:119: in function <...ns\BetterQuest\lib\LibQuixote-2.0\LibQuixote-2.0.lua:118>


    error with the latest version. And for some reason I does'nt always update partmembers quest status (they have BetterQ installed)
    Posted in: General AddOns
  • 0

    posted a message on fraction question
    using:

    if (GetWatchedFactionInfo() == nil) then
    	rep = ""
    else
    	local name, reaction, min, max, value = GetWatchedFactionInfo();
    
    	-- colored
    	local FACTION_BAR_COLORS = {
    
      	[1] = {r = 0.8, g = 0.3, b = 0.22},
    	  [2] = {r = 0.8, g = 0.3, b = 0.22},
      	[3] = {r = 0.75, g = 0.27, b = 0},
    	  [4] = {r = 0.9, g = 0.7, b = 0},
      	[5] = {r = 0, g = 0.6, b = 0.1},
    	  [6] = {r = 0, g = 0.6, b = 0.1},
      	[7] = {r = 0, g = 0.6, b = 0.1},
    	  [8] = {r = 0, g = 0.6, b = 0.1},
    	}
    	local factionColor = FACTION_BAR_COLORS[reaction] -- factionColor.r, factionColor.g, and factionColor.b
    
    	-- faction text
    	local factionText = _G['FACTION_STANDING_LABEL'..reaction]
    
    	-- number of exalted
    	local testFactionText
    	local numExalted = 0
    	for i = 1, GetNumFactions() do
      local name, description, reaction, bottomValue, topValue, earnedValue, atWarWith,
       canToggleAtWar, isHeader, isCollapsed, isWatched = GetFactionInfo(factionIndex)
      testFactionText = _G['FACTION_STANDING_LABEL'..reaction]
    	  if testFactionText == FACTION_STANDING_LABEL8 then
        	numExalted = numExalted + 1
      	end
    	end
    	rep = ""..(name).." "..(standing).." "..(earnedValue)..""
    end


    errors
    usage: GetFactionInfo(factionIndex)


    the numbers of exalted should always show in chat when reachting exalted state, not just once tracking a fraction

    Posted in: Lua Code Discussion
  • 0

    posted a message on fraction question
    thank you, but since this is only a small part of my bar code.
    I need to pull everything except the chat output to

    rep =

    with you code embeded I get a
    attempt to call global 'GetWatchedFractionAtWarInfo' (a nil value)

    Posted in: Lua Code Discussion
  • 0

    posted a message on fraction question
    			if (GetWatchedFactionInfo() == nil) then
    				rep = ""
    			else
    			local name, standing, min, max, value = GetWatchedFactionInfo()
    				rep = ""..(name).." "..(standing).." "..(value)..""
    			end


    how can I get standing to show,
    Neutral instead of 4
    Friendly instead of 5

    and make the colored

    since that aint working like I want it to I need to use

    local name, description, standingId, bottomValue, topValue, earnedValue, atWarWith,
     canToggleAtWar, isHeader, isCollapsed, isWatched = GetFactionInfo(factionIndex)


    but how do I get them to work to together

    output should be Orgimar Neutral 300 -- Neutral should be yellow

    one more thing is there a way to get the number of fractions that are Exalted.
    I'd like the addon to tell people wen reatching a Exalted state

    congratulations you now have x Fractions Exalted, in the chat
    Posted in: Lua Code Discussion
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    I have 3 Questions once again.

    After the thing posted a while back I still did'nt find a way to hide my partypets in raid.
    And I have a isue with class colors, after dying or going offline they dont always color back to class.
    Why does'nt my pvp show for party members?

    any sugestion.
    whole code http://www.pastey.net/95939

    thanks
    Posted in: Unit Frames
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Quote from Zariel »

    http://ixo.no/git/oMirrorBars.git/

    ????

    PROFIT


    thank you. no I missed something
    Posted in: Unit Frames
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Moon Witch »

    This is mine.

    http://i34.tinypic.com/2wel1cx.jpg

    Yes, new char, on the EU servers.

    Edit: Phanx, I am scared of your comments, though I welcome them.


    looks nice, but one question is that gray/gray HP color not hard to see in raids?
    Posted in: General Chat
  • 0

    posted a message on Framerates?
    Well Moon with MSI it does'nt supprise me. I used to have asus back in the days, but the really cut back on quality now a days.

    testing stability with asus back then was great, now it sucks. MSI was crap back dann, kannt tell you how it is now adays did never touch it again.

    The abit i'm running now does a verry good job, and is great for OC
    Posted in: General Chat
  • To post a comment, please or register a new account.