|
You last visited: Today at 13:27
Advertisement
S4 Packet Manager - Source only!
Discussion on S4 Packet Manager - Source only! within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.
05/18/2014, 00:53
|
#121
|
elite*gold: 0
Join Date: Mar 2014
Posts: 82
Received Thanks: 49
|
Room_Leave_Req*
|
|
|
05/18/2014, 03:32
|
#122
|
elite*gold: 0
Join Date: Nov 2013
Posts: 67
Received Thanks: 23
|
@Omdihar
1- what's this function : [DetourContinueProcessWithDllA] i can't find an explain for it !?
is it something like injection ? or what ! :|
2- why u hooked CreateProcessW ?? ,, to [inject] the dll in every process created by this function In HGWC ?? ............ [[[ the s4 process is already created before this function called !!? , right ?? -_- ]]]
3- is this addresses works :
Code:
Rijndael = 0xE5D840 [PacketMgr]
DeRijndael = 0xE5DA30 [PacketMgr - 2]
InvalidParam = 0xE988B1 // 75 1C 6A 00 68
4- actually ,, i can't understand this base well !!.. but if i am correct .. u inject it to hgwc !!
and if i am wrong can u make small explain !?
and yes i know that game now use HackShield but i want to understand what was u doing with hgwc !!!!!!!
//
Why don't we just inject it in S4Client Process ...?
[[It's working For me anyway !!]]
|
|
|
05/18/2014, 04:59
|
#123
|
elite*gold: 0
Join Date: Aug 2013
Posts: 37
Received Thanks: 6
|
When he released this he gave everyone who wants to use it a challenge. It kind of destroys the purpose of learning C++ and Reverse Engineering if he explains "certain" things. Besides, there's no greater feeling than to accomplish or create something using basic or limited information you had on or about it, it makes you more adept.
|
|
|
05/18/2014, 05:40
|
#124
|
elite*gold: 0
Join Date: May 2014
Posts: 3
Received Thanks: 0
|
i use pack&5minbypass work!! but Why i get this msg??

how can i fix this?
|
|
|
05/18/2014, 15:21
|
#125
|
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
|
HShield and server comunicate every 5 minutes in packets if nothing come to the server the server disconnect the client from the game. If you want fix this you must do little things like hooking a few function and found this place in the dll (reversing).
|
|
|
05/18/2014, 15:35
|
#126
|
elite*gold: 15
Join Date: Jun 2011
Posts: 570
Received Thanks: 2,757
|
Quote:
Originally Posted by Omdihar
Oh my fault!
Just remove that comment, CPacket::finalize should work perfectly.
Btw.with blocking RoomLeave_Req you should be able to avoid getting kicked by Kickhaxx 
|
Then you won't be able to leave the room, even if you unblock packets.
|
|
|
05/18/2014, 16:36
|
#127
|
elite*gold: 0
Join Date: Jun 2010
Posts: 80
Received Thanks: 43
|
Quote:
Originally Posted by Omdihar
Yo!
It's been an age since I released something to the public.
I scrolled through the  and saw my little release there (which is a while back when I put it into the S4 UG).
So I decided to share it with you
This is a Packet Manager which has 2 powerful funtions: - Block packets
- Modify packets
With blocking packets you can completely deny the client from receiving or sending a specific packet. The second feature offers you to change incoming or outgoing packets (e.g changing your nickname).
Requirements:- C++
- Visual Studio 2012
- Reverse Engineering Skills
My intention with this release is to convince you of learning C++/Reverse Engineering and that stuff.
C'mon stop being a leecher and learn how to do it by yourself 
You can also see this as a little teaser to apply for the  .
I should mention that this could be outdated and couldn't work, just update it by yourself if thats the case.
There is an example in the dllmain.cpp but it can't hurt if I post here examples as welll:
Modify Packets:
THIS EXAMPLE IS ONLY CLIENTSIDE
Code:
/*Level : 80+ (Level icon is green)
*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();
});
If you modify a packet don't forget to call CPacket::finalize() otherwise the server won't accept your packet.
Block Packets:
I don't want to get kicked by HGWC!
Code:
CPacketMgr::instance()->blockPacket(ePacketId::Admin_HGWKick_Ack);
Packet list (also in CPacket.h)
Code:
enum ePacketId : unsigned short
{
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,
};
So have fun and if you have questions about learning C++ or just about this release, ask them
Btw.: As the title says, this is not a ready-to-use binary!
Thanks to 
|
You make S4 Crashe HF fuck admin
|
|
|
05/18/2014, 20:07
|
#128
|
elite*gold: 0
Join Date: May 2014
Posts: 143
Received Thanks: 61
|
Work Win7,64Bit
Please Pressy "Thanks"  <3
|
|
|
05/19/2014, 08:43
|
#129
|
elite*gold: 1
Join Date: Apr 2010
Posts: 13,772
Received Thanks: 15,035
|
Quote:
Originally Posted by I2espect
@Omdihar
1- what's this function : [DetourContinueProcessWithDllA] i can't find an explain for it !?
is it something like injection ? or what ! :|
|
You're right it's just like an injection.
Quote:
Originally Posted by I2espect
2- why u hooked CreateProcessW ?? ,, to [inject] the dll in every process created by this function In HGWC ?? ............ [[[ the s4 process is already created before this function called !!? , right ?? -_- ]]]
|
The main purpose was to inject my DLLs before Themida started unpacking. With CThemida then I was able to call my patch functions right after Themida finished, even before XTrap initiated
But I used this concept for a multiclient implementation to inject DLLs into HGWC, S4Client and XTrap.xt
Quote:
Originally Posted by I2espect
3- is this addresses works :
Code:
Rijndael = 0xE5D840 [PacketMgr]
DeRijndael = 0xE5DA30 [PacketMgr - 2]
InvalidParam = 0xE988B1 // 75 1C 6A 00 68
|
Dunno
Quote:
Originally Posted by I2espect
4- actually ,, i can't understand this base well !!.. but if i am correct .. u inject it to hgwc !!
and if i am wrong can u make small explain !?
and yes i know that game now use HackShield but i want to understand what was u doing with hgwc !!!!!!!
|
I injected it into HGWC because I wanted to hook CreateProcessW.
In my hook I was able to inject PacketMgr.dll right after S4Client was called.
Quote:
Originally Posted by Forbidi
Then you won't be able to leave the room, even if you unblock packets.
|
Actually I did know this but I wasn't able to find the right packet.
If you look here closely you can find "LeavePlayer_Request_Ack = 0x520b,". Block it and you'll be fine
|
|
|
05/19/2014, 10:34
|
#130
|
elite*gold: 0
Join Date: May 2014
Posts: 143
Received Thanks: 61
|
Great Job
Pressy  if I help you
|
|
|
05/19/2014, 10:45
|
#131
|
elite*gold: 260
Join Date: Jun 2011
Posts: 355
Received Thanks: 8,168
|
Quote:
Originally Posted by ravenxzx
Actually I did know this but I wasn't able to find the right packet.
If you look  closely you can find "LeavePlayer_Request_Ack = 0x520b,". Block it and you'll be fine 
|
Game Server asking to client to leave, i wonder why they kept such a bad design when they switched to ProudNet .-.
|
|
|
05/20/2014, 03:28
|
#132
|
elite*gold: 0
Join Date: Feb 2012
Posts: 1,400
Received Thanks: 2,939
|
Quote:
Originally Posted by Exetra
Game Server asking to client to leave, i wonder why they kept such a bad design when they switched to ProudNet .-.
|
So basically what you are trying to say is, ProudNet is good?
XD
|
|
|
05/20/2014, 03:50
|
#133
|
elite*gold: 260
Join Date: Jun 2011
Posts: 355
Received Thanks: 8,168
|
Quote:
Originally Posted by Crack-wtf
So basically what you are trying to say is, ProudNet is good?
XD
|
Learn to read. I'm just saying that they could had took the time to change their entire design with their new tool, instead of keeping the crappy -obviously- outdated *****.
I actually like ProudNet for it's simplicity to work with it - yet Windows-only **** -, the bad thing is too much memleaks ;-;
|
|
|
05/21/2014, 11:22
|
#134
|
elite*gold: 0
Join Date: Feb 2014
Posts: 340
Received Thanks: 89
|
Is it able with this manager to change the packet from +1 weapons to forcepack ?. I know it didnīt work if you change the Values with ce oder something else. But if you change the packets ?
Or to change the i don't know how its called Random_shop_req ?
So that you just can get "this" one item that you want ?
Yeah im a combi farmer and i want to ask you if there is a way to start a arcade stage and it auto complete in 1 second ?.
Because at stage 8 there are 400 exp each succesfull round. and i do this with 8 virtual machines. But i must wait always 1 minute to kill the virus or s4 league crashes.
*yes i made 1 hit with this packet manager*
|
|
|
05/21/2014, 17:33
|
#135
|
elite*gold: 0
Join Date: May 2014
Posts: 349
Received Thanks: 174
|
Quote:
Originally Posted by RaZorFantastic
Is it able with this manager to change the packet from +1 weapons to forcepack ?. I know it didnīt work if you change the Values with ce oder something else. But if you change the packets ?
Or to change the i don't know how its called Random_shop_req ?
So that you just can get "this" one item that you want ?
Yeah im a combi farmer and i want to ask you if there is a way to start a arcade stage and it auto complete in 1 second ?.
Because at stage 8 there are 400 exp each succesfull round. and i do this with 8 virtual machines. But i must wait always 1 minute to kill the virus or s4 league crashes.
*yes i made 1 hit with this packet manager*
|
Yes you can change item info, no you cannot change the round time.
|
|
|
All times are GMT +1. The time now is 13:27.
|
|