Reply
 
Thread Tools Display Modes
Old 06-01-2009, 01:10 PM   #1
dlui
A Murloc Raider
Interface Author - Click to view interfaces
Join Date: May 2008
Posts: 5
Thumbs down Multishot (Screenshot)

Hello everbody and welcome to Multishot - a tiny addon that takes a screenshot whenever you kill a boss, gain an achievement, level up and reputation level changes (e.g. on reaching exalted).

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

Multishot uses LibBossIDs to detect boss kills. I couldn't find any easier/reliable way of distinguishing between trash and bosses. On every instanced monster's death Multishot checks its unique ID and takes a screenshot if it's a boss.

Latest feature: screenshots for reputation level changes - thanks to Dridzt!

Queued features:
- firstkill mode
- custom mob ids
- detecting multi-boss encouters

Last edited by dlui : 11-08-2009 at 10:07 AM.
dlui is offline   Reply With Quote
Old 06-11-2009, 10:09 AM   #2
Tondef
A Fallenroot Satyr
 
Tondef's Avatar
Join Date: Jan 2008
Posts: 20
Just noticed that the delay doesn't seem to click in for boss kills, but works for the achievements.
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Tondef is offline   Reply With Quote
Old 06-29-2009, 01:05 PM   #3
phillychuck
A Kobold Labourer
Join Date: Jun 2009
Posts: 1
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?
phillychuck is offline   Reply With Quote
Old 08-05-2009, 11:45 AM   #4
skarrde
A Defias Bandit
Join Date: Dec 2006
Posts: 3
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.
skarrde is offline   Reply With Quote
Old 08-05-2009, 05:20 PM   #5
dlui
A Murloc Raider
Interface Author - Click to view interfaces
Join Date: May 2008
Posts: 5
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
dlui is offline   Reply With Quote
Old 08-10-2009, 04:47 AM   #6
jojoza
A Defias Bandit
Join Date: Oct 2008
Posts: 2
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
jojoza is offline   Reply With Quote
Old 08-22-2009, 05:07 PM   #7
dlui
A Murloc Raider
Interface Author - Click to view interfaces
Join Date: May 2008
Posts: 5
Thank you. Please update to Multishot 1.5!
dlui is offline   Reply With Quote
Old 08-23-2009, 05:52 AM   #8
Bomyne
A Flamescale Wyrmkin
Join Date: Oct 2007
Posts: 107
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?
__________________

Bomyne is offline   Reply With Quote
Old 08-23-2009, 08:19 AM   #9
Wall
Premium Member
 
Wall's Avatar
Premium Member
Join Date: Jan 2005
Posts: 7
Quote:
Originally Posted by Bomyne View Post
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
Wall is offline   Reply With Quote
Old 08-30-2009, 08:21 PM   #10
Rubius
A Kobold Labourer
Join Date: Aug 2009
Posts: 1
Maybe add a feature to take a Screenshot when you are Exalted with a Reputation?
Rubius is offline   Reply With Quote
Old 08-30-2009, 09:47 PM   #11
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
Premium Member
Interface Author - Click to view interfaces
Join Date: Jun 2007
Posts: 553
Quote:
Originally Posted by Bomyne View Post
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.
__________________
Cralor is offline   Reply With Quote
Old 09-16-2009, 11:33 AM   #12
dlui
A Murloc Raider
Interface Author - Click to view interfaces
Join Date: May 2008
Posts: 5
Quote:
Originally Posted by Cralor View Post
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?
dlui is offline   Reply With Quote
Old 11-05-2009, 08:16 PM   #13
Dridzt
A Frostmaul Preserver
Interface Author - Click to view interfaces
Join Date: Nov 2005
Posts: 279
Quote:
Originally Posted by dlui View Post
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 is offline   Reply With Quote
Old 11-05-2009, 10:26 PM   #14
Dridzt
A Frostmaul Preserver
Interface Author - Click to view interfaces
Join Date: Nov 2005
Posts: 279
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.
Dridzt is offline   Reply With Quote
Old 11-08-2009, 09:45 AM   #15
dlui
A Murloc Raider
Interface Author - Click to view interfaces
Join Date: May 2008
Posts: 5
Quote:
Originally Posted by Dridzt View Post
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!
dlui is offline   Reply With Quote
Reply

Go BackWoWInterface » Interface Downloads Discussion » Released Interfaces/Scripts » Multishot (Screenshot)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.