Jump to content

How To Speak with Trade Open

Recommended Posts

Hi there, some people doesn't find how to remove the system who disable the chat using while we do a trade

(For fix any hack trade maybe but it doesn't exist then..)

So here a little tutorial to remove this.


Open your input_main.cpp


Search this line: int processReturn = ProcessTextTag(ch, buf, buflen);


And then you've to make comment all the line to return iExtraLen;



It should be like it:

/*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);
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.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());

// 릴래이 상태일 수 있으므로 릴래이를 풀어준다.
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);
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s이 필요합니다."), pTable->szLocaleName);


return iExtraLen;

Hope it will help you guys :)

  • Love 3


Link to comment

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

  • 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.