Commit graph

5 commits

Author SHA1 Message Date
_BLU
72276986fa Fixed a lot of network buffer related errors
AuthClient still unstable!

This code is kinda hacky, but it should work.
Some methods were receiving not the whole buffer, because BeginReceive can give you partial messages.

Since we only process a limited amount of players (~1) it is currently okay.

TODO for future:
- Unify networking code (see 0blu/dh)
- Make everything use something like ReceiveBufferFully to prevent such errors in the future
- AuthClient does not have SizeField (how to determine whole packet size)?

Ref: #112 (and probably a lot more)
2022-11-27 01:03:39 +01:00
_BLU
d4e23d1170 Improved config 2022-11-26 23:25:02 +01:00
_BLU
55e9fca8ea Cleanup service start procedure 2022-11-26 22:06:47 +01:00
ratkosrb
342b79a6e3 Fixes a crash when trying to login without the launcher.
a9a51d0641
2022-04-11 03:41:20 +03:00
ratkosrb
0b47713d26 Add BnetServer from CypherCore. 2022-01-29 16:44:34 +02:00