Jump to content

(HELP)Security level


Recommended Posts

Posted

Hi all me want to apply one patch and function only to gm lvl3 and me want to i use on gm lvl 5 and need new security level where i must make ? Thx for any one help :-):):):)

Posted

Lookup in your mangos core this part "enum AccountTypes" then replace the one u have with this one:

enum AccountTypes
{
       SEC_PLAYER = 0,                    //Standard Player
   SEC_MODERATOR = 1,        //Standard Moderator
   SEC_GAMEMASTER = 2,        //Stardard GameMaster
   SEC_DEVS = 3,            //Devs
   SEC_HEADGM = 4,            //Head GMs
   SEC_JRADMIN = 5,                //JR Admins
   SEC_ADMINISTRATOR = 6,    //Admins
   SEC_CONSOLE = 7            // must be always last in list, accounts must have less security level always also
};

thats an easy fix but it works well for me.

you will have 6 GM levels ingame, you can set the commands for each level in the database table "command"

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use