Commit Graph
470 Commits
Author SHA1 Message Date
David Sangrey deb094636f Merge pull request #2537 from inutt/fix/2286/plugin-events-before-loadgame
Send journal events to plugins from before 'LoadGame' has been parsed
2025-12-27 14:28:18 -05:00
David Sangrey fd9c036130 Merge pull request #2502 from klightspeed/loadout-fuelcap
[Bugfix] Prefer loadout fuel capacity if valid
2025-12-27 14:24:30 -05:00
David Sangrey beb68efae8 [2568] Fix Ships JSON Typo 2025-12-25 01:36:24 -05:00
Ben Peddell 9a275b31c5 [Bugfix] Prefer loadout fuel capacity if valid
Fixes a key error when processing the `Loadout` event from the journal
when the ship in the loadout is not in the `ship_name_map`
2025-12-12 20:56:03 +10:00
Inutt 733a518341 Set player's multicrew role to idle when physically boarding another player's ship 2025-12-04 23:56:07 +00:00
David Sangrey 2041b3d3d3 [Minor] Update Type Hints and Alias Usages 2025-12-01 22:04:28 -05:00
Inutt e413172456 Unset monitor.mode on Commander journal event to avoid reusing previous mode
Changing game mode would otherwise re-use the previously used game mode for events before the new LoadGame event. This
resets the mode on the first available event so they are buffered again until the new game mode is determined.
2025-11-28 17:03:09 +00:00
David Sangrey 5f70a8d7a4 [Minor] Replace Dep'd Functions, Minor Type Hinting 2025-11-09 13:41:07 -05:00
David Sangrey e494e835b5 [Minor] Update Ship Map Fallback 2025-10-16 16:14:50 -04:00
David Sangrey 65273742d0 [#1775] Retire Usage of Assert
Removes assert statements from EDMC non-test code, paving the way to enable -OO code.
2025-04-27 21:58:01 -04:00
David Sangrey 6594052671 Merge pull request #2392 from dvdmuckle/powerplay-journals-update
Update powerplay tracking to account for new journal events
2025-04-01 01:34:25 +01:00
David Sangrey 749ae939b5 [Minor] Flake8 Linter Run 2025-03-31 20:31:23 -04:00
David Muckle 2b4c8280c3 Update powerplay tracking to account for new journal events 2025-03-24 20:08:50 -04:00
INeedMana 3197f019f2 Fixes #2360: Translate Elements MaterialReward as Raw 2025-03-12 23:00:50 +01:00
David Muckle 9ff3327ff7 Add code to track PP2.0 rank, merits, etc 2025-02-20 19:17:50 -05:00
David SangreyandA_D 8bbc26d42d [Fix] Actually Not Ignorable
Co-Authored-By: A_D <A-UNDERSCORE-D@users.noreply.github.com>
2025-02-08 12:35:14 -05:00
David Sangrey 9a3240d814 [Fix] More MyPy Suppression 2025-02-08 12:28:02 -05:00
David Sangrey 9a9246cec3 Merge pull request #2347 from colsw/stateupdate
Include 'missing?' Loadout event properties in 'state'
2025-02-08 17:19:44 +00:00
David Sangrey b30eca7979 [Fix] Ignore Typing of Potential Null 2025-02-08 12:15:28 -05:00
David Sangrey 6abdaf1537 [2320] Update Hull Get 2025-01-06 16:11:08 -05:00
David Sangrey 7d3d09f60b [#2324] Update Watchdog 2025-01-06 15:42:55 -05:00
Connor 18d71776b3 Update monitor.py
Added properties of the loadout event which are missing from state: UnladenMass, CargoCapacity, MaxJumpRange, and FuelCapacity
2024-12-27 20:29:31 +00:00
David Sangrey 5ad7fcfa62 [2303] Attempt Reversion 2024-09-30 18:42:09 -04:00
David Sangrey 1e9dec1371 [610] Improved process_iter
Significant speed-up. Around 20x in psutils 6.0!
2024-07-29 19:32:16 -04:00
David Sangrey b74524a4cd Merge branch 'develop' into enhancement/1805/additional-prototyping 2024-07-22 00:16:25 -04:00
David Sangrey 6139d66b8e Merge branch 'develop' into enhancement/2114/pathlib-handover 2024-07-21 23:40:35 -04:00
David Sangrey 19c9151135 [2262] Format SLEF with Square Brackets 2024-06-23 13:26:44 -04:00
David Sangrey d9f7b72e46 [2262] Update Type Hinting 2024-06-23 13:09:13 -04:00
David Sangrey 3b6259276a [2262] Move SLEF to Monitor 2024-06-23 13:05:39 -04:00
David Sangrey f1df1c7da7 [#610] Enable game_running on Linux 2024-06-18 12:20:08 -04:00
David Sangrey 81a3b4fd5f [1805] Pull In Code from 1808 2024-06-18 10:00:15 -04:00
David Sangrey 625856c31c [1805] Apply More Pywin32 2024-06-11 11:36:43 -04:00
David Sangrey f8d354a4dd [1805] Implement win32con in Hotkey 2024-06-11 10:42:57 -04:00
David Sangrey b1ba45ab90 [1805] Update Prototypes 2024-06-10 23:29:04 -04:00
David Sangrey 17a7af959a [#1805] pywin32 Handoff 2024-06-10 23:00:44 -04:00
David Sangrey fe8818d187 [2114] Apply PathLib Handover 2024-06-10 17:21:06 -04:00
David Sangrey 99a23d40cd Merge branch 'develop' into fix/2166/update-watchdog-typehints 2024-05-13 19:11:04 -04:00
David Sangrey f03ae7809f [2166] Update Watchdog Type Hints
Watchdog 4.0.0 included an update to the public API where FileSystemEvent, and subclasses, are now dataclasses, and their repr() has changed.

As such, (insofar as I can tell) the FileCreatedEvent is now a FileSystemEvent. MyPy also suggests that this is a FileSystemEvent as well.
2024-04-27 15:27:22 -04:00
David Sangrey 080d9f98f2 [1812] Handover Translations 2024-04-22 17:33:28 -04:00
David Sangrey ccb103242c Merge branch 'develop' into enhancement/2186/remove-darwin 2024-04-05 17:17:51 -04:00
David Sangrey 56a4ae25e0 [Nit] Clarify Comments 2024-03-27 22:21:26 -04:00
David Sangrey 1800f8f0b1 [2186] Remove Some Comments 2024-03-27 22:17:21 -04:00
David Sangrey 93d26e07e0 [2186] Remove Monitor, L10n References 2024-03-27 19:19:15 -04:00
David Sangrey 813cf92521 [1133] Add ContextMenu Globally 2024-03-23 16:54:13 -04:00
David SangreyandPhoebe 4df38d6a73 [635] Remove Outdated Comment
All Dicts Keep Order.

Co-authored-by: Phoebe <40956085+C1701D@users.noreply.github.com>
2024-01-04 14:12:47 -05:00
David Sangrey 7cac00b2e8 [635] Remove Ordered Dict 2024-01-03 23:55:12 -05:00
David Sangrey cb2a18025c [2051] First Pass Remaining Files 2023-11-30 21:30:18 -05:00
David Sangrey 8763e9f5db #2032 Suppress some Type Hint Errors 2023-07-22 22:02:35 -04:00
Athanasius 650b43cc3c PLUGINS: Document monitor.is_live_galaxy() as sanctioned for use 2023-01-18 11:30:28 +00:00
Athanasius 5bd14ddd78 monitor: Don't synthesize StartUp if current event is ShutDown 2023-01-17 16:40:58 +00:00