diff --git a/Changelog.txt b/Changelog.txt index eb6bead1f..72a760025 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -4077,3 +4077,11 @@ When setting a property like MORE to the a spell or skill defname, trying to rea - Changed: Object timers are now saved in worldsave files as TIMERMS, to avoid ambiguity and reliance on git build number to determine if TIMER expressed a number in seconds or milliseconds. - Changed: Added 5 seconds timeout to DNS hostname resolution at startup (avoid getting stuck when connectivity is enabled but not working). - Changed: CANMASK formatted in worldsave files as hexadecimal number, instead of decimal. + +23-11-2025, canerksk +- Changed: Duplicate message deleted. (Issue #1519). + + +25-11-2025, canerksk +- Added: console clear/lists clear added to context menu (Issue #1516) + diff --git a/src/game/clients/CClientUse.cpp b/src/game/clients/CClientUse.cpp index 4a8ce4a2d..55bd6ffb0 100644 --- a/src/game/clients/CClientUse.cpp +++ b/src/game/clients/CClientUse.cpp @@ -180,7 +180,6 @@ bool CClient::Cmd_Use_Item( CItem *pItem, bool fTestTouch, bool fScript ) SysMessageDefault(DEFMSG_ITEMUSE_LOCKED); if (!m_pChar->GetPackSafe()->ContentFindKeyFor(pItem)) // I don't have the container key { - SysMessageDefault(DEFMSG_ITEMUSE_LOCKED); SysMessageDefault(DEFMSG_LOCK_CONT_NO_KEY); if (!IsPriv(PRIV_GM)) return false; diff --git a/src/resources/SphereSvr.rc b/src/resources/SphereSvr.rc index 4d087d7d9..63470d9f8 100644 --- a/src/resources/SphereSvr.rc +++ b/src/resources/SphereSvr.rc @@ -152,6 +152,7 @@ BEGIN MENUITEM SEPARATOR MENUITEM "Restore", IDM_RESTORE MENUITEM "Minimize", IDM_MINIMIZE + MENUITEM "Console Clear", IDM_CLEAR_CONSOLE MENUITEM SEPARATOR MENUITEM "Status...", IDM_STATUS MENUITEM "About...", IDR_ABOUT_BOX @@ -167,6 +168,7 @@ BEGIN MENUITEM "Copy", IDM_EDIT_COPY MENUITEM SEPARATOR MENUITEM "Resync Pause", IDM_RESYNC_PAUSE + MENUITEM "Console Clear", IDM_CLEAR_CONSOLE MENUITEM SEPARATOR MENUITEM "Status...", IDM_STATUS MENUITEM "About...", IDR_ABOUT_BOX diff --git a/src/resources/win_resource.h b/src/resources/win_resource.h index b406120f2..48c382a2b 100644 --- a/src/resources/win_resource.h +++ b/src/resources/win_resource.h @@ -29,6 +29,7 @@ #define IDC_SETUP_LOG 4023 #define IDC_SETUP_NAME 4024 #define IDM_RESYNC_PAUSE 32784 +#define IDM_CLEAR_CONSOLE 32785 // Next default values for new objects // diff --git a/src/sphere/ntwindow.cpp b/src/sphere/ntwindow.cpp index 3d90997bf..79674dff2 100644 --- a/src/sphere/ntwindow.cpp +++ b/src/sphere/ntwindow.cpp @@ -599,6 +599,9 @@ bool CNTWindow::OnCommand( WORD wNotifyCode, INT_PTR wID, HWND hwndCtl ) // SC_MINIMIZE ShowWindow(SW_HIDE); break; + case IDM_CLEAR_CONSOLE: + List_Clear(); + break; case IDM_RESTORE: // SC_RESTORE ShowWindow(SW_NORMAL);