Jump to content

hi gm rank


Guest dabyv

Recommended Posts

hi gays thank you for helping..

and my question : how can i have custom gm rank level? for simple 10 gm rank level

and i changed "src\\shared\\Common.h" file in source files to

{
   SEC_PLAYER         = 0,
   SEC_MODERATOR      = 1,
   SEC_GAMEMASTER     = 2,
   SEC_ADMINISTRATOR  = 3,
   SEC_ADMINISTRATOR2 = 4,
   SEC_ADMINISTRATOR3 = 5,
   SEC_ADMINISTRATOR4 = 6,
   SEC_ADMINISTRATOR5 = 7,
   SEC_CONSOLE        = 8                                  // must be always last in list, accounts must have less security level always also

and.... not work when i change command rank in command table in mangos sql command not work !

where i have to change to do this ?

thanks gays

Link to comment
Share on other sites

yes i set proper sec level and is not worck like when i change sec level and dont change common.h!

and is defrent when i set like this?

   SEC_PLAYER               = 0,
   SEC_MODERATOR        = 1,
   SEC_GAMEMASTER       = 2,
   SEC_ADMINISTRATOR   = 3,
   SEC_ADMINISTRATOR   = 4,
   SEC_ADMINISTRATOR1 = 5,
   SEC_CONSOLE             = 6

Link to comment
Share on other sites

This worked for me, using it on my server.

enum AccountTypes
{
   SEC_PLAYER         = 0,
   SEC_MODERATOR      = 1,
   SEC_MODERATOR_LEADER     = 2,
   SEC_GAMEMASTER     = 3,
   SEC_GAMEMASTER_LEADER      = 4,
   SEC_ADMINISTRATOR  = 5,
   SEC_CONSOLE        = 6                                  // must be always last in list, accounts must have less security level always also
};

Link to comment
Share on other sites

×
×
  • 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