WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   Released AddOns (http://www.wowinterface.com/forums/forumdisplay.php?f=9)
-   -   Multishot (Screenshot) (http://www.wowinterface.com/forums/showthread.php?t=24290)

dlui 06-01-09 11:10 AM

Multishot (Screenshot)
 
Hello and welcome to Multishot - a tiny addon that automatically takes screenshots of memorable events in your World of Warcraft career. It's a photo diary of everything you come across in Azeroth, Outland, Northend and Pandaria.

This thread contains some technical information about Multishot and hopefully lots of comments, feature requests & bug reports.

Multishot uses LibBossIDs to detect boss kills. On every instanced monster's death Multishot checks its unique Id and takes a screenshot if it's a boss. Additional to that we've created our own database with all rare/rare-elite mobs and some blacklist/whitelist stuff.

Features
  • level-ups and guild level-ups
  • achievements and guild achievements
  • challenge mode medals
  • reputation changes
  • trade window transactions
  • any rare/rare-elite mob kills
  • timeline; take a screenshot every x minutes (configurable)
  • keybind; take a custom screenshot on demand

Anyone who has contributed: I really appreciate your help! Thanks for improving Multishot by adding new features to the source code, reporting & fixing bugs, and so on. Keep it going!

:banana:

Tondef 06-11-09 08:09 AM

Just noticed that the delay doesn't seem to click in for boss kills, but works for the achievements.

phillychuck 06-29-09 11:05 AM

Any chance you can time things like big critical hits or does that happen to fast?

Also a way to set the threshold so it only would go off on big pvp hits?

skarrde 08-05-09 09:45 AM

when I turn off shots for boss kills but leave on achievements it doesn't seem to work. but if I have boss kills on then it takes pics of achievements.

dlui 08-05-09 03:20 PM

Dear Tondef and skarrde,

I couldn't reproduce your problems, worked fine for me. Please update to Multishot 1.4 and post again if anything is not working as intented.

dlui

jojoza 08-10-09 02:47 AM

I had same problem as Skarrde. I changed bit of your code, and it seems problem is solved.

function Multishot:COMBAT_LOG_EVENT_UNFILTERED() in Multishot.lua:

Code:

function Multishot:COMBAT_LOG_EVENT_UNFILTERED()
  inInstance, instanceType = IsInInstance()
  if (instanceType == "party" and (not MultishotConfig.party)) then return end;
  if (instanceType == "raid" and (not MultishotConfig.raid)) then return end;
  if arg2 == "UNIT_DIED" then
    tempID = tonumber("0x" .. string.sub(arg6, 9, 12));
    if BossIDs[tempID] then
      if UnitIsDead("player") then
        self:ScheduleTimer(Screenshot, MultishotConfig.pdelay);
      else
        isDelayed = true;
      end
    end
  end
end


dlui 08-22-09 03:07 PM

Thank you. Please update to Multishot 1.5! :eek:

Bomyne 08-23-09 03:52 AM

Feature request:

Can you make an option so that the addon shows text when I level (Such as in the middle of the screen "Congradulations for reaching level 65" for example) and take a screenshot WHILE that text is being displayed?

Wall 08-23-09 06:19 AM

Quote:

Originally Posted by Bomyne (Post 155278)
Feature request:

Can you make an option so that the addon shows text when I level (Such as in the middle of the screen "Congradulations for reaching level 65" for example) and take a screenshot WHILE that text is being displayed?

http://www.wowinterface.com/download...elUpGrats.html does that :)

Rubius 08-30-09 06:21 PM

Maybe add a feature to take a Screenshot when you are Exalted with a Reputation? :D

Cralor 08-30-09 07:47 PM

Quote:

Originally Posted by Bomyne (Post 155278)
Feature request:

Can you make an option so that the addon shows text when I level (Such as in the middle of the screen "Congradulations for reaching level 65" for example) and take a screenshot WHILE that text is being displayed?

The author just needs to delay the shot by like 1 second I believe.

dlui 09-16-09 09:33 AM

Quote:

Originally Posted by Cralor (Post 156831)
The author just needs to delay the shot by like 1 second I believe.

That's already build in.

I don't know a nice way to take screenshots on reputation level ups, any ideas on how to implement that?

Dridzt 11-05-09 06:16 PM

Quote:

Originally Posted by dlui (Post 159060)
I don't know a nice way to take screenshots on reputation level ups, any ideas on how to implement that?

Sample Code (tested in a mini-addon):
1. In function Multishot:OnEnable() add
Code:

self:RegisterEvent("CHAT_MSG_SYSTEM")
2. Create a capture pattern from the global rep standing change formatstring:
Code:

local FACTION_CAPTURE_PATTERN = string.gsub(FACTION_STANDING_CHANGED,"%%%d?%$?s", "(.+)")
This will make your capture pattern locale independent.

3. In your CHAT_MSG_SYSTEM event handler:
Check arg1 (the first argument of the event is the actual message)
against your capture pattern.
Code:

local newstanding, withfaction = string.match(arg1, FACTION_CAPTURE_PATTERN)
4. If you catch a relevant system message and newstanding is not nil:
Compare it with the global standing labels (this will also work locale independent)
Code:

if newstanding == FACTION_STANDING_LABEL8
or newstanding == FACTION_STANDING_LABEL8_FEMALE
then
-- do our screenshot magic
end

This would only screenshot if you just gained Exalted status.
To check for other rep standings or make it screenshot on any major rep change,
you'd need to check against FACTION_STANDING_LABELx or FACTION_STANDING_LABELx_FEMALE
where x is 1 to 8 and corresponds to Hated, Hostile, Unfriendly, Neutral, Friendly, Honored, Revered, Exalted.

Hope it helps :)

Dridzt 11-05-09 08:26 PM

Making it a bit simpler.

The modified Multishot.lua can be found on this pastey.
The modified config.lua on this one.

Tested and working.

dlui 11-08-09 07:45 AM

Quote:

Originally Posted by Dridzt (Post 164877)
Making it a bit simpler. Tested and working.

Wow - that's cool, thanks! I've updated Multishot with your changes.

Multishot, now with screenshots for reputation levels - thanks to Dridzt!

Kayella 01-06-10 04:55 AM

Since 3.3 I've not been getting any screenshots on boss kills in 10/25 man instances - specifically Icecrown and ToC. It seems to work fine still in Naxxramas and for achievements/rep increases, but I'm not getting anything in the new raid instances. This might be a problem with the library?

Dridzt 01-06-10 07:08 AM

That's correct.

Until dlui posts a repack you can manually update with the latest LibBossID library from here:
http://www.wowace.com/addons/libbossids-1-0/files/

Get the topmost file and extract it inside Multishot folder.

Zidomo 01-15-10 07:30 PM

Problem with Multishot r34 in WoW 3.3 (using with the latest LibBossIDs-1.0 r36 from Dec. 9/09).

Its consistently taking screenshots of certain trash mob deaths in the new Pit of Saron 5-man instance. Specifically: Ymirjar Flamebearers, Ymirjar Flamebearers and/or Ymirjar Wrathbringers.

No, its not connected to any reputation level gains or anything else. Have yet kill the first mob group up the path after the Krick & Ick boss without it taking an unwanted screenshot.

(First posted a month ago on the addon thread. Problem is still occurring with Multishot r36, as is to be expected).

Dridzt 01-15-10 08:02 PM

I have been updating LibBossID diligently and have run the 3 new heroics numerous times.

Going back in my screenshots folder a month+ I can find several killshots of bosses but not even 1 false positive involving that trash.

(I just did a hPoS run again tonight couple hours before posting and Multishot works as expected).

The only screenshots of trash I can find is related to reputation gains.

Any chance you have moved reputations messages to another chatframe,
or you were gaining reputation for factions you have moved to "inactive"?
"Inactive" marked reps will not switch the repbar (if you have an autoswitch addon and rely on that to notice rep gains).

Considering you are the only one reporting this "problem" I'd start looking at conflicts or other explanations because I don't think there's any problem with Multishot.

Dridzt 01-22-10 05:06 PM

A few more IDs for your blacklist that lead to false positives.

Not Multishot's fault, LibBossID has them in to accomodate bossmods
(since it's 'trash' linked to the outcome of raid encounters).

Whatever the reason it leads to Multishot taking some unwanted screenies.
-- Naxxramas
[16803] = true, -- DeathKnight Understudy: Razuvious "adds"
[15930] = true, -- Feugen (Thaddius pre-event)
[15929] = true, -- Stalagg (Thaddius pre-event)
-- Ulduar
[32933] = true, -- Left Arm (Kologarn's arms)
[32934] = true, -- Right Arm (Kologarn's arms)
-- Icecrown Citadel
[37217] = true, -- Precious (Festergut/Rotface "pets")
[37025] = true, -- Stinky (Festergut/Rotface "pets")

Regards.


All times are GMT -6. The time now is 10:22 AM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC