Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.81 KB | None | 0 0
  1. //add fifth bags
  2.     Hooks::PatchBytes((void*)0x0067C809, (BYTE)6);
  3.  
  4.     //fix use item from 5th bag damn lots of changes
  5.  
  6.     //int __thiscall CPlayerItemSlotManager::GetFreeSlotCount(CPlayerItemSlotManager *this)
  7.     Hooks::PatchBytes((void*)0x00552106, (BYTE)5);
  8.     //int __thiscall CPlayerItemSlotManager::GetFreeInventorySlot(CPlayerItemSlotManager *this, int *nInventory, int *nSlot)
  9.     Hooks::PatchBytes((void*)0x00551FE6, (BYTE)5);
  10.     //int __thiscall CMapConnection::OnSellItemToNpc1(CMapConnection *this, _tagRequestMAP_SELLITEMTONPC_1 *prcreq)
  11.     Hooks::PatchBytes((void*)0x004209B4, (BYTE)5);
  12.     //int __thiscall CMapConnection::OnDropItem(CMapConnection *this, _rcmRequestMapDropItem *prcreq)
  13.     Hooks::PatchBytes((void*)0x00420FEB, (BYTE)5);
  14.     //int __thiscall CMapConnection::OnEraseItem(CMapConnection *this, _rcmRequestMapDropItem *prcreq)
  15.     Hooks::PatchBytes((void*)0x004213EF, (BYTE)5);
  16.     //int __thiscall CMapConnection::OnUsePotion1(CMapConnection *this, _tagRequestMAP_USEPOTION_1 *prcreq)
  17.     Hooks::PatchBytes((void*)0x0042442A, (BYTE)5);
  18.     //int __thiscall CMapConnection::OnUseScroll1(CMapConnection *this, _tagRequestMAP_USESCROLL_1 *prcreq)
  19.     Hooks::PatchBytes((void*)0x00424ABF, (BYTE)5);
  20.     //int __thiscall CMapConnection::OnUseDeed1(CMapConnection *this, _tagRequestMAP_USEDEED_1 *prcreq)
  21.     Hooks::PatchBytes((void*)0x0042545B, (BYTE)5);
  22.     //int __thiscall CMapConnection::OnItemAddP2PTrade(CMapConnection *this, _rcmRequestMapItemAddP2PTrade *prcreq)
  23.     Hooks::PatchBytes((void*)0x004262D3, (BYTE)5);
  24.     //int __thiscall CMapConnection::OnEnchantItemLevel(CMapConnection *this, _tagRequestMAP_ENCHANTITEM_LEVEL *prcreq)
  25.     Hooks::PatchBytes((void*)0x00428488, (BYTE)5);
  26.     //int __thiscall CMapConnection::OnEnchantItem(CMapConnection *this, _tagRequestMAP_ENCHANTITEM_LEVEL *prcreq)
  27.     Hooks::PatchBytes((void*)0x00428B0E, (BYTE)5);
  28.     //int __thiscall CMapConnection::OnConsignRegistItem(CMapConnection *this, _tagRequestMAP_CONSIGN_REGISTITEM *prcreq)
  29.     Hooks::PatchBytes((void*)0x004340ED, (BYTE)5);
  30.     //int __thiscall CMapConnection::OnEnchantItemRank1(CMapConnection *this, _tagRequestMAP_ENCHANTITEM_RANK_1 *prcreq)
  31.     Hooks::PatchBytes((void*)0x0043B067, (BYTE)5);
  32.     //int __thiscall CMapConnection::OnEnchantItemStrength1(CMapConnection *this, _tagRequestMAP_ENCHANTITEM_STRENGTH_1 *prcreq)
  33.     Hooks::PatchBytes((void*)0x0043B7A7, (BYTE)5);
  34.     //int __thiscall CMapConnection::OnEnchantItemDexterity1(CMapConnection *this, _tagRequestMAP_ENCHANTITEM_STRENGTH_1 *prcreq)
  35.     Hooks::PatchBytes((void*)0x0043BEE7, (BYTE)5);
  36.     //int __thiscall CMapConnection::OnEnchantItemIntelligence1(CMapConnection *this, _tagRequestMAP_ENCHANTITEM_STRENGTH_1 *prcreq)
  37.     Hooks::PatchBytes((void*)0x0043C627, (BYTE)5);
  38.     // int __thiscall CMapConnection::OnRidingItem(CMapConnection *this, _tagRequestMAP_RIDING *prcreq)
  39.     Hooks::PatchBytes((void*)0x0043CADB, (BYTE)5);
  40.     // int __thiscall CMapConnection::OnUseInitStatus(CMapConnection *this, _tagRequestMAP_USEINITSTATUS *prcreq)
  41.     Hooks::PatchBytes((void*)0x0043D69D, (BYTE)5);
  42.     // int __thiscall CMapConnection::OnUseInitSkill(CMapConnection *this, _tagRequestMAP_USEINITSKILL *prcreq)
  43.     Hooks::PatchBytes((void*)0x0043DB40, (BYTE)5);
  44.     //int __thiscall CMapConnection::OnUseTransJob(CMapConnection *this, _tagRequestMAP_USETRANSJOB *prcreq)
  45.     Hooks::PatchBytes((void*)0x0044687F, (BYTE)5);
  46.     //int __thiscall CMapConnection::OnUseGuildPointItem(CMapConnection *this, _tagRequestMAP_USE_GUILDPOINTITEM *prcreq)
  47.     Hooks::PatchBytes((void*)0x00446D62, (BYTE)5);
  48.     //int __thiscall CMapConnection::OnUseAutoConfirm(CMapConnection *this, _tagRequestMAP_USEAUTOCONFIRM *prcreq, int *nRemainedSecond)
  49.     Hooks::PatchBytes((void*)0x00449462, (BYTE)5);
  50.     //int __thiscall CMapConnection::OnUseFirecracker(CMapConnection *this, _tagRequestMAP_USEFIRECRACKER *prcreq)
  51.     Hooks::PatchBytes((void*)0x0044A7EF, (BYTE)5);
  52.     //int __thiscall CMapConnection::OnUseMallItemInitStatus(CMapConnection *this, _tagRequestMAP_MALL_USE_INITSTATUS *prcreq)
  53.     Hooks::PatchBytes((void*)0x00453D3D, (BYTE)5);
  54.     //int __thiscall CMapConnection::OnUseMallItemExpRecovery(CMapConnection *this, _tagRequestMAP_MALL_EXP_RECOVERY *prcreq)
  55.     Hooks::PatchBytes((void*)0x00454265, (BYTE)5);
  56.     //int __thiscall CMapConnection::OnUseMallItemInitMurder(CMapConnection *this, _tagRequestMAP_MALL_INIT_MURDER *prcreq)
  57.     Hooks::PatchBytes((void*)0x00454619, (BYTE)5);
  58.     //int __thiscall CMapConnection::OnUseMallItemPKRecallRecharge(CMapConnection *this, _tagRequestMAP_MALL_PK_RECALL_RECHARGE *prcreq)
  59.     Hooks::PatchBytes((void*)0x00454A64, (BYTE)5);
  60.     //1 int __thiscall CMapConnection::OnUseMallItemPetRebirth(CMapConnection *this, _tagRequestMAP_MALL_PET_REBIRTH *prcreq)
  61.     Hooks::PatchBytes((void*)0x00454F01, (BYTE)5);
  62.     //2 int __thiscall CMapConnection::OnUseMallItemPetRebirth(CMapConnection *this, _tagRequestMAP_MALL_PET_REBIRTH *prcreq)
  63.     Hooks::PatchBytes((void*)0x00455038, (BYTE)5);
  64.     //int __thiscall CMapConnection::OnUseTeleportItem(CMapConnection *this, _tagRequestMAP_USE_TELEPORT_TO_PARTY_MEMBER *prcreq)
  65.     Hooks::PatchBytes((void*)0x00455702, (BYTE)5);
  66.     //int __thiscall CMapConnection::OnExchangeLuckyBag(CMapConnection *this, _tagRequestMAP_EXCHANGE_LUCKYBAG *prcreq)
  67.     Hooks::PatchBytes((void*)0x0045691A, (BYTE)5);
  68.     //1 int __thiscall CMapConnection::OnItemLimitEnchant(CMapConnection *this, _tagRequestMAP_ITEM_LIMIT_ENCHANT *prcreq)
  69.     Hooks::PatchBytes((void*)0x00457FE2, (BYTE)5);
  70.     //2 int __thiscall CMapConnection::OnItemLimitEnchant(CMapConnection *this, _tagRequestMAP_ITEM_LIMIT_ENCHANT *prcreq)
  71.     Hooks::PatchBytes((void*)0x00458027, (BYTE)5);
  72.     //int __thiscall CMapConnection::OnChangeAncientReinforceSkill(CMapConnection *this, _tagRequestMAP_TRADE_SECONDASCENTSKILLSTONE *prcreq)
  73.     Hooks::PatchBytes((void*)0x00458ABD, (BYTE)5);
  74.     //int __thiscall CMapConnection::OnUseExtendBankTabItem(CMapConnection *this, _tagRequestMAP_MALL_BANKTAB_EXTEND *prcreq)
  75.     Hooks::PatchBytes((void*)0x004590C8, (BYTE)5);
  76.     //int __thiscall CMapConnection::OnUseMarriageRing(CMapConnection *this, _tagRequestMAP_USE_MARRIAGERING *prcreq)
  77.     Hooks::PatchBytes((void*)0x0045990D, (BYTE)5);
  78.     //int __thiscall CMapConnection::OnBreakSealedCharmItem(CMapConnection *this, _tagRequestMAP_BREAK_SEALED_CHARMITEM *prcreq)
  79.     Hooks::PatchBytes((void*)0x0045AD8E, (BYTE)5);
  80.     //1 int __thiscall CMapConnection::OnEnchantItem(CMapConnection *this, const unsigned __int16 *nType, _tagRequestMAP_ENCHANTITEM *prcreq)
  81.     Hooks::PatchBytes((void*)0x0045ED44, (BYTE)5);
  82.     //2 int __thiscall CMapConnection::OnEnchantItem(CMapConnection *this, const unsigned __int16 *nType, _tagRequestMAP_ENCHANTITEM *prcreq)
  83.     Hooks::PatchBytes((void*)0x0045EE9A, (BYTE)5);
  84.     //int __thiscall CMapConnection::OnIndunUseItem(CMapConnection *this, _tagRequestMapIndunUseItem *prcreq)
  85.     Hooks::PatchBytes((void*)0x0046DCC0, (BYTE)5);
  86.     //int __thiscall CPlayer::OnUseInitSkill(CPlayer *this, _tagRequestMAP_USEINITSKILL *prcreq)
  87.     Hooks::PatchBytes((void*)0x004F06D5, (BYTE)5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement