sandeagle
29.06.2009, 09:44
rly thx to kuroi...
and codes.
INT32 nPSBuyManageModel2 = 0;
int CSentPackets::PSBuyManageModel2(CHAR *pBuf, int nBufLen, char *format, int nItemID, short nEnchantLevel, int nCount, int nPrice, short nUnknown1, int nBodyPart, short nItemType2, int nYourPrice, int nFixedStorePrice)
{
__int64 result = 0;
L2SERVER_SHARED_GUARD(nPSBuyManageModel2);
TLS_TRACE_BEGIN;
return Assemble(pBuf, nBufLen, "dhddhdhdddddddddd", nItemID, nEnchantLevel, nCount, nPrice, nUnknown1, nBodyPart, nItemType2, nYourPrice, nFixedStorePrice,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
TLS_TRACE_END;
return result;
}
change return to result..
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-29-2009, 09:44 AM. Открыть источник (https://web.archive.org/web/20100324123512id_/http://www.postpacific.com:80/archive/index.php/t-650.html).
and codes.
INT32 nPSBuyManageModel2 = 0;
int CSentPackets::PSBuyManageModel2(CHAR *pBuf, int nBufLen, char *format, int nItemID, short nEnchantLevel, int nCount, int nPrice, short nUnknown1, int nBodyPart, short nItemType2, int nYourPrice, int nFixedStorePrice)
{
__int64 result = 0;
L2SERVER_SHARED_GUARD(nPSBuyManageModel2);
TLS_TRACE_BEGIN;
return Assemble(pBuf, nBufLen, "dhddhdhdddddddddd", nItemID, nEnchantLevel, nCount, nPrice, nUnknown1, nBodyPart, nItemType2, nYourPrice, nFixedStorePrice,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
TLS_TRACE_END;
return result;
}
change return to result..
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-29-2009, 09:44 AM. Открыть источник (https://web.archive.org/web/20100324123512id_/http://www.postpacific.com:80/archive/index.php/t-650.html).