• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

PhotoOp

 
Project Updated:
Files Updated: Mon, Nov 24 2008
Supports Game Version: 3.0.3
Category: Miscellaneous
Tags:

, , , , and [Edit Tags]

Project Manager: LokiCoyote
Additional Authors: No additional authors
Current Version: v0.8.6.1
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge
Avg Daily DL (last 30 days): 0
Downloads Total: 1,587
Favorites: 7
Comments: 8
  • About PhotoOp
  •  

Takes a picture when interesting events occur.

Essentially an Ace3 remake of the PhotoOp addon. However, functionality that was previously builtin to the addon is now implemented as user modifiable Lua scripts.

Scripts are segments of Lua code that use a Script Api to determine when to take pictures.

Default scripts include:

  • Death
  • Duels
  • Gaining a level
  • High crits

Options are accessed through /po or /photoop.

See Default Scripts for a list of builtin scripts.

Creating a new script

  1. Open up the options interface (either /po or navigate through the blizzard potions menu)
  2. Select "User Scripts" > "New"
  3. Enter a unique name, a description and the desired events
  4. Hit the create button (This may generate an error in AceGUI atm)
  5. The script sub panel should open with the newly created script selected. Edit the script to taste and hit the apply button. (Not sure where errors go at this point)

Examples

If you think a script should be included by default (or have fixes), please post to Default Scripts.

I will add requested / submitted scripts here until this short list becomes a long list (at which point we can have a separate page for scripts).

Player death

This script takes a picture when the player's character dies. Additionally it keeps track of whether the player is in a battleground and depending on settings will not take a picture in those zones.

-- $EVENTS PLAYER_DEAD ZONE_CHANGED_NEW_AREA
-- $DESCRIPTION Take a picture when dying
-- $SETTING InBattlegrounds = "boolean"
local event = ...
if "PLAYER_DEAD" == event then
  if nil == self.inBattleground then
    self.inBattleground = 0 < GetBattlefieldInstanceRuntime()
  end
  if not self.inBattleground or settings.InBattlegrounds then
    TakeScreenshot()
  end
elseif "ZONE_CHANGED_NEW_AREA" == event then
  self.inBattleground = 0 < GetBattlefieldInstanceRuntime()
end

A similar script is included as a default script (uses IsInInstance and checks for arenas too).

Achievement

This simply registers for the ACHIEVEMENT_EARNED event and takes a screenshot when that happens.

-- $EVENTS ACHIEVEMENT_EARNED
-- $DESCRIPTION Earned an Achievement
TakeScreenshot()

