Sv_cheats 1; impossible to enable

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE? Did your computer break? Ask here.

Moderator: GZDoom Developers

Sv_cheats 1; impossible to enable

Postby DoomRulz » Sat Aug 03, 2019 6:12 pm

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?
DoomRulz
 
Joined: 02 Aug 2019
Github ID: Sammy
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Sv_cheats 1; impossible to enable

Postby Graf Zahl » Sat Aug 03, 2019 7:18 pm

Do not load a save. This variable is being stored in there and overrides your local setting when reloading.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Sv_cheats 1; impossible to enable

Postby DoomRulz » Sun Aug 04, 2019 10:05 am

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?
DoomRulz
 
Joined: 02 Aug 2019
Github ID: Sammy
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Sv_cheats 1; impossible to enable

Postby drfrag » Sun Aug 04, 2019 11:00 am

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
drfrag
I.R developer, I.R smart
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain

Re: Sv_cheats 1; impossible to enable

Postby Graf Zahl » Sun Aug 04, 2019 2:44 pm

It's a server CVAR, which means it is game state. All current server CVARs are part of the savegame.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Sv_cheats 1; impossible to enable

Postby Dark-Assassin » Sun Aug 04, 2019 2:47 pm

One thing that I couldn't figure out is why you need to restart the map to enable them.
User avatar
Dark-Assassin
 
Joined: 19 Mar 2009
Location: South Australia

Re: Sv_cheats 1; impossible to enable

Postby Graf Zahl » Sun Aug 04, 2019 2:49 pm

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.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 0 guests