Can't get cheat mode

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
Schmudi
Greenhorn
Posts: 8
Joined: 26 Apr 2012, 10:20
Location: Germany

Can't get cheat mode

Post by Schmudi »

Hi there,

I also have some trouble with the Cheat mode.
----------------------------------------------------------------------------
My system:
Windows XP Professional SP3
Warzone2100 v2.3.9
comandline to start:
"C:\Programme\Warzone 2100-2.3.9\warzone2100.exe" --cheat

QWERTZ-keyboard, system (windows) running in German
----------------------------------------------------------------------------

Program starts without problem
I start a single player campaign game
I press SHIFT+BACKSPACE
WZ2100 tells me, that CHEATMODE is activated
WZ2100 tells me, that DEBUGMODE is active

The shortcuts (e.g. Alt+x) are working very fine.

But I canot get a "command line" to enter the cheat codes. Of course I try BACKSPACE and I try step by step all other keys, but never a command line opens.

Maybe someone can give me a tip what I should do. Would be great.

See you
Schmudi
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Can't get cheat mode

Post by NoQ »

The key is "Enter".
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: Can't get cheat mode

Post by aubergine »

Not sure if it's any help but here's vid showing a few cheats being entered: http://www.youtube.com/watch?v=zv4QTeNXaZQ
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
crass
Trained
Trained
Posts: 113
Joined: 21 Mar 2012, 02:26

Re: Can't get cheat mode

Post by crass »

why dig up a 1+ year post? :roll:
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: Can't get cheat mode

Post by aubergine »

it's the latest craze crass (:
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Schmudi
Greenhorn
Posts: 8
Joined: 26 Apr 2012, 10:20
Location: Germany

Re: Can't get cheat mode

Post by Schmudi »

I am working in the moment in China, so youtube is not working here :cry: . Even via web-proxy it is not reachable. I think the company is blocking it.

I post in a one year old because a) it is the last and b) I hate if someone open 1425 threads with the same meaning/problem :)

What do you mean with "enter" is the key. I try the key with "Enter" written on it (NumPad) and also the Enter key with the arrow.
My Laptop is a acer TravelMte 7730.

Is it possible, that this chats are not working because I installed in german (because I am a German :D )?

Anyway, thanks for reply!

Regs
Schmudi
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Can't get cheat mode

Post by vexed »

Keyboard enter key, also called return, carriage return, the "big long button on the right above the shift key", looks like this image
imagesKey.jpg
Oh, also, we don't really like necro threads...
You do not have the required permissions to view the files attached to this post.
/facepalm ...Grinch stole Warzone๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
Schmudi
Greenhorn
Posts: 8
Joined: 26 Apr 2012, 10:20
Location: Germany

Re: Can't get cheat mode

Post by Schmudi »

Ah, know I know what you mean. I just see that I wrote nonsens O_o
Of course I meant ENTER instead of Backspace. My keypad is looking like following picture.
I marked my two Enter keys. I tried both, but didn't work :cry:

I think it is because of german/english keypad or german/english installation.

In anyway the game is fuc*** great :D

Thanks
Schmudi

Edit: attachment
You do not have the required permissions to view the files attached to this post.
Last edited by Schmudi on 30 Apr 2012, 07:50, edited 1 time in total.
Cyp
Evitcani
Evitcani
Posts: 784
Joined: 17 Jan 2010, 23:35

Re: Can't get cheat mode

Post by Cyp »

Hmmm, just to confirm, the Enter key on the left (with the arrow on it) does work in other programs, doesn't it? (The key isn't defective, that is?)
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Can't get cheat mode

Post by vexed »

Um, run Warzone with --debug=input then reset your keymap, (hit trash icon a few times) then in the game, hit each enter key a few times, then exit out of game, and post the logs.
Last edited by vexed on 05 May 2012, 05:09, edited 1 time in total.
Reason: fixed typo
/facepalm ...Grinch stole Warzone๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
Schmudi
Greenhorn
Posts: 8
Joined: 26 Apr 2012, 10:20
Location: Germany

Re: Can't get cheat mode

Post by Schmudi »

First of all, the enter key (both) are working :-)

Try to start with: "C:\Programme\Warzone 2100-2.3.9\warzone2100.exe" --debug=LOG_INPUT
caused a crash with enclosed fault message.

I found the logs directory, emtpy it and try again to start. Again same fault. Logs directory stays empty.

If I start normal, there are created two logs in the log directory (*.log and *.txt)

I deleted the keymap file and start the game normally, so keymap is renewed.

:hmm: What else ?

Do anybody know if it is possible to use the enter key like an ASCII Code (e.g. Alt+0128 --> โ‚ฌ)?
Found it, it's ALT+013, in Word and Excel it is working. But not in WZ O_o

Waiting for your reply, ladies and gentleman :)
You do not have the required permissions to view the files attached to this post.
crass
Trained
Trained
Posts: 113
Joined: 21 Mar 2012, 02:26

Re: Can't get cheat mode

Post by crass »

I am pretty sure he meant --debug=input
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Can't get cheat mode

Post by Berg »

using the command line "./src/warzone2100 --help"
you can see all your startup options
Usage: ./src/warzone2100 [OPTION...]
--configdir=configuration directory Set configuration directory
--datadir=data directory Set default data directory
--debug=debug level Show debug for given level
--debugfile=file Log debug output to file
--flush-debug-stderr Flush all debug output written to stderr
--fullscreen Play in fullscreen mode
--game=game-name Load a specific game
-h, --help Show this help message and exit
--mod=mod Enable a global mod
--mod_ca=mod Enable a campaign only mod
--mod_mp=mod Enable a multiplay only mod
--noassert Disable asserts
--crash Causes a crash to test the crash handler
--savegame=savegame Load a saved game
--window Play in windowed mode
--version Show version information and exit
--resolution=WIDTHxHEIGHT Set the resolution to use
--shadows Enable shadows
--noshadows Disable shadows
--sound Enable sound
--nosound Disable sound
--join=host connect directly to IP/hostname
--host go directly to host screen
--texturecompression Enable texture compression
--notexturecompression Disable texture compression
--fallback-mode Only use OpenGL 1.5




--debug=debug level Show debug for given level <---level can = all
--debugfile=file Log debug output to file
User avatar
Schmudi
Greenhorn
Posts: 8
Joined: 26 Apr 2012, 10:20
Location: Germany

Re: Can't get cheat mode

Post by Schmudi »

Ah, OK. Thanks.

Here is the file.

I started the game. Pressed 5 times the small "enter" key
pressed backspace
pressed 5 times the enter key (carriage return, with the arrow).

Log file looks good. It says both of the key is "enter".

Hope it's helpfull for you.

regs
Schmudi

EDIT:
I'm on my way back from China to Germany, so it takes a while until I play again. Nevertheless I will read daily this forum to see whats going on.
You do not have the required permissions to view the files attached to this post.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Can't get cheat mode

Post by vexed »

Whoops, sorry about the typo :oops:

Anyway, input |09:02:36: [inputHandleKeyEvent] Key Code (pressed): 0x10f, 271, [?] SDLkey=[enter] So it is seeing you are pressing the key OK.

Do shift+backspace, that enters debug mode (verify by doing ctrl-o for the debug dialog), assuming that works, then you should have no problem pressing enter, and typing out the cheat you want, and hit enter again to end the command.
/facepalm ...Grinch stole Warzone๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.