Hide level.

Results 1 to 17 of 17
  1. #1
    Valued Member EvoGamers is offline
    MemberRank
    Nov 2012 Join Date
    102Posts

    Hide level.

    How to hide admin lvl ingame, gameroom and on lobby like Euro GunZ does ?

    Example

    -- Lv. EvoGamers


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

    Re: Hide level.

    Mask them in ZPlayerListBox and ZCombatInterface.

  3. #3
    Valued Member EvoGamers is offline
    MemberRank
    Nov 2012 Join Date
    102Posts

    Re: Hide level.

    Quote Originally Posted by Patrick2607 View Post
    Mask them in ZPlayerListBox and ZCombatInterface.
    Can you teach me how ? if you're not so busy

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

    Re: Hide level.

    In ZPlayerListBox find (Around line 494):
    Code:
    sprintf(szLevel,"%2d",nLevel);


    Replace with:
    Code:
    sprintf(szLevel,"--");


    In ZPlayerListBox find (Around line 547):
    Code:
    sprintf(szLevel,"%2d",nLevel);


    Replace with:
    Code:
    sprintf(szLevel,"--");


    In ZCombatInterface find (Around line 2304):
    Code:
    sprintf(pItem->szLevel,"%d%s",pCharacter->GetProperty()->nLevel,ZMsg(MSG_CHARINFO_LEVELMARKER));


    Replace with:
    Code:
    sprintf(pItem->szLevel,"--%s", ZMsg(MSG_CHARINFO_LEVELMARKER));

  5. #5
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Hide level.

    Quote Originally Posted by Patrick2607 View Post
    In ZPlayerListBox find (Around line 494):
    Code:
    sprintf(szLevel,"%2d",nLevel);


    Replace with:
    Code:
    sprintf(szLevel,"--");


    In ZPlayerListBox find (Around line 547):
    Code:
    sprintf(szLevel,"%2d",nLevel);


    Replace with:
    Code:
    sprintf(szLevel,"--");
    [COLOR=#333333]
    But wont this set all players levels to "--", im sure by changing that u will not see other levels, i think u only have to change the last part of your code. But i may be wrong.

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

    Re: Hide level.

    Quote Originally Posted by Duluxe View Post
    But wont this set all players levels to "--", im sure by changing that u will not see other levels, i think u only have to change the last part of your code. But i may be wrong.
    Nope, this is only for the admin class and classes with a colored name I guess. So OP only has to figure out a way to make VIPs levels visible again. Something with:

    if(MMUG_ADMIN || MMUG_DEVELOPER)
    level -- bla bla
    else
    level %d%s bla bla.

  7. #7
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Hide level.

    what about using a switch gid tag? that might do it.

  8. #8
    Member milagrogunz is offline
    MemberRank
    Feb 2013 Join Date
    54Posts

    Re: Hide level.

    easy in that participates in all xd

  9. #9
    Valued Member EvoGamers is offline
    MemberRank
    Nov 2012 Join Date
    102Posts

    Re: Hide level.

    Well man, I did everything you said, but, now members got their names hidden

  10. #10
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Hide level.

    Told you...

  11. #11
    Valued Member EvoGamers is offline
    MemberRank
    Nov 2012 Join Date
    102Posts

    Re: Hide level.

    :(, there's any other way ?

  12. #12
    Die() Secured is offline
    MemberRank
    Sep 2011 Join Date
    /home/SDev/Location
    555Posts

    Re: Hide level.

    Quote Originally Posted by EvoGamers View Post
    :(, there's any other way ?
    Admin / Gamemaster Levels by default are masked, you just have to re-add the lines
    Quote Originally Posted by Patrick2607 View Post
    Nope, this is only for the admin class and classes with a colored name I guess. So OP only has to figure out a way to make VIPs levels visible again. Something with:

    if(MMUG_ADMIN || MMUG_DEVELOPER)
    level -- bla bla
    else
    level %d%s bla bla.

  13. #13
    Apprentice dizzydaz is offline
    MemberRank
    Jun 2009 Join Date
    15Posts

    Re: Hide level.

    just put a post it over the level lol
    make your name (--) Administrator so it looks like you have it blocked

  14. #14
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Hide level.

    What a great idea dizzydaz.... Not.
    If u look through google and search for my unmasking thread u will see the part where i have unmasked all names and levels, just look at the part where i unmasked the admins, that should do it if u do it correctly.

    EDIT:
    Here's my thread.
    Unmask Names and Levels Gunz 1.5

  15. #15
    Apprentice dizzydaz is offline
    MemberRank
    Jun 2009 Join Date
    15Posts

    Re: Hide level.

    Quote Originally Posted by Duluxe View Post
    What a great idea dizzydaz.... Not.
    If u look through google and search for my unmasking thread u will see the part where i have unmasked all names and levels, just look at the part where i unmasked the admins, that should do it if u do it correctly.

    EDIT:
    Here's my thread.
    Unmask Names and Levels Gunz 1.5
    my idea was easier

  16. #16
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: Hide level.

    if (ZGetMyInfo()->IsAdminGrade())
    {
    sprintf(szLevel,"Lv ---");
    strcpy(pItem->m_szLevel,szLevel);
    strcpy(pItem->m_szName,sp_name);
    }
    else
    {
    sprintf(szLevel,"Lv %2d",nLevel);
    strcpy(pItem->m_szLevel,szLevel);
    strcpy(pItem->m_szName,szName);
    }
    Lol....

  17. #17
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Hide level.

    Quote Originally Posted by dizzydaz View Post
    my idea was easier
    Yes it was easier but it looks terrible. Do it the best way if u want it done properly.

    Quote Originally Posted by sahar042 View Post
    if (ZGetMyInfo()->IsAdminGrade())
    {
    sprintf(szLevel,"Lv ---");
    strcpy(pItem->m_szLevel,szLevel);
    strcpy(pItem->m_szName,sp_name);
    }
    else
    {
    sprintf(szLevel,"Lv %2d",nLevel);
    strcpy(pItem->m_szLevel,szLevel);
    strcpy(pItem->m_szName,szName);
    }
    Thanks for this. It's working.



Advertisement