Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-30-2004, 05:08 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Limits on NPC annoyingness.

I think the following server options should be added; while not vital they might prevent some fuss.

`disabledcommands'.
If a command is included in this list, it will not be executed but instead a warning will be logged that holds information about what script tried to; and possibly where that script comes from (to prevent some unknown script putnpc'ing scripts with forbidden commands).
For example, a server might decide that it does not need sendtorc or sendpm because it has only been abused or so, and thus easily get rid of it. Also, toweapons should be disabled before uploading old levels that possibly hax0r the weapons database.

`commandlimits'
As a means to limit the functionality of possibly abusive commands, a line like commandlimits=sendtorc=5,sendtonc=10,sendpm=2 would allow, in a timespan of ten seconds, only five lines sent to RC chat, ten lines to NC chat (more because of possible debugging messages ), and two PMs to one person.
Sadly this also prevents our nifty /npcnuke command on debug that goes like for (i = 0; i < 10000; i ++) sendpm omg die;, but I will have to deal with that.
There could possibly be other commands that can be limited, but I cannot think of any at the moment. Perhaps logging commands, but if you limit them you might possibly lose much information.


Also, it would be nice to have an RC chat command like /npcstartsleeping, so the NPC server can be made available to have its scripts edited, but they will not be executed until a real /npcstart is run. This prevents scripting that brings down the server immediately after its startup to prevent itself from being fixed.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.