Blank HUDMessage: Very Fatal Error

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Blank HUDMessage: Very Fatal Error

Re: Blank HUDMessage: Very Fatal Error

by _mental_ » Sat May 04, 2019 2:15 am

Fixed in dbf06fc.

Blank HUDMessage: Very Fatal Error

by XxMiltenXx » Fri May 03, 2019 12:36 pm

A bug similar to this was reported and fixed before, however, there it was after a camera change. It's the same thing basically.

Using the given HUDMessage will crash the game: HudMessage(s: ""; HUDMSG_TYPEON, 1, CR_UNTRANSLATED, 160.0, 9.0, 0.0, 0.01, 9999.0);
I know this isn't the way to blank an existing message, however, other mods might've tried it like that too, so I rather report it.

Testable example is attached. Simply load it, start a new game, and the game will crash after a second. Tested with GZDoom 4.1 and gzdoom-x86-g4.2pre-20-gd1554aed3.

Code: Select all

#library "Bug"
#include "zcommon.acs"

Script 1 ENTER
{
	Delay(35);
	SetHudSize(320, 200, 0);
	
	SetFont("SMALLFONT");
	HudMessage(s: ""; HUDMSG_TYPEON, 1, CR_UNTRANSLATED, 160.0, 9.0, 0.0, 0.01, 9999.0);
}
Attachments
HudMessageBug.pk3
(685 Bytes) Downloaded 25 times

Top