Commit Graph

689 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 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 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 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 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 631b3ceaa0 Time Machine overhaul 2023-06-08 22:01:34 -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 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
Flamanis 5a9e23657c Fix for Shields on Era 2023-05-18 03:34:41 -05:00
Tercio Jose cebe150e16 General Fixes and Improvements 2023-05-16 15:21:04 -03:00
Tercio Jose a54e80c475 Restored "right click to close" on breakdown window 2023-05-09 10:58:41 -03:00
Tercio Jose cbbfe8b7af Merge pull request #511 from Flamanis/Port-to-Era
First pass on attempting to work on Classic_Era
2023-05-06 15:09:41 -03:00
Tercio Jose 0a4c35b304 More fixes 2023-05-05 21:32:42 -03:00
Tercio Jose 3bc8ba7940 Bug fix 2023-05-03 09:41:25 -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
Flamanis 29c82c2bcd Change CLEU to have two separate parser events. One for Era and one for everything else. 2023-05-01 19:17:08 -05: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
Flamanis 4277217372 First pass on attempting to work on Classic_Era 2023-04-30 19:51:38 -05:00
Tercio Jose 17f2fdd05a Bug Fixes 2023-04-30 18:22:39 -03:00
Tercio Jose f947e26945 Reemove all startmoving scripts to be re-write soon 2023-04-30 18:22:38 -03:00
Tercio Jose b946da73bb Major cleanup on breakdown main file 2023-04-30 18:22:38 -03:00
Tercio Jose 50d848e1d1 breakdown 2.0 2023-04-30 18:22:38 -03:00
Flamanis 37ed706a26 Only SetScript and HookScript on intialization of plugin frames 2023-04-11 17:36:12 -05:00
Tercio Jose 281868aaec Fixed an issue 2023-03-29 10:27:07 -03:00
Tercio Jose fac83f16be Merge pull request #484 from Flamanis/Merge-Attonement-Crits
Merge attonement with crit, and contrition with crit.
2023-03-29 10:02:42 -03:00
Flamanis bc4aa50343 Add option to Combat Log section for merging critical heals 2023-03-26 14:20:48 -05:00
Tercio Jose be5e89ab95 Finished instance:SetDisplay(segmentId, attributeId, subAttributeId, modeId) and instance:SetSegment(segmentId) 2023-03-26 13:36:33 -03:00
Flamanis 0ac0391767 Merge attonement with crit, and contrition with crit. 2023-03-25 16:28:24 -05:00
Tercio Jose 2095e7da8b Added "Merge Primordial Stones 10.0.7" setting under Options > Combat Log 2023-03-25 17:05:54 -03:00
Tercio Jose bf4af71e84 Fix segments Lock; Unmerge Gem Stones 2023-03-25 11:50:22 -03:00
Tercio Jose 7cf01d114b Round of fixes 2023-03-24 15:15:56 -03:00
Tercio Jose e72a32ac9f Merge primordial stones 2023-03-23 14:48:07 -03:00
Tercio Jose 4371c87972 Code cleanups 2023-03-20 21:31:18 -03:00
Tercio Jose f024ecc58b Fixed an issue when using Click to Open Menus + Auto Hide Menu 2023-03-20 14:34:58 -03:00
Tercio Jose 13b8bd8826 Internal Garbage Collector update 2023-03-19 20:10:28 -03:00