• 0

    posted a message on SpamSentry - Ace2 release
    Hi! It seems the last version broke the bash script again. It happens because on *nix uppercase and lowercase are different. Here's an updated version:


    #!/bin/bash

    rm -rf ../SpamSentry_bot
    rm -rf ../SpamSentry_report
    rm -rf ../SpamSentry_rp

    mv bot ../SpamSentry_bot
    mv report ../SpamSentry_report
    mv rp ../SpamSentry_rp


    Please note that the way it is above it won't delete the old folders if they're present, since the new names have lowercases in places where the old folder names have uppercases. Thus, the user will have to delete them manually.
    Posted in: General AddOns
  • 0

    posted a message on Waterfall-1.0
    Okay, I've just posted to both the DrDamage thread as well as to Niagara's author's Google Code site. Thanks!
    Posted in: Libraries
  • 0

    posted a message on DrDamage - Official Thread
    Hi! I posted the bug report below in Waterfall's forum, and Phanx suggested for me to also post it here. So, here's it, together with his comments:

    Quote from me »

    Hi! I'd like to report I got this error when trying to configure DrDamage using Niagara:

    [2007/05/12 13:43:10-202-x1]: Waterfall-1.0: Invalid path "Others.Dr. Damage.ActionBar" for Aceoptions table:
    <in C code>: in function `error'
    Ace2\AceLibrary\AceLibrary.lua:96: in function `error'
    Waterfall-1.0-33871 (Waterfall-1.0):739: in function `FeedAceOptionsTable'
    Waterfall-1.0-33871 (Waterfall-1.0):370: in function `children'
    Waterfall-1.0-33871 (Waterfall-1.0):1452: in function `ChangePane'
    Waterfall-1.0-33871 (Waterfall-1.0):3462: in function `SetSelected'
    Waterfall-1.0-33871 (Waterfall-1.0):3566: in function <...AddOns\Waterfall-1.0\Waterfall-1.0\Waterfall-1.0.lua:3564>


    Quote from Phanx »

    That's caused by DrDamage calling itself "Dr. Damage". The period in the name confuses Waterfall, which tries to find a table called " Damage" inside a table called "Dr", neither of which exist. There's probably a workaround that can be done in Waterfall, but you might also try posting in the DrDamage thread to see why the author's using a period in the name, since it seems to be the only one.
    Posted in: General AddOns
  • 0

    posted a message on Waterfall-1.0
    Hi! I'd like to report I got this error when trying to configure DrDamage using Niagara:

    [2007/05/12 13:43:10-202-x1]: Waterfall-1.0: Invalid path "Others.Dr. Damage.ActionBar" for Aceoptions table:
    <in C code>: in function `error'
    Ace2\AceLibrary\AceLibrary.lua:96: in function `error'
    Waterfall-1.0-33871 (Waterfall-1.0):739: in function `FeedAceOptionsTable'
    Waterfall-1.0-33871 (Waterfall-1.0):370: in function `children'
    Waterfall-1.0-33871 (Waterfall-1.0):1452: in function `ChangePane'
    Waterfall-1.0-33871 (Waterfall-1.0):3462: in function `SetSelected'
    Waterfall-1.0-33871 (Waterfall-1.0):3566: in function <...AddOns\Waterfall-1.0\Waterfall-1.0\Waterfall-1.0.lua:3564>
    Posted in: Libraries
  • 0

    posted a message on ClearFont and ClearFont2 - Official thread
    I'd like to make a small suggestion: would it be possible to make the ClearFont2 addon independent from the default fonts?

    I ask this because, well, every time an update happens (and there have been a lot of updates to ClearFont2 recently), I and others have to download a full 1.8MB file, something that, I think, adds up to a lot of bandwidth on the server. Since the fonts don't change frequently, and the addon itself is small, having them as split components makes sense. The independent font pack might be named "ClearFont2_FontPack_0", "ClearFont2_StandardFontPack", or something like that, and be a required dependency for the (now much smaller) ClearFont2.

    What do you think?
    Posted in: General AddOns
  • 0

    posted a message on SpamSentry - Ace2 release
    Hello! I noticed some typos in your ss_lod.sh script that were causing it to not work, so I corrected them. Here's the new version. I hope it helps!

    Edit: Hmm... It seems the underscores don't appear as they should in the box below, or at least they don't in my Firefox running on Ubuntu. Anyway, copying and pasting the code into a text editor shows it as intended.

    #!/bin/bash
    
    rm -rf ../SpamSentry_Bot
    rm -rf ../SpamSentry_Report
    rm -rf ../SpamSentry_RP
    
    mv bot/bot.toc bot/SpamSentry_Bot.toc
    mv report/report.toc report/SpamSentry_Report.toc
    mv rp/rp.toc rp/SpamSentry_RP.toc
    
    mv bot ../SpamSentry_Bot
    mv report ../SpamSentry_Report
    mv rp ../SpamSentry_RP

    Posted in: General AddOns
  • 0

    posted a message on [Old] PitBull - official topic
    Quote from Thorndepth »

    I prefer the classy one MobHealth3.. I don't like bulky addons + something not needed.

    I use WoWhead if I want to look up something.


    I can see that. But even so, if adding support for MobInfo2 etc. is just a matter of, say, adding 20 or so lines of code, which mostly of them won't be even executed if MobInfo2 isn't installed, why not add them? It's not as if these few lines would make Pitbull bloated or something.

    I really hope ckknight add them. :)
    Posted in: Unit Frames
  • 0

    posted a message on [Old] PitBull - official topic
    I would love to see MobInfo2 support. Not that MobHealth3 isn't good, but because I like the tons of added information gathering in MobInfo2.

    I'm no LUA programmer, but from looking the ReadMe_MobInfo_API.txt file that comes with MobInfo2, the interface seems to be very simple. See (slightly formatted for forum readability):


    function MobHealth_GetTargetCurHP()


    Return current health points value for the current target as an integer value. Return nil if there is no current target.


    Example:

    local targetCurrentHealth = MobHealth_GetTargetCurHP();

    if targetCurrentHealth then

    .......

    end



    _________________________________________________

    function MobHealth_GetTargetMaxHP()


    Return maximum health points value for the current target as an integer value. Return nil if there is no current target.


    Example:


    local targetMaxHealth = MobHealth_GetTargetMaxHP();

    if targetMaxHealth then

    .......

    end



    _________________________________________________

    function MobHealth_PPP( index )


    Return the Points-Per-Percent (PPP) value for a Mob identified by its index. The index is the concatination of the Mob name and the Mob level (see example below). 0 is returned if the PPP value is not available for the given index. The example also shows how to calculate the actual health points from the health percentage and the PPP value


    Example:


    local name = UnitName("target");

    local level = UnitLevel("target");

    local index = name..":"..level;

    local ppp = MobHealth_PPP( index );

    local healthPercent = UnitHealth("target");

    local curHealth = math.floor( healthPercent * ppp + 0.5);

    local maxHealth = math.floor( 100 * ppp + 0.5);




    Since the file also includes example functions for making an addon compatible with not only MobInfo2, but also the original MobHealth and MobHealth2, it's almost a case of cut-and-paste to add this compatibility. Please, do so. I and others would really love it!
    Posted in: Unit Frames
  • 0

    posted a message on FuXPFu - (As inspired by Bant)
    Quote from Phanx »

    Try commenting out the SetWatchedFactionIndex(0) lines, as shown. Then if it doesn't find a faction for the zone you're in, it should just leave your watched faction as whatever the last thing it changed to was, instead of setting it to none.


    Thank you, Phanx! It's working very well, and FuXPFu's isn't losing its configuration anymore!
    Posted in: FuBar AddOns
  • 0

    posted a message on FuXPFu - (As inspired by Bant)
    I couldn't find how to contact him. There's no topic for Diplomat in the forums, nor any contact information in the addon files themselves. :(

    I know this might sound as a little excessive, so I ask you to please forgive me, but since Diplomat's code is very small, would it be possible for you to look into it and suggest some small patch I could apply locally so that it wouldn't disable FuXPFu reputation bar? Below I'm reproducing the functions I think are responsible for what's happening. Unfortunately I don't know LUA enough to attempt this myself...

    Thank you very much, and sorry for the amount of trouble I'm giving you! :(

    function Diplomat:OnInitialize()
      Diplomat:LoadFac()
    end
    
    function Diplomat:OnEnable()
      -- Called when the addon is enabled
      self:RegisterEvent("ZONE_CHANGED_NEW_AREA")
      Diplomat:LoadFac()
      Diplomat:ZONE_CHANGED_NEW_AREA()
    end
    
    function Diplomat:LoadFac()
      local factions = {}
      factions["none"] = 0
      local RepIndex = 0
      while RepIndex <= GetNumFactions() do
    	name = GetFactionInfo(RepIndex)
    	if name ~= nil then
    	    factions[string.lower(name)] = RepIndex
    	    if self.db.profile.debug then
    	     self:Print("Faction "..name.." with ID "..RepIndex)
    	    end
    	end
    	RepIndex = RepIndex + 1
      end
      self.db.profile.factions = factions
    end
    
    function Diplomat:ZONE_CHANGED_NEW_AREA()
      Diplomat:LoadFac()
      local faction = self.db.profile.ZoneToFaction[GetZoneText()]
      if faction == nil then
    	self:Print("Zoned into "..GetZoneText()..", no faction set yet")
    	self:Print("To set a faction to this zone type: /diplomat setfac <faction>")
    	SetWatchedFactionIndex(0)
      else
    	faction = string.lower(faction)
    	self:Print("Zoned into "..GetZoneText()..", with faction "..faction)
      	if(self.db.profile.factions[faction] ~= nil) then
    	  SetWatchedFactionIndex(self.db.profile.factions[faction])
    	else
    	  self:Print("Faction is not in list, assuming none")
    	  SetWatchedFactionIndex(0)
    	end
      end
    end

    Posted in: FuBar AddOns
  • 0

    posted a message on FuXPFu - (As inspired by Bant)
    Quote from Wobin »

    Still not the best solution, which would be for Diplomat -not- to mess around with the watched faction by setting it to null, but you'd have to ask the author.


    Hehe, yes, you're right. I'll try asking him to change this. :)
    Posted in: FuBar AddOns
  • 0

    posted a message on FuXPFu - (As inspired by Bant)
    Quote from Wobin »

    Or you could try setting FuXP as a optdependancy for Diplomat so it loads first, and see if that helps any...


    Adding FuBar_FuXPFu in Diplomat's OptionalDeps didn't work. It seems that the first thing Diplomat does is to set the bar to none, then discover the list of factions available, then check in which zone I am, then set the watched faction to the one I've set to that zone... :(

    What do you think about adding a "Lock Options" option in the Properties menu that would prevent the Show Rep Bar one from being unselected, no matter what? This way, those who use addons that temporarily set the watched faction to none could mark it and live happy, while those who like the current behavior could simply keep it unselected. It could come unselected by default, and by being available, would solve the problem for good. :)

    In regards to other suggesting the faction bar to automatically change color, I don't think this by itself would be a nice change. A better one, IMHO, would be the icon to change its color. This would be both informative and unobtrusive, while the whole bar changing colors would in many case be confusing.

    Edit: Typo corrections.
    Posted in: FuBar AddOns
  • 0

    posted a message on FuXPFu - (As inspired by Bant)
    For some reason, whenever I log on, only the experience bar in FuXPFu show, not the reputation bar. Then I go into the Properties menu, and the Show Rep Bar option is unchecked. I check it, everything works fine and all, then log off, log back on, and the option is unmarked again. So, either this option isn't being saved, or something else is preventing it from working as intended.

    By the way, I'm using Diplomat to set a default reputation bar when I enter a new zone, and I noticed that when the game loads, it first sets the watched reputation to none because, it seems, the zone I am at is unknown to it. Then when it can actually detect the zone some few seconds later, it sets it to the appropriate faction. So, maybe this switching of watched reputations due to Diplomat while FuXPFu is loading is what's making FuXPFu lose the option.

    I hope this helps. I love FuXPFu, but having to enable the Show Rep Bar option every time I log in is kinda annoying. :)
    Posted in: FuBar AddOns
  • 0

    posted a message on VanasKoS
    Quote from trh »

    when i get the time i'll install notesusneed and guildprofiler to see whats causing it


    That would be very nice indeed! Thank you!
    Posted in: General AddOns
  • 0

    posted a message on VanasKoS
    In fact I have some addons that put some buttons inside the Friends and Guild frames, notably NotesUNeed and GuildProfiler, although neither cause big changes it. Well, that's probably the reason I'm not seeing the tab, I guess. :)
    Posted in: General AddOns
  • To post a comment, please or register a new account.