• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Staff commands dont work on new grades

Junior Spellweaver
Joined
Nov 20, 2017
Messages
146
Reaction score
19
Hey Ragezone,

I've added a new grade by following this tutorial:
Unmasking&Adding Grades, everything worked correctly, but i wanted them to be staff grades, so i used this tutorial: Making The New Grade As Admin.

after i rebuild all, i logged into the server, but the "
IsAdminGrade" commands arent working.

can someone tell me if i forgot to add something?
 
Skilled Illusionist
Joined
Oct 3, 2011
Messages
300
Reaction score
48
PHP:
ZChat.cpp
Code:
				if ((ZGetMyInfo()->GetUGradeID() == MMUG_ADMIN) || 
					(ZGetMyInfo()->GetUGradeID() == MMUG_EVENTHOST) ||
					(ZGetMyInfo()->GetUGradeID() == MMUG_DEVELOPER) ||
					(ZGetMyInfo()->GetUGradeID() == MMUG_EVENTMASTER))
				{
					nCmdInputFlag |= ZChatCmdManager::CIF_ADMIN;
				}

gl
 
Upvote 0
Back
Top