Remove Improved packet

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
JiloJinis
Nou Venit

Nou Venit
Mesaje: 34
Membru din: 28 Apr 2020, 15:43
Aprecieri: 151  
Mulţumiri: 1  
Medalii

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);
}
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

What is the reason to remove that?
Imagine
Afișează semnătura
Avatar utilizator
JiloJinis
Nou Venit

Nou Venit
Mesaje: 34
Membru din: 28 Apr 2020, 15:43
Aprecieri: 151  
Mulţumiri: 1  
Medalii

Moț scrie: ↑23 Sep 2021, 16:44 What is the reason to remove that?
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
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

JiloJinis scrie: ↑23 Sep 2021, 16:50
Moț scrie: ↑23 Sep 2021, 16:44 What is the reason to remove that?
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
That's a bad practice to remove the improved and back to the old one.
What you do if somebody make a clientless if him found the shared key?
Pentru acest mesaj, Moț for the post:
JiloJinis
Imagine
Afișează semnătura
Avatar utilizator
JiloJinis
Nou Venit

Nou Venit
Mesaje: 34
Membru din: 28 Apr 2020, 15:43
Aprecieri: 151  
Mulţumiri: 1  
Medalii

Moț scrie: ↑23 Sep 2021, 17:04
JiloJinis scrie: ↑23 Sep 2021, 16:50
Moț scrie: ↑23 Sep 2021, 16:44 What is the reason to remove that?
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
That's a bad practice to remove the improved and back to the old one.
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
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

If you can use a debugger & disassembler is easy to find them and then your encrypted key is useless
Pentru acest mesaj, Moț for the post:
zewszews
Imagine
Afișează semnătura
Avatar utilizator
JiloJinis
Nou Venit

Nou Venit
Mesaje: 34
Membru din: 28 Apr 2020, 15:43
Aprecieri: 151  
Mulţumiri: 1  
Medalii

Moț scrie: ↑23 Sep 2021, 17:16 If you can use a debugger & disassembler is easy to find them.
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
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

then give me the client
Imagine
Afișează semnătura
Avatar utilizator
JiloJinis
Nou Venit

Nou Venit
Mesaje: 34
Membru din: 28 Apr 2020, 15:43
Aprecieri: 151  
Mulţumiri: 1  
Medalii

Moț scrie: ↑23 Sep 2021, 17:25 then give me the client
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 :( also if you have a little patience until I fix it then I will give you a client
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?
Avatar utilizator
JiloJinis
Nou Venit

Nou Venit
Mesaje: 34
Membru din: 28 Apr 2020, 15:43
Aprecieri: 151  
Mulţumiri: 1  
Medalii

up
Închis
Răspunsuri
0
Vizualizări
710
Răspunsuri
2
Vizualizări
1542

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 169 vizitatori