TODO

  • Databroker interface
  • Countdown to taking the screenshot
  • Add missing global functions
  • Downloads (5)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  PhotoOp v0.8.6.1 Release 3.0.3 520 11/24/2008
  PhotoOp v0.8.6 Release 3.0.3 37 11/23/2008
  PhotoOp v0.8.5 Release 3.0.3 39 11/22/2008
  PhotoOp v0.8.4 Release 3.0.3 52 11/21/2008
  PhotoOp v0.8.3 Release 3.0.3 38 11/20/2008
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • JoKosan said

    Really would like to see some sorta pause before taking the SS
    Can you at least just hint at us a simple line to add at a specific linenumber that can maybe pause for 250ms before taking a pic

    Reply Report Permalink
  • B166ER said

    Hello?

    Reply Report Permalink
  • B166ER said

    Without any other addons i have the error:
    Interface\AddOns\PhotoOp\Core.lua:272: attempt to index field 'db' (a nil value)

    Is there any chance to fix it? Please!
    I love this addon and don't wanna miss it. Please fix it.

    Reply Report Permalink
  • doperyde said

    I've really enjoyed this add-on since achievments were introduced. It let me be lazy and was much better at getting screenshots off faster than I am. Recently (since the last small patch a couple weeks ago), it has stopped working. The error(s) are below:

    Date: 2009-05-07 15:04:06
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...PhotoOp\Libs\LibUserScript-1.0\LibUserScript-1.0.lua line 375:
    attempt to call field 'randomseed' (a nil value)
    Debug:
    (tail call): ?
    ...PhotoOp\Libs\LibUserScript-1.0\LibUserScript-1.0.lua:375: New()
    PhotoOp\Core.lua:111:
    PhotoOp\Core.lua:102
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    ...Ons\ag_UnitFrames\libs\AceAddon-3.0\AceAddon-3.0.lua:502: InitializeAddon()
    ...Ons\ag_UnitFrames\libs\AceAddon-3.0\AceAddon-3.0.lua:614:
    ...Ons\ag_UnitFrames\libs\AceAddon-3.0\AceAddon-3.0.lua:607
    AddOns:
    Swatter, v3.1.13 (<%codename%>)
    agExtras, vr707
    agUnitFrames, vr707
    Bartender4, v4.3.2
    ChatMOD, v133
    PhotoOp, vr139
    (ck=80)

    -----------------------------

    Date: 2009-05-07 15:04:13
    ID: 2
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\PhotoOp\Core.lua line 272:
    attempt to index field 'db' (a nil value)
    Debug:
    (tail call): ?
    PhotoOp\Core.lua:272: GetCapture()
    PhotoOp\Core.lua:149: LoadProfile()
    PhotoOp\Core.lua:134:
    PhotoOp\Core.lua:133
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    ...Ons\ag_UnitFrames\libs\AceAddon-3.0\AceAddon-3.0.lua:531: EnableAddon()
    ...Ons\ag_UnitFrames\libs\AceAddon-3.0\AceAddon-3.0.lua:621:
    ...Ons\ag_UnitFrames\libs\AceAddon-3.0\AceAddon-3.0.lua:607
    [C]: LoadAddOn()
    ..\FrameXML\UIParent.lua:229: UIParentLoadAddOn()
    ..\FrameXML\UIParent.lua:252: CombatLog_LoadUI()
    ..\FrameXML\UIParent.lua:497:
    ..\FrameXML\UIParent.lua:469
    AddOns:
    Swatter, v3.1.13 (<%codename%>)
    agExtras, vr707
    agUnitFrames, vr707
    Bartender4, v4.3.2
    ChatMOD, v133
    PhotoOp, vr139
    (ck=80)

    ---------------------

    I haven't tried disabling AG Unit Frames yet as I've had problems when disabling it that it resets the profiles. I will try that now. I'm not sure where the problem is at between PhotoOP, AG, or possibly ACE or LibUserScript. I installed the standalone libraries for ACE and LubUserScript and when doing that the errors then occured within them and not within what appears to be PhotoOP.
    Would love to help resolve this issue if possible.

    Reply Report Permalink
  • doperyde said

    After disabling all addons, except for PhotoOp and Swatter:

    Date: 2009-05-07 15:19:58
    ID: -1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\PhotoOp\Core.lua line 272:
    attempt to index field 'db' (a nil value)
    Debug:
    (tail call): ?
    PhotoOp\Core.lua:272: GetCapture()
    PhotoOp\Core.lua:149: LoadProfile()
    PhotoOp\Core.lua:134:
    PhotoOp\Core.lua:133
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    ...ce\AddOns\PhotoOp\Libs\AceAddon-3.0\AceAddon-3.0.lua:365: EnableAddon()
    ...ce\AddOns\PhotoOp\Libs\AceAddon-3.0\AceAddon-3.0.lua:435:
    ...ce\AddOns\PhotoOp\Libs\AceAddon-3.0\AceAddon-3.0.lua:421
    [C]: LoadAddOn()
    ..\FrameXML\UIParent.lua:229: UIParentLoadAddOn()
    ..\FrameXML\UIParent.lua:252: CombatLog_LoadUI()
    ..\FrameXML\UIParent.lua:497:
    ..\FrameXML\UIParent.lua:469
    AddOns:
    Swatter, v3.1.13 (<%codename%>)
    PhotoOp, vr139
    (ck=33)

    -----------------------------

    Date: 2009-05-07 15:19:47
    ID: -2
    Error occured in: Global
    Count: 1
    Message: ...PhotoOp\Libs\LibUserScript-1.0\LibUserScript-1.0.lua line 375:
    attempt to call field 'randomseed' (a nil value)
    Debug:
    (tail call): ?
    ...PhotoOp\Libs\LibUserScript-1.0\LibUserScript-1.0.lua:375: New()
    PhotoOp\Core.lua:111:
    PhotoOp\Core.lua:102
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    ...ce\AddOns\PhotoOp\Libs\AceAddon-3.0\AceAddon-3.0.lua:340: InitializeAddon()
    ...ce\AddOns\PhotoOp\Libs\AceAddon-3.0\AceAddon-3.0.lua:428:
    ...ce\AddOns\PhotoOp\Libs\AceAddon-3.0\AceAddon-3.0.lua:421
    AddOns:
    Swatter, v3.1.13 (<%codename%>)
    PhotoOp, vr139
    (ck=33)

    So it appears that there is an issue in the embedded ACE library?

    I installed the ACE3 library as well as LibUserScript and here are the errors with such:

    Date: 2009-05-07 15:27:12
    ID: 2
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\PhotoOp\Core.lua line 272:
    attempt to index field 'db' (a nil value)
    Debug:
    (tail call): ?
    PhotoOp\Core.lua:272: GetCapture()
    PhotoOp\Core.lua:149: LoadProfile()
    PhotoOp\Core.lua:134:
    PhotoOp\Core.lua:133
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    Ace3\AceAddon-3.0\AceAddon-3.0.lua:531: EnableAddon()
    Ace3\AceAddon-3.0\AceAddon-3.0.lua:621:
    Ace3\AceAddon-3.0\AceAddon-3.0.lua:607
    [C]: LoadAddOn()
    ..\FrameXML\UIParent.lua:229: UIParentLoadAddOn()
    ..\FrameXML\UIParent.lua:252: CombatLog_LoadUI()
    ..\FrameXML\UIParent.lua:497:
    ..\FrameXML\UIParent.lua:469
    AddOns:
    Swatter, v3.1.13 (<%codename%>)
    Ace3, v
    LibUserScript10, vv1.0.4
    PhotoOp, vr139
    (ck=58)

    -----------------------------

    Date: 2009-05-07 15:27:05
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...erScript-1.0\LibUserScript-1.0\LibUserScript-1.0.lua line 375:
    attempt to call field 'randomseed' (a nil value)
    Debug:
    (tail call): ?
    ...erScript-1.0\LibUserScript-1.0\LibUserScript-1.0.lua:375: New()
    PhotoOp\Core.lua:111:
    PhotoOp\Core.lua:102
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    Ace3\AceAddon-3.0\AceAddon-3.0.lua:502: InitializeAddon()
    Ace3\AceAddon-3.0\AceAddon-3.0.lua:614:
    Ace3\AceAddon-3.0\AceAddon-3.0.lua:607
    AddOns:
    Swatter, v3.1.13 (<%codename%>)
    Ace3, v
    LibUserScript10, vv1.0.4
    PhotoOp, vr139
    (ck=58)

    Reply Report Permalink
  • doperyde said

    It's also worth noting that I did a "clean" install of PhotoOp, removing the addon folders and the .lua files within the WTF folder as well. I also don't use any kind of custom scripts for taking any screenshots. I use only what is given with it by default.

    Reply Report Permalink
  • LokiCoyote said

    Since the last comment was posted, I've made a lot of changes. This addon now supports user specified LUA scripts. I'll be adding a link to some information on how to get started.

    By default the addon creates 5 scripts (still working on the PvP killing blows) which are the same as the original addon provided.

    Reply Report Permalink
  • JRGUE32 said

    Interesting. I would like to see a tracked event when you kill or kill blow someone, but have the option to turn off during a battleground.

    Reply Report Permalink
  • Clark said

    /po test makes a message appear

    click!

    but does not take a screenshot.

    Reply Report Permalink
  • LokiCoyote said

    There are current issues.

    One is that by trying to make the capturing customizable, so that for instance you might use CleanShot or PerfectShot (if they get updated), it also breaks it somewhat.

    Another is that when trying to capture guild events like joining and leaving a guild, instead it captures when parties zone in... ouch.

    I'll likely get these worked on by Thanksgiving.

    Please add any requests for tracking too (tracking pvp killing blows /outside/ BGs for one).

    Reply Report Permalink
  • 1 page(s)
  • Addon Packs Containing PhotoOp

Most Downloads / Day

PhotoOp has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 681 Skinner Miscellaneous
  2. 522 FuBar 3.6 Miscellaneous
  3. 359 Talented Miscellaneous
  4. 242 Fishing Buddy -- Tracking Miscellaneous
  5. 222 MoveAnything Miscellaneous