[Solved]Lobby Glitch

Results 1 to 6 of 6
  1. #1
    Account Upgraded | Title Enabled! ForceGFX is offline
    MemberRank
    Jan 2012 Join Date
    The NetherlandsLocation
    412Posts

    [Solved]Lobby Glitch

    Hello Guys, so i was busy with unmasking everything, and adding the UGrade colors but now i have this on a normal member.

    If i am a Administrator i can see my self good.

    Somebody can help me?
    I know the problem isn't in ZCombatInterface.cpp i tested it.
    Attached Thumbnails Attached Thumbnails force_20120303_154656.jpg   anonymous_20120303_150452.jpg  
    Last edited by ForceGFX; 03-03-12 at 04:12 PM.


  2. #2
    Newbie kn95951135 is offline
    MemberRank
    Nov 2005 Join Date
    MalaysiaLocation
    388Posts

    Re: Lobby Glitch

    check ZGame.cpp for the color?
    i just found this there, but dont know its this what you want?
    bool GetUserGradeIDColor(MMatchUserGradeID gid,MCOLOR& UserNameColor,char* sp_name)
    {
    // if(gid == MMUG_FREE) { UserNameColor = MCOLOR(200,200,200); return true; }// 公丰蜡历
    // else if(gid == MMUG_REGULAR) { UserNameColor = MCOLOR(200,200,200); return true; }// 沥咀蜡历
    // else if(gid == MMUG_CRIMINAL) { UserNameColor = MCOLOR(200,200,200); return true; }// 傈苞磊
    // else if(gid == MMUG_WARNING_1) { UserNameColor = MCOLOR(200,200,200); return true; }// 1瞒版绊
    // else if(gid == MMUG_WARNING_2) { UserNameColor = MCOLOR(200,200,200); return true; }// 2瞒版绊
    // else if(gid == MMUG_WARNING_3) { UserNameColor = MCOLOR(200,200,200); return true; }// 3瞒版绊
    // else if(gid == MMUG_CHAT_LIMITED) { UserNameColor = MCOLOR(200,200,200); return true; }// 盲泼 陛瘤
    // else if(gid == MMUG_PENALTY) { UserNameColor = MCOLOR(200,200,200); return true; }// 扁埃 沥瘤
    // else if(gid == MMUG_BLOCKED) { UserNameColor = MCOLOR(200,200,200); return true; }// 荤侩沥瘤


    if(gid == MMUG_DEVELOPER)
    {
    UserNameColor = MCOLOR(254, 3, 120); //pink
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_DEVELOPER));
    }*/
    return true;
    }
    else if(gid == MMUG_ADMIN) {
    UserNameColor = MCOLOR(3, 234, 254); //cyan
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/
    return true;
    }
    else if(gid == MMUG_EVENTMASTER) {
    UserNameColor = MCOLOR(3, 254, 74); //green
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/
    return true;
    }
    //VIP SYSTEM
    else if(gid == MMUG_VIP1) {
    UserNameColor = MCOLOR(25, 0, 255); //blue
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/
    return true;
    }
    else if(gid == MMUG_VIP2) {
    UserNameColor = MCOLOR(255, 0, 0); //red
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/
    return true;
    }
    else if(gid == MMUG_VIP3) {
    UserNameColor = MCOLOR(251, 255, 0); //yellow
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/
    return true;
    }
    //VIP SYSTEM
    return false;
    }

  3. #3
    Account Upgraded | Title Enabled! ForceGFX is offline
    MemberRank
    Jan 2012 Join Date
    The NetherlandsLocation
    412Posts

    Re: Lobby Glitch

    Quote Originally Posted by kn95951135 View Post
    check ZGame.cpp for the color?
    i just found this there, but dont know its this what you want?
    Oh i see,
    i uncommented all this
    {
    // if(gid == MMUG_FREE) { UserNameColor = MCOLOR(200,200,200); return true; }// 公丰蜡历
    // else if(gid == MMUG_REGULAR) { UserNameColor = MCOLOR(200,200,200); return true; }// 沥咀蜡历
    // else if(gid == MMUG_CRIMINAL) { UserNameColor = MCOLOR(200,200,200); return true; }// 傈苞磊
    // else if(gid == MMUG_WARNING_1) { UserNameColor = MCOLOR(200,200,200); return true; }// 1瞒版绊
    // else if(gid == MMUG_WARNING_2) { UserNameColor = MCOLOR(200,200,200); return true; }// 2瞒版绊
    // else if(gid == MMUG_WARNING_3) { UserNameColor = MCOLOR(200,200,200); return true; }// 3瞒版绊
    // else if(gid == MMUG_CHAT_LIMITED) { UserNameColor = MCOLOR(200,200,200); return true; }// 盲泼 陛瘤
    // else if(gid == MMUG_PENALTY) { UserNameColor = MCOLOR(200,200,200); return true; }// 扁埃 沥瘤
    // else if(gid == MMUG_BLOCKED) { UserNameColor = MCOLOR(200,200,200); return true; }// 荤侩沥瘤

    Testing it now

    EDIT: Works perfect! Thanks for the fix

  4. #4
    Newbie kn95951135 is offline
    MemberRank
    Nov 2005 Join Date
    MalaysiaLocation
    388Posts

    Re: [Solved]Lobby Glitch

    Nope, I just find , and it fix by yourself =D

  5. #5
    Valued Member ZeidForce is offline
    MemberRank
    Nov 2009 Join Date
    C:\Puerto Rico\Location
    133Posts

    Re: Lobby Glitch

    Quote Originally Posted by ForceGFX View Post
    Oh i see,
    i uncommented all this
    {
    // if(gid == MMUG_FREE) { UserNameColor = MCOLOR(200,200,200); return true; }// 公丰蜡历
    // else if(gid == MMUG_REGULAR) { UserNameColor = MCOLOR(200,200,200); return true; }// 沥咀蜡历
    // else if(gid == MMUG_CRIMINAL) { UserNameColor = MCOLOR(200,200,200); return true; }// 傈苞磊
    // else if(gid == MMUG_WARNING_1) { UserNameColor = MCOLOR(200,200,200); return true; }// 1瞒版绊
    // else if(gid == MMUG_WARNING_2) { UserNameColor = MCOLOR(200,200,200); return true; }// 2瞒版绊
    // else if(gid == MMUG_WARNING_3) { UserNameColor = MCOLOR(200,200,200); return true; }// 3瞒版绊
    // else if(gid == MMUG_CHAT_LIMITED) { UserNameColor = MCOLOR(200,200,200); return true; }// 盲泼 陛瘤
    // else if(gid == MMUG_PENALTY) { UserNameColor = MCOLOR(200,200,200); return true; }// 扁埃 沥瘤
    // else if(gid == MMUG_BLOCKED) { UserNameColor = MCOLOR(200,200,200); return true; }// 荤侩沥瘤

    Testing it now

    EDIT: Works perfect! Thanks for the fix
    you removed //
    so that's all? and work perfect, and in game?
    Last edited by ZeidForce; 03-03-12 at 04:59 PM.

  6. #6
    Account Upgraded | Title Enabled! ForceGFX is offline
    MemberRank
    Jan 2012 Join Date
    The NetherlandsLocation
    412Posts

    Re: Lobby Glitch

    Quote Originally Posted by ZeidForce View Post
    you removed //
    so that's all? and work perfect, and in game?
    Problem is already solved and yes.



Advertisement