MantisBT - Doomseeker
View Issue Details
0003944Doomseeker[All Projects] Bugpublic2021-12-17 00:132024-11-03 19:15
WaTaKiD 
Zalewa 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
1.3.2 
1.3.3 
0003944: dmflags, dmflags2, etc, number fields dont accept negative values
this can lead to the server starting with incorrect flags, if selecting enough flags to go into what would normally be a negative value (or a single flag, as mentioned below)
host a zan 3.1 server with doomseeker's "ignore compositing when drawing masked midtextures" checked (compatibility 2 tab)
the compatflags field will change to 2147483648
type compatflags on the server, itll say 0
(or type compat_maskedmidtex, itll say false)
'https://wiki.zandronum.com/DMFlags#CompatFlags [^]' compat_maskedmidtex is the only flag (as of zan 3.1) with a negative value, if it helps
No tags attached.
related to 0003949resolved Zalewa Zandronum The game ignores a negative value in "+compatflags -2147483648" command line argument 
related to 0003956resolved Kaminsky Zandronum +compatflags, +compatflags2 cmdline arguments broken in Zandronum 3.1 
Issue History
2021-12-17 00:13WaTaKiDNew Issue
2021-12-18 22:31ZalewaAssigned To => Zalewa
2021-12-18 22:31ZalewaStatusnew => acknowledged
2021-12-19 11:10ZalewaStatusacknowledged => assigned
2021-12-19 12:37ZalewaNote Added: 0021928
2021-12-19 12:37ZalewaStatusassigned => confirmed
2021-12-19 12:42ZalewaRelationship addedrelated to 0003949
2021-12-19 12:42ZalewaNote Edited: 0021928bug_revision_view_page.php?bugnote_id=21928#r13469
2021-12-23 09:22ZalewaRelationship addedrelated to 0003956
2021-12-23 10:37ZalewaNote Added: 0021995
2021-12-23 10:37ZalewaStatusconfirmed => needs review
2022-09-05 14:58WaTaKiDNote Added: 0022338
2022-09-05 22:29ZalewaStatusneeds review => resolved
2022-09-05 22:29ZalewaFixed in Version => 1.3.3
2022-09-05 22:29ZalewaResolutionopen => fixed
2022-09-06 07:22ZalewaNote Added: 0022352
2022-09-06 07:25ZalewaNote Added: 0022353
2024-11-03 19:15ZalewaStatusresolved => closed

Notes
(0021928)
Zalewa   
2021-12-19 12:37   
(edited on: 2021-12-19 12:42)
Well, I would be happy to fix it, actually did so already, but the game ignores the "+compatflags -2147483648" command line parameter. It seems it doesn't accept the negative number. Reported as 0003949.

(0021995)
Zalewa   
2021-12-23 10:37   
The problem with the compatflags has turned out to be something different altogether and reported as 0003956.

I pushed the commits necessary to make the flags signed in Doomseeker, so it will be ready for a repaired Zandronum:

1.'https://bitbucket.org/Doomseeker/doomseeker/commits/8e492ebbbb70935d41697d33c0f351a099fb2e1e [^]'
2.'https://bitbucket.org/Doomseeker/doomseeker/commits/724a17090880ad74b2939ab7988779f922930844 [^]'
(0022338)
WaTaKiD   
2022-09-05 14:58   
using ZandroDev3.2-220904-2011windows-x86_64 and doomseeker 1.3.3-220502-1714, negative values indeed work
(0022352)
Zalewa   
2022-09-06 07:22   
In comment 0004020:0022349 for 0004020:
Quote from WaTaKiD

(more negative value fun)

if a dmflag with a negative value such as compat_maskedmidtex is enabled, that field will display the wrong value

for example, host a server with only compat_maskedmidtex enabled, server details will show compatflags as "2147483648" instead of "-2147483648"

now enable compat_shorttex, compatflags will display "2147483649" instead of "-2147483647"
(0022353)
Zalewa   
2022-09-06 07:25   
The server details issue should be hacked away:'https://bitbucket.org/Doomseeker/doomseeker/commits/1f8576a64a5b18617df486a50869f92659aba29a [^]'