Page 1 of 1

CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 18:06
by xazurex
I can't enable cheat mode, i have reset keymapping whit trash button, holded left shift and backspace - pressed enter - code - enter, and nothing.... and whit the command line --cheat. So why dont' work??? i'm blocked in the missoon when the ship escape myssion! don't have save game for restore! why they don't have put the restart level??? :(

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 18:49
by psychopompos
"C:\Program Files (x86)\Warzone 2100\warzone2100.exe" --cheat --fullscreen --mod_ca Warzone_hardcore_V2.0.wz
works for me :-S

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 19:13
by xazurex
Still don't work... i need talk whit a developer...

Someone can post the key mapping that correspond to left shift + backspace??? In my default keyapping options don't appear this sequence.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 19:31
by xazurex
OMG!! this problme still onresolved since 2006??? wfk! dev team check it plz.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 19:50
by -Kosh-
xazurex wrote:Still don't work... i need talk whit a developer...

Someone can post the key mapping that correspond to left shift + backspace??? In my default keyapping options don't appear this sequence.
OMG!! this problme still onresolved since 2006??? wfk! dev team check it plz.
What are you talking about? Image
It works fine for everyone else.
You cannot set the shift+backspace to something else unless you compile the game yourself.

You do not even tell the devs what system you have or any information that is helpful. Take a chill pill and take a deep breath and explain in detail what it does and what your command line or shortcut is. Paste it exactly like you enter it.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 20:28
by xazurex
Ok i have investigated more... (my system is Windows xp pro sp2)

MY CMD : "C:\Programmi\Warzone 2100\warzone2100.exe" --cheat

I have found this in the source:

keyAddMapping(KEYMAP___HIDE,KEY_LSHIFT,KEY_BACKSPACE,KEYMAP_PRESSED,kf_ToggleDebugMappings, "TOGGLE Debug Mappings");

Then i checked kf_ToggleDebugMappings a function pointer to enable the bool variable

if (bAllowDebugMode) //AKA for the config pharser : debugmode=1 And i have this in the config file... so continue...
{
if(getDebugMappingStatus())
{
processDebugMappings(false);
}
else // Do it when i have pressed KEY_LSHIFT + KEY_BACKSPACE
{
game_SetValidityKey(VALIDITYKEY_CHEAT_MODE);
processDebugMappings(true);
}

etc...
but what is this comment?

// NOTE THIS!!!!!!!
// available: ctrl+l

keyAddMapping(KEYMAP___HIDE,KEY_LSHIFT,KEY_BACKSPACE,KEYMAP_PRESSED,kf_ToggleDebugMappings, "TOGGLE Debug Mappings");

Maiby a developer can respond...

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 20:49
by Per
I don't understand the question. The code you pasted seems correct, and cheat code has worked for everyone I've talked to the last few years. Are you doing it right? Hold in shift then press backspace, and a message should appear. Only then do anything else.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 20:53
by xazurex
eheh :) it's not easy.,, i have try it in all mode but nothing appears and when i type the cheat code nothing happens...

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 04 Oct 2009, 20:55
by xazurex
Can be the keyboard layout? my is IT but i have try US, EN too and still no text output in campain gamplay.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 05 Oct 2009, 00:59
by Buginator
xazurex wrote:Can be the keyboard layout? my is IT but i have try US, EN too and still no text output in campain gamplay.
Hmm, different keymap?
Do --debug all and post the logs when you try to hit shift + backspace.

What keycode... well, I guess we will see.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 05 Oct 2009, 16:29
by xazurex
Ok uploaded whit flag "--debug all". Wha i have do:

Open the game...

- Pressed Single player whit Rigth mouse;
- New campaign whit Rigth mouse;
- Skip cinematic whit Rigth mouse;
- In game start pressed LSHIFT + SPACE; ONE time.
- Pressed esc.
- Quit whit Rigth mouse click.
- Exit program whit Rigth mouse click.

I hope help this. :)

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 05 Oct 2009, 19:45
by -Kosh-
xazurex wrote:Ok uploaded whit flag "--debug all". Wha i have do:
- In game start pressed LSHIFT + SPACE; ONE time.
I hope help this. :)
It is either shift key + BACKSPACE, not SPACE(BAR).
I Use Rshift + backspace key and it works.

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 05 Oct 2009, 19:59
by xazurex
In the previous post i mean "backspace" not space sry...

I have resolved editing manually the key mapping file :)

Re: CHEAT MODE DON'T WORK IN 2.2.3.0

Posted: 05 Oct 2009, 20:07
by -Kosh-
xazurex wrote:In the previous post i mean "backspace" not space sry...

I have resolved editing manually the key mapping file :)
How did you do that?
Source code modifications or something else since that file looks binary to me.

I just ask since other people might have the same problem as you.