DMFLAGS reseting on map change?

General help and assistance forum.
Post Reply
User avatar
Cutman
 
Posts: 66
Joined: Mon Jun 04, 2012 2:25 pm
Contact:

DMFLAGS reseting on map change?

#1

Post by Cutman » Wed May 10, 2017 3:14 pm

Hi,

I have a weird issue(?) where DMFLAGS and DMFLAGS2 are getting reset every time the map changes when I host a server on my machine. At first I thought it was a mm8bdm thing we put in but while trying to debug another problem, I found that just hosting a vanilla Doom2 DM server the same thing kept happening. Does anyone know what actually causes this? I tried removing my ini file and everything, it still always sets it to the following on map change:

dmflags changed to: 4214916
dmflags2 changed to: 64

Setting them to zero or trying to set individual flags off (i.e sv_doubleammo 0) doesn't work, they get set back in the next map.

User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 794
Joined: Fri Jun 01, 2012 9:04 pm

Re: DMFLAGS reseting on map change?

#2

Post by Ru5tK1ng » Wed May 10, 2017 3:42 pm

Try setting sv_defaultdmflags 0 and set alwaysapplydmflags to 1 although the latter supposedly doesn't do much according to this ticket: https://zandronum.com/tracker/view.php?id=2752#c15525

User avatar
Cutman
 
Posts: 66
Joined: Mon Jun 04, 2012 2:25 pm
Contact:

Re: DMFLAGS reseting on map change?

#3

Post by Cutman » Wed May 10, 2017 4:04 pm

Thanks, sv_defaultdmflags was the culprit.

User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 794
Joined: Fri Jun 01, 2012 9:04 pm

Re: DMFLAGS reseting on map change?

#4

Post by Ru5tK1ng » Thu May 11, 2017 1:03 am

It really is a pain in the ass and I don't know why it hasn't been defaulted to zero by now.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: DMFLAGS reseting on map change?

#5

Post by Torr Samaho » Thu May 11, 2017 7:28 pm

Ru5tK1ng wrote:It really is a pain in the ass and I don't know why it hasn't been defaulted to zero by now.
I don't mind changing the default to zero.

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1893
Joined: Mon Jun 04, 2012 3:37 am
Location: Erth
Contact:

Re: DMFLAGS reseting on map change?

#6

Post by Combinebobnt » Thu May 11, 2017 11:01 pm

carnevil's trap for new server hosts strikes again

http://zandronum.com/tracker/view.php?id=2752

User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 794
Joined: Fri Jun 01, 2012 9:04 pm

Re: DMFLAGS reseting on map change?

#7

Post by Ru5tK1ng » Fri May 12, 2017 1:13 am

Torr Samaho wrote:
Ru5tK1ng wrote:It really is a pain in the ass and I don't know why it hasn't been defaulted to zero by now.
I don't mind changing the default to zero.
That would would be for the best if it isn't going to be completely removed. The other day someone came to me saying 3.0 had a bug with double ammo not turning off. The culprit of course was defaultdmflags. Carn's silly flag seems to be causing more headaches rather than being helpful.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: DMFLAGS reseting on map change?

#8

Post by Torr Samaho » Sat May 13, 2017 12:42 pm

I just changed the default value of sv_defaultdmflags to false.

User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 794
Joined: Fri Jun 01, 2012 9:04 pm

Re: DMFLAGS reseting on map change?

#9

Post by Ru5tK1ng » Sat May 13, 2017 8:25 pm

Excellent, thanks for changing it.

Post Reply