Hello,
Fix the Improved packet NEW METHOD
I do not know if it is correct, I would like to know if the new method is correct, thank you
1) search service.h #define _IMPROVED_PACKET_ENCRYPTION_
replase with //#define _IMPROVED_PACKET_ENCRYPTION_
and in clientside
2) search protocol.h //buffer_adjust_size(pbuf, length);
replase with buffer_adjust_size(pbuf, length);
3) search desc.cpp int iSizeBuffer = buffer_size(m_lpInputBuffer);
replase with
int iSizeBuffer = buffer_size(m_lpInputBuffer);
if (iSizeBuffer & 7)
iSizeBuffer -= iSizeBuffer & 7;
if (iSizeBuffer > 0)
{
TEMP_BUFFER tempbuf(8192 + 4);
LPBUFFER lpBufferDecrypt = tempbuf.getptr();
buffer_adjust_size(lpBufferDecrypt, iSizeBuffer);
long iSizeAfter = TEA_Decrypt(reinterpret_cast<DWORD *>(buffer_write_peek(lpBufferDecrypt)),
reinterpret_cast<const DWORD *>( buffer_read_peek(m_lpInputBuffer)),
GetDecryptionKey(),
iSizeBuffer);
buffer_write_proceed(lpBufferDecrypt, iSizeAfter);
int iBytesProceed = 0;
while (!m_pInputProcessor->Process(this, buffer_read_peek(lpBufferDecrypt), buffer_size(lpBufferDecrypt), iBytesProceed))
{
if (iBytesProceed > iSizeBuffer)
{
buffer_read_proceed(m_lpInputBuffer, iSizeBuffer);
iSizeBuffer = 0;
iBytesProceed = 0;
break;
}
buffer_read_proceed(m_lpInputBuffer, iBytesProceed);
iSizeBuffer -= iBytesProceed;
buffer_read_proceed(lpBufferDecrypt, iBytesProceed);
iBytesProceed = 0;
}
buffer_read_proceed(m_lpInputBuffer, iBytesProceed);
}
}
return (bytes_read);
}
Remove Improved packet
For a faster client I also made a protection key after removing the Improved packet
But I do not know if I get game.core, can I find out if this new Improved packet method causes a server error?
First I want you to check the code because I made it a little more and then tell me
- Moț
-

- Mesaje: 2825
- Membru din: 03 Apr 2017, 15:00
- Aprecieri: 216
- Mulţumiri: 3040
- Discord: Copiază ID
That's a bad practice to remove the improved and back to the old one.JiloJinis scrie: ↑23 Sep 2021, 16:50For a faster client I also made a protection key after removing the Improved packet
But I do not know if I get game.core, can I find out if this new Improved packet method causes a server error?
First I want you to check the code because I made it a little more and then tell me
What you do if somebody make a clientless if him found the shared key?
Moț scrie: ↑23 Sep 2021, 17:04That's a bad practice to remove the improved and back to the old one.JiloJinis scrie: ↑23 Sep 2021, 16:50For a faster client I also made a protection key after removing the Improved packet
But I do not know if I get game.core, can I find out if this new Improved packet method causes a server error?
First I want you to check the code because I made it a little more and then tell me
What you do if somebody make a clientless if him found the shared key?
They can not find the key because it is encrypted in lib in the incuble source client can not find it if you want I can give you the client and try I have no problem I am not a beginner
This is not possible with any force because I have checked it and I have payment to fix it so that they can not see the key the protection of this key ........... The need had made me pay developer from France
I have not disabled the Improved packet yet I am just trying to find out if this method is good to disable it because I do not have the files from the old server and I am building a new server I am trying to find out if this method is good I do not want game.core
i'm afraid of game.core i do not want the server to shut down for a minute and i do not want to be the cause of the Improved packet i disabled
If you want tell me if this method to deactivate the Improved packet brings out a game.core?
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 169 vizitatori
