Jump to content

sixsa

Member
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

sixsa's Achievements

Apprentice

Apprentice (3/16)

  • Conversation Starter
  • One Month Later
  • Dedicated
  • First Post
  • Week One Done

Recent Badges

0

Reputation

  1. [Hidden Content] Hello, Aura, uitooltip does not appear in the window, what could be the problem? can anyone help?
  2. hello everyone I added k inventory but I can sell anything from normal inventory to NPC but If we sell any item from the k inventory to NPC,throws it to the login screen. game syserr packet.h I think there is an bug in the input_main file case SHOP_SUBHEADER_CG_SELL: { #ifdef ENABLE_SPECIAL_STORAGE if (uiBytes < sizeof(BYTE) + sizeof(BYTE) + sizeof(BYTE)) return -1; const BYTE wPos = *reinterpret_cast<const BYTE*>(c_pData); const BYTE bCount = *(c_pData + sizeof(BYTE)); const BYTE bType = *(c_pData + sizeof(BYTE) + sizeof(BYTE)); sys_log(0, "INPUT: %s SHOP: SELL", ch->GetName()); CShopManager::instance().Sell(ch, wPos, bCount, bType); return sizeof(BYTE) + sizeof(BYTE) + sizeof(BYTE); #else if (uiBytes < sizeof(BYTE)) return -1; BYTE pos = *c_pData; sys_log(0, "INPUT: %s SHOP: SELL", ch->GetName()); CShopManager::instance().Sell(ch, pos); return sizeof(BYTE); #endif } case SHOP_SUBHEADER_CG_SELL2: { #ifdef ENABLE_SPECIAL_STORAGE if (uiBytes < sizeof(BYTE) + sizeof(BYTE) + sizeof(BYTE)) return -1; const BYTE wPos = *reinterpret_cast<const BYTE*>(c_pData); const BYTE bCount = *(c_pData + sizeof(BYTE)); const BYTE bType = *(c_pData + sizeof(BYTE) + sizeof(BYTE)); sys_log(0, "INPUT: %s SHOP: SELL2", ch->GetName()); CShopManager::instance().Sell(ch, wPos, bCount, bType); return sizeof(BYTE) + sizeof(BYTE) + sizeof(BYTE); #else if (uiBytes < sizeof(BYTE) + sizeof(BYTE)) return -1; BYTE pos = *(c_pData++); BYTE count = *(c_pData); sys_log(0, "INPUT: %s SHOP: SELL2", ch->GetName()); CShopManager::instance().Sell(ch, pos, count); return sizeof(BYTE) + sizeof(BYTE); #endif help me pls
×
×
  • 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.