Minecraft-Console-Client/MinecraftClient
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
..
ChatBots Fixed merge conflicts 2023-12-02 13:34:11 +01:00
CommandHandler Added ShiftRightClick (#2582) 2023-09-16 19:39:55 +08:00
Commands Added ShiftRightClick (#2582) 2023-09-16 19:39:55 +08:00
config Merge into master 2022-12-06 20:32:46 +08:00
Crypto Trim 2023-01-14 21:07:09 +08:00
Inventory Added ShiftRightClick (#2582) 2023-09-16 19:39:55 +08:00
Logger Implement command completion suggestions. 2022-12-06 15:50:17 +08:00
Mapping 1.20.2 Implementation, not tested 2023-11-15 15:42:27 +01:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol Login with yggdrasil server 'hitmc.cc' will get 2024-01-10 11:00:04 +08:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources Add missing 1.20 advancements locales 2023-12-01 00:30:23 +02:00
Scripting Implemented TabListHeaderAndFooter packet 2023-11-20 18:08:09 +01:00
WinAPI Bug fix 2022-10-10 10:56:12 +08:00
AutoTimeout.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ColorHelper.cs legacy color support 2022-12-14 14:45:51 +08:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs [skip ci] Update Minecraft wiki links to new domain (#2593) 2023-10-07 17:59:08 +08:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs Remove color code from text 2022-11-30 16:08:55 +08:00
INIFile.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Json.cs Re-added WebSocketChat bot and improved it, no longer using WebsocketSharp library 2023-05-27 19:46:28 +02:00
McClient.cs Implemented TabListHeaderAndFooter packet 2023-11-20 18:08:09 +01:00
MinecraftClient.csproj Bump Magick.NET-Q16-AnyCPU from 12.2.1 to 13.3.0 in /MinecraftClient 2023-10-18 23:12:25 +00:00
Program.cs Fixed merge conflicts 2023-12-02 13:34:11 +01:00
Settings.cs ImplPlayerSection 2023-11-16 00:04:56 +08:00
TaskWithDelay.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
TaskWithResult.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
UpgradeHelper.cs Make UpgradeHelper compliant with .NET RID catalog 2023-03-29 20:15:22 +08:00