View Single Post
  #1  
Old 09-10-2010, 09:51 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
make TServerPlayer vars read only

I think it might be highly beneficial to be able to allow a server to make the default TServerPlayer vars such as hearts, fullhearts, arrows, darts, AP, etc read only except for defined NPCs/Weapons/Classes.

Would then allow the server to make a class or something that players could be joined to to handle healing, adjusting arrows and stuff (which is personally preferable because doing so would allow easier changes to custom vars later on should defaults be replaced with something custom)

Would also allow for easier logging to weed out abusive scripts by logging time, level, player, and what called it via callstack
Reply With Quote