Buffer that holds data has set to Byte pointer, this is the issue here:
Changing that to WORD or something else makes Client unable to connect to Server.
I think sent data processing depends on Byte data type.
Changed it in Server too but it doesnt fix this either.
Some data is exchanged but no login possible.
With Byte type the Client will get correct amount of data but cannot proccess if its more than 255 (maps+Gamestyle names)
List sent to Client in just Gamestyle names and Map names, no item names or objectives.
I cannot fix this one, it requires better understanding of all this connection part.
***Other fixes i will test few days, run server and see if all changes work fine.
Bug fixes are priority,... adding something can wait.