Commit graph

1670 commits

Author SHA1 Message Date
Anon
3bfe5aa855
Fixed a crash
Fixed a crash when a chat message was received on a server that uses protocol lib and viaversion.
2024-01-28 21:43:21 +01:00
Peaches_MLG
88bca839f7 boink 2024-01-28 01:27:16 +00:00
Anon
6faddae16e
Implement Forge FML3 protocol (MC 1.18+) and Fix yggdrasil-auth chat issue
Implement Forge FML3 protocol (MC 1.18+) and Fix yggdrasil-auth chat issue
2024-01-14 17:07:15 +01:00
Anon
ae5e016f5f
[skipci] Bump follow-redirects from 1.15.2 to 1.15.4 in /docs
Bump follow-redirects from 1.15.2 to 1.15.4 in /docs
2024-01-14 12:02:11 +01:00
oldkingOK
a8643d85fc Remove QQbot scripts for fml3 pull request 2024-01-14 10:48:45 +08:00
oldkingOK
8eee50044f Edit outdated links in comments and add FML3 stuff
Add FML3 extra packetID 5 and 6 recognition based on
https://github.com/MinecraftForge/MinecraftForge/blob/1.18.x/src/main/java/net/minecraftforge/network/NetworkInitialization.java

Changed the way of selecting FML version for "Force Forge" from forced FML3 to game version based.
MC 1.12 and lower: FML, MC 1.13 to 1.17: FML2, MC 1.18 and greater: FML3

Edit outdated links in comments:
Accessing the link below will result in a message that the file cannot be found
https://github.com/MinecraftForge/MinecraftForge/blob/master/src/main/java/net/minecraftforge/fml/network/FMLNetworkConstants.java
Presumably it's version 1.13 based on the original commit and issue, then change to
https://github.com/MinecraftForge/MinecraftForge/blob/1.13.x/src/main/java/net/minecraftforge/fml/network/FMLNetworkConstants.java
https://github.com/MCCTeam/Minecraft-Console-Client/issues/1184
2024-01-14 01:45:38 +08:00
oldkingOK
79fa297e2b Merge branch 'dev' of github.com:oldkingOK/Minecraft-Console-Client into dev
Sync files
2024-01-13 03:40:01 +08:00
oldkingOK
2c8b15b02e Fix bug: Yggdrasil client can't send message upper 22w17a
When try to send message in yggdrasil-auth server with `enforce-secure-profile=true`
and `online-mode=true` enabled, will fail with message in red:
Chat disabled due to missing profile public key. Please try reconnecting.
So yggdrasil-auth-client also has to encrypt chat messages like Microsoft-auth-client
to send out messages.
2024-01-13 03:29:00 +08:00
oldkingOK
e7d519e4aa Fix bug: Yggdrasil client can't send message upper 22w17a
When try to send message in yggdrasil-auth server with `enforce-secure-profile=true`
and `online-mode=true` enabled, will fail with message in red:
Chat disabled due to missing profile public key. Please try reconnecting.
So yggdrasil-auth-client also has to encrypt chat messages like Microsoft-auth-client
to send out messages.
2024-01-13 03:00:02 +08:00
oldkingOK
22cf7a046b 添加支持 Fml3 ,并暂时设置force forge时为fml3 2024-01-12 13:28:03 +08:00
oldkingOK
725510d3ef 修改 OkWsBot.cs,获取玩家列表时排除自己
删除群号指定,因为在py-server.py里已经指定
2024-01-12 13:25:26 +08:00
oldkingOK
9ae3bc4d0d Fix: 群友未设置群昵称时无法在服务器显示名称
先判断是否有群昵称,然后再设置
2024-01-11 11:01:40 +08:00
oldkingOK
644014e42f Add QQbot scripts and python script 2024-01-10 17:48:03 +08:00
dependabot[bot]
269a890a23
Bump follow-redirects from 1.15.2 to 1.15.4 in /docs
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 07:56:35 +00:00
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
Anon
f6797cb4b5
Implemented 1.20.2
Implemented 1.20.2
2023-12-15 09:58:10 +01:00
Anon
ba2402ee11
Fixed merge conflicts
Fixed merge conflicts
2023-12-02 13:35:29 +01:00
Anon
480f0d85f0 Fixed merge conflicts 2023-12-02 13:34:11 +01:00
Anon
f2e1c57b23
Restore ability to login with Microsoft broken after Yggdrasil authentication implementation
Restore ability to login with Microsoft broken after Yggdrasil authentication implementation
2023-12-02 12:55:39 +01:00
mcflurrybaby
e19de8eb0b refactored session checks for better readability 2023-12-02 13:15:46 +02:00
mcflurrybaby
ceff78a821 Restore ability to login with microsoft broken after yggdrasil login implementation 2023-12-02 12:39:52 +02:00
Anon
1c17da2665
Add missing 1.20 advancements locales
Add missing 1.20 advancements locales
2023-12-01 16:02:28 +01:00
mcflurrybaby
6714d9a9d0 Add missing 1.20 advancements locales 2023-12-01 00:30:23 +02:00
Anon
a41b6719ce
Merge pull request #8 from milutinke/1.20.2
1.20.2
2023-11-27 00:03:58 +01:00
Anon
2fb5c163d5 Formatting 2023-11-27 00:03:20 +01:00
Anon
0ad892ef50 Chunk Batch error should be fixed now 2023-11-27 00:00:57 +01:00
Anon
eb7bfff8ab
Merge pull request #7 from milutinke/1.20.2
Fixed division with a 0 error
2023-11-25 14:04:04 +01:00
Anon
549f39fab1 Fixed division with a 0 error 2023-11-25 14:02:06 +01:00
Anon
c6da4e2ac3
[skip ci] Add Yggdrasil Login (authlib-injector support)
Add Yggdrasil Login (authlib-injector support)
2023-11-25 11:03:41 +01:00
Polaris_Light
a08bfca4e5
Merge branch 'master' into master 2023-11-25 17:23:06 +08:00
Polaris_Light
f07b1e964c ResolveConflict*2 2023-11-24 22:18:42 +08:00
Polaris_Light
8dfcf9c5d5 ResolveConflict 2023-11-24 21:58:55 +08:00
Anon
f50bfbb857
Implemented TabListHeaderAndFooter packet
Implemented TabListHeaderAndFooter packet
2023-11-20 18:09:08 +01:00
Anon
782481816d Implemented TabListHeaderAndFooter packet 2023-11-20 18:08:09 +01:00
Anon
cf6db27088
[skipci] Websocket bot: Create new Responder object that will respond to the session's new name
Websocket bot: Create new Responder object that will respond to the session's new name
2023-11-20 17:50:04 +01:00
Anon
21e2f41f25
[skipci] Add an IP lookup to the WebSocketBot
Add an IP lookup to the WebSocketBot
2023-11-20 17:49:45 +01:00
zorua162
d49a597671 Create new Responder object that will repond to the session's new name 2023-11-19 21:07:09 +00:00
zorua162
1f4db70f8a Added extra config to the WebSocket bot AllowIpAlias, which allows enabling of any IP to be used to host the WebSocket bot from 2023-11-19 13:43:32 +00:00
zorua162
fd1009b43f Revert "Add an IP lookup to the WebSocketBot"
This reverts commit 0a149647b6.
2023-11-19 12:57:09 +00:00
zorua162
0a149647b6 Add an IP lookup to the WebSocketBot 2023-11-18 22:00:16 +00:00
Anon
04c1f941b6
Implemented 1.20.2
Implemented 1.20.2
2023-11-17 17:27:00 +00:00
Anon
93112d2c02 Implemented 1.20.2 fully, needs more testing 2023-11-17 18:21:57 +01:00
Polaris_Light
4fc1aacca5 BetterTranslationMaybe 2023-11-16 10:10:06 +08:00
Polaris_Light
49dec51588 MakeSelectedProfileNullable 2023-11-16 09:59:56 +08:00
Polaris_Light
a97096cddf ImplPlayerSection 2023-11-16 00:04:56 +08:00
Anon
4f957cee7e 1.20.2 Implementation, not tested 2023-11-15 15:42:27 +01:00
Polaris_Light
3c97193b70 AddYggdrasilLogin 2023-11-12 21:04:20 +08:00
Anon
eb8ccc43d7
[skip ci] Bump Magick.NET-Q16-AnyCPU from 12.2.1 to 13.3.0 in /MinecraftClient
Bump Magick.NET-Q16-AnyCPU from 12.2.1 to 13.3.0 in /MinecraftClient
2023-10-28 15:12:01 +00:00
Anon
4626ccbc67
[skip ci] Bump postcss from 8.4.18 to 8.4.31 in /docs
Bump postcss from 8.4.18 to 8.4.31 in /docs
2023-10-28 15:11:26 +00:00
dependabot[bot]
b8af534438
Bump Magick.NET-Q16-AnyCPU from 12.2.1 to 13.3.0 in /MinecraftClient
Bumps [Magick.NET-Q16-AnyCPU](https://github.com/dlemstra/Magick.NET) from 12.2.1 to 13.3.0.
- [Release notes](https://github.com/dlemstra/Magick.NET/releases)
- [Commits](https://github.com/dlemstra/Magick.NET/compare/12.2.1...13.3.0)

---
updated-dependencies:
- dependency-name: Magick.NET-Q16-AnyCPU
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 23:12:25 +00:00