From 9fdb54b65a2fbf864ba5783d43653f01c48aacd7 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 7 May 2026 07:02:53 +0900 Subject: [PATCH] chore: update changelog --- CHANGELOG.md | 9 +++++---- dzgui/managers/connection.py | 14 +++++++++----- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b03c65..75a62ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,20 +32,23 @@ - Refresh servers button - Early load alerts button - Preconnect dialog +- Preconnect warnings/failsafes like filesize ## Changed - Reduce padding on keys button - Boldface breadcrumbs - Bold labels inside frames -- Sidebar buttos do not steal focus +- Sidebar buttons do not steal focus - Copy IP copies IP:queryport only instead of IP:gameport:queryport, mimics syntax needed by add by ip method - Load new model into view without flushing - Cull servers with abnormal queue values (integer overflow: 2147483647) - Packaging structure +- Suppress log messages from imported modules ## Dropped - Debug mode - Branch switching +- Manual mod install mode (describe rationale) ## Fixed - Longstanding issue with left clicks not registering as tree selection changes after spamming keyboard input @@ -57,12 +60,10 @@ - Load offline mods - Choose to jump into splash screen instead of server - Setup wizard -- Move debug mode to developers only - Local documentation +- Raw debug command in context menu ## Developer-facing - Add pyproject.toml file - Show deprecation warnings - Options -> Dev page -- Raw debug command -- Moved debug log to this mode diff --git a/dzgui/managers/connection.py b/dzgui/managers/connection.py index f769c69..b66c730 100644 --- a/dzgui/managers/connection.py +++ b/dzgui/managers/connection.py @@ -9,9 +9,13 @@ from typing import TYPE_CHECKING import dzgui.api.pefile as PeFile import dzgui.api.servers as Servers -import dzgui.api.steam.connect as Connect -from dzgui.api.steam import enqueue_mod, get_remote_signatures, get_needs_update +from dzgui.api.steam import ( + connect, + enqueue_mod, + get_remote_signatures, + get_needs_update, +) from dzgui.api.mods import get_mod_dir_size, get_local_mod_ids, get_local_mod_path from dzgui.const.constants import ( @@ -208,14 +212,14 @@ class ConnectionManager: dialog = ExceptionDialog(self.controller, server_timeout) dialog.run() - def connect(self) -> None: + def connect_steam(self) -> None: print(self.record.ip) print(self.record.gameport) print(self.appid) addr = f"{self.record.ip}:{self.record.gameport}" playername = "test" - proc = Connect(addr, self.appid, playername, self.remote_mod_ids) + proc = connect(addr, self.appid, playername, self.remote_mod_ids) # TODO: test returncode # proc.returncode # TODO: wait for DAYZ_BINARY to load @@ -258,4 +262,4 @@ class ConnectionManager: if len(self.missing_mods) > 0: self.update_mods() else: - self.connect() + self.connect_steam()