Jump to content

tmoitoi

Inactive Member
  • Posts

    158
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by tmoitoi

  1. Problem fixed.

     

    input_main.cpp

     

    comment these things.

    /*int processReturn = ProcessTextTag(ch, buf, buflen);
    if (0!=processReturn)
    {
    if (ch->GetDesc())
    {
    TItemTable * pTable = ITEM_MANAGER::instance().GetTable(ITEM_PRISM);
    
    
    if (pTable)
    {
    char buf[128];
    int len;
    if (3==processReturn) //교환중
    len = snprintf(buf, sizeof(buf), LC_TEXT("사용할수 없습니다."), pTable->szLocaleName);
    else
    len = snprintf(buf, sizeof(buf), LC_TEXT("%s이 필요합니다."), pTable->szLocaleName);
    
    
    if (len < 0 || len >= (int) sizeof(buf))
    len = sizeof(buf) - 1;
    
    
    ++len;  // 0 문자 포함
    
    
    TPacketGCWhisper pack;
    
    
    pack.bHeader = HEADER_GC_WHISPER;
    pack.bType = WHISPER_TYPE_ERROR;
    pack.wSize = sizeof(TPacketGCWhisper) + len;
    strlcpy(pack.szNameFrom, pinfo->szNameTo, sizeof(pack.szNameFrom));
    
    
    ch->GetDesc()->BufferedPacket(&pack, sizeof(pack));
    ch->GetDesc()->Packet(buf, len);
    
    
    sys_log(0, "WHISPER: not enough %s: char: %s", pTable->szLocaleName, ch->GetName());
    }
    }
    
    
    // 릴래이 상태일 수 있으므로 릴래이를 풀어준다.
    pkDesc->SetRelay("");
    return (iExtraLen);
    }*/
    /*int processReturn = ProcessTextTag(ch, chatbuf, len);
    if (0!=processReturn)
    {
    const TItemTable* pTable = ITEM_MANAGER::instance().GetTable(ITEM_PRISM);
    
    
    if (NULL != pTable)
    {
    if (3==processReturn) //교환중
    ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("사용할수 없습니다."), pTable->szLocaleName);
    else
    ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s이 필요합니다."), pTable->szLocaleName);
    
    
    }
    
    
    return iExtraLen;
    }*/ //
     
     
    • Love 1
  2. Hi !

     

    Yesterday with the source I was seeing the servers status at launch of game client "Online" when online etc.

     

    But right now, server don't give a f.. I don't know if that come from game or client, someone has an idea?

     

     

    We can login but it seems to be "STATE_NONE"

    JziyVJa.png

     

     

    Any help will be welcome, thanks guys :)

  3. Hi !

     

    Could you go in the DBManager.cpp and go there:

    void CDBManager::SetLocale(const char * szLocale)

    The correct syntax is:

    void CDBManager::SetLocale(const char * szLocale)
    {
    
    
    sys_log(0, "SetLocale start  %s",szLocale );
    for (int n = 0; n < SQL_MAX_NUM; ++n)
    {
    //m_mainSQL[n]->SetLocale("latin1");
    //m_directSQL[n]->SetLocale("latin1");
    //m_asyncSQL[n]->SetLocale("latin1");
    }
    sys_log(0, "End setlocale %s", szLocale);
    }
     
    • Love 1
  4. Hi !

     

    One time again that's not a bug, just a 80% stun prob..

     

    You just have to change it to 100%, use the #3 but without it:

     

                if (item->HasAttr(APPLY_IMMUNE_SLOW))
                    SET_BIT(dwImmuneFlag, IMMUNE_SLOW);
                if (item->HasAttr(APPLY_IMMUNE_FALL))
                    SET_BIT(dwImmuneFlag, IMMUNE_FALL);

     

  5.  

    Hi,

     

    char.cpp

    search for:

    if (IsAffectFlag(AFF_REVIVE_INVISIBLE))
    RemoveAffect(AFFECT_REVIVE_INVISIBLE);

    edit:

    if (IsAffectFlag(AFFECT_REVIVE_INVISIBLE))
    RemoveAffect(AFFECT_REVIVE_INVISIBLE);

    Do the same in char_battle.cpp!

     

    Mow open guild.cpp

    if (ch->IsAffectFlag(AFF_REVIVE_INVISIBLE))
    ch->RemoveAffect(AFFECT_REVIVE_INVISIBLE);
    edit:
    if (ch->IsAffectFlag(AFFECT_REVIVE_INVISIBLE))
    ch->RemoveAffect(AFFECT_REVIVE_INVISIBLE);
    
    For me, work.
     
    Regards,
    TheSLZ

     

    Hi I think the @Denis one is better as your because your fix is about all the time, my problem is usualy then the @Denis is ok for me.

     

    Thanks to all for the help, I will make some tests.

  6. The novaline source db work well you just have to go on your DBManager and change like that.

     

    Search:

    void CDBManager::SetLocale(const char * szLocale){
    
    
    sys_log(0, "SetLocale start  %s",szLocale );
    for (int n = 0; n < SQL_MAX_NUM; ++n)
    {
    m_mainSQL[n]->SetLocale("latin1"); 
    m_directSQL[n]->SetLocale("latin1");
    m_asyncSQL[n]->SetLocale("latin1");
    }
    sys_log(0, "End setlocale %s", szLocale);
    }

    And change like that:

    void CDBManager::SetLocale(const char * szLocale)
    {
    
    
    for (int n = 0; n < SQL_MAX_NUM; ++n)
    {
    //Nothing to do here
    }
    }

     

    • Love 4
×
×
  • 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.