Quote:
Originally posted by Stefan
Folder names are not accepted when they contain spaces, only a-z, A-Z, 0-9 and _ are currently allowed, to keep the filename resolving easy and to disallow 'filepath hacks'. I guess it will be better to rename the Weapon folder.
I will check the thing with disablepause
|
There is also a problem when you need to make the weapons inside a bag (folder, whatever) undeletable.
For example *Tools/Hammer.
The right "rw WEAPONS/*Tools/*" does not work, obviously because in the filesystem you cannot enter a wildcase for the foldername.
I think there should be an exception in the rights system: Whenever it starts with WEAPONS, NPCS or CLASSES the part after the first slash is not treated as a path, but as a name.
When the NPC rights were first added I thought I had access to all the weapons by having the right "rw WEAPONS/*". Obviously I was wrong, I had no access to all the weapons inside of bags. because of the asterisk inside the bag name, I couldn't get access to them either. So in the end I disabled the new rights system again.