Bug With The Clan War

Results 1 to 3 of 3
  1. #1
    Enthusiast bhr is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Bug With The Clan War

    Hey Ragezone ,
    when im doing Clan War The TAB looks like:

    look where is the ping , the clan name


    now look in Regular room:

    all is good and all is in his place


  2. #2
    Valued Member Dolan is offline
    MemberRank
    Aug 2012 Join Date
    100Posts

    Re: Bug With The Clan War

    Go to ZGameInterface and find this

    Code:
    PHP Code:
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecClan");        sprintfbuf"%s : %s"ZMsgMSG_CHARINFO_CLAN), ZGetMyInfo()->GetClanName());        if (pLabelpLabel->SetText(buf); 
    And tell me what it says under it

  3. #3
    Enthusiast bhr is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Bug With The Clan War

    Quote Originally Posted by Dolan View Post
    Go to ZGameInterface and find this

    Code:
    PHP Code:
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecClan");        sprintfbuf"%s : %s"ZMsgMSG_CHARINFO_CLAN), ZGetMyInfo()->GetClanName());        if (pLabelpLabel->SetText(buf); 
    And tell me what it says under it
    // »ף¼¼ֱ₪÷¸ (µ¿ָ¯ְּ°¡ ֳ°¡) // Clan
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecClan");
    sprintf( buf, "%s : %s", ZMsg( MSG_CHARINFO_CLAN), ZGetMyInfo()->GetClanName());
    if (pLabel) pLabel->SetText(buf);
    // LV
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecLevel");
    if(ZGetMyInfo()->IsAdminGrade())
    sprintf( buf, "%s : -- %s", ZMsg( MSG_CHARINFO_LEVEL), ZMsg(MSG_CHARINFO_LEVELMARKER));
    else
    sprintf( buf, "%s : %d %s", ZMsg( MSG_CHARINFO_LEVEL), ZGetMyInfo()->GetLevel(), ZMsg(MSG_CHARINFO_LEVELMARKER));
    if (pLabel) pLabel->SetText(buf);
    // XP
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecXP");
    sprintf( buf, "%s : %d%%", ZMsg( MSG_CHARINFO_XP), ZGetMyInfo()->GetLevelPercent());
    if (pLabel) pLabel->SetText(buf);
    // BP
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecBP");
    sprintf( buf, "%s : %d", ZMsg( MSG_CHARINFO_BOUNTY), ZGetMyInfo()->GetBP());
    if (pLabel) pLabel->SetText(buf);
    //ECoins
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecCash");
    sprintf( buf, "Coins : %d", ZGetMyInfo()->GetECoins());
    if (pLabel) pLabel->SetText(buf);
    // HP
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecHP");
    sprintf( buf, "%s : %d", ZMsg( MSG_CHARINFO_HP), ZGetMyInfo()->GetHP());
    if (pLabel) pLabel->SetText(buf);
    // AP
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecAP");
    sprintf( buf, "%s : %d", ZMsg( MSG_CHARINFO_AP), ZGetMyInfo()->GetAP());
    if (pLabel) pLabel->SetText(buf);
    // WT
    pLabel = (MLabel*)pRes->FindWidget("Lobby_PlayerSpecWT");
    ZMyItemList* pItems= ZGetMyInfo()->GetItemList();
    sprintf( buf, "%s : %d/%d", ZMsg( MSG_CHARINFO_WEIGHT), pItems->GetEquipedTotalWeight(), pItems->GetMaxWeight());
    if (pLabel) pLabel->SetText(buf);


    // ֳ₪³־ ֱ₪÷¸
    pLabel = (MLabel*)pRes->FindWidget("Lobby_ChannelName");
    sprintf( buf, "%s > %s > %s", ZGetGameClient()->GetServerName(), ZMsg( MSG_WORD_LOBBY), ZGetGameClient()->GetChannelName());
    sprintf(buf, "%s", ZGetGameClient()->GetChannelName());
    if (pLabel)
    pLabel->SetText(buf);
    }
    This is whole of this.



Advertisement