DMFLAGS reseting on map change?
DMFLAGS reseting on map change?
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.
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.
Re: DMFLAGS reseting on map change?
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
Re: DMFLAGS reseting on map change?
Thanks, sv_defaultdmflags was the culprit.
Re: DMFLAGS reseting on map change?
It really is a pain in the ass and I don't know why it hasn't been defaulted to zero by now.
- Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
Re: DMFLAGS reseting on map change?
I don't mind changing the default to zero.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.
- 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?
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.Torr Samaho wrote:I don't mind changing the default to zero.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.
- Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
Re: DMFLAGS reseting on map change?
I just changed the default value of sv_defaultdmflags to false.
Re: DMFLAGS reseting on map change?
Excellent, thanks for changing it.