Zandronum Chat on our Discord Server Get the latest version: 3.2.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004470Zandronum[All Projects] Suggestionpublic2025-03-20 16:122025-03-20 16:22
ReporterIlyStr 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformASRock B550, AMD Ryzen 5 56 x64OSWindows 10 LTSC EnterpriseOS Version21H2 (19044.357)
Product Version 
Target VersionFixed in Version 
Summary0004470: Adding a method to get a Za build
DescriptionOf course almost no one will modify GZDoom ACS, because there is ZScript, but the probability that such methods as “LumpOpen”, “SystemTime”, etc., which are not functions specific only to the netcode of Zandronum (I mean for example LumpOpen can be in GZDoom ACS, unlike “BanFromGame” or “GetPlayerAccountName” which are very closely related code that is specific only to Za) will be added is still exist.

So I suggest adding a method that returns the Zandronum build.
``Object(Int, Fixed or String) GetZandronumClient(Int Mode)``
``Mode`` - Enum, prefix is ``ZCM`` or ``ZCCM`` (Zandronum Client check Mode)
``ZCM_Port`` [0] - Will return boolean value, if launched port is zandronum
``ZCM_Version`` [1] - Will return version as fixed value, example: 3.2
``ZCM_Date`` [2] - Will return date in UNIX format, like "SystemTime"
``ZCM_CommitDate`` [3] - Date of last commit, in same format as ZCM_Date (Optional)
``ZCM_DateString`` [4] - Date as a string, for example 241030-1744
``ZCM_String`` [5] - Build as a string, for example 3.2-Alpha-241030-1744
``ZCM_GZDoomBase_Version`` [-1] - GZDoom base version as fixed value, 2.8 for example (Optional)
``ZCM_GZDoomBase_String`` [-2] - Returns GZDoom base as a string, 2.8Pre-441-G458E1B1 (Optional)
``ZCM_FullString`` [6] - Build with GZDoom base as a string, for example 3.2-Alpha-(2.8Pre-441-G458E1B1)-241030-1744
Attached Files

- Relationships

-  Notes
User avatar (0024274)
IlyStr (reporter)
2025-03-20 16:20

Due to a translator's error, it doesn't say what it is for.

Namely to check if the running port is a zandronum or not(and also to check the minimum version for modification), because this function surely should not be added to other ports.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2025-03-20 16:12 IlyStr New Issue
2025-03-20 16:20 IlyStr Note Added: 0024274
2025-03-20 16:22 DrinkyBird Product Version 4.0-beta =>






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker