ID:145064
 
Problem description:
i need help with a Anti-EZing coding program, there are too many Ezers on Naruto Way of The Shinobi, anyone who helps will be credited.

Whats EZing?
In response to National Guardsmen
I believe he means "EZ macroing". Its when a player downloads a program that records key and mouse movements and plays them back as many times as you type in. So a player can be leveling and training by just recording their movements in order to train, and having the "EZ macro" program play them back. The player can then go watch tv, shower, do anything while his character gets stronger.
In response to Anthony7
yeah, im not exactly sure how to code something that will protect against EZing
In response to Axerob
Axerob wrote:
yeah, im not exactly sure how to code something that will protect against EZing

Make something that's pointless to macro. Click on a "train" verb a million times? Not so fun. Having to climb a mountain to find a master who will give you assorted tasks to complete as training? Better, as are minigames/puzzles. There are lots of different ways of making a game so that macroing either doesn't work, or that you wouldn't want to do it. Try searching the BYOND forums for some ideas.
In response to Jon88
Why not put a variable in it? And if the variable goes over, say, 10, they get a few minute ban, or are unable to train or something.

mob
verb
Train()
var/EZ = 0
EZ++
/*Put other variables here, like to tell if they are resting or not, and not allow it.*/
usr<<"You must wait 1 and a half seconds before training again...Or else..."
usr.Str+rand(0,6)
sleep(15)
EZ = --
if(EZ>=10)
usr<<"GAH! YOU FOOL! STOP MACROING!"
del usr//or put your ban code here...

If a player were to click it, they would know to wait.
In response to Dead_Demon
Dead_Demon wrote:
Why not put a variable in it? And if the variable goes over, say, 10, they get a few minute ban, or are unable to train or something.

Because training verbs are boring anyways. If a large portion of the players are macroing away a supposedly major portion of the game, then there's a design problem somewhere.
In response to Jon88
Yeah, well, gives him time to think of quests and stuff, while preventing macroing!
In response to Axerob
Make a game that isn't played by repeating the same key sequences over and over?
In response to Dead_Demon
Because stuff like that is really annoying and makes your game look like crap, mostly.