mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-11-26 00:10:18 +00:00
fix: add splitscreen, fix dlcs not loading, major RCE vuln fix on packet net, fix chunk loading on non-server clients, persistent saves
note: I changed how XUID works, player data might be wiped on old saves, save items on a chest or similar before trying to load old saves on new version
This commit is contained in:
1 parent
e077f9250f
commit
d017bfc30a
76 files changed
+14967
-4486
No files matched your search
@@ -138,6 +138,11 @@ void Socket::pushDataToQueue(const BYTE * pbData, DWORD dwDataSize, bool fromHos
|
||||
}
|
||||
|
||||
EnterCriticalSection(&m_queueLockNetwork[queueIdx]);
|
||||
if(m_queueNetwork[queueIdx].size() + dwDataSize > 2 * 1024 * 1024)
|
||||
{
|
||||
LeaveCriticalSection(&m_queueLockNetwork[queueIdx]);
|
||||
return;
|
||||
}
|
||||
for( unsigned int i = 0; i < dwDataSize; i++ )
|
||||
{
|
||||
m_queueNetwork[queueIdx].push(*pbData++);
|
||||
|
||||
Reference in new issue
Block a user