Commit Graph

48 Commits

Author SHA1 Message Date
Tercio Jose 703cee33fd Fixed mythic+ segments being considered trash. 2024-03-01 21:00:48 -03:00
Tercio Jose 7d8b84a216 More bug fixes and implementations on the backend of mythic dungeons handling. 2024-03-01 17:30:59 -03:00
Tercio Jose a8d8733274 Another round of bug fixes 2024-02-29 23:59:33 -03:00
Tercio Jose e23d7f59ab Bug Fix 2024-02-29 11:57:06 -03:00
Tercio Jose 71565d3a90 Class combat updates
- Added combat type DETAILS_SEGMENTTYPE_EVENT_VALENTINEDAY.
- Added: SetDateToNow(bSetStartDate, bSetEndDate), set the start or end data to the current time.
- Added: GetEncounterName(): return the encounter name if any.
- Added: GetBossImage(): return the boss face.
- Added: GetSegmentSlotId(): return which slot in the segments table this combat is in.
- Added: GetCombatIcon(): return an atlastable containing texture information for the combat icon. example: a skull for a boss fight.
- Added: GetCombatName(bOnlyName, bTryFind): return a name for the combat.
- Added: GetTrinketProcsForPlayer(playerName): return table<spellid, trinketprocdata>.
- Added: GetFormattedCombatTime(): return elapsed time as string, format: "minute:seconds".
- Added combat.zoneName and combat.mapId.

- Renamed InstanceType() to GetInstanceType().
- Renamed: GetFormatedCombatTime() to GetMSTime(): return floors minute, second.
2024-02-26 13:48:47 -03:00
Tercio Jose 9eb4d344e6 General Changes ad Improvements
- Added: Details:IsInMythicPlus() return true if the player is on a mythic dungeon run.
- CombatObjects now have the key 'is_challenge' if the combat is a part of a challenge mode or mythic+ run.
- Evoker extra bar tooltip's, now also show the uptime of Black Attunement and Prescience applications.
- Breakdown Window now show Plater Npc Colors in the target box.
- Added event: "COMBAT_MYTHICPLUS_OVERALL_READY", trigger when the overall segment for the mythic+ is ready.
- Added event: "COMBAT_PLAYER_LEAVING", trigger at the beginning of the leave combat process.
- Library updates: Details! Framework and Lib Open Raid.
2024-01-08 14:18:08 -03:00
Tercio Jose f82a2d8faa Added classCombat:GetRunTimeNoDefault(): return only the mythic dungeon elapsed time, return nil if the values isn't found 2023-12-04 20:39:59 -03:00
Tercio Jose 0ff046b500 Major upgrade for alpha testers 2023-11-30 16:13:14 -03:00
Tercio Jose 95ba39b389 Added Erase Segment Options: "Remove Common Segments" and "Reset, but keep Mythic+ Overall Segments" 2023-11-20 19:36:28 -03:00
Tercio Jose 56275fecf9 Added Details:GetBossEncounterTexture(encounterName); Added combat.bossIcon; Added combat.bossTimers 2023-07-05 00:24:08 -03:00
Tercio Jose f3c49ec02e Added: Details:DoesCombatWithUIDExists(uniqueCombatId); Details:GetCombatByUID(uniqueCombatId); combat:GetCombatUID() 2023-07-04 18:46:22 -03:00
Tercio Jose 9cf94ead8c classCombat:GetTimeData(chartName) now check if the combat has a TimeData table or return an empty table; Added classCombat:EraseTimeData(chartName) 2023-07-04 18:27:23 -03:00
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 7b34b88ca3 More code cleanup and framework update 2023-06-25 11:29:45 -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 a2c5e926c9 More bug fixes for destroyed combats; TimeData code modernizations 2023-06-14 18:43:33 -03:00
Tercio Jose 631b3ceaa0 Time Machine overhaul 2023-06-08 22:01:34 -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 3eaefdea6b Framework Update and Code improvements 2023-06-05 15:44:32 -03:00
Tercio Jose 9021a4de4d Fixing stuff from latest alpha and more development 2023-05-30 15:45:50 -03:00
Tercio Jose 64a7053089 Version Bump and Framework Update 2023-05-20 11:16:48 -03:00
Tercio Jose cebe150e16 General Fixes and Improvements 2023-05-16 15:21:04 -03:00
Tercio Jose 96a954c97c Framework update 2023-05-12 11:02:57 -03:00
Tercio Jose 0a4c35b304 More fixes 2023-05-05 21:32:42 -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 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 17f2fdd05a Bug Fixes 2023-04-30 18:22:39 -03:00
Tercio Jose 50d848e1d1 breakdown 2.0 2023-04-30 18:22:38 -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
Tercio Jose 516596f7ff Removed a debug print 2023-02-27 15:17:22 -03:00
Tercio Jose d7f15831fa Added combatObject:CopyDeathsFrom(combat2, bMythicPlus) 2023-02-27 11:58:18 -03:00
Tercio Jose 25cb9e8ffe Added new plugin to update the comparison window 2022-11-26 23:08:49 -03:00
Tercio Jose 1c8dfb3ab7 Release Candidate 1 2022-11-18 16:54:25 -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 9974a87119 Format the text in the breakdown player list using the same font, size and outline of the damage window 2022-10-09 17:12:13 -03:00
Tercio Jose 28f28f2212 Scaling fixes; Added player bar color 2022-01-15 14:32:25 -03:00
Tercio Jose caf27f4ff0 Fixes for Kel'Thuzad and Painsmith encounters 2021-07-10 22:10:37 -03:00
Tercio Jose 8085b91ad6 Backend stuff 2021-02-22 16:52:17 -03:00
Tercio Jose b703d60a5c Added mythic dungeon settings 2020-12-21 14:23:37 -03:00
Tercio Jose da6972d1c1 DeleteActor fix 2020-12-16 11:19:20 -03:00
Tercio Jose e364629e66 Adjusts for The Council of Blood encounter 2020-12-14 12:45:41 -03:00
Tercio Jose c42a35657d 8.3.0 > 9.0.1 2020-10-16 19:51:44 -03:00