Minecraft-Console-Client/MinecraftClient/Protocol
oldkingOK 734de2a9ac Login with yggdrasil server 'hitmc.cc' will get
```
Login failed : Invalid server response.
```

Print the raw response which is `result` in [/MinecraftClient/Protocol/ProtocolHandler.cs#L554](f6797cb4b5/MinecraftClient/Protocol/ProtocolHandler.cs (L554))
(Every test shows like this)

```
HTTP/1.1 200 OK
...

1e1
{"accessToken":"...","clientToken":"...","availableProfiles":[{"id":"..","name":".."},{"id":"..","na
f
me":"ok_bot"}]}
0
```

After splited by line:
- 1e1
- {"accessToken": ... ,"na
- f
- me":"ok_bot"}]}
- 0

The response when Login with 'littleskin.cn' which works fine is:

```
HTTP/1.1 200 OK
...

1e1
{"accessToken":"...","clientToken":"...","availableProfiles":[{"id":"..","name":".."},{"id":"..","name":"ok_bot"}]}
0

```

After splited by line:
- 1e1
- {"accessToken": ... ,"name":"ok_bot"}]}
- 0
-
-

So adding [1] and [3] will make both 'hitmc.cc' and 'littleskin.cn' work fine.
2024-01-10 11:00:04 +08:00
..
Handlers Fixed merge conflicts 2023-12-02 13:34:11 +01:00
Message Fix message marker mixed with actual message body 2023-03-25 16:42:28 +08:00
ProfileKey Fix 1.19.3 key exchange in offline mode 2023-01-17 20:16:35 +08:00
Session refactored session checks for better readability 2023-12-02 13:15:46 +02:00
DataTypeGenerator.cs Fix xxx.Parse 2022-10-04 11:53:07 +08:00
EntityActionType.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
GuidExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
IMinecraftCom.cs Fully Implemented 1.20 2023-06-08 19:27:28 +02:00
IMinecraftComHandler.cs Implemented TabListHeaderAndFooter packet 2023-11-20 18:08:09 +01:00
JwtPayloadDecode.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
MicrosoftAuthentication.cs Refactoring Settings.cs 2022-10-05 15:02:30 +08:00
MojangAPI.cs Implement command completion suggestions. 2022-12-06 15:50:17 +08:00
PlayerInfo.cs Trim 2023-01-14 21:07:09 +08:00
ProtocolHandler.cs Login with yggdrasil server 'hitmc.cc' will get 2024-01-10 11:00:04 +08:00
ProxiedWebRequest.cs Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
ReplayHandler.cs 1.19.3 Message signing support. 2023-01-13 16:12:10 +08:00