mirror of
https://github.com/UltimateMenu/UltimateMenu.git
synced 2026-10-11 01:38:10 +08:00
Introduce online/offline guard system and refactor many menu modules to use ImGui-safe checks and wrappers. Key changes: - Added checkOnline, checkStoryMode, isOffline and a shared ensureOnlineGuard to centralize online-state warnings; added bypassOnlineCheckbox to override checks. - Introduced makeOnlineTab and helper addOnline* APIs to build online-only UI with a single shared warning per tab. - Converted multiple menus (rank/crew setters, FAUT, Casino, LSCM, achievements, skills, collectibles, etc.) to use the new guarded ImGui flow and silent online checks. - Automated achievements UI from a table and added a "Complete All Daily & Weekly Challenges" action. - Added SkipCutscene, CamList, changeSession helper and other utility functions; bumped script version text to v2.9. - Hardened several looped scripts with network/session/maintransition guards and added nil checks before bit ops (gunclub_shop) to avoid errors. - Adjusted many global/local constant definitions and fixed some index offsets; added TAGET_BUILD update. - Modified YimConfig to accept a default config param and added a file_exists helper. Overall this improves stability when running online-only features, reduces duplicated warning text, and adds new UI features (Collectibles, Skills, LSCM helpers, achievements automation) while fixing several runtime issues. (Still needs more fix for the yimmenu startup) -Removed tunables menu since it got patched while ago without noticing it so r.i.p