Anti-Cheap Detection Script?

Started by Froggerka, August 25, 2015, 01:24:36 AM

Previous topic - Next topic

Froggerka

Does anyone have a chunk of code that I can put into my character to activate an attack?  I've seen it done before, so if anyone has something that works as a trigger when a cheap character shows up, I'd be greatful!  Seriously, every character I fight is cheap, and I'm too lazy to take them out... :/

Sheng Long

[state -1, 234]
type = ChangeState
trigger1 = Movetype = H
ignorehitpause = 1
value = ;(Attack statedef # here)
ctrl = 0


This will place character into attack state once its been hit by anything.


Oh, OH you wanted anti cheapness?

"You must defeat my flaming
dragon punch to stand a chance."

Sinnesloschen

Quote from: Alpaca-San on December 27, 2014, 08:50:31 AM
Is finding MUGEN to be more enjoyable to play when you're not wearing clothes an underrated opinion?

Demitri

A lot of cheap characters these days aren't affected by F1.

Darkflare

The only cheap characters not affected by F1 are the obvious ones intended to be stupid cheap anyway.

You can probably use name or author triggers to activate your anti cheap code when those characters show up.

Honestly, it's a waste of time adding such a code. Cheap characters like that are pretty awful and generally not worth keeping in your roster. The fact that you said every character you face is cheap puts into question your actual skill.

MR. IBZS II

There's also cheap palettes, too. Mainly just avoid using Start colors, or take them out of .def file. They're mostly the 10-12th ones.

Duos.act

Quote from: Darkflare on August 25, 2015, 02:49:48 AM
The fact that you said every character you face is cheap puts into question your actual skill.

How the hell do you determine someone's fighting game skill from their ability to fight a Mugen AI

Froggerka

#7
I can agree with this, most AI's are stupidly OP...

      Posted: August 25, 2015, 06:04:19 AM
Quote from: Darkflare on August 25, 2015, 02:49:48 AM
The fact that you said every character you face is cheap puts into question your actual skill.
I didn't say THAT, I  meant characters like Chuck Norris.

Edit: OK, maybe I did...  Oops.

Darkflare

Quote from: Duos.act on August 25, 2015, 04:03:52 AM
Quote from: Darkflare on August 25, 2015, 02:49:48 AM
The fact that you said every character you face is cheap puts into question your actual skill.

How the hell do you determine someone's fighting game skill from their ability to fight a Mugen AI

I question that all the time, but I was going for the fact that he said EVERYTHING was cheap.

Froggerka

Since this is drifting off-topic, if anyone has a script I can put into my character that activates when a certain opponent enters the match, please post it.  I didn't mean for it to be functional, it was just going to be a cool addition to my character.  Of course, a script like this wouldn't be useful at all because most players simply take out their cheap characters.  I like having fights between cheap characters to see which one is worse. XD  That is why I still have a few characters like that in my roster.

Cybaster

Open the CNS file of your character and search for [statedef -2]

Just under this line, copy-paste this piece of code (by completing the trigger with the name of the opponent you want the code to work against. You can find this name in the DEF file, which may be different from the display name in-game) :

[state 0, IMA STRONG !]
type = lifeset
trigger1 = enemy,name = " XXXXXX "
value = 10000000000
ignorehitpause = 1

AlexSin

#11
I think he means something along the lines of Supreme Gogeta by TOPS which has an Anti-Cheap mode. What Darkflare says is true.
Quote from: Darkflare on August 25, 2015, 02:49:48 AM
You can probably use name or author triggers to activate your anti cheap code when those characters show up.
Honestly, it's a waste of time adding such a code. Cheap characters like that are pretty awful and generally not worth keeping in your roster.
But check TOPS's characters if you want to find it (open his DBZ characters). Just search for something like authorname and/or name. You should find the chunk of code you need.
Maybe there are more people who did this, but I can only remember TOPS's Gogeta, because at the beginning of a fight a line saying "Anti-cheap mode" popped up.

Quote from: Froggerka on August 25, 2015, 01:24:36 AM
...and I'm too lazy to take them out... :/
Are you more lazy to take out the characters, or to put the code in every character? I'm not trying to offend you, but think about it. It would require much more time to add the code than to remove the characters, especially for someone that (I presume) doesn't know much about coding.
Or is it just one character? If yes diregard this.

Froggerka

Thanks for the code, Cybaster.  It was only the fact that I didn't know which trigger to use that got me confused.

And yes, it's only one character.  That came out more emphasized than I'd expected.