Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3033 closed defect (fixed)

[PATCH] Cheats don't work in SP

Reported by: tau Owned by: Itms
Priority: Should Have Milestone: Alpha 18
Component: UI & Simulation Keywords:
Cc: Patch:

Description

svn revision 16266

In singeplayer mode, cheats do not work.

Attachments (1)

keepcheatsenabled.patch (643 bytes ) - added by Alex 9 years ago.
Although I couldn't imagine a case where cheats become disabled in singleplayer, have a patch.

Download all attachments as: .zip

Change History (13)

comment:1 by mimo, 9 years ago

Can you be more explicit: which one have you tried ? I've just tested one (wololo) and that works, at least on linux.

comment:2 by tau, 9 years ago

I am on win7, tried 'back to the future', 'i am too busy', 'i want pizza'...

comment:3 by tau, 9 years ago

(They are just being written on the screen as a normal chat message)

comment:4 by mimo, 9 years ago

Yes, but you need to recompile because of some of the changes. You should wait for the next autobuild which should come soon.

comment:5 by tau, 9 years ago

I did build it; and in fact noticed the issue some revisions ago, including an autobuild revision

comment:6 by Itms, 9 years ago

Mh, maybe you disabled cheats for one game and now that the game settings are remembered they are still disabled?

comment:7 by tau, 9 years ago

SP mode has no such setting at all, shouldn't they always work in SP? (In MP mode cheats work fine, if i switch them on.)

comment:8 by Niek, 9 years ago

I can't reproduce it. (tried both on Windows 8.1 and 7). Cheats work just fine here.

comment:9 by tau, 9 years ago

I actually have found what caused this; for some reason matchsettings.json didn't contain "CheatsEnabled":true setting, and this never was rewritten. Don't know yet how this happened though.

by Alex, 9 years ago

Attachment: keepcheatsenabled.patch added

Although I couldn't imagine a case where cheats become disabled in singleplayer, have a patch.

comment:10 by Stan, 9 years ago

Keywords: review patch added
Summary: Cheats don't work in SP[PATCH] Cheats don't work in SP

comment:11 by Itms, 9 years ago

Owner: set to Itms
Resolution: fixed
Status: newclosed

In 16346:

Some hacks to fix game setup persisting problems, patch by @aBothe.
Fixes #3033, #3034.

The whole gamesetup.js system should be eventually re-factored to remove those hacks and to improve the robustness of the code: see #3049.

comment:12 by Itms, 9 years ago

Keywords: review patch removed

Thanks for the patches.

Note: See TracTickets for help on using tickets.