Commit Graph

1831 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 d3d5154c67 Libraries Update 2023-06-27 18:21:39 -03:00
Tercio Jose f30d0439e8 Fixed Auto Run Code window not closing by click on the close button 2023-06-27 11:14:42 -03:00
Tercio Jose 2476c95464 fixed a bug on 10.1.5 ptr 2023-06-27 11:13:21 -03:00
Tercio Jose 5d0f06f692 Merge pull request #555 from Flamanis/StatusbarInit
Set up statusbar options instead of using metatable
2023-06-25 11:31:13 -03:00
Tercio Jose 963edb5fa8 Merge pull request #553 from Flamanis/IgnoreVesselShadow
Ignore Vessel of Seared Shadow ticks from starting combats
2023-06-25 11:30:28 -03:00
Tercio Jose 7b34b88ca3 More code cleanup and framework update 2023-06-25 11:29:45 -03:00
Flamanis 0400b6dce0 Set up statusbar options instead of using metatable 2023-06-24 22:34:49 -05:00
Tercio Jose fae511884c Merge pull request #554 from Flamanis/UpdateTocsWrath
Wrath toc bumps
2023-06-23 21:10:03 -03:00
Flamanis e7530d1454 Wrath toc bumps 2023-06-23 19:08:48 -05:00
Tercio Jose 141787f401 logs changes 2023-06-23 16:01:59 -03:00
Tercio Jose 28255ac7d0 Overall segment load fix 2023-06-23 15:25:39 -03:00
Tercio Jose a86f717200 Code cleanup, framework update and bug fixes 2023-06-23 14:16:12 -03:00
Flamanis 93811485c6 Ignore Vessel of Seared Shadow ticks from starting combats 2023-06-22 19:19:22 -05: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 a2c5e926c9 More bug fixes for destroyed combats; TimeData code modernizations 2023-06-14 18:43:33 -03:00
Tercio Jose efd131ef04 More fixes for the "Report to Discord" bugs; Implementations to show plugins in the breakdown window; 2023-06-12 19:59:15 -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 bf5b3c0dda fixed plugins_statusbar error 2023-06-12 10:10:48 -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 cc09a733bf Split the window_playerbreakdown_spells.lua into three more files 2023-06-08 22:03:37 -03:00
Tercio Jose 631b3ceaa0 Time Machine overhaul 2023-06-08 22:01:34 -03:00
Tercio Jose fb724bed5c When destroying a combat, it'll call DestroyActor to destroy each actor on each actorContainer 2023-06-08 22:00:01 -03:00
Tercio Jose c10cf4ed40 Fixed activity time not working when the user uses effective time 2023-06-08 13:05:53 -03:00
Tercio Jose 3714cfb824 Code Cleanup 2023-06-07 15:52:47 -03:00
Tercio Jose 44a78d477b Code Revamp; Fixed plugins_statusbar.lua:664: attempt to call method 'GetCombatTime' (a nil value) 2023-06-06 18:53:43 -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 c7a1e06638 classic toc rename 2023-06-05 15:52:42 -03:00
Tercio Jose df78e96529 Merge branch 'master' of https://github.com/Tercioo/Details-Damage-Meter 2023-06-05 15:44:35 -03:00
Tercio Jose 3eaefdea6b Framework Update and Code improvements 2023-06-05 15:44:32 -03:00
Tercio Jose 0255900e18 Merge pull request #545 from Flamanis/AddIcons
Add IconTexture directive to the TOCs
2023-06-05 15:30:25 -03:00
Flamanis f25c51624a Add IconTexture directive to the TOCs
Uses the Minimap icon. If a plugin is installed without the base Details it will show a blank icon.
2023-06-05 07:07:45 -05:00
Tercio Jose e2cc0b46c5 Disabled time captures for spellTables, this should be done by a plugin 2023-05-31 11:36:04 -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 a20a4737db Hour0 bug fix 2023-05-20 13:46:14 -03:00
Tercio Jose 64a7053089 Version Bump and Framework Update 2023-05-20 11:16:48 -03:00
Tercio Jose 7f4d966460 Fix for Raid Check plugin error on arena shuffles 2023-05-18 13:41:41 -03:00
Tercio Jose 7490defbae Merge pull request #530 from Flamanis/Era-Shields
Fix for Shields on Era
2023-05-18 12:15:45 -03:00
Tercio Jose b235a3a547 Fixed an issue with Min and Max spell values of nested spells 2023-05-18 12:01:51 -03:00
Flamanis 5a9e23657c Fix for Shields on Era 2023-05-18 03:34:41 -05:00
Tercio Jose 446c4e7a75 Fixed an error while opening the healing breakdown window in Overall Data 2023-05-17 18:19:22 -03:00
Tercio Jose 46449f65d4 Fixed an issue with the player selector for the breakdown window 2023-05-17 11:46:56 -03:00
Tercio Jose cebe150e16 General Fixes and Improvements 2023-05-16 15:21:04 -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 907d88fad5 Changelogs 2023-05-13 14:46:46 -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 21da70e158 Fixed small bugs 2023-05-12 17:52:17 -03:00
Tercio Jose 4769914255 Show overhealing percent instead of the overheal amount in the breakdown window 2023-05-12 15:59:20 -03:00