• 0

    posted a message on Fence
    Found a fix.

    Replace:
    	function mod:NEW_AUCTION_UPDATE() -- read data when auction is being updated
      		local name, _, count, _, _, _ = GetAuctionSellItemInfo()
    		
    		if not name then 
    			self:Debug("NEW_AUCTION_UPDATE(): No name found.")
    				return 
    		end
    		
    		local startPrice = MoneyInputFrame_GetCopper(StartPrice)
    		self:Debug("NEW_AUCTION_UPDATE(): self.itemID, self.suffixID = ", self.itemID, self.suffixID)
    
    		local data = tostring(self:CreateData())
    		self:Debug("NEW_AUCTION_UPDATE(): Data = ", data)
    		
      		local db = self.db.profile.Prices[data]
    		self:Debug("db = ", db)
    		if not db then 
    			if self.db.profile.AutoBuy then
    				MoneyInputFrame_SetCopper(BuyoutPrice, max(100, floor(startPrice * self.db.profile.Markup)))
    					return
    			end
    				return
    		else
    			local s,b = strsplit(":", db)
    			self:Debug("NEW_AUCTION_UPDATE(): StartPrice = ",s,"|BuyoutPrice = ",b)		
    			MoneyInputFrame_SetCopper(StartPrice, s * count)
    			MoneyInputFrame_SetCopper(BuyoutPrice, b * count)
    				return
    		end
    	end


    with

    	function mod:NEW_AUCTION_UPDATE()
    		self:ScheduleEvent(function()
    			local name, _, count, _, _, _ = GetAuctionSellItemInfo()
    			
    			if not name then 
    				self:Debug("NEW_AUCTION_UPDATE(): No name found.")
    					return 
    			end
    			
    			local startPrice = MoneyInputFrame_GetCopper(StartPrice)
    			self:Debug("NEW_AUCTION_UPDATE(): self.itemID, self.suffixID = ", self.itemID, self.suffixID)
    			
    			local data = tostring(self:CreateData())
    			self:Debug("NEW_AUCTION_UPDATE(): Data = ", data)
    			
    			local db = self.db.profile.Prices[data]
    			self:Debug("db = ", db)
    			if not db then 
    				if self.db.profile.AutoBuy then
    					MoneyInputFrame_SetCopper(BuyoutPrice, max(100, floor(startPrice * self.db.profile.Markup)))
    						return
    				end
    					return
    			else
    				local s,b = strsplit(":", db)
    				self:Debug("NEW_AUCTION_UPDATE(): StartPrice = ",s,"|BuyoutPrice = ",b)		
    				MoneyInputFrame_SetCopper(StartPrice, s * count)
    				MoneyInputFrame_SetCopper(BuyoutPrice, b * count)
    					return
    			end
    		end, 0.1)
    	end
    Posted in: General AddOns
  • 0

    posted a message on Fence
    On live.

    What's interesting is that it was working before I updated addons today. Probably a library issue.
    Posted in: General AddOns
  • 0

    posted a message on Fence
    Couldn't find the thread, so I'll start a new one.

    Auto-fill module is currently broken.

    I'll post a fix here when I find it.
    Posted in: General AddOns
  • 0

    posted a message on cyCircled - Circled buttons for more than just BT2
    Quote from StormFX »

    Quote from N00bZXI »

    Also, you could make this addon universal with the following code, unless the addon in question creates it's frames in xml:

    function CF(type,name,parent,inherites)
    	if string.find(inherites, "ActionButtonTemplate") then
    		self:ScheduleEvent(function() self.skin(name) end, 5, self)
    	end
    end
    
    hooksecurefunc("CreateFrame", CF)
    
    function self:skin(id)
    	cyCircled:SkinOverlay(id)
    	cyCircled:SkinNormalTexture(id)
    	cyCircled:SkinHighlightTexture(id)
    	cyCircled:SkinPushedTexture(id)
    	cyCircled:SkinCheckedTexture(id)
    	cyCircled:SkinFlashTexture(id)
    	cyCircled:SkinIcon(id)
    	cyCircled:SkinHotkey(id)
    	cyCircled:SkinCount(id)
    	cyCircled:SkinCooldown(id)
    	cyCircled:SkinEquipBorder(id)
    	cyCircled:SkinAutocast(id)
    end



    Send it via PM to Sairen


    Thanks. Hopefully it gets implemented.
    Posted in: General AddOns
  • 0

    posted a message on Quartz: Modular Casting Bar
    Request:

    Allow mirror bars to be unlocked and positioned freely, and allow all the other bars to be attached to each other.
    Posted in: General AddOns
  • 0

    posted a message on CmdAceUpdater - Command line ace addon updater.
    Fixed!

    In server.cs, replace:


    if(Settings.SkipExternals) fmt = "{0}{1}/no-ext/{2}";
    else fmt = "{0}{1}/{2}";

    with


    if(Settings.SkipExternals) fmt = "{0}/{1}/no-ext/{2}";
    else fmt = "{0}/{1}/{2}";
    Posted in: Updaters
  • 0

    posted a message on SCT [not official]
    Going to post there.

    My apologies for not being able to find it.
    Posted in: General AddOns
  • 0

    posted a message on SCT [not official]
    Couldn't find a thread so I'm going to start one.

    Bug - Custom Events are still enabled after you disable them.
    Posted in: General AddOns
  • 0

    posted a message on Quartz: Modular Casting Bar
    Request#two:

    Keep modules in seperate files in the addon directory. I use CmdAceUpdater to delete unused modules' files for various addons.
    Posted in: General AddOns
  • 0

    posted a message on Quartz: Modular Casting Bar
    If a target cast bar is added, I could replace ALL timer addons with this, as it would show buffs/debuffs/casts. And I could remove the code I wrote that merges antagonist and chronometer's bar groups.

    All I can say is - wow.
    Posted in: General AddOns
  • 0

    posted a message on Dewdrop? Size menu issue
    I'm going to confirm this for all dewdrop sliders. Thank goodness we can use mousewheel to adjust them.
    Posted in: Libraries
  • 0

    posted a message on article on coding burnout
    I've written about ten mods for personal use and only released the very first one I wrote. This is why.
    Posted in: General Chat
  • 0

    posted a message on CmdAceUpdater - Command line ace addon updater.
    Quote from SlackerJer »

    Just want to say it works for me in Vista Enterprise. I do have UAC off if it makes a difference. Thanks for the sweet proggie =D


    Crashes for me even with UAC off.
    Posted in: Updaters
  • 0

    posted a message on CmdAceUpdater - Command line ace addon updater.
    Has anything there changed since the last version?
    Posted in: Updaters
  • 0

    posted a message on CmdAceUpdater - Command line ace addon updater.
    Quote from lys »

    v1.0b1 released.
    Changes:
    • Added a way to keeping the custom files inside the addon folders through the new DeleteBeforeExtracting setting which is disabled by default (means it keeps the custom files by default).
    • Possible fix for the Vista problems, can't test it.

    If the Vista fix doesn't work, completely disabling logging should work at least.
    cmdau -c Logging False



    The program now crashes when attempting to install any addon in Vista.

    edit: The exact line of code that crashes: (in server.cs):
    using(WebClient wc = GetWebConfiguredWebClient()) wc.DownloadFile(FileUrl, LocalFileName);
    Posted in: Updaters
  • To post a comment, please or register a new account.