log Main.lua @ 304:1e55a8ebedbd

age author description
Mon, 08 Jul 2013 13:26:23 -0500 James D. Callahan III Fixed double-counting for loot in items.
Mon, 08 Jul 2013 13:17:22 -0500 James D. Callahan III Removed some unnecessary debug prints.
Mon, 08 Jul 2013 10:47:55 -0500 James D. Callahan III Use quantity from GetLootSlotQuantity() instead of what's returned by GetLootSourceInfo().
Mon, 01 Jul 2013 17:49:49 -0500 James D. Callahan III Support for Heroic Scenerio Cache and Battle Pet Supply loot.
Mon, 01 Jul 2013 15:46:22 -0500 James D. Callahan III PLAYER_GUID assignment fix.
Mon, 01 Jul 2013 13:04:27 -0500 James D. Callahan III Tighten up group detection, and disregard the check when in an instance.
Tue, 18 Jun 2013 14:18:44 -0500 James D. Callahan III Update group pets on GROUP_ROSTER_UPDATE as well as on UNIT_PET since pets may exist before groups are formed.
Mon, 17 Jun 2013 14:39:09 -0500 James D. Callahan III Only wipe previous_combat_event on non-damaging CLEU subevent or when UNIT_DIED fires (after collecting its data).
Mon, 17 Jun 2013 12:51:19 -0500 James D. Callahan III Fix assignment in group_owner_guids_to_pet_guids.
Mon, 17 Jun 2013 12:26:14 -0500 James D. Callahan III Remove commas from stat amounts parsed from tooltips so tonumber() will produce a usable result instead of nil.
Thu, 13 Jun 2013 14:45:13 -0500 James D. Callahan III Bumped DB version to 17.
Thu, 13 Jun 2013 14:44:44 -0500 James D. Callahan III Fix to not detect socket-given stats, socket bonuses, and set bonuses.
Tue, 21 May 2013 15:55:26 -0500 James D. Callahan III Group fixes.
Mon, 20 May 2013 10:43:18 -0500 James D. Callahan III Robustified DBEntry()
Wed, 15 May 2013 20:15:40 -0500 James D. Callahan III Debug prints for group updates.
Wed, 15 May 2013 19:43:31 -0500 James D. Callahan III Handle cases where killer's name is nil.
Wed, 15 May 2013 19:31:29 -0500 James D. Callahan III Debug telling who the killer is.
Wed, 15 May 2013 18:52:06 -0500 James D. Callahan III Fix for last commit.
Wed, 15 May 2013 18:50:31 -0500 James D. Callahan III Added debug print for non-group-members landing the killing blow.
Fri, 03 May 2013 11:09:32 -0500 James D. Callahan III Fix for possibility of C_BlackMarket.GetNumItems() returning nil. 5.2.0-8
Mon, 01 Apr 2013 11:14:15 -0500 James D. Callahan III Added an NPC ID mapping table for the rare oddities such as Garalon (two different IDs, one used exclusively for LFR).
Thu, 21 Mar 2013 15:11:34 -0500 James D. Callahan III Added visual menu for selecting a comment subject via minimap icon (defaults to off), LDB icon, or the /comment command without an argument.
Tue, 19 Mar 2013 14:51:50 -0500 James D. Callahan III The Submit button now attaches comments to the appropriate DB entries.
Mon, 18 Mar 2013 17:58:08 -0500 James D. Callahan III Added comment support for cursor types: item, merchant (which maps to item), spell.
Mon, 18 Mar 2013 12:26:54 -0500 James D. Callahan III Only record data for NPCs if it is missing.
Sun, 17 Mar 2013 21:04:56 -0500 James D. Callahan III Fixed drunkenness matching. 5.2.0-6
Sun, 17 Mar 2013 01:21:54 -0500 James D. Callahan III Commented out the blacklist-searching debug.
Sun, 17 Mar 2013 01:00:55 -0500 James D. Callahan III Added some Debug prints.
Sat, 16 Mar 2013 20:30:34 -0500 James D. Callahan III Don't register comment command unless debugging.
Sat, 16 Mar 2013 20:27:55 -0500 James D. Callahan III Clean up NPC stat recording - possible fix an issue where it was never recorded.
Thu, 14 Mar 2013 16:36:36 -0500 James D. Callahan III Added command and GUI for prototype of an in-game comment-submission system.
Tue, 12 Mar 2013 08:44:32 -0500 James D. Callahan III Cleanup for npc_prototype:EncounterData()
Mon, 11 Mar 2013 12:34:58 -0500 James D. Callahan III Improved detection of LFR and World Boss IDs - take kills from party/raid members and pets into consideration instead of simply relying on the killed NPC being the player's target. 5.2.0-5
Mon, 11 Mar 2013 09:25:52 -0500 James D. Callahan III Reworked Debug() to do all string formatting inline, so non-DEBUGGING users won't be hit with potential nil errors.
Mon, 11 Mar 2013 07:59:33 -0500 James D. Callahan III Don't record Black Market AH data from disallowed locales.
Sat, 09 Mar 2013 19:39:22 -0600 James D. Callahan III Fixed error in UNIT_DIED processing. 5.2.0-4
Fri, 08 Mar 2013 09:04:54 -0600 James D. Callahan III Bumped DB_VERSION to 16 5.2.0-3
Wed, 06 Mar 2013 14:02:39 -0600 James D. Callahan III Added support for recording money drops, since GetLootSourceInfo() finally returns the amounts. 5.2.0-2
Wed, 27 Feb 2013 11:23:02 -0600 James D. Callahan III Store raw instance difficulty rather than translating to a string. Bumped DB_VERSION to 15. 1.0.40
Tue, 12 Feb 2013 13:07:05 -0600 James D. Callahan III Use "npc" instead of "target" during TRAINER_SHOW so only the correct NPC is attributed.
Thu, 07 Feb 2013 13:53:30 -0600 James D. Callahan III Remove check for ITEM_OPENABLE string if not running on 5.1 client. 1.0.39
Wed, 06 Feb 2013 10:27:38 -0600 James D. Callahan III Account for invalid GUIDs when attempting to extract unit type and ID.
Tue, 29 Jan 2013 17:45:24 -0600 James D. Callahan III Make sure the NPC entry is non-nil before attempting to set its metatable. 1.0.38
Mon, 28 Jan 2013 18:36:00 -0600 James D. Callahan III Fixed error caused by attempting to set item.upgrade_id where item was not defined. 1.0.37
Mon, 28 Jan 2013 11:39:56 -0600 James D. Callahan III Set DB_VERSION back to 14 since there aren't actually any breaking changes. 1.0.36
Mon, 28 Jan 2013 11:39:13 -0600 James D. Callahan III Re-added storage of upgrade_id for compatibility with current parser.
Mon, 28 Jan 2013 11:10:54 -0600 James D. Callahan III Added debug print for currency looting.
Fri, 25 Jan 2013 16:37:13 -0600 James D. Callahan III Handle recording of reforged items which have an upgrade ID.
Fri, 25 Jan 2013 15:47:56 -0600 James D. Callahan III Record stats for items with upgrade IDs, skipping those which have been reforged for now. Upped DB_VERSION to 15.
Thu, 24 Jan 2013 13:15:30 -0600 James D. Callahan III Removed code dealing with blacklisted battleground maps.
Tue, 22 Jan 2013 15:21:44 -0600 James D. Callahan III Move from a singular GUID loot registry to a registry per loot type - this fixes a bug where, for example, looting an NPC and then using herb gathering on it would not record what was gained from the herb gathering.
Tue, 22 Jan 2013 13:20:54 -0600 James D. Callahan III More consistent usage of ClearKilledBossID() as well as calling it in two cases where ClearKilledNPC() is called in the UNIT_DIED handler of COMBAT_LOG_FUNCS.
Tue, 22 Jan 2013 12:23:35 -0600 James D. Callahan III Rename PlayerTarget() to TargetedNPC()
Mon, 21 Jan 2013 18:01:26 -0600 James D. Callahan III Don't create an encounter_data entry for NPCs unless it's required.
Wed, 19 Dec 2012 14:57:13 -0600 James D. Callahan III Record item upgrade information and suffix even if item has no durability. 1.0.35
Mon, 17 Dec 2012 13:44:06 -0600 James D. Callahan III For the AF.ZONE section of LOOT_OPENED_VERIFY_FUNCS; set zone_data regardless of IsFishingLoot() 1.0.34
Mon, 17 Dec 2012 10:34:20 -0600 James D. Callahan III Removed Debug call since it's no longer required and wasn't properly checking for nil.
Mon, 10 Dec 2012 17:10:27 -0600 James D. Callahan III Upped DB version to 14. 1.0.33
Mon, 10 Dec 2012 17:06:44 -0600 James D. Callahan III Do not set current_action.identifier on target-change; it should already be set for the current_action, and setting it to something different will only skew data.
Mon, 10 Dec 2012 16:20:06 -0600 James D. Callahan III In the LOOT_OPENED NPC verify function, only set current_action.identifier to the unit_id of the player's target if the identifier is nil.
Mon, 10 Dec 2012 10:27:24 -0600 James D. Callahan III Record drops from World Bosses. 1.0.32
Wed, 05 Dec 2012 08:44:57 -0600 James D. Callahan III Only record an item's suffix_id and unique_id of the link's suffix_id is non-zero. 1.0.31
Tue, 04 Dec 2012 15:26:16 -0600 James D. Callahan III Store suffix_id and unique_id for items. 1.0.30
Fri, 30 Nov 2012 12:47:19 -0600 James D. Callahan III Update DB_VERSION to 13 1.0.29
Fri, 30 Nov 2012 12:29:24 -0600 James D. Callahan III Use "npc" rather than "target" for merchants - hopefully this stops wrongly-recorded information based on race conditions 1.0.28
Wed, 21 Nov 2012 11:39:08 -0600 James D. Callahan III Check for nil item string before attempting to get an upgrade ID. 1.0.26
Mon, 19 Nov 2012 09:15:59 -0600 James D. Callahan III Record locations of Item Upgrade Masters. 1.0.25
Wed, 14 Nov 2012 14:45:41 -0600 James D. Callahan III Added recording of item upgrade IDs. 1.0.24
Mon, 12 Nov 2012 14:40:35 -0600 James D. Callahan III Stop worrying about whether or not the player is in an LFR dungeon; if an LFR boss is matched, simply record it. If SHOW_LOOT_TOAST doesn't fire, nothing will be recorded as LOOKING_FOR_RAID.
Sun, 11 Nov 2012 16:43:15 -0600 James D. Callahan III Move GUID check to after RAID_FINDER_BOSS_IDS check; we only care about targeting for reputation gains - Raid Finder bosses should be recorded regardless.
Thu, 08 Nov 2012 09:26:25 -0600 James D. Callahan III Added debug prints along the LFR codepath.
Tue, 06 Nov 2012 09:50:06 -0600 James D. Callahan III Removed some unneeded Debug prints.
Tue, 06 Nov 2012 09:47:34 -0600 James D. Callahan III Changed "raid_finder_loot" to "drops" and changed to nilling the boss ID when it's used, rather than on a timer (since it'll be overwritten anyway).
Sat, 03 Nov 2012 22:31:32 -0500 James D. Callahan III Trying SHOW_LOOT_TOAST instead of CHAT_MSG_LOOT.
Sat, 03 Nov 2012 16:39:07 -0500 James D. Callahan III Added support for recording Raid Finder boss loot.
Thu, 01 Nov 2012 14:46:27 -0500 James D. Callahan III Renamed the LOOT_UPDATE/VERIFY_FUNCS tables to LOOT_OPENED_X for clarification.
Thu, 01 Nov 2012 14:41:36 -0500 James D. Callahan III reputation_npc_id --> last_killed_npc_id and ClearReputationNPC --> ClearLastKilledNPC
Wed, 17 Oct 2012 11:51:46 -0500 James D. Callahan III Tradeskill costs aren't modified by faction standing, so no need to un-modify them. 1.0.22
Tue, 16 Oct 2012 15:13:10 -0500 James D. Callahan III Since many NPCs are for some reason flagged as VEHICLE, allow that in NPC-only checks. 1.0.21
Tue, 16 Oct 2012 03:38:35 -0500 James D. Callahan III Make sure the TradeSkillFrame exists and is visible before attempting to do anything with it. Re-use the headers table. Added the ability to break out of the loop in functions called by TradeSkillExecutePer. 1.0.20
Mon, 15 Oct 2012 16:58:47 -0500 James D. Callahan III Record tradeskill discoveries. 1.0.19
Thu, 11 Oct 2012 09:08:12 -0500 James D. Callahan III Uncommented profession cost-recording code.
Mon, 08 Oct 2012 15:02:24 -0500 James D. Callahan III Added more debug prints. Break out of loop when finding a locked item during the AF.ITEM loot verification.
Mon, 08 Oct 2012 09:59:43 -0500 James D. Callahan III Added support for recording prices for trainer services - commented out for now.
Sun, 07 Oct 2012 01:31:04 -0500 James D. Callahan III Removed hard-coded NPC IDs. 1.0.18
Sun, 07 Oct 2012 01:29:51 -0500 James D. Callahan III When attempting to update locations, don't check if the WorldMapFrame is visible and don't perform any map-voodoo. Simply check if the current map area ID matches that of current_area_id and return appropriate data.
Fri, 05 Oct 2012 22:31:14 -0500 James D. Callahan III Hard-code NPC IDs for Sha of Anger and Galleon to see if they're simply not being recognized as NPCs. 1.0.17
Fri, 05 Oct 2012 18:38:47 -0500 James D. Callahan III Bump DB version to 11. 1.0.16
Fri, 05 Oct 2012 15:24:34 -0500 James D. Callahan III Queue current_area_id updates and prevent any coordinate collection while in combat.
Fri, 05 Oct 2012 14:15:53 -0500 James D. Callahan III Before setting current_area_id, check to see if the area ID the map is set to matches current_area_id to avoid opening/closing the WorldMapFrame unnecessarily.
Thu, 04 Oct 2012 14:10:39 -0500 James D. Callahan III If the WorldMapFrame is not open, set the map to the current zone every time we request coordinates from the game.
Thu, 04 Oct 2012 10:59:54 -0500 James D. Callahan III To avoid erroneous reputation gain data; upon CLEU's UNIT_DIED, ignore anything which is not the player's target and set a timer to clear reputation_npc_id 0.2 seconds after being set.
Wed, 03 Oct 2012 17:27:10 -0500 James D. Callahan III Added some debugging prints (turned off). Removed defaulting to NPC if no target_type - simply ignore the loot. Removed setting target_type to NPC every time a target's location is updated. Ensure the unit name on the tooltip matches the spell's target name. Bumped DB version to 10. 1.0.15
Wed, 03 Oct 2012 14:44:52 -0500 James D. Callahan III Get the number of merchant items AFTER clearing filters.
Tue, 02 Oct 2012 15:37:16 -0500 James D. Callahan III Wipe the current_action regardless of anything in HandleSpellFailure. 1.0.14
Tue, 02 Oct 2012 14:15:59 -0500 James D. Callahan III Bumped DB version to 9.
Tue, 02 Oct 2012 14:06:41 -0500 James D. Callahan III Set coordinates to 0, 0 if WorldMapFrame is shown.
Tue, 02 Oct 2012 13:25:19 -0500 James D. Callahan III Always set current_merchant when MERCHANT_SHOW fires.
Tue, 02 Oct 2012 10:58:33 -0500 James D. Callahan III Workaround for strange WoW client handling of Micro Dungeons.
Thu, 27 Sep 2012 08:03:44 -0500 James D. Callahan III Record fishing coordinates based on the direction the character is facing. Minor cleanups. 1.0.13
Thu, 27 Sep 2012 06:39:41 -0500 James D. Callahan III Improved detection of fishing nodes on mouseover.
Thu, 27 Sep 2012 04:16:54 -0500 James D. Callahan III Handle race-condition case when a player releases a captured pet - also, use the BATTLE_PET_BREED_QUALITY constants instead of the ITEM_QUALITY constant for rarity.
Wed, 26 Sep 2012 13:32:18 -0500 James D. Callahan III Added recording or LFR data. 1.0.12
Wed, 26 Sep 2012 13:23:56 -0500 James D. Callahan III Flush the DB when encountering a new client build.
Mon, 24 Sep 2012 12:55:11 -0500 James D. Callahan III For the moment, ignore faction names which are identical to the NPC name.
Mon, 24 Sep 2012 11:59:30 -0500 James D. Callahan III Ensure that the NPC data we're looking at when visiting a merchant remains unchanged until MERCHANT_CLOSE fires. Bumped DB version to 8. 1.0.11
Fri, 21 Sep 2012 12:00:26 -0500 James D. Callahan III Simplification for loot labels. Set target type for loot to NPC if none is listed on the current action, since the only reason it would be otherwise is via a spell.
Fri, 21 Sep 2012 11:19:36 -0500 James D. Callahan III Decoupled loot data from current_action. Fixed recording of Fishing data.
Thu, 20 Sep 2012 14:14:24 -0500 James D. Callahan III Listen for ZONE_CHANGED_NEW_AREA and ZONE_CHANGED_INDOORS for location updates. 1.0.10
Wed, 19 Sep 2012 09:29:56 -0500 James D. Callahan III Added recording of blacklisted battlegrounds.
Tue, 18 Sep 2012 14:48:43 -0500 James D. Callahan III Bump DB version to 6. Change method of determining current area ID in order to play nice with the World Map. 1.0.9
Mon, 17 Sep 2012 15:58:37 -0500 James D. Callahan III Improved loot sentry - scoped outside of current_action, since current_action can be wiped by subsequent actions. Hopefully prevents mixing action types for loot. 1.0.8
Mon, 17 Sep 2012 15:44:12 -0500 James D. Callahan III current_action.type --> current_action.target_type
Mon, 17 Sep 2012 15:02:44 -0500 James D. Callahan III action_data --> current_action
Mon, 17 Sep 2012 14:19:23 -0500 James D. Callahan III Removed some unused fields from action_data - renamed two for clarity.
Sun, 16 Sep 2012 19:03:36 -0500 James D. Callahan III Made gas extraction work with the new loot system. 1.0.7
Sun, 16 Sep 2012 17:34:20 -0500 James D. Callahan III Moved the bulk of the PLAYER_TARGET_CHANGED function into PlayerTarget() - now also called from within UpdateTargetLocation() to ensure that valid data is present.
Thu, 13 Sep 2012 15:16:49 -0500 James D. Callahan III Remove calls to LibPetJournal-2.0's ClearFilters() and RestoreFilters(), since the lib handles this internally.
Tue, 11 Sep 2012 15:38:34 -0500 James D. Callahan III Record Stable Masters as being such. Record BattlePet data based on pet quality and level. 1.0.6
Mon, 10 Sep 2012 14:22:16 -0500 James D. Callahan III Roll UpdateNPCLocation into UpdateTargetLocation. Mark WIld Pet critters as wild_pet.