Hello. I have a problem. After typing the command in the game, gives me such a thing:
How to solve this problem?
(sorry for my English )
Problem with authorization
Moderators: POL Developer, Distro Developer
Re: Problem with authorization
Uses .setauthcode
Re: Problem with authorization
Hello. I have another problem. After typing .setauthcode, pol gives me a question "Write old Authorization...". Where can i find this pass...
Re: Problem with authorization
I got other problem. After typing .setauthcode i got msg Unknown command. What should i do or where i can manually change it or disable?
Re: Problem with authorization
The quickest way to disable this is to open the file security.inc found in \pol\scripts\include and make the following change:
I do not know if this will allow non-staff characters to have access to the staff commands. You should experiment with player level characters to see if they are restricted from those commands. I presume this authorization system was put into place because some staff level commands are not in the hierarchical directories where they are supposed to be.
Code: Select all
function AuthorizationCode( mobile )
// The following line causes the function to always authorize "staff" commands when entered.
return 1;
if( GetObjProperty( mobile, "#AuthCodeGiven" ));
return 1;
endif