• 0

    posted a message on Garrison API events
    Just wanted to update, I found them

    GARRISON_ARCHITECT_CLOSED
    GARRISON_ARCHITECT_OPENED


    GARRISON_MISSION_NPC_CLOSED
    GARRISON_MISSION_NPC_OPENED


    This is what i needed if anyone else was looking for them
    Posted in: Need Help?
  • 0

    posted a message on Garrison API events
    Hello.

    I have been searching without result for the events that trigger when the Command table and architects table are opened in the garrison.

    Any help will be apreciated.

    i am looking for the handlers when the tables open and close.
    Posted in: Need Help?
  • 0

    posted a message on Black market.
    ok, as for now, i can't grab it.

    any tips on what the event may be called are welcome
    Posted in: Need Help?
  • 0

    posted a message on Black market.
    Ok, If anyone wants to know, What i learned so far is that it should be
    BLACK_MARKET_AUCTION_HOUSE


    I am changing my code right now and testing once my beta stopped reconfiguring the game files.
    I will repost if it works.
    Posted in: Need Help?
  • 0

    posted a message on Black market.
    Hi, I recently took over the accountant project. I am working on the code right now to get the project MOP ready, and when i stubled uppon the Black market... well.

    Does anyone know the eventhandler for it?

    e.g.

    	self:RegisterEvent("AUCTION_HOUSE_SHOW");
    	self:RegisterEvent("AUCTION_HOUSE_CLOSED");


    This but for the black market. I am looking for it but havn't found it yet.
    Posted in: Need Help?
  • 0

    posted a message on auto reply when debuging.
    didn't know i could put a dnd message. thanks for the tip. the only problem it gives me is that when i log in with a new "buggy addon loaded i can't set the message. but i ll try to work around that.

    thx for the tip.
    Posted in: Addon Ideas
  • 0

    posted a message on auto reply when debuging.
    Hi i recently started creating addons.
    i created a second "addon free" wow folder to test my addons in. but since i get a lot of wispers and i m not always able to respond when i run in to bugs i was wondering if there was a lightweight addon around that could auto respond something like "i am curently debugging and might not be able to respond" message. i could try to creat one myself but if it already exists it could save me some time.

    it should be something that is lightweight and doesn't interfere with whatever i m creating.

    anyone know something similar?
    Posted in: Addon Ideas
  • 0

    posted a message on LFG_UPDATE_RANDOM_INFO problem
    Well the thing i want to do is find a usable event to check if there is a Call to arms. you know. when tanks / healer/ (in some cases even ) dps get their sachel of misteries for joining the random dungeon queue.

    the event i use now is the
    LFG_UPDATE_RANDOM_INFO


    the only problem with it is that (when i was testing) the event only fired when
    -I loged in
    -i did a /reload
    -i open the lfg window.

    the problem with this is that i want to check inbetween as well.
    I have tought of creating a timer to check lets say every 30 seconds but i have no clue how to start on that. I am new to addon creations and could use "a litle push in the right direction"

    i certainly don't want you to create the addon for me but at the moment i am completely stuck.

    the project is here if you want to see the whole code.
    Posted in: Need Help?
  • 0

    posted a message on LFG_UPDATE_RANDOM_INFO problem
    Hi. i'm working on a new addon project and part of the addon would track call to arms.

    the part i have tracking this is the following.

    lots of code to finaly come to...
    --		*************************************************
    --		***     Finaly check for a call for arms      ***
    --		*************************************************
    --			*** when LFG info changes
    			
    	  
    			function tcta:LFG_UPDATE_RANDOM_INFO()		-- thanks to angi for the event.
    			
    				--debug--DEFAULT_CHAT_FRAME:AddMessage("tracking cta1" ,0.0,0.0,1.0)
    --				*** Do we need to check?
    				if (lfcta == true and ctaeligible == true) then
    					--debug --DEFAULT_CHAT_FRAME:AddMessage("tracking cta2" ,0.0,0.0,1.0)
    					local dungeonID = LFDQueueFrame.type
    					if type(dungeonID) == "number" then
    						for i = 1, LFG_ROLE_NUM_SHORTAGE_TYPES do
    							local eligible, forTank, forHealer, forDamage, itemCount, money, xp = GetLFGRoleShortageRewards(dungeonID, i)
    							if eligible and (itemCount ~= 0 or money ~= 0 or xp ~= 0) then -- show only if eligible and has a reward					
    								if (forTank) then -- output if cta tank
    									sound = true
    									DEFAULT_CHAT_FRAME:AddMessage("Call To Arms TANK", 1.0, 0.0, 0.0)	
    								end
    								if (forHealer) then -- output if cta healer
    									sound = true
    								DEFAULT_CHAT_FRAME:AddMessage("Call To Arms HEALER", 1.0, 0.0, 0.0)							
    								end
    								if (forDamage) then -- output if cta dps
    									sound = true
    								DEFAULT_CHAT_FRAME:AddMessag ("Call To Arms DPS", 1.0, 0.0, 0.0)
    								end
    								if (sound == true) then
    								PlaySoundFile("Interface\\Addons\\Thors_lfg_cta\\Sound\\BIGHORN.mp3","Master")
    								sound = false
    								end
    							end
    						end
    					end
    				end
    			end


    The code works perfectly however the
    LFG_UPDATE_RANDOM_INFO
    only seems to fire when i open the LFG window witch makes it rather pointless to track it cause you can see it anyway. is there maybe another event that would be more usefull to my cause?

    THx in advance
    Posted in: Need Help?
  • 0

    posted a message on who needs to rez addon troubles.
    Hi, I m working on my first addon project.

    someone asked me if i would like to create an addon that will /rw who needs to do a battle rez when someone died.

    this cause multiple battlerezzes where cast at once in his raid group.

    so far (i think) i am tracking raid changes
    tracking rezzes from being cast
    tracking deaths.

    but i got stuck on some parst.

    If any of you is interested in joining on the project plz let me know. i would realy apreciate your help and i would love to learn from what you can tell me.

    Greetz Thor
    Posted in: Need Help?
  • 0

    posted a message on Graphic settings
    I was looking for this but could not find it yet so i tought to just fire the question here.

    is it possible to change the grapics settings with an addon. and if yes what is the code.
    just a hint for wat i need it.

    most of the time i m running on ultra settings and everything works fine but once every 3 hours i get in a situation wich causes my fps to drop to about 3 fps.
    [edit: i am usualy runnin ultra on 25fps]

    when i turn my graphic settings down the problem gets solved and about 10 minutes later i can turn it back up.

    now my idea was to create an addon that listens to the fps and when it gets below or above a certain treshold to change the graphic settings to either a higher or lower setting so i can just worry about the fight in stead of bugging in my options and getting myself killed.

    i just can't find how i change grapics settings.

    any help maybe? thx.
    Posted in: Need Help?
  • 0

    posted a message on track npc code.
    ok thanks i think i can work with this
    Posted in: Need Help?
  • 0

    posted a message on track npc code.
    i am looking at the code from npc scan now and i ve gaind lots of ideas on how to actualy make my addon work but i can't find the code where he actualy checks if the npc is near. maybe i ll need another sollution.
    Posted in: Need Help?
  • 0

    posted a message on track npc code.
    and does anyone know if an npc that stands on multiple places trough faces like trall and harrison jones do they have multiple id's as well ?
    Posted in: Need Help?
  • 0

    posted a message on track npc code.
    seems to be a lot of code to track only one npc but i ll see what i can do.
    Posted in: Need Help?
  • To post a comment, please or register a new account.