tmoitoi 26 Posted September 17, 2014 Share Posted September 17, 2014 Hi ! Someone has the src code to speak with trade ? because we can not speak with a trade Thanks Link to comment Share on other sites More sharing options...
Solution tmoitoi 26 Posted September 17, 2014 Author Solution Share Posted September 17, 2014 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; }*/ // 1 Link to comment Share on other sites More sharing options...
Seby. 6 Posted June 27, 2015 Share Posted June 27, 2015 Please input_main.cpp can put all because you wrote the code is not good. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now