View Single Post
Old 03-12-2006, 12:38 AM   #14
MrApples
Banned
 
MrApples's Avatar
 
Join Date: Jul 2005
Posts: 343

Submissions (3)

MrApples is on a distinguished road (16)

Default

It can't respond to a chat event cause a cheat isn't condiered a chat message.

It has to be faster then every 1 second also to work right.

Trigger:
Or - Any (Conditions) are true
Collapse Conditions
(Fog of war is enabled) Equal to False
(Black mask is enabled) Equal to False

Add that condition to the first one.

Trigger:
Anti GoldCheat
Collapse Events
Time - Every 0.05 seconds of game time
Conditions
Collapse Actions
-------- PlayersPlaying is a Variable that keeps track of players currently playing, by adding at start, and removing when they leave. --------
Collapse Player Group - Pick every player in PlayersPlaying and do (Actions)
Collapse Loop - Actions
Set GoldCurrent[Player Number of (Plicked Player)] = ((Picked player) Current gold)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
GoldCurrent[Player Number of (Plicked Player)] - GoldBefore[Player Number of (Plicked Player)] Greater than 500(Or the lowest impossible amount gained in 0.05secs)
Collapse Then - Actions
Player - Set (Picked player) Current gold to GoldBefore[Player Number of (Plicked Player)]
Collapse Else - Actions
Set GoldBefore[Player Number of (Plicked Player)] = ((Picked player) Current gold)
MrApples is offline   Reply With Quote