We are testing new assembly of server-side code and now try to fix all problems with server crashes.
Server-side code is not designed for 64+ players at NetworkableLayer, these code have hard limits in memory, and is we research it right now.
Currently server-side code were decompiled to C-like source text and now can be understood very simply.
Now server crashes with access violations in memory
here is code:
Code: Select all
dice::hfe::io::SWConnection::reset(void)
0x0847C042 mov dword ptr [ebx], 0Ah
for system this operation can be dangerous, if 64 players already connected and 65th trying to connect.
We trying to reallocate memory for this operation (resets), for each connection.
If anyone wants to look for source texts in asm or C language, please follow this
link
PS: This server located in Russia, and questions about the legality of not relevant
Please do not lock thread, we need more people who know assembler-x86.