MantisBT - Zandronum
View Issue Details
0003623Zandronum[All Projects] Bugpublic2019-03-20 20:072024-04-07 22:04
buu342 
Kaminsky 
normalminoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.0 
3.13.1 
0003623: HUDMSG_LAYER_UNDERHUD is ignored in multiplayer
HUD elements that have HUDMSG_LAYER_UNDERHUD work perfectly in Singleplayer (as in they get drawn under the statusbar), however once you jump onto a multiplayer game the same elements will now always appear over the statusbar.
Create a script with the following code:

SetHudSize(800, 600, true);
HUDMessage(s:"Hello World"; HUDMSG_PLAIN | HUDMSG_LAYER_UNDERHUD, 0, CR_RED,
    400<<16, 600<<16 + 0.1, 1);
SetHudSize(0, 0, false);
delay(1);
restart;

In Singleplayer, "Hello World" will be invisible. In Multiplayer, "Hello World" will be visible on top of the Doom guy's head.
No tags attached.
? MAP01.wad (949) 2019-03-23 19:07
/tracker/file_download.php?file_id=2461&type=bug
Issue History
2019-03-20 20:07buu342New Issue
2019-03-23 14:09Edward-sanNote Added: 0020452
2019-03-23 14:09Edward-sanStatusnew => feedback
2019-03-23 19:07buu342Note Added: 0020455
2019-03-23 19:07buu342Statusfeedback => new
2019-03-23 19:07buu342File Added: MAP01.wad
2019-03-23 19:08buu342Note Edited: 0020455bug_revision_view_page.php?bugnote_id=20455#r12461
2021-08-08 12:30KaminskyNote Added: 0021694
2021-08-08 12:30KaminskyAssigned To => Kaminsky
2021-08-08 12:30KaminskyStatusnew => needs testing
2024-04-07 22:04Ru5tK1ngNote Added: 0023540
2024-04-07 22:04Ru5tK1ngStatusneeds testing => resolved
2024-04-07 22:04Ru5tK1ngResolutionopen => fixed
2024-04-07 22:04Ru5tK1ngFixed in Version => 3.1
2024-04-07 22:04Ru5tK1ngTarget Version => 3.1

Notes
(0020452)
Edward-san   
2019-03-23 14:09   
Could you please provide a minimal wad for this, attached here? We need to keep them for feedback in the future, code snippets are not useful at all.


In any case, at a first glance, it seems that Zandronum lacks the network support to the new HUD features which were ported from GZDoom:'https://bitbucket.org/Torr_Samaho/zandronum-stable/commits/a5226268dfa51603ab2df6a033da740c23d0dbd1 [^]'
(0020455)
buu342   
2019-03-23 19:07   
(edited on: 2019-03-23 19:08)
My apologies. Uploaded a file.

As explained, if you run the wad in singleplayer, you won't see any text over the statusbar. But if you go online, the text will show up on the Doomguy's chin.

I'd like to point out that if the script is CLIENTSIDE this is not an issue.

(0021694)
Kaminsky   
2021-08-08 12:30   
All of the "new" ACS HudMessage features, including clipping rectangles, text wrapping, and the layer/visibiliy flags should now work properly with HudMessages called on the server's end in online games.
(0023540)
Ru5tK1ng   
2024-04-07 22:04   
Tested online with 3.1 and the Hud elements were identical to offline.