The Dink Network

Reply to Re: stopper

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 20th 2008, 12:04 AM
fairy.gif
Someone
Peasant He/Him Australia
 
I don't know how the above mentioned DMODs do it, but the way that immediately came to mind is to make duplicates of each of the stat variables. Whenever your scripts change one, make sure they change the duplicate too. At times check whether the stat variables are the same as the duplicates. If they are not, the player is cheating. Encrypt ('compile') the scripts so people can't find the duplicate variable names.

If you are really anal about it, you could even put a loop in a script to check it every 5s or so, and attach that script to every screen. For &life, update the duplicate every loop after checking if &life is more than the duplicate. &life is an exception because it is modified internally.