Questo è un packet manager con 2 funzioni:



  • Blocco dei pacchetti
  • Modifica dei pacchetti



Bloccando i pacchetti è possibile negare al client l'invio o la ricezione di un pacchetto specifico.

Requisiti:

- C++
- Visual Studio 2012
- Capacità di reversing

Esempio di dllmain.cpp

ESEMPIO SOLO CLIENT SIDE. (Livello,Pen,Esperienza etc.)

Codice:
​/*Level                : 80+ (Level icon is green)
Codice:

Codice:
*Pen                : 4294967295
*Win/Lose rate        : 4294967295 | 4294967295
*Experience        : 4294967295
*Bugs/Side effect    : strange whisper messages Oo
 **/


CPacketMgr::instance()->modifyPacket(ePacketId::Player_AccountInfo_Ack, [](CPacket *pPacket)
{
    for(int i = 0; i < pPacket->getRawPacketSize() - sizeof(CPacket::sPacketHeader); ++i)
        *(pPacket->getRawPacket<byte*>() + sizeof(CPacket::sPacketHeader) + i) = 0xFF;


    pPacket->finalize(); 
});


Se modificate un pacchetto non dimenticate di utilizzare CPacket::finalize() oppure il server non accetterà il vostro pacchetto.


Bloccare pacchetti:

Non si vuole essere cacciati da HGWC!

Semplice:
Codice:
CPacketMgr::instance()->blockPacket(ePacketId::Admin_HGWKick_Ack);



Packet list (Presente anche in CPacket.h)
Codice:
enum ePacketId : unsigned short{
Codice:

Codice:
    Destroyed = 0,


    //Auth Server
    Login_KR_Req = 0x1389,                Login_KR_Ack = 0x13ED,
    Login_EU_Req = 0x138A,                Login_EU_Ack = 0x13EE,
    Login_JP_Req = 0x138B,                Login_JP_Ack = 0x13EF,
    ServerList_Req = 0x138C,            ServerList_Ack = 0x13F0,
    OptionVersionCheck_Req = 0x138D,    OptionVersionCheck_Ack = 0x13F1,
    AuthInTHReq = 0x138E,                AuthInTHAck = 0x13F2,


    //Chat Server
    Login_Req = 0x3A99,                    Login_Ack = 0x3E81,
    Deny_Action_Req = 0x3A9A,            Deny_Action_Ack = 0x3E87,    Deny_List_Ack = 0x3E88,
    Friend_Action_Req = 0x3A9B,            Friend_Action_Ack = 0x3E82,    Friend_List_Ack = 0x3E83,
    Combi_CheckName_Req = 0x3A9C,        Combi_CheckName_Ack = 0x3E86,
    Combi_Action_Req = 0x3A9D,            Combi_Action_Ack = 0x3E84,    Combi_List_Ack = 0x3E85,
    UserData_One_Req = 0x3A9E,
    UserData_Three_Ack = 0x3A9F,
    Message_Chat_Req = 0x3AA0,            Message_Chat_Ack = 0x3E8C,
    Message_WhisperChat_Req = 0x3AA1,    Message_WhiserChat_Ack = 0x3E8D,
    Room_InvitationPlayer_Req = 0x3AA2,    Room_InvitationPlayer_Ack = 0x3E8E,
    Note_List_Req = 0x3AA3,                Note_List_Ack = 0x3E90,
    Note_Send_Req = 0x3AA4,                Note_Send_Ack = 0x3E91,
    Note_Read_Req = 0x3AA5,                Note_Read_Ack = 0x3E92,
    Note_Delete_Req = 0x3AA6,            Note_Delete_Ack = 0x3E93,
    Note_Count_Req = 0x3AA7,            Note_Count_Ack = 0x3E95,
                                        Note_Error_Ack = 0x3E94,
    Option_SaveCommunity_Req = 0x3AA8,
    Option_SaveBinary_Req = 0x3AA9,
    Note_RejectImportune_Req = 0x3AB0,    Note_RejectImportune_Ack = 0x3E9C,
    Club_Note_Send_Req = 0x3AB1,        Club_Note_Send_Ack = 0x3E9F,
    Club_Member_List_Req = 0x3AB2,        /*Clan*/Club_MemberList_Ack = 0x3E8F,
                                        Chennel_PlayerList_Ack = 0x3E89,
                                        Chennel_EnterPlayer_Ack = 0x3E8A,
                                        Chennel_LeavePlayer_Ack = 0x3E8B,
                                        Player_Info_Ack = 0x3E96,
                                        Player_Position_Ack = 0x3E97,
                                        Player_PlayerInfo_List_Ack = 0x3E98,
    UserData_Two_Req = 0x3E99,
                                        UserData_Four_Ack = 0x3E9A,
                                        /*Clan*/Club_ChangeNotice_Ack = 0x3E9B,


    Club_System_Message = 0x3E9D,
    Club_News_Remind = 0x3E9E,


    //Game Server - oh no :/
                                        CSuccessCreateCharacterAck = 0xEA68,
    Character_Create_Req = 0xC351,
    Character_Select_Req = 0xC352,        Character_Select_Ack = 0xEA67,
    Character_Delete_Req = 0xC353,        Character_Delete_Ack = 0xEA66,
    Login_Request_Req = 0xC354,            Login_Request_Ack = 0xEA61,
    Room_QuickStart_Req = 0xC355,
    Room_Make_Req = 0xC356,
    Nick_Check_Req = 0xC357,            Nick_Check_Ack = 0xEA6A,
    Item_UseItem_Req = 0xC358,            Item_UseItem_Ack = 0xEA6B,
    Room_Leave_Req = 0xC359,
    Time_Sync_Req = 0xC35A,
    Admin_ShowWindow_Req = 0xC35B,
    Club_Info_Req = 0xC35C,
    Channel_Enter_Req = 0xC35D,
    Channel_Leave_Req = 0xC35E,
    Channel_Info_Req = 0xC35F,
    Room_Enter_Req = 0xC360,
    Player_Info_Req = 0xC361,            Player_AccountInfo_Ack = 0xEA62,
    Item_BuyItem_Req = 0xC362,
    Item_RepairItem_Req = 0xC363,
    Item_RefundItem_Req = 0xC364,
    Admin_Action_Req = 0xC365,
    Character_ActiveEquipPreset_Req = 0xC3666,
    License_Gain_Req = 0xC367,
    Club_NoticeChange_Req = 0xC368,
    Club_InfoByID_Req = 0xC369,
    Club_InfoByName_Req = 0xC36A,
    Item_InventoryInfo_Req = 0xC36B,    Item_InventoryInfo_Ack = 0xEA65,
    Task_Notify_Req = 0xC36C,
    Task_Reguest_Req = 0xC36D,
    License_Exercise_Req = 0xC36E,
    Item_UseCoin_Req = 0xC36F,
    Item_UseEsperChip_Req = 0xC370,
    Player_BadUser_Req = 0xC371,
    Club_Join_Req = 0xC372,
    Club_UnJoin_Req = 0xC373,
    NewShop_UpdateCheck_Req = 0xC374,
    Item_UseChangeNick_Req = 0xC375,
    Item_UseRecordReset_Req = 0xC376,
    Item_UseCoinFilling_Req = 0xC377,
    Player_FindInfo_Req = 0xC378,
    Item_DiscardItem_Req = 0xC379,
    Item_UseCapsule_Req = 0xC37A,
    Club_Address_Req = 0xC37B,
    Club_History_Req = 0xC37C,
    Item_UseChangeNickCancel_Req = 0xC37D,
    Tutorial_Completed_Req = 0xC37E,
    Character_FirstCreate_Req = 0xC37F,
    ShoppingBasket_Action_Req = 0xC380,
    ShoppingBasket_Delete_Req = 0xC381,
    RandomShop_UpdateCheck_Req = 0xC382,
    RandomShop_RollingStart_Req = 0xC383,
    Room_InfoRequest_Req = 0xC384,
    Note_GiftItem_Req = 0xC385,
    Note_ImportuneItem_Req = 0xC386,
    Note_GiftItemGain_Req = 0xC387,
    Room_QuickJoin_Req = 0xC388,
    Money_RefreshCashInfo_Req = 0xC389,
    Card_Gamble_Req = 0xC38A,
    Promotion_Attendance_GiftItem_Req = 0xC38B,
    Promotion_CoinEvent_UseCoin_Req = 0xC38C,
    Item_Enchan_Req = 0xC38D,
    CPromotion_CardShuffle_Req = 0xC38E,
    Billing_Cash_Info_Req = 0xC38F,
    XTrap_Detour = 0xC390,
    Promotion_CouponEvent_Req = 0xC391,
    CollectBook_UpdateCheck_Req = 0xC392,
    CollectBook_InventoryInfo_Req = 0xC393,
    CollectBook_UseReward_Req = 0xC394,
    Use_Instant_Item_Req = 0xC395,
    Arcade_StageClear_Req = 0x4E3D,
    Arcade_StageFailed_Req = 0x4E3E,
                                        Character_CurrentInfo_Ack = 0xEA63,
                                        Character_CurrentItemInfo_Ack = 0xEA64,
                                        Server_Result_Ack = 0xEA69,
                                        Item_UpdateInventory_Ack = 0xEA6C,
                                        Room_CurrentCharacterSlot_Ack = 0xEA6D,
                                        Room_EnterPlayerInfo_Ack = 0xEA6E,
                                        Room_EnterClubInfo_Ack = 0xEA6F,
                                        Room_PlayerInfoListForEnterPlayer_Ack = 0xEA70,
                                        Room_ClubInfoListForEnterPlayer_Ack = 0xEA71,
                                        Room_EnterRoomInfo_Ack = 0xEA72,
                                        Room_LeavePlayerInfo_Ack = 0xEA73,
                                        Time_Sync_Ack = 0xEA74,
                                        Room_ChangeRoomInfo_Ack = 0xEA75,
                                        NewShop_UpdateEnd_Ack = 0xEA76,
                                        Channel_ListInfo_Ack = 0xEA77,
                                        Room_Deploy_Ack = 0xEA78,
                                        Room_Dispose_Ack = 0xEA79,
                                        Item_BuyItem_Ack = 0xEA7B,
                                        Item_RepairItem_Ack = 0xEA7C,
                                        Item_DurabilityItem_Ack = 0xEA7D,
                                        Item_RefundItem_Ack = 0xEA7E,
                                        Money_RefreshCashInfo_Ack = 0xEA7F,
                                        Admin_Action_Ack = 0xEA80,
                                        Admin_ShowWindow_Ack = 0xEA81,
                                        Notice_AdminMessage_Ack = 0xEA82,
                                        Character_CurrentSlotInfo_Ack = 0xEA83,
                                        Item_RefreshInvalidEquipItem_Ack = 0xEA84,
                                        Item_ClearInvalidEquipItem_Ack = 0xEA85,
                                        Item_ClearEsperChip_Ack = 0xEAC1,
                                        MapOpenInfos = 0xEAC5,
                                        Character_AvatarEquipPreset_Ack = 0xEA86,
                                        License_MyInfo_Ack = 0xEA87,
                                        Club_Info_Ack = 0xEA88,
                                        Club_History_Ack = 0xEA89,
                                        Item_EquipBosstItemInfo_Ack = 0xEA8A,
                                        Club_FindInfo_Ack = 0xEA8B,
                                        Task_Info_Ack = 0xEA8C,
                                        Task_Update_Ack = 0xEA8D,
                                        Task_Request_Ack = 0xEA8E,
                                        Task_Remove_Ack = 0xEA8F,
                                        Money_RefreshCoinInfo_Ack = 0xEA90,
                                        Item_UseEsperChipItem_Ack = 0xEA91,
                                        Requital_ArcadeReward_Ack = 0xEA92,
                                        Player_ArcadeMapInfo_Ack = 0xEA93,
                                        Player_Arcade_StageInfo_Ack = 0xEA94,
                                        Money_RefreshPenInfo_Ack = 0xEA95,
                                        Item_UseCapsule_Ack = 0xEA96,
                                        Admin_HGWKick_Ack = 0xEA97,
                                        Club_Join_Ack = 0xEA98,
                                        Club_UnJoin_Ack = 0xEA99,
                                        NewShop_UpdateCheck_Ack = 0xEA9A,
                                        NewShop_UpdataInfo_Ack = 0xEA9B,
                                        Item_UseChangeNick_Ack = 0xEA9C,
                                        Item_UseRecordReset_Ack = 0xEA9D,
                                        Item_UseCoinFilling_Ack = 0xEA9E,
                                        Player_FindInfo_Ack = 0xEA9F,
                                        Item_DiscardItem_Ack = 0xEAA0,
                                        Item_InventoryDelete_Ack = 0xEAA1,
                                        Club_Address_Ack = 0xEAA2,
                                        Item_UseChangeNickCancel_Ack = 0xEAA3,
                                        Requital_EventItemReward_Ack = 0xEAA4,
                                        Room_ListInfo_Ack = 0xEAA5,
                                        Nick_Default_Ack = 0xEAA6,
                                        Requital_GiveItemResult_Ack = 0xEAA7,
                                        ShoppingBasket_Action_Ack = 0xEAA8,
                                        ShoppingBasket_ListInfo_Ack = 0xEAA9,
                                        RandomShop_UpdateRequest_Ack = 0xEAAA,
                                        RandomShop_UpdateCheck_Ack = 0xEAAB,
                                        RandomShop_RollingStart_Ack = 0xEAAC,
                                        Room_InfoRequest_Ack = 0xEAAD,
                                        Note_GiftItem_Ack = 0xEAAE,
                                        Note_ImportuneItem_Ack = 0xEAAF,
                                        Game_BriefingInfo_Ack = 0x5211,

 
};


Download: Zippyshare.com - packetmgr.rar