How do i make a new staff grade?

Results 1 to 16 of 16
  1. #1
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    How do i make a new staff grade?

    I mean like make a new grade the same like admin and dev and they will have the same power?


  2. #2
    Yaaay! Tannous is offline
    MemberRank
    Jul 2012 Join Date
    KonohaLocation
    840Posts

    Re: How do i make a new staff grade?

    here you go making new grade: http://forum.ragezone.com/f497/tutor...2011-a-825732/
    and for fixing the unmasking in it: http://forum.ragezone.com/f497/tut-u...-1-5-a-870006/

    Anyways why would you make new staff grade there are already 3 without making any new ones ... but the links I gave may help ! PROBABLY XD

  3. #3
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    I don't I just want it. :D thanks

    Ifi want just adding a new grade then if i don't wanna use the unmasking tut can i? There won't be any error?

    Gunz 1.5 Repack By jur13n already unmask rite? The repack #2 so no no need to use the unmasking tut?

  4. #4
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: How do i make a new staff grade?

    IsAdmin

  5. #5
    Account Upgraded | Title Enabled! KeyTrix is offline
    MemberRank
    Feb 2012 Join Date
    EverywhereLocation
    268Posts

    Re: How do i make a new staff grade?

    Quote Originally Posted by xTrafx View Post
    I don't I just want it. :D thanks

    Ifi want just adding a new grade then if i don't wanna use the unmasking tut can i? There won't be any error?

    Gunz 1.5 Repack By jur13n already unmask rite? The repack #2 so no no need to use the unmasking tut?
    It's gonna give you some errors, when you try to type something in lobby chat or game room it will show you a random symbols so I recommend you follow the Fix tutorial as well.

  6. #6
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    Okay i already fix it now



    this how do i make it show color on scoreboard?

  7. #7
    Yaaay! Tannous is offline
    MemberRank
    Jul 2012 Join Date
    KonohaLocation
    840Posts

    Re: How do i make a new staff grade?

    Hah Good, nad btw WTF your sword xD .... and qet123 told u how to make it as staff .. above ;)

  8. #8
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    soo if i the color to show on my scoreboard i have to make it as a staff rank? and yeah i got it from DG xD

  9. #9
    Account Upgraded | Title Enabled! KeyTrix is offline
    MemberRank
    Feb 2012 Join Date
    EverywhereLocation
    268Posts

    Re: How do i make a new staff grade?

    Quote Originally Posted by xTrafx View Post
    soo if i the color to show on my scoreboard i have to make it as a staff rank? and yeah i got it from DG xD
    Not really necessary, you need to color your custom grades in order to have it colored in scoreboard, it doesn't have to be a staff rank it could be a colored grade with no admin rights.

    Quote Originally Posted by Tannous View Post
    Follow the tutorials above.

  10. #10
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    Quote Originally Posted by KeyTrix View Post
    Not really necessary, you need to color your custom grades in order to have it colored in scoreboard, it doesn't have to be a staff rank it could be a colored grade with no admin rights.


    Follow the tutorials above.
    If i want to add some staff grade? How? Just like qet said change it to IsAdmin instead of IsVip or something i change it but i got an error while building it.

  11. #11
    Account Upgraded | Title Enabled! KeyTrix is offline
    MemberRank
    Feb 2012 Join Date
    EverywhereLocation
    268Posts

    Re: How do i make a new staff grade?

    Post the error logs in Output.

  12. #12
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    Did i do anything wrong in this? i want the headstaff to be admin

    MMatchObject.h
    Code:
    {
    	MMUG_FREE			= 0,	// ¹«·á °èÁ¤
    	MMUG_REGULAR		= 1,	// Á¤¾× À¯Àú
    	MMUG_STAR			= 2,	// ½ºÅ¸À¯Àú(°ÔÀÓ¯)
    	MMUG_CHAT_LIMITED	= 5,  //Mute
    	MMUG_VIP			= 10,	// VIP
    	MMUG_VIP1			= 11,	// VIP1
    	MMUG_VIP2			= 12,	// VIP2
    	MMUG_VIP3			= 13,	// VIP3
    	MMUG_HEADSTAFF		= 256,	// HEADSTAFF
    
    	MMUG_CRIMINAL		= 100,	// Àü°úÀÚ
    	MMUG_WARNING_1		= 101,	// 1Â÷ °æ°í
    	MMUG_WARNING_2		= 102,	// 2Â÷ °æ°í
    	MMUG_WARNING_3		= 103,	// 3Â÷ °æ°í
    	MMUG_PENALTY		= 105,	// ±â°£ Á¤Áö
    
    	MMUG_EVENTMASTER	= 252,	// À̺¥Æ® ÁøÇàÀÚ
    	MMUG_BLOCKED		= 253,	// »ç¿ë Á¤Áö
    	MMUG_DEVELOPER		= 254,	// °³¹ßÀÚ
    	MMUG_ADMIN			= 255	// °ü¸®ÀÚ
    zCharacter.cpp
    Code:
    bool ZCharacter::IsAdminName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_ADMIN)
    		return true;
    	return false;
    }
    bool ZCharacter::IsAdminName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_HEADSTAFF)
    		return true;
    	return false;
    }
    bool ZCharacter::IsDeveloperName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_DEVELOPER)
    		return true;
    	return false;
    }
    bool ZCharacter::IsEventMasterName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_EVENTMASTER)
    		return true;
    	return false;
    zCharacter.h
    Code:
    	const char *GetUserName()			{ return m_pMUserAndClanName->Ref().m_szUserName;	}		// ¿î¿µÀڴ ó¸®µÊ
    	const char *GetUserAndClanName()	{ return m_pMUserAndClanName->Ref().m_szUserAndClanName; }	// ¿î¿µÀڴ Ŭ·£Ç¥½Ã ¾ÈÇÔ
    	bool IsAdminName();
    	bool IsDeveloperName();
    	bool IsEventMasterName();
    	bool IsMuteName();
    	bool IsVip3Name();
    	bool IsVip2Name();
    	bool IsVip1Name();
    	bool IsVipName();
    	bool IsAdminHide()			{ return m_dwStatusBitPackingValue.Ref().m_bAdminHide;	}
    	void SetAdminHide(bool bHide) { m_dwStatusBitPackingValue.Ref().m_bAdminHide = bHide; }
    zColorTable.h
    Code:
    #define ZCOLOR_ADMIN_NAME			0xFFFF6A00 //Admin Color
    #define ZCOLOR_HEADSTAFF_NAME		0xFFE11919 //HeadStaff Color
    #define ZCOLOR_DEVELOPER_NAME		0xFF1BEBE4 //Developer Color
    #define ZCOLOR_EVENTMASTER_NAME		0xFF3BDA26 //Police Color
    #define ZCOLOR_VIP3_NAME			0xFF106060 //VIP3 Color
    #define ZCOLOR_VIP2_NAME			0xFFFF00B3 //VIP2 Color
    #define ZCOLOR_VIP1_NAME			0xFF9900FF //VIP1 Color
    #define ZCOLOR_VIP_NAME				0xFF002BFF //VIP Color
    #define ZCOLOR_MUTE_NAME			0xFF3D3D3D //Mute Color
    zCombatInterface.cpp
    Code:
    		if(pCharacter->IsAdminName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_ADMIN_NAME);
    
    		if(pCharacter->IsAdminName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_HEADSTAFF_NAME);
    
    		if(pCharacter->IsDeveloperName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_DEVELOPER_NAME);
    
    		if(pCharacter->IsEventMasterName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_EVENTMASTER_NAME);
    
    		if(pCharacter->IsMuteName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_MUTE_NAME);
    
    		if(pCharacter->IsVipName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_VIP3_NAME);
    
    		if(pCharacter->IsVipName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_VIP2_NAME);
    
    		if(pCharacter->IsVipName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_VIP1_NAME);
    
    		if(pCharacter->IsVipName())
    			m_pTargetLabel->SetTextColor(ZCOLOR_VIP_NAME);
    zGame.cpp
    Code:
    	if(gid == MMUG_DEVELOPER) 	{ 
    		UserNameColor = MCOLOR(60,255, 0); 
    		return true; 
    	}
    	else if(gid == MMUG_ADMIN) {
    		UserNameColor = MCOLOR(0,255, 119); 
    		return true;
    	}else if(gid == MMUG_HEADSTAFF) {
    		UserNameColor = MCOLOR(255,25, 25);
    		return true; 
    	}else if(gid == MMUG_CHAT_LIMITED) {
    		UserNameColor = MCOLOR(61,61, 61);
    		return true; 
    	}else if(gid == MMUG_EVENTMASTER) {
    		UserNameColor = MCOLOR(255,196, 0); 
    		return true; 
    	}else if(gid == MMUG_VIP3) {
    		UserNameColor = MCOLOR(0,174, 255); 
    		return true; 
    	}else if(gid == MMUG_VIP2) {
    		UserNameColor = MCOLOR(162,255, 0); 
    		return true; 
    	}else if(gid == MMUG_VIP1) {
    		UserNameColor = MCOLOR(0,43, 255); 
    		return true; 
    	}else if(gid == MMUG_VIP) {
    		UserNameColor = MCOLOR(244,255, 36); 
    		return true; 
    	}
    Last edited by xTrafx; 01-12-12 at 03:58 AM.

  13. #13
    Account Upgraded | Title Enabled! KeyTrix is offline
    MemberRank
    Feb 2012 Join Date
    EverywhereLocation
    268Posts

    Re: How do i make a new staff grade?

    Quote Originally Posted by xTrafx View Post
    Did i do anything wrong in this? i want the headstaff to be admin

    zCharacter.cpp
    Code:
    bool ZCharacter::IsAdminName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_ADMIN)
    		return true;
    	return false;
    }
    bool ZCharacter::IsAdminName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_HEADSTAFF)
    		return true;
    	return false;
    }
    bool ZCharacter::IsDeveloperName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_DEVELOPER)
    		return true;
    	return false;
    }
    bool ZCharacter::IsEventMasterName()
    {
    	if(m_MInitialInfo.Ref().nUGradeID == MMUG_EVENTMASTER)
    		return true;
    	return false;
    }
    bool ZCharacter::IsHeadStaffName()
    {
    if(m_MInitialInfo.Ref().nUGradeID == MMUG_HEADSTAFF)
    return true;
    return false;

    not IsAdmin

    also, where's the ZObserver,Zminimap?

  14. #14
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    so if i wanna make it admin how?

  15. #15
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: How do i make a new staff grade?

    IsAdminGrade

  16. #16
    Proficient Member xTrafx is offline
    MemberRank
    Feb 2012 Join Date
    152Posts

    Re: How do i make a new staff grade?

    Quote Originally Posted by qet123 View Post
    IsAdminGrade
    Okay now already add it on zMyInfo but i can't use any command ingame T.T how can i make the grade that can use admin command such as /admin_wall , /admin_ban etc
    Last edited by xTrafx; 01-12-12 at 09:42 AM.



Advertisement