Emoticon Chat

Page 1 of 3 123 LastLast
Results 1 to 15 of 31
  1. #1
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    879Posts

    big grin Emoticon Chat

    Here I bring the famous code of smileys for gunz, enjoy it.

    I remember this code nobody wanted to give me, but now I release so they can see that I'm not a selfish as others.

    That the stone falls whom I hurt. :)

    Code:
    ZGameInterface.cpp line 6834

    PHP Code:

    int MDrawContext
    ::TextMultiLine(MRECTr, const charszTextint nLineGapbool bAutoNextLineint nIndentationint nSkipLineMPOINTpPositions)
    {
        
    bool bColorSupport true;

        
    MBeginProfile(99"MDrawContext::TextMultiLine");

        
    int nLine 0;
        
    MFontpFont GetFont();

        
    int nLength = (int)strlen(szText);
        
    int xRight 0;
        
    int y r.y;
        
    charszCurrent = (char*)szText;
        
    MPOINTpCurrentPos pPositions;
        do {
            
    int nX nLine == nIndentation;

            
    int nOriginalCharCount MMGetNextLinePos(pFontszCurrentr.nXbAutoNextLinetrue);

            if (
    nSkipLine <= nLine)
            {
                
    int nCharCount min(nOriginalCharCount255);
                
    char buffer[256];
                if (
    bColorSupport) {

    #define FLUSHPOS(_Pos)        if(pCurrentPos!=NULL){    \
                    
    for (int i 0buffer[i] != NULLi++){
                    \
                    
    pCurrentPos[szCurrent szText]._Pos pFont->GetWidth(bufferi);    \
                    
    pCurrentPos[szCurrent szText].y;    \
                    }    \
                }

    #define FLUSH                if(buffer[0]) { Text(r.x+nLastX+xRight, y, buffer); FLUSHPOS(r.x+nLastX); nLastX=nX; buffer[0]=0;pcurbuf=buffer; }

                
    int nLastX nX;

                
    buffer[0] = 0;
                
    char *pcurbuf buffer;
                for (
    int i 0i<nCharCounti++){

                    
    unsigned char cminus szCurrent[1], szCurrent[i], cc szCurrent[1], ccc szCurrent[2], cccc szCurrent[3];

                    if (
    == '^' && ('0' <= cc) && (cc <= 'Z'))
                    {
                        
    xRight 0;
                        
    FLUSH;
                        
    i++;
                        continue;
                    }

                    else if (
    == ':' && (cc == 'D' || cc == 'd'))
                    {
                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("1.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                        else if ((
    cminus == ' ') && (== ':') && (cc == 'D' || cc == 'd') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("1.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                    }


                    else if (
    == ':' && (')' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("3.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && (cc == ')') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("3.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                    }
                    else if (
    == ':' && ('(' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("4.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && (cc == '(') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("4.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }
                    else if (
    == ':' && ('P' == cc || 'p' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("5.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && ('P' == cc || 'p' == cc) && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("5.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }
                    else if (
    == ':' && ('/' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("6.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && (cc == '/') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("6.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }
                    else if (
    == '<' && ('3' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("7.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== '<') && (cc == '3') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("7.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }
                    else if (
    == '^' && ('_' == cc) && ('^' == ccc))
                    {
                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("8.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    ccc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    szCurrent[2] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                        else if ((
    cminus == ' ') && (== '^') && (cc == '_') && (ccc == '^') && (cccc == ' ' || !cccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("8.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    ccc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    szCurrent[2] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                    }
                    else if ((
    == 'O' || == 'o') && (':' == cc) && (')' == ccc))
                    {
                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("9.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    ccc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    szCurrent[2] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                        else if ((
    cminus == ' ') && (== 'O' || == 'o') && (cc == ':') && (ccc == ')') && (cccc == ' ' || !cccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("9.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    ccc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    szCurrent[2] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                    }
                    else if (
    == ':' && ('@' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("10.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && (cc == '@') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("10.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }

                    else if (
    == ';' && ('(' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("2.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ';') && (cc == '(') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("2.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }

                    else if (
    == ';' && (')' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("12.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ';') && (cc == ')') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("12.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }
                    else if (
    == ':' && ('O' == cc || 'o' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("13.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && ('O' == cc || 'o' == cc) && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("13.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;


                        }
                    }
                    else if (
    == '-' && ('_' == cc) && ('-' == ccc))
                    {
                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("14.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    ccc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    szCurrent[2] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                        else if ((
    cminus == ' ') && (== '-') && (cc == '_') && (ccc == '-') && (cccc == ' ' || !cccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("14.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    ccc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    szCurrent[2] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                    }
                    else if (
    == ':' && ('*' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("15.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && (cc == '*') && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("15.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                    }
                    else if ((
    cminus == ' ') && (== ':') && (cc == 'v') && (ccc == ' ' || !ccc)){
                        
    FLUSH;
                        
    SetBitmap(MBitmapManager::Get("16.png"));
                        
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                        
    ' ';
                        
    cc ' ';
                        
    szCurrent[i] = ' ';
                        
    szCurrent[1] = ' ';
                        
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                    }
                    }
                    else if (
    == ':' && ('7' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("17.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                    else if (
    == ':' && ('M' == cc || 'm' == cc))
                    {

                        if (
    strlen(szText) == strlen(ZGetMyInfo()->GetCharName()) + 5){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("maximo.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;

                        }
                        else if ((
    cminus == ' ') && (== ':') && ('V' == cc || 'v' == cc) && (ccc == ' ' || !ccc)){
                            
    FLUSH;
                            
    SetBitmap(MBitmapManager::Get("maximo.png"));
                            
    Draw((r.nX), y, (float)RGetScreenWidth() / (float)800 11, (float)RGetScreenWidth() / (float)800 11);
                            
    ' ';
                            
    cc ' ';
                            
    szCurrent[i] = ' ';
                            
    szCurrent[1] = ' ';
                            
    xRight = (float)RGetScreenWidth() / (float)1920 6;
                        }
                    }

                    
    int w;

                    *(
    pcurbuf++) = c;
                    if (
    c>127 && i<nCharCount){
                        *(
    pcurbuf++) = cc;
                        
    pFont->GetWidth(szCurrent i2);
                        
    i++;
                    }
                    else 
    pFont->GetWidth(szCurrent i1);

                    *
    pcurbuf 0;

                    
    nX += w;
                }

                
    FLUSH;
                }
                else
                {
                    
    strncpy(bufferszCurrentnCharCount);
                    
    buffer[nCharCount] = 0;
                    
    Text(r.nXybuffer);
                    
    FLUSHPOS(r.nX);
                }
                
    += pFont->GetHeight() + nLineGap;
            }

            
    szCurrent += nOriginalCharCount;
            
    nLine++;
            if (
    >= r.r.h) break;
        } while (
    szCurrent<szText nLength);

        
    MEndProfile(99);
        return 
    nLine nSkipLine;
    }
    #endif 
    emoticon.zip

    Credits: George, Jorklenis2
    Last edited by jorklenis2; 02-07-16 at 02:04 AM.


  2. #2
    Valued Member SandOfTime is offline
    MemberRank
    Mar 2011 Join Date
    112Posts

    Re: Emoticon Chat

    work good, love you :D

  3. #3
    Orby? Orby ? @-@ Orby is offline
    MemberRank
    Oct 2015 Join Date
    AstraLocation
    279Posts

    Re: Emoticon Chat

    Error.


  4. #4
    Member Sahar is offline
    MemberRank
    Apr 2015 Join Date
    Qiryat Yam, IsrLocation
    80Posts

    Re: Emoticon Chat

    i got 141 build error :| help ?

  5. #5
    Member Kobe Maaraataas is offline
    MemberRank
    Oct 2015 Join Date
    70Posts

    Re: Emoticon Chat

    Where i put that emoticon .zip?

  6. #6
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Emoticon Chat

    Quote Originally Posted by Kobe Maaraataas View Post
    Where i put that emoticon .zip?
    I'm probably wrong but:

    Code:
    FLUSH;
                            SetBitmap(MBitmapManager::Get("3.png"));
                            Draw((r.x + nX), y, (float)RGetScreenWidth() / (float)800 * 11, (float)RGetScreenWidth() / (float)800 * 11);
    


    extract the zip/rar file to default.mrs or before the 3.png put a folder name they are located in.

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

    Re: Emoticon Chat

    #ifdef _VITALGUNZ
    unsigned long int MMColorSett[] = {
    0xFF808080,
    0xFFFF0000,
    0xFF00FF00,
    0xFF0000FF,
    0xFFFFFF00,
    0xFF800000,
    0xFF008000,
    0xFF000080,
    0xFF808000,
    0xFFFFFFFF,
    0xFF00FFFF,
    0xFF388E8E,
    0xFF7D9EC0,
    0xFFC67171,
    0xFFF5F5DC,
    0xFFA9A9A9,
    0xFFEECFA1,
    0xFFEE7600,
    0xFFCDC0B0,
    0xFF000000,
    0xFF8B2323,
    0xFFCDAA7D,
    0xFF458B00,
    0xFFD2691E,
    0xFF6495ED,
    0xFFFFB90F,
    0xFF8B008B,
    0xFF2F4F4F,
    0xFF7CFC00,
    0xFFEEE685,
    0xFF8470FF,
    0xFFFFE4E1,
    0xFFEE4000,
    0xFF8E8E38,
    0xFFFFA54F,
    0xFFFF6347,
    0xFF8B8B00,
    0xFFF5F5F5,
    0xFF00E5EE,
    0xFF708090,
    0xFFF4A460,
    0xFF03FE4A,
    0xFFFFE4E0,
    0xFFEE4001,
    0xFF8E8E3E,
    };



    int MDrawContext::TextMultiLine(MRECT& r, const char* szText,int nLineGap,bool bAutoNextLine,int nIndentation,int nSkipLine, MPOINT* pPositions)
    {
    .
    .
    .
    .
    .
    .
    .
    MEndProfile(99);
    return nLine-nSkipLine;
    }


    #endif

  8. #8
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    879Posts

    Re: Emoticon Chat

    Quote Originally Posted by Arenbunny View Post
    #ifdef _VITALGUNZ
    unsigned long int MMColorSett[] = {
    0xFF808080,
    0xFFFF0000,
    0xFF00FF00,
    0xFF0000FF,
    0xFFFFFF00,
    0xFF800000,
    0xFF008000,
    0xFF000080,
    0xFF808000,
    0xFFFFFFFF,
    0xFF00FFFF,
    0xFF388E8E,
    0xFF7D9EC0,
    0xFFC67171,
    0xFFF5F5DC,
    0xFFA9A9A9,
    0xFFEECFA1,
    0xFFEE7600,
    0xFFCDC0B0,
    0xFF000000,
    0xFF8B2323,
    0xFFCDAA7D,
    0xFF458B00,
    0xFFD2691E,
    0xFF6495ED,
    0xFFFFB90F,
    0xFF8B008B,
    0xFF2F4F4F,
    0xFF7CFC00,
    0xFFEEE685,
    0xFF8470FF,
    0xFFFFE4E1,
    0xFFEE4000,
    0xFF8E8E38,
    0xFFFFA54F,
    0xFFFF6347,
    0xFF8B8B00,
    0xFFF5F5F5,
    0xFF00E5EE,
    0xFF708090,
    0xFFF4A460,
    0xFF03FE4A,
    0xFFFFE4E0,
    0xFFEE4001,
    0xFF8E8E3E,
    };



    int MDrawContext::TextMultiLine(MRECT& r, const char* szText,int nLineGap,bool bAutoNextLine,int nIndentation,int nSkipLine, MPOINT* pPositions)
    {
    .
    .
    .
    .
    .
    .
    .
    MEndProfile(99);
    return nLine-nSkipLine;
    }


    #endif
    What is that crap?

    This is not vitalgunz kick was from another source, although the code is very similar but it was not vital source of waste.

  9. #9
    Member Sahar is offline
    MemberRank
    Apr 2015 Join Date
    Qiryat Yam, IsrLocation
    80Posts

    Re: Emoticon Chat

    someone please can help me ?

    i added it to ZGameInterface.cpp and getting 100+ errors

    i tryed also to replace TextMultiLine from MDrawContext.cpp with your code and still 100+ errors

    please help ?

  10. #10
    Orby? Orby ? @-@ Orby is offline
    MemberRank
    Oct 2015 Join Date
    AstraLocation
    279Posts

    Re: Emoticon Chat

    In own name says that is not in Game Interface.cpp "MDrawContext :: TextMultiLine".

  11. #11
    Member bybuuthach is offline
    MemberRank
    Dec 2015 Join Date
    53Posts

    Re: Emoticon Chat

    - Help My "." Please !
    - You can help me teamviewer
    - FB: https://www.facebook.com/ID.100011329105464

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

    Re: Emoticon Chat

    Quote Originally Posted by jorklenis2 View Post
    What is that crap?

    This is not vitalgunz kick was from another source, although the code is very similar but it was not vital source of waste.
    LOL

    unsigned char cminus = szCurrent[i - 1], c = szCurrent[i], cc = szCurrent[i + 1], ccc = szCurrent[i + 2], cccc = szCurrent[i + 3];

    if (
    c == '^' && ('0' <= cc) && (cc <= 'Z'))
    {
    xRight = 0;
    FLUSH;
    i++;
    continue;
    }

    offcial
    if(c=='^' && ('0'<=cc) && (cc<='Z'))
    {
    xRight = 0;
    FLUSH;
    SetColor(MCOLOR(MMColorSett[cc - '0']));
    i++;
    continue;
    }

  13. #13
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    879Posts

    Re: Emoticon Chat

    Quote Originally Posted by Arenbunny View Post
    LOL

    unsigned char cminus = szCurrent[i - 1], c = szCurrent[i], cc = szCurrent[i + 1], ccc = szCurrent[i + 2], cccc = szCurrent[i + 3];

    if (
    c == '^' && ('0' <= cc) && (cc <= 'Z'))
    {
    xRight = 0;
    FLUSH;
    i++;
    continue;
    }

    offcial
    if(c=='^' && ('0'<=cc) && (cc<='Z'))
    {
    xRight = 0;
    FLUSH;
    SetColor(MCOLOR(MMColorSett[cc - '0']));
    i++;
    continue;
    }
    Where is the joke, stop commenting bullshit I'm not interested.

  14. #14
    Apprentice hoangminh42 is offline
    MemberRank
    Jul 2012 Join Date
    23Posts

    Re: Emoticon Chat

    Thanks
    Last edited by hoangminh42; 09-04-16 at 05:21 PM.

  15. #15
    Member Sahar is offline
    MemberRank
    Apr 2015 Join Date
    Qiryat Yam, IsrLocation
    80Posts

    Re: Emoticon Chat

    how i can make the emojis bigger?



Page 1 of 3 123 LastLast

Advertisement