Masked Udrade's staff

Results 1 to 6 of 6
  1. #1
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    sad Masked Udrade's staff

    Masked, no Unmasked please...

    i need Masked UGrade staff range. please help me!

    army_20131015_231709.jpg
    Last edited by Arenbunny; 26-10-13 at 09:44 AM.


  2. #2
    Account Upgraded | Title Enabled! Patrick2607 is offline
    MemberRank
    May 2013 Join Date
    The NetherlandsLocation
    345Posts

    Re: Masked Udrade's staff

    ZPlayerListBox.cpp Line 494,


    You will see this code:
    Code:
    if(GetUserGradeIDColor(nGrade,_color,sp_name)) {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    Replace it with this:
    Code:
    if(GetUserGradeIDColor(nGrade,_color,sp_name)) {
    //    if(GetUserInfoUID(puid,_color,sp_name,gid)) {
    sprintf(szLevel,"--");
    szRefName = sp_name;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    --------------------


    ZPlayerListBox.cpp Line 547


    You will see this code:
    Code:
    if(GetUserInfoUID(puid,_color,sp_name,gid)){
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    Replace it with this:
    Code:
    if(GetUserInfoUID(puid,_color,sp_name,gid)){
    sprintf(szLevel,"--");
    szRefName = sp_name;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    --------------------


    ZCombatInterface.cpp Line 2304,


    You will see this code:
    Code:
    if(pCharacter->IsAdminName()) {
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    pItem->SetColor(ZCOLOR_ADMIN_NAME);
    }
    else{
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    }

    Replace it with this:
    Code:
    if(pCharacter->IsAdminName()) {
    sprintf(pItem->szLevel,"--%s", ZMsg(MSG_CHARINFO_LEVELMARKER));
    pItem->SetColor(ZCOLOR_ADMIN_NAME);
    }
    else{
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    }
    This should do it. Good luck.

  3. #3
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Re: Masked Udrade's staff

    Quote Originally Posted by Patrick2607 View Post
    ZPlayerListBox.cpp Line 494,


    You will see this code:
    Code:
    if(GetUserGradeIDColor(nGrade,_color,sp_name)) {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    Replace it with this:
    Code:
    if(GetUserGradeIDColor(nGrade,_color,sp_name)) {
    //    if(GetUserInfoUID(puid,_color,sp_name,gid)) {
    sprintf(szLevel,"--");
    szRefName = sp_name;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    --------------------


    ZPlayerListBox.cpp Line 547


    You will see this code:
    Code:
    if(GetUserInfoUID(puid,_color,sp_name,gid)){
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    Replace it with this:
    Code:
    if(GetUserInfoUID(puid,_color,sp_name,gid)){
    sprintf(szLevel,"--");
    szRefName = sp_name;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

    --------------------


    ZCombatInterface.cpp Line 2304,


    You will see this code:
    Code:
    if(pCharacter->IsAdminName()) {
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    pItem->SetColor(ZCOLOR_ADMIN_NAME);
    }
    else{
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    }

    Replace it with this:
    Code:
    if(pCharacter->IsAdminName()) {
    sprintf(pItem->szLevel,"--%s", ZMsg(MSG_CHARINFO_LEVELMARKER));
    pItem->SetColor(ZCOLOR_ADMIN_NAME);
    }
    else{
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER));
    }
    This should do it. Good luck.

    My source is diferent

    see

    first code: ZPlayerListBox.cpp Line 494,

    #ifndef _UNMASK
    if(GetUserGradeIDColor(nGrade,_color,sp_name)) {
    // if(GetUserInfoUID(puid,_color,sp_name,gid)) {
    sprintf(szLevel,"--");
    szRefName = sp_name;
    bSpUser = true;
    }
    else
    #else
    if(GetUserGradeIDColor(nGrade, _color, sp_name)) {
    bSpUser = true;
    }
    #endif
    {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }

  4. #4
    Account Upgraded | Title Enabled! Patrick2607 is offline
    MemberRank
    May 2013 Join Date
    The NetherlandsLocation
    345Posts

    Re: Masked Udrade's staff

    Just replace that whole part

  5. #5
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: Masked Udrade's staff

    Quote Originally Posted by Patrick2607 View Post
    Just replace that whole part
    Rather just remove the definition for _UNMASK.

  6. #6
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Re: Masked Udrade's staff

    Quote Originally Posted by Solaire View Post
    Rather just remove the definition for _UNMASK.
    if I remove the identification unmask get error when compiling the source.



Advertisement