Sv_cheats 1; impossible to enable

Need help running various source ports? Did your computer break? Ask here.

Moderators: GZDoom Developers, UZDoom Developers

Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Post Reply
DoomRulz
Posts: 2
Joined: Fri Aug 02, 2019 9:47 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Sv_cheats 1; impossible to enable

Post by DoomRulz »

Hey folks,

Regardless of whether I type "sv_cheats 1" or "sv_cheats true" into the console whilst in-game and receiving the message that said command will be active for the next game, nothing changes. After typing in the command and restarting my last save, then typing in a Doom cheat code, the game still says, "sv_cheats must be true to enable this command".

How the heck do I solve this problem?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sv_cheats 1; impossible to enable

Post by Graf Zahl »

Do not load a save. This variable is being stored in there and overrides your local setting when reloading.
DoomRulz
Posts: 2
Joined: Fri Aug 02, 2019 9:47 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Sv_cheats 1; impossible to enable

Post by DoomRulz »

Graf Zahl wrote:Do not load a save. This variable is being stored in there and overrides your local setting when reloading.
Does that mean the only way to enable it, after typing sv_cheats true in the console, is to start a new game?
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3202
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Sv_cheats 1; impossible to enable

Post by drfrag »

But why is it stored in savegames? I don't remember how it worked in Quake engine games.
Edit: now that i think of it cheats can be used anyway in single player games.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sv_cheats 1; impossible to enable

Post by Graf Zahl »

It's a server CVAR, which means it is game state. All current server CVARs are part of the savegame.
User avatar
Dark-Assassin
Posts: 743
Joined: Thu Mar 19, 2009 3:40 am
Location: South Australia

Re: Sv_cheats 1; impossible to enable

Post by Dark-Assassin »

One thing that I couldn't figure out is why you need to restart the map to enable them.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sv_cheats 1; impossible to enable

Post by Graf Zahl »

The entire point of this CVAR is to block cheats. If you could just disable it, it'd be useless. This is primarily a multiplayer option, plus, of course settable per skill.
Post Reply

Return to “Technical Issues”