Jump to content

StrinG

Inactive Member
  • Posts

    13
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by StrinG

  1. Hello,

     

    When my db is complete in DB_ERROR_LOG.txt I have:

     

    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 23 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 32 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
    ClientManagerBoot.cpp:1225: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 38 has type 'long int'
    ClientManagerBoot.cpp:1197: warning: format '%d' expects type 'int', but argument 39 has type 'long int'
     
     
    How to fix it?
     
    Thank's for answer.
     

     

  2. Hello,

     

    I have a problem because I do all in this topic : 

     

    Maybe someone interested, here it is for the source:

    Open game/input_main.cpp and search for this:
     

    Code:
    int len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);

    Replace with this:
     

    Code:
        int len;
        if (pinfo->type == CHAT_TYPE_SHOUT)
        {
            len = snprintf(chatbuf, sizeof(chatbuf), "|Hmsg:%s|h%s|h|r : %s", ch->GetName(), ch->GetName(), buf);
        }
        else
        {
            len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);
        }

    On client-side just do the modifications in the interfacemodule.py, the uichat.py modification is not required anymore.

     

     

    And when click in nickname in chat open chat this person but I would like behind nickname been: example [PW]

  3. Oke, I comment all function :

     

    void CHARACTER::UseArrow(LPITEM pkArrow, DWORD dwArrowCount)
    {
    //int iCount = pkArrow->GetCount();
    //DWORD dwVnum = pkArrow->GetVnum();
    //iCount = iCount - MIN(iCount, dwArrowCount);
    //pkArrow->SetCount(iCount);
     
    //if (iCount == 0)
    //{
    //LPITEM pkNewArrow = FindSpecifyItem(dwVnum);
     
    //sys_log(0, "UseArrow : FindSpecifyItem %u %p", dwVnum, get_pointer(pkNewArrow));
     
    //if (pkNewArrow)
    //EquipItem(pkNewArrow);
    //}
    }
     
     
    All working when I use skill or kill mob arrow don't disappears.
     
     
     
     
    Now help me with change getting up where change this time ?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.