Commit Graph

101 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 9fb2b0d66b translated code to English and a few bug fixes from latest alpha 2023-06-21 17:27:58 -03:00
Tercio Jose f9d32df3a4 Overhall on the script for Damage Taken by Spell, now it uses modern Details API 2023-06-12 10:52:40 -03:00
Tercio Jose aaab652817 Code cleanups, Bug Fixes, Show plugins in the breakdown window, added damage taken and friendly fire tp breakdown 2023-06-11 20:46:27 -03:00
Tercio Jose 631b3ceaa0 Time Machine overhaul 2023-06-08 22:01:34 -03:00
Tercio Jose 3714cfb824 Code Cleanup 2023-06-07 15:52:47 -03:00
Tercio Jose 0c397b5816 container_segments 424 error: now it is ensuring to wipe the combatObject that got removed from containerSegments 2023-06-06 17:36:13 -03:00
Tercio Jose 9021a4de4d Fixing stuff from latest alpha and more development 2023-05-30 15:45:50 -03:00
Tercio Jose 0cdfa2b900 Replacing table.wipe with Details:Destroy() 2023-05-22 15:31:29 -03:00
Tercio Jose fa0d1e1d08 Renamed variables, code cleanup 2023-05-21 10:28:29 -03:00
Tercio Jose 7fb0ae469c Added an option to nest pet spells within a bar showing the pet name 2023-05-14 16:30:09 -03:00
Tercio Jose 8f8a605c14 Added options "Group Player Spells With Same Name" and ""Group Pets By Spell" 2023-05-12 22:06:35 -03:00
Tercio Jose c08f005f08 Fixed frag display shows neutral and friendly frags 2023-05-12 15:49:10 -03:00
Tercio Jose 6527146c5d Added friendly fire and healing taken into the new breakdown 2023-05-12 15:17:11 -03:00
Tercio Jose 937c963cc8 Fixed an issue with melee spells which wasn't showing the amount of misses in the breakdown window 2023-05-12 13:19:25 -03:00
Tercio Jose 5ff4cecadb fix for "Unknown Item" 2023-05-12 11:44:42 -03:00
Tercio Jose 90c26332ff Bug fixes, some breakdown settings remove due to their values be auto calculated now 2023-05-11 22:34:11 -03:00
Tercio Jose bad4995451 Fixed reported bugs on the new breakdown window 2023-05-11 15:02:57 -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 cb5dc42db8 Quick fix for /de version on classic 2023-05-07 02:23:57 -03:00
Tercio Jose 01ee2a4ebc Spells and Pets nested now are ordered correctly 2023-05-07 00:18:39 -03:00
Tercio Jose c6527f56a0 Framework update 2023-05-06 15:49:05 -03:00
Tercio Jose 773ec4342d Round of fixes of the new breakdown 2023-05-03 23:33:31 -03:00
Tercio Jose ba267b3eca Fixed issue with nested pets which wasn't showing when pressing the arrow in the bar 2023-05-01 21:30:16 -03:00
Tercio Jose 11a6c48ddd General Fixes 2023-04-30 23:23:56 -03:00
Tercio Jose 17f2fdd05a Bug Fixes 2023-04-30 18:22:39 -03:00
Tercio Jose d531fc95ff Added tooltips for the targets container 2023-04-30 18:22:39 -03:00
Tercio Jose 9222cc1491 Added Targets, Added Options 2023-04-30 18:22:39 -03:00
Tercio Jose c9b801e7f0 Added sorting to all headers to ascending and descending 2023-04-30 18:22:39 -03:00
Tercio Jose 36e5d2978f Sort by critpercent and casts are now working; new class 'SpellTable' 2023-04-30 18:22:39 -03:00
Tercio Jose f6665201b4 Keeping the development 2023-04-30 18:22:39 -03:00
Tercio Jose b946da73bb Major cleanup on breakdown main file 2023-04-30 18:22:38 -03:00
Tercio Jose 4ab2f1241d 'n_curado' 'n_dmg' 'c_curado' and 'c_dmg' renamed to 'n_total' and 'c_total' 2023-04-30 18:22:38 -03:00
Tercio Jose 50d848e1d1 breakdown 2.0 2023-04-30 18:22:38 -03:00
Flamanis 0acc4794d5 Reset highlight on refresh after scroll.
Fixes #491
2023-04-11 15:29:01 -05:00
Tercio Jose 94927993e8 Merge branch 'master' of https://github.com/Tercioo/Details-Damage-Meter 2023-03-19 20:10:47 -03:00
Tercio Jose 13b8bd8826 Internal Garbage Collector update 2023-03-19 20:10:28 -03:00
Flamanis e6b1028ff4 Fix all issues related to new textL_offset and text_yoffset
With the new additions of Text Y Offset and the left text offset. The indexes to disable/hide were not updated properly and thus you could not edit Per Second, percent if multifontstring was enabled. And could not even see the seperator box.

A lot of SetPoint calls were not properly updated with the new anchor settings
2023-03-13 10:47:52 -05:00
SVENT\Eric 9b1c5193ba Actually fixes the edge case where player bar isn't always shown when using the total bar. 2023-02-21 18:07:06 +01:00
Tercio Jose 9300042375 Merge pull request #447 from Ricodyn/master
Fix edge case where player bar isn't always shown.
2023-02-03 15:28:01 -03:00
SVENT\Eric d3ae474e4d Fix edge case where player bar isn't always shown. 2023-01-31 02:45:16 +01:00
Flamanis b15d002c04 Only hide not used barras3 and add tooltip for barras3 2023-01-27 15:00:40 -06:00
Flamanis a53386a57b Fix FF/Damage Taken breakdown to show bars and spell names. 2023-01-26 23:18:56 -06:00
Tercio Jose 4fe2bc08b7 Merge pull request #432 from itsnotapt/patch-1
Typo "Tamage"
2023-01-18 10:37:34 -03:00
Tercio Jose 8025165398 Scripts "Health Potion & Stone" and "Potion Used" updated 2023-01-17 19:11:36 -03:00
itsnotapt 76d8b07cf6 Update class_damage.lua 2023-01-12 20:38:42 -08:00
Tercio Jose fdcc1cc6d5 Class Damage Description 2023-01-03 13:21:13 -03:00
Tercio Jose 1e83cac1f2 /keys now only show the player name, before was showing the player name and the realm name 2023-01-02 16:02:48 -03:00
Flamanis 6c0f406681 Copy e_heal, e_dmg and e_lvl to r_connect_shadow and __add 2022-12-18 14:12:54 -06:00
Tercio Jose 9cad7e3185 Removed portraits from tooltips and OpenRaidLib update 2022-12-07 17:55:01 -03:00