Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[SOLVED][HELP] HShield 0x010001 Error

Junior Spellweaver
Joined
Feb 7, 2016
Messages
109
Reaction score
6
hey guys,I search on forum but not solved problem

dlF4MZh - [SOLVED][HELP] HShield 0x010001 Error - RaGEZONE Forums


i use this and

http://forum.ragezone.com/f614/tutorial-game-terminating-abruptly-1094350

i turn it off hs

anyone have a good idea ?
 

Attachments

You must be registered for see attachments list
Last edited:
[emoji848]
Legend
Joined
Dec 3, 2011
Messages
2,232
Reaction score
1,518
Re: [HELP] HShield 0x010001 Error

Okay nevermind what I just wrote.

This is where it fails.
Code:
if(m_RecvPacket.IsPacketEncoded() == FALSE) {...}
else if(m_RecvPacket.IsValidPacket() == TRUE) { ...}
else
{	// Encoded PacketÀÌÁö¸¸ À¯È¿ÇÏÁö ¾ÊÀº ÆÐŶÀÌ´Ù.
	Close(0x10001, TRUE);

	char	szSystemLog[256];
	sprintf(szSystemLog, "[Error] CIOCPSocket::OnReceive invalid packet, SocketIndex[%d]\r\n", m_nClientArrayIndex);
	g_pGlobal->WriteSystemLog(szSystemLog);
	DBGOUT(szSystemLog);
	return;
}

It looks like the packet decryption failed on the server side.

Do you use the same packet encryption key in the Server as well as in the Client?

Note: The socket closing code is just overlapping with that hackshield code. This problem has nothing to do with the hackshield.
 
Upvote 0
Junior Spellweaver
Joined
Feb 7, 2016
Messages
109
Reaction score
6
Re: [HELP] HShield 0x010001 Error

Okay nevermind what I just wrote.

This is where it fails.
Code:
if(m_RecvPacket.IsPacketEncoded() == FALSE) {...}
else if(m_RecvPacket.IsValidPacket() == TRUE) { ...}
else
{    // Encoded PacketÀÌÁö¸¸ À¯È¿ÇÏÁö ¾ÊÀº ÆÐŶÀÌ´Ù.
    Close(0x10001, TRUE);

    char    szSystemLog[256];
    sprintf(szSystemLog, "[Error] CIOCPSocket::OnReceive invalid packet, SocketIndex[%d]\r\n", m_nClientArrayIndex);
    g_pGlobal->WriteSystemLog(szSystemLog);
    DBGOUT(szSystemLog);
    return;
}

It looks like the packet decryption failed on the server side.

Do you use the same packet encryption key in the Server as well as in the Client?

Note: The socket closing code is just overlapping with that hackshield code. This problem has nothing to do with the hackshield.

problem is solved

which code files is must be same for the stabil server and client files, can you tell me ?
i dont spend a lot of time for this game code until nowadays
 
Upvote 0
Joined
Apr 12, 2013
Messages
897
Reaction score
480
Re: [HELP] HShield 0x010001 Error

problem is solved

which code files is must be same for the stabil server and client files, can you tell me ?
i dont spend a lot of time for this game code until nowadays
Nearly all files in the common and commongameserver folders, have to be the same on Client/Serverside, best way is to merge them into one folder, so you need only to edit one file instead of 2.
 
Upvote 0
[emoji848]
Legend
Joined
Dec 3, 2011
Messages
2,232
Reaction score
1,518
Re: [HELP] HShield 0x010001 Error

Well if it's solved, you don't need to do poop.
Otherwise: SocketHeader.h Line 123
 
Upvote 0
Back
Top