Commit Graph

46 Commits

Author SHA1 Message Date
Tercio Jose 6ccb64863e Code changes, see commit description
Combat Objects which has been discarded due to any reason will have the boolean member:  __destroyed set to true. With this change, 3rd party code can see if the data cached is up to date or obsolete.

- Removed several deprecated code from March 2023 and earlier.
- Large amount of code cleanup and refactoring, some functions got renamed, they are listed below:
* TravarTempos renamed to LockActivityTime.
* ClearTempTables renamed to ClearCacheTables.
* SpellIsDot renamed to SetAsDotSpell.
* FlagCurrentCombat remamed to FlagNewCombat_PVPState.
* UpdateContainerCombatentes renamed to UpdatePetCache.
* segmentClass:AddCombat(combatObject) renamed to Details222.Combat.AddCombat(combatToBeAdded)

- CurrentCombat.verifica_combate timer is now obsolete.
- Details.last_closed_combat is now obsolete.
- Details.EstaEmCombate is now obsolete.
- Details.options is now obsolete.

- Added: Details:RemoveSegmentByCombatObject(combatObject)

- Spec Guess Timers are now stored within Details222.GuessSpecSchedules.Schedules, all timers are killed at the end of the combat or at a data reset.

- Initial time to send startup signal reduced from 5 to 4 seconds.

- Fixed some division by zero on ptr 10.1.5.
- Fixed DETAILS_STARTED event not triggering in some cases due to 'event not registered'.
2023-06-27 19:01:44 -03:00
Tercio Jose 9021a4de4d Fixing stuff from latest alpha and more development 2023-05-30 15:45:50 -03:00
Tercio Jose cebe150e16 General Fixes and Improvements 2023-05-16 15:21:04 -03:00
Tercio Jose 40d89df26e Fixed an issue where it throws an error when opening the Damage Taken breakdown 2023-05-10 22:43:01 -03:00
Tercio Jose 690168bef3 Fixed more bugs on the new Breakdown Window 2023-05-01 14:20:04 -03:00
Tercio Jose 11a6c48ddd General Fixes 2023-04-30 23:23:56 -03:00
Tercio Jose 7d5d80073b More progress on caching stuff; journal links; cooltip hotfixes; code cleanups 2022-12-23 20:33:29 -03:00
Tercio Jose 1c8dfb3ab7 Release Candidate 1 2022-11-18 16:54:25 -03:00
Tercio Jose 8b7f6d4226 Fixed Evoker spec icon in the breakdown window, added evoker icon into spec icons with alpha 2022-10-15 13:56:09 -03:00
Tercio Jose bebb4af33c updates 2022-10-13 13:41:07 -03:00
Tercio Jose 6243a32740 More bug fixes 2022-10-12 18:37:00 -03:00
Tercio Jose 69899679e7 Merging Seal of Command on Wrath classic 2022-10-10 16:51:56 -03:00
Tercio Jose 1ed29008aa Small bug fixes and improvements 2022-10-10 13:26:13 -03:00
Tercio Jose b588d5e30c Fixed an error while trying to move the window by clicking and holding on a window line 2022-10-09 20:48:47 -03:00
Tercio Jose 944178f76f Updated LibOpenRaid and DetailsFramework 2022-10-09 19:47:56 -03:00
Tercio Jose 51030c5ef8 TBC issues with lib open raid 2022-05-04 19:28:12 -03:00
Tercio Jose 694b52ddc4 Updates, please see /details news 2022-04-22 13:30:41 -03:00
Tercio Jose b1dd10f166 Added actor:IsFriendlyNpc() 2021-03-01 16:19:00 -03:00
Tercio Jose d0c44e6b43 Fixed Coach feature giving error when clicking a player bar 2021-02-10 13:05:08 -03:00
Tercio Jose d93fa5248f More fixes and development 2021-01-16 15:57:59 -03:00
Flamanis d2bab21d7a GetClassColor custom actor support + Fix
Allow for GetClassColor to return a custom color from custom actors. And fix the final else not returning anything.
2020-11-26 14:11:21 -06:00
Tercio Jose ea9ad32a7f Shaladownlands Launch 2020-11-23 17:03:08 -03:00
Tercio 4b7beb1469 - Fixed custom display 'Dynamic Overall Data'.
- Fixed friendly fire for some dungeon bosses.
- New API: Details:GetSpecByGUID (unitGUID)
2018-08-28 13:03:08 -03:00
Tercio 5217fdd9b2 - Updated flask and food list to BFA.
- Framework update.
- RaidCheck plugin updated.
- API added: _detalhes:GetSpecFromSerial (guid)
- API added: _detalhes:GetIconTexture (iconType, withAlpha)
- API added: _detalhes:GetRoleIcon (role)
- API added: _detalhes:GetSpecIcon (spec)
2018-08-19 15:27:19 -03:00
Tercio 9af2eabb13 - Fixed an issue with Alliance or Horde icons showing at random in player bars.
- Fixed the Death Recap window not showing data during battlegrounds.
- Fixed new segment creation when the option to use only one segment while in a battleground is disabled.
- Fixed east asian number format on several strings.
- 'Smart Score' option renamed to "Unique Segment" under the PvP options for battlegrounds.
2018-08-13 17:01:58 -03:00
Tercio dba05908ec - Second pass on Patch 8.0.1 2018-07-17 13:31:22 -03:00
Tercio f55511e337 - Added several options and tools for streamers and youtubers.
- Bar animation now uses delta time and speed shouldn't variate with framerate.
- Test bars got improvement!
- Fixed balance druid sometimes being detected as resto druid.

- API: added new events: COMBAT_ARENA_START, COMBAT_ARENA_END, COMBAT_MYTHICDUNGEON_START, COMBAT_MYTHICDUNGEON_END.
- API: added Details:AddColorString (player_name, class), add the player class color in the name string.
- API: added Details:AddRoleIcon (player_name, role, size), add the role icon in the name string.
- API: framework updated to v57.
2017-10-09 22:43:26 -03:00
Tercio 7df507bd46 - testing the mercurial repo packpager. 2017-09-19 12:56:32 -03:00
Tercio 447eb08401 - billion damage format.
- some debug added to find a nil sourcename from the CLEU.
- some table recycle suggested by @Farmbuyer on curseforge.
- framework update to version 50.
2017-05-24 11:58:47 -03:00
Tercio faf818209e - new API: Details:GetPlayerIcon (playername[, segmentobject]) - return the player class or spec icon.
- bar spacing now can go to -2, down from 0.
- Tiny Threat now shall correctly use the font set on the options panel after a logon.
2016-08-27 00:15:39 -03:00
Tercio be511884a0 - fix some images with black background.
- review on DK, Rogue, POaladin spells for class detection.
- few fixed on spec detection.
2016-07-30 19:36:26 -03:00
Tercioo bec0adfabf - force refresh after identify a player spec.
- won't report if there is nothing to report.
- added button on the right panel of the player details window.
- done some polish on the player details window.
- player details window won't open if the bar doesn't have a reference of the player it is showning.
2016-01-23 13:43:26 -02:00
Tercio a3eee58cb2 - Fixed an issue where sometimes tooltips wasn't being shown.
- Fixed a problem with overall data where it was using, even on dungoens, the raid-only 30 delay rule.
- Fixed an issue with spec detection (now it may detect even faster).
2015-06-12 20:52:08 -03:00
Tercio 26a83d962c - Raid Check (plugin): added item level.
- Advanced Death Logs (plugin): bug fixes, it's important to update it.
- Time Line (plugin): bug fixes.
- Added option to disabled th eitem level tracker.
- Fixed issue with Dps/Hps data broker which wasn't respecting the type of time (effective/activity) selected.
2015-03-30 15:21:58 -03:00
Tercio c5957e1dfd - Added an option for change the amount of lines on death log.
- Added custom display for CC done.
2015-03-13 23:47:41 -03:00
Tercio 3376f9b1b5 - More improvements on Overall Data. 2015-02-20 16:44:15 -02:00
Tercio 4954ac14d3 - Improvements on Overall Data. 2015-02-20 14:52:39 -02:00
Tercio 1add7af405 - Attempt to fix Embed AddonSkins position using LibWindow-1.1
- Attempt to fix positioning after reopen a window previously closed on last logon.
2015-01-24 20:17:00 -02:00
Tercio f37e80eead - Improved specialization detection in order to try detect spec changes.
- Fixed an issue with 'Always Show me' feature where it was showing the player on Enemies display.
2015-01-21 14:17:18 -02:00
Tercio b6d51315a5 - Plugin Vanguard: got full rewrite and now it is more easy to use.
- Plugin TimeAttack: fixed problem where sometimes required a reload to start a new time.
- Plugin Damage the Game!: fixed a problem where sometimes the time didn't started after level 2.
- Custom display 'Health Potion & Stone' now also track Healing Tonic.
- Custom display 'Damage Taken by Spell' now track more spells and also melee hits.
- Menus now uses 'Friz Quadrata TT' font as default, also added an option to change it on options panel -> miscellaneous.
- 'Switch to Current' feature now switches all windows which have this option enabled.
- The message telling to use '/details reinstall' now only shows if a problem happen during the addon load process.
- Segments Saved option now can be set to 25, up from 5.
- Attempt to fix the bug with the monk spell 'Storm, Earth, and Fire'.
- Fixed 'Icon Pick' panel.
- Fixed bug when reporting friendly fire through player detail window.
- Fixed bug with report window where sometimes it was reporting on a wrong channel.
2015-01-16 03:44:29 -02:00
tercio b2126cc50b - Many internal improvaments and bug fixes.
- Fixed target names on custom displays.
- Fixed plugins icons being shown when auto hide menu is on.
- Slash command '/details worldboss' is now updated to show Draenor world bosses.
2014-11-29 19:47:42 -02:00
tercio cf3219f436 v3 Release Candidate. 2014-11-11 19:49:24 -02:00
tercio b1cf458ca5 - Full rewrite on custom displays.
- Fixed the report bug on healing, energy and misc attributes.
- Fixed a bug where the player pet wasn't being tracked after logon in the game.

- NewAPI: instance:IsGroupMode() return if a instance is in group mode.
- NewAPI: instance:GetCustomObject() return the custom object current used by the isntance.
- NewAPI: _detalhes:GetEncounterActorsName (EJ_EncounterID) return a hash table with [bossname] -> {[model] [displayInfo]}
- NewAPI: actor:GetDisplayName() actor:Class() return the formated name; return the class.
- NewAPI: _detalhes:GetClassIcon (class) return the icon path and texcoords.
2014-06-21 18:11:08 -03:00
tercio ce87de9a33 - Added option for percentage: follow the combat totals or the first player total.
- Added option for show or hide the left buttons on menu bar.
- Added option for change the left buttons size in the menu bar.
- Added option for delete a instance.
- 'Instance Segment' Mini display now is more accuracy about telling the enemy in the segment.
- Player Details Window now show all pet abilities instead of just the total pet damage.
- Rework done on report texts, now the title is more shorter and also format Dps and Hps numbers.
- Simple Gray and again ElvUI skins got some rework.
- Added Mind Sear (mastery) for priest in the spell customization.
- Fixed the stretch button strata which was making the button shows up to any other frame when hover over.
- Lib HotCorner now is broker based and shows up all broker plugins in the bar.
- Removed the lower instance consolidate menu.
- Removed ErrorReport and SavaData plugins.

- NewAPI: _detalhes:GetCombatName() returns the combat enemy, boss, battleground.
- NewAPI: _detalhes:DeleteInstance (ID) erase a instance.
- NewAPI: _detalhes:GetClassColor (class or actor) return the table with the color.
2014-05-08 21:39:20 -03:00
Tercio 6f8d9b7ccc - memory usage decreased in approximately 20%.
- small parser speed improvement, approximately 4%.
- fixed some memory leaks.
- fixed issues were details doesn't open with /details new.
- added feedback options for details report.
2013-10-14 16:31:35 -03:00
Tercio 93be6d54a1 updates 2013-08-09 14:42:33 -03:00