No Room Numbers [SOLVED]

Results 1 to 1 of 1
  1. #1
    Member vtrbh is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    config No Room Numbers [SOLVED]

    Can someone please help me to fix this? Thanks!





    ---------- Update ----------
    Fixed it. If someone needs the fix there it is..

    It was missing this code on ZRoomListBox - void ZRoomListBox::OnDraw( MDrawContext* pDC )
    Code:
    //
    		r.x = width + m_RoomWidth*0.75f + pressed_reposition;
    		r.y = height + pressed_reposition;
    		r.w = m_RoomWidth * 0.2f ;
    		r.h = m_RoomHeight;
    
    		if( m_pMapInfo[i].bLimitLevel )
    		{
    			char szBufTemp[64];
    			sprintf( szBufTemp, "%d~%d", max(m_pMapInfo[i].nMasterLevel - m_pMapInfo[i].nLimitLevel,1), m_pMapInfo[i].nMasterLevel + m_pMapInfo[i].nLimitLevel);
    
    			pDC->SetColor( 0,0,0);
    			pDC->Text( MRECT( r.x+1, r.y+1, r.w, r.h), szBufTemp);
    			if( m_pMapInfo[i].roomState == GMAE_CLOSED || bRoomFull )
    				pDC->SetColor( 100, 100, 100 );
    			else
    				pDC->SetColor( 181, 247, 66 );
    			pDC->Text( r, szBufTemp );
    		}
    		
    		if (m_pMapInfo[i].bPrivate)
    		{
    Last edited by vtrbh; 21-12-14 at 01:37 PM. Reason: Fixed/Solved




Advertisement