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 |
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...)
HTML Code:
public function onHealPlayer(amount) { |
Quote:
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:
Quote:
|
ahhh- makes sense. suppport++
thanks :) |
Quote:
|
Levels for guild houses should always be checked in a text editor before being uploaded; UN always has problems with stuff being uploaded due to thanks to lazy staff.
EDIT: I'll leave the typo, it's funny. I hate when people talk to me when I'm typing something on my phone, but I hate it even more when someone else has to halt our conversation to answer a text; so generally I try to split my conversation into two; and I'm pretty damn good at it. But not this time. |
Quote:
|
Quote:
|
Quote:
Quote:
|
I will probably post a generic class in the NPC Forum later that has functions for adjusting default player vars which will be a good starting point for anyone hoping to adopt such a system
|
bump
|
As a former Era manager, this would have been extremely useful.
|
Fear tactics might be useful in this case too. Notify all LATs that any abuse like what you're talking about would result in an immediate and permanent ban.
|
Quote:
It's a good start but it may need a little more constructiong upon before actually wanting to use this as an idea :S |
All times are GMT +2. The time now is 02:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.