Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Speak with trade again


tmoitoi

Question

2 answers to this question

Recommended Posts

  • 0

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;
}*/ //
 
 
 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 1

      Looking for a good designer

    2. 2

      Where are those maps/dungeons coming from?

    3. 3

      Press F10 to close the client immediately

    4. 2

      Where are those maps/dungeons coming from?

    5. 2

      Where are those maps/dungeons coming from?

    6. 4

      Visual studio 2022 compiling issue

    7. 1

      Count players function

    8. 64
  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.