• 0

    posted a message on problem with protected function. alternative or help needed
    i don't want that my addon plays for me.
    if i use a makro that puts poisons on my weapons with modifier etc its the same thing.
    i only want a better overview to the raid.
    and thats only an example not the finished source.
    which part is confused?

    *edit
    i want a macro that calls this function an the lua script is only checking what the best action is.
    for example if i press my macro the script takes shiv as the best choice.. next time the mob is casting the spell and the script takes another attack..
    Posted in: Lua Code Discussion
  • 0

    posted a message on problem with protected function. alternative or help needed
    hello
    i try to write a little helper for magtheridon but i've problems with some protected functions.

    for example here is a part of my source so that you can understand what i try to do.

    if target is Hellfire Channeler
    then
    if target is casting Dark Mending
    then
    /cast kick
    elseif combopoints < 5
    then
    /cast shiv
    elseif combopoints == 5
    then
    /cast rupture
    end
    end

    function rogue_magtheridon()
     local tname;
    
     tname = UnitName("target"); 
    
     if(tname == "Hellfire Channeler")
     then
       DEFAULT_CHAT_FRAME:AddMessage("target is Hellfire Channeler");
       local spell, _, _, _, _, _ = UnitCastingInfo("target")
    
       if(spell == "Dark Mending")
       then
       DEFAULT_CHAT_FRAME:AddMessage("trying to kick");
        RunMacroText("/cast Kick");
        --RunMacroText("/p gekickt");
       elseif(GetComboPoints() < 5)
       then
       DEFAULT_CHAT_FRAME:AddMessage("cast shiv");
        --RunMacroText("/cast shiv");
       elseif(GetComboPoints() == 5)
       then
       DEFAULT_CHAT_FRAME:AddMessage("cast rupture");
        --RunMacroText("/cast Rupture");
       end
    
     end
    
    end


    i don't know if it is possible to do that by a macro.
    and now i need some help how i can get this code to work
    or an alternativ idead that has the same effect.

    thx
    Posted in: Lua Code Discussion
  • 0

    posted a message on WoW UI Updater (Windows/Linux/Mac) - supports multiple sites
    mhh i've some problems with utf8...
    is there a simple way to fix that problem? (see attachment)
    i've tried to start with another LC_ALL=... but he takes utf8 again...
    it would be nice if you can fix that problem because i'm not very skilled with python :D
    thx
    Posted in: Updaters
  • 0

    posted a message on WAU has problems with automatic dep...
    hello
    is it possible that the WAU has a problem with automatic dependency download?
    i'm using WAU without externals and ADD (automativ dependency download) is enabled by default but if i install something with that option i get a lot of ingame errors and the most addons dosn't work so that i must reinstall my addons without this option.
    Posted in: Updaters
  • 0

    posted a message on WAU needs a new feature
    Quote from Seerah »

    And.... that's the answer that was already given to you.



    For files.wowace.com, just sort by Revision descending.


    Same with WAU. Sort by revison decending.
    Posted in: General Chat
  • 0

    posted a message on WAU needs a new feature
    i know that stuff about svn/revisions etc. but then it isn't possible to show the newest addons by revision sorting.
    thats what i mean.
    Posted in: General Chat
  • 0

    posted a message on WAU needs a new feature
    Quote from cerement »

    For WAU, let them know in their forums.

    For files.wowace.com, just sort by Revision descending.



    mhh ok but if i try to sort by revision i can't see anything like 0 or more.
    the lowest revision there is 19036 and i think that can't be true for new addons.
    Posted in: General Chat
  • 0

    posted a message on WAU needs a new feature
    hello
    i think that the WAU needs a new feature to see which addons are new in the repository.
    the same thing is nice for files.wowace.com.

    Posted in: General Chat
  • 0

    posted a message on itemsync patch/new function
    what i really want to know is why are there so big differences between itemsync cache and the local item cache from wow.
    Posted in: General AddOns
  • 0

    posted a message on WowAce's Packagemancer and http://files.wowace.com/
    please built in a function to see new addons or updated addons.
    i think thats a good new feature and in wau too.
    thx
    Posted in: Updaters
  • 0

    posted a message on itemsync patch/new function
    hello
    i've written a new function for itemsync.
    i can't find a mail addy or something to contact the author directly.

    ok here is a smart description:
    i've created a function to scan the local itemcache and add items they are not in itemsync.
    i don't know why i have more items in my itemsync as in my local cache and i don't know why i have items in my local cache they are not in my itemsync.

    if anyone want use my patch do the following things:
    change in ItemSync.lua
    from:
    	local args	  = {
    		type="group", 
    		args = {
    			debug = {
    				name = "Debug", type = 'toggle', order = 1,
    				desc = "Turns display of debugging text on and off.",
    				get = function() return self.db.profile.debug end,
    				set = function(v) 
    					self.db.profile.debug = v
    					if (v) then self:SetDebugging(true); else self:SetDebugging(false); end
    				end,
    			},
    			show = {
    				name = "Show", type = 'execute', order = 2,
    				desc = "Open the ItemSync window.",
    				func = function()
    					ISync_MainFrame:Show();
    				end	
    			},
    			itemid = {
    				name = "Itemid", type = 'execute', order = 3,
    				desc = "Open the ItemID window.",
    				func = function()
    					ISync_ItemIDFrame:Show();
    				end	
    			},
    			quickbag = {
    				name = "Quickbag", type = 'execute', order = 4,
    				desc = "Open the QuickBag window.",
    				func = function()
    					ISync_QuickBagFrame:Show();
    				end	
    			},
    			favorites = {
    				name = "Favorites", type = 'execute', order = 5,
    				desc = "Open the Favorites window.",
    				func = function()
    					ISync_Favorites:Show();
    				end	
    			},
    			search = {
    				name = "Search", type = 'text', order = 6,
    			  	desc = 'Do a search for an item by keywords.',
    			  	usage = "<partial item name>",
    				get = false,
    				set = function(v)
    					ISyncMainFrame_QuickSearch:SetText("");
    					self:ResetSearch();
    					ISyncMainFrame_QuickSearch:SetText(v);
    					self:Main_Refresh();
    					ISync_MainFrame:Show();
    					ISyncMainFrame_QuickSearch:SetText("");
    				end,
    			},	
    			resetwindow = {
    				name = "Reset Window", type = 'execute', order = 7,
    				desc = "Resets all ItemSync windows.",
    				func = function()
    					self:ResetWindows();
    				end	
    			},
    		}
    	}

    to:
    	local args	  = {
    		type="group", 
    		args = {
    			debug = {
    				name = "Debug", type = 'toggle', order = 1,
    				desc = "Turns display of debugging text on and off.",
    				get = function() return self.db.profile.debug end,
    				set = function(v) 
    					self.db.profile.debug = v
    					if (v) then self:SetDebugging(true); else self:SetDebugging(false); end
    				end,
    			},
    			show = {
    				name = "Show", type = 'execute', order = 2,
    				desc = "Open the ItemSync window.",
    				func = function()
    					ISync_MainFrame:Show();
    				end	
    			},
    			itemid = {
    				name = "Itemid", type = 'execute', order = 3,
    				desc = "Open the ItemID window.",
    				func = function()
    					ISync_ItemIDFrame:Show();
    				end	
    			},
    			quickbag = {
    				name = "Quickbag", type = 'execute', order = 4,
    				desc = "Open the QuickBag window.",
    				func = function()
    					ISync_QuickBagFrame:Show();
    				end	
    			},
    			favorites = {
    				name = "Favorites", type = 'execute', order = 5,
    				desc = "Open the Favorites window.",
    				func = function()
    					ISync_Favorites:Show();
    				end	
    			},
    			search = {
    				name = "Search", type = 'text', order = 6,
    			  	desc = 'Do a search for an item by keywords.',
    			  	usage = "<partial item name>",
    				get = false,
    				set = function(v)
    					ISyncMainFrame_QuickSearch:SetText("");
    					self:ResetSearch();
    					ISyncMainFrame_QuickSearch:SetText(v);
    					self:Main_Refresh();
    					ISync_MainFrame:Show();
    					ISyncMainFrame_QuickSearch:SetText("");
    				end,
    			},	
    			resetwindow = {
    				name = "Reset Window", type = 'execute', order = 7,
    				desc = "Resets all ItemSync windows.",
    				func = function()
    					self:ResetWindows();
    				end	
    			},
    			scancache = {
    				name = "ScanCache", type = 'execute', order = 8,
    				desc = "Scan the local cache and check for new items.",
    				func = function()
    					ItemSync:ScanCache();
    				end
    			},
    		}
    	}


    and after
    function ItemSync:OnDisable()
    --unregister stuff registered onenable
    end
    add this:
    function ItemSync:ScanCache()
      self:Debug("Scancahe")
      local numi, new;
      
      self:Print("starting scancache...");
      new = 0;
      
     for numi=1, 50000, 1 do  
       if GetItemInfo(numi) then
         local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, invTexture = GetItemInfo(numi);
         
         if( not self.db.account[self.realm]["items"][numi])
         then
           self:_parselinks(itemLink);
           self:Print("new item added '%s'.", itemName);
           new = new + 1;
         end
         end
       end
      
       if(new == 1)
       then
         self:Print("%s item added", new);
       else
         self:Print("%s items added", new);
       end
      
       self:Print("scancache completed.");
      
    end
    Posted in: General AddOns
  • 0

    posted a message on move items to trade window via ALT+Leftclick
    ah thx :)
    i havn't seen it in the big list :P
    Posted in: General Chat
  • 0

    posted a message on move items to trade window via ALT+Leftclick
    hello i'm looking for a simple way to move items from my bag to the trade window.
    a few weeks ago i've used ct for this but now i've deleted ct because i don't want use it.
    now i'm looking for a simple way to get this function back and i don't want a complete/big addon that can do this and more because i want save my memory etc.

    can any one say me a simple and fast solution for my problem? :D
    thx
    Posted in: General Chat
  • To post a comment, please or register a new account.