View Single Post
  #3  
Old 09-10-2010, 06:49 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by xAndrewx View Post
I don't see the point? If you wanted you could do custom functions to represent the same thing (if that's what you're going for...)
The 'major' point is to protect the server from rogue LATs and other malicious behavior by locking the modification of a variable to a certain script. So only your class script could make changes to it. Would also force the scripter to use a certain API instead of a direct call.

I'd personally want something like this to go even further and be able to lock variables like.. clientr.item.* and so on.

I.e:

protectedvariables=player.rupees,"playerfunctions_ money,-MoneySystem"
__________________
Quote:
Reply With Quote