ModernUO/Projects/Server/Network
Kamron Batman 03f850fe03
fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607)
### Summary
- Works around a sneaky edge case bug in the JIT with stackalloc where sometimes the buffer is not zero'd.
- Fixes SendDisplayBoatHS
- Fixes sending health bars in the `SendEverything()` logic.
- Fixes a bug in sizing for some string helper functions.

### Developer Note
We are enabled `SkipLocalsInit` - do not rely on `stackalloc` to be zero'd. To zero the buffer, use `span.Clear();`

Closes #1606
2023-11-21 12:18:20 -08:00
..
NetState feat: Adds Next/Prev for future link list support (#1546) 2023-10-14 19:43:10 -07:00
Packets fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607) 2023-11-21 12:18:20 -08:00
EncodedPacketHandler.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
EncodedReader.cs feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
MovementThrottle.cs feat: Adds a movement throttle system. Removes Fastwalk system. (#1511) 2023-09-27 20:53:22 -07:00
NetworkCompression.cs chore: Cleans up unused imports (#1550) 2023-10-15 11:45:42 -07:00
PacketHandler.cs feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
PacketUtilities.cs fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607) 2023-11-21 12:18:20 -08:00
PingServer.cs fix: Fixes serialization threading, moves world save to end of loop, and eliminates Parallel.ForEach. (#1530) 2023-10-03 00:42:49 -07:00
Pipe.cs feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
ServerInfo.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
TcpServer.cs feat: Adds ping listener on port 12000 for server list (#1485) 2023-09-03 09:29:27 -07:00