Cheat Command Help

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Kugrox
Member
Posts: 55
Joined: March 9th, 2008, 8:13 pm
Title: Demonoid Hacker
Location: Ask me personally.

Cheat Command Help

Post by Kugrox »

When I put jj's cheat pack into a map (I just saw the guide and figured out how to put it into any map myself.) How can I change the activator?
Not with-activator or whatever, but in the cheatpack how do I edit the activator?
User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: Cheat Command Help

Post by Kryptonyte »

In the first part, you will see the following...
string Activator="-cheats "

Change that to whatever you want, and that will be the activator.
Remember, it is case sensitive.
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.
Kugrox
Member
Posts: 55
Joined: March 9th, 2008, 8:13 pm
Title: Demonoid Hacker
Location: Ask me personally.

Re: Cheat Command Help

Post by Kugrox »

At the end of cheatpacks it also says something like Cheatzor= "-" or something, I didn't know if that had to correspond correctly or not, Let me show you what I mean

CAll TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)

Does this mean the activator needs a - in it?
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: Cheat Command Help

Post by JJ2197 »

Yes, the activator must start with a -
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: Cheat Command Help

Post by initialD »

or end it with a "-"
"<space><sacpe>cheats-" should work too.
^^
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Cheat Command Help

Post by weirdone2 »

You can't do it like that the trigger registers "-" if the "-" isn't first it won't pay it any heed. o.0
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: Cheat Command Help

Post by initialD »

I bet it will.
you can test it yourself, make all your command by putting the "-" behind it.
Why?
because:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
I wasn't practical, but just for fun, yes, you can put the commands like that.
lol
gold-
lumber-
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Cheat Command Help

Post by weirdone2 »

No you can't I don't even need to test it either as I know it doesn't, false means that it just doesn't have to be exact, as in it can have things after the cmd, however you still must have the registered cmd part first, and true just means it has to be exact.
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: Cheat Command Help

Post by JJ2197 »

Sorry weirdone... looks like your wrong... did some testing... You can put it where ever...
Like "In-between" "-first" and "last-"
I was always thinking this was true, but just
said it must start with, probably because that made sense to do
then putting it somewhere else (I mean really who would make it "cheats-" )
Well anyways it seems to register as long as you say -...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Cheat Command Help

Post by weirdone2 »

Since both of you agreed on this I went ahead and tested, my test simply yields results of what i've been saying I used the code below added on to my cheatpack below the locals in my main cheat function, I then typed "test-" which should have made it go I also typed "test -" "test -" and so fourth.

Code: Select all

if SubString(s,0,5)=="test"then
call DisplayTextToPlayer(p,0,0,"If you get this message then you just got owned, you stupid nubber.")
endif
Perhaps show me the code you used so I can test with yours?