![]() |
Server Option: noscripts (or classesonly?)
The idea is that, when enabled on a server, a level NPC (or putnpc[2] NPC), the only operations allowed are assignment to this. variables, calling exposed functions (maybe with a keyword?), and joining classes.
GS1: NPC Code: GS2: NPC Code: This would increase security immeasurably as level administration, etc, can have access to levels but not access to the scripts themselves, they can only control the configuration of those NPCs. This of course would not affect clientside scripts, weapons, or DB NPCs. Any comments? :) |
It's certainly an interesting idea. However, it may be better to select level prefixes to apply this to instead of all levels.
|
PHP Code:
PHP Code:
|
For Unholy nation there was the idea of making it possible to define new file types (like secure1) via the server options, where you define what should be allowed in those levels:
filerights_secure1=look,join In the folder config you would write something like that: secure1 *.nw Then all local npcs in levels belonging to that file type would only be able to change the basic look of the npc, and to join classes. It would probably be more interesting to be able to allow/deny more stuff, like using more functions or allowing only special functions, or only allow to join special classes, but for the start it could at least do something against those scripts that use putnpc2 to spawn staff npcs. At the end this could also be used to define rights for weapons or database npcs. Then we have rights for staff, and rights for the scripts |
Yeah, I hate this problem where people with level access can basically bypass the rights that they have (emulate set attributes through scripts).
|
yeah but people with NC access can bypass set attributes rights, warping rights, reseting rights, etc.
|
Quote:
|
Quote:
|
Yes, a scripter is more trustworthy than a level/gfx maker... Sure...
|
Quote:
Of course there will be some exceptions... |
Quote:
|
I don't think that scripters are more intelligent, but there are usually more level makers than scripters, and server owners often don't care alot about giving access to levels because they think "it's just some levels"
|
Scripters need the math skills for scripting, as well as the scripting knowledge of the lanuage they want to script in. How does this make them more trustworthy?
Doesn't really matter anyway... :p |
Math Skills more or less == Logic Skills.
Knowlegde == Wisdom. The fact that programmers require logic skill and wisdom would more or less orient the trust in that they can do logical and wise actions with the powers they are given. Although this is not the only circumstances towards trustworthiness, it does bring a good amount in itself. Although... Most of that trust is ill-earned, and the trust is usually abused. Tralala... |
Besides there aren't many "intelligent" scripters anymore so it doesn't work here.
On topic: Well, what's there to say, great idea! |
Quote:
|
Quote:
|
Corruption and Power-Hungery has NOTHING to do with intelligence. There are still some intellegent scripters out there... But why would they work for people they don't know, servers they don't support, people whom violate their morale guidelines, or a population/community they dislike.
Someone can be very intelligent, and corrupt... |
Quote:
|
No it isn't. Thats why I said it doesn't really matter in my second post. Also, as long as this doesn't affect levelmakers making scripts in levels (I mean like the normal ones, not some crazy stuff Kai does) then i'm all for it.
|
| All times are GMT +2. The time now is 09:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.