Commit graph

1407 commits

Author SHA1 Message Date
Anon
8270a2d9a3
Item Mappings for 1.8 - 1.12 + Crash Fix
Item Mappings for 1.8 - 1.12 + Crash Fix
2024-06-08 21:34:33 +00:00
yaggod
d0caf4c9ee fixed typo in word heAlper lol 2024-04-16 21:21:08 +03:00
oldkingOK
bf54def51f
Fix(PacketType18Handler.cs): 1.20 Packet Palette (#2715) 2024-03-20 14:10:06 +08:00
breadbyte
f5c7a2801f Add an extra autorelog guard on HandleFailure 2024-03-17 02:10:14 +08:00
breadbyte
dc71332dd3 fix mcc not showing the disconnect message
The fix is to remove the ParseText call from the OnConnectionLost call, as the ReadNextChat function already calls ParseText. Calling ParseText on an unparsable string returns an empty string, therefore the disconnect message never gets propagated to the user.
2024-03-17 02:09:20 +08:00
breadbyte
706a41ee26 Revert "Fix offline client reconnecting as a microsoft account"
Could no longer reproduce said issue without this code, and a bug was reported regarding this change, so reverting it.
This reverts commit 873bd79fd6.
2024-03-17 01:33:00 +08:00
Anon
5044ec965b Un-commended try-catch block 2024-03-12 19:07:20 +01:00
breadbyte
60ba4bd6c2
Merge pull request #2700 from breadbyte/master 2024-03-12 23:43:52 +08:00
Anon
2ce0311949 Fixed a crash in SendPlayerBlockPlacement 2024-03-12 15:05:47 +01:00
Anon
691f1a136e Added Item Palette for 1.11 2024-03-12 14:04:36 +01:00
Anon
c9c16818a4 Added item Mappings for 1.10 2024-03-12 13:49:47 +01:00
Anon
221d5948e2 Added Item mappings for 1.12 2024-03-12 13:28:17 +01:00
Anon
a19a91e37f Added Item palette for 1.9 2024-03-12 12:58:29 +01:00
Anon
6891d446a5 Added 1.8 Item Mappings and Support 2024-03-12 11:15:05 +01:00
oldkingOK
4bb25c377e feat(DeclareCommands.cs): Add 1.20.3+ version check 2024-03-10 12:03:07 +08:00
oldkingOK
79910b50f7
Merge branch 'MCCTeam:master' into forge-cmds 2024-03-10 08:07:01 +08:00
breadbyte
a72a8cf833 Make AutoRelog more reliable
Makes AutoRelog more hands on with the  relogging rather than have the general relogging handler handle it.

Fallback to the general handler only when the AutoRelog module is disabled.
2024-03-07 09:54:40 +08:00
breadbyte
c78245c056 Fix Server Version prompt
Actually use the provided server version when reconnecting to a server that doesn't broadcast their protocol version
2024-03-07 09:37:55 +08:00
breadbyte
873bd79fd6 Fix offline client reconnecting as a microsoft account
Consider an empty string as a blank password as well as the default dash.
2024-03-07 07:21:11 +08:00
Anon
e2b6dc27c8
[skipci]Forge Code Cleanup
Optimize code and edit comments
2024-03-05 22:50:06 +01:00
Anon
744de0dbd4 Removed debug logs 2024-02-28 11:49:50 +01:00
Anon
bc0781cee9 Fixed translations crash 2024-02-28 11:48:23 +01:00
Anon
620e8bf274 More debug info 2024-02-26 23:46:08 +01:00
Anon
1db0792d7b Temporary Debug info 2024-02-26 23:39:20 +01:00
Anon
ecc88fac06 Fixed a crash on Entity Metadata 2024-02-25 16:11:33 +01:00
Anon
3522a16b0d Removed a comment 2024-02-21 17:40:39 +01:00
Anon
13de67b6f8 Fixed a crash on chat parsing.
Returned the commended try catch block.
2024-02-21 17:38:32 +01:00
oldkingOK
8e1822b0d2 feat(DeclareCommands.cs): Remove 1.20.2+ version check 2024-02-21 10:10:03 +08:00
oldkingOK
8be66daab1 fix(Protocol18Forge.cs): Version bigger or equal 1.18 is FML3 2024-02-20 22:23:46 +08:00
oldkingOK
092854532a docs(Protocol18Forge.cs): Move comment to mechod head 2024-02-20 22:22:11 +08:00
oldkingOK
6949276779 docs(Protocol18Forge.cs): Replace code with packet definition 2024-02-20 22:13:10 +08:00
oldkingOK
970ba19172 refactor(ForgeInfo.cs): Remove unused code and edit comments 2024-02-20 22:02:22 +08:00
oldkingOK
f749840d89 refactor(KeyUtils.cs): Replace Newtonsoft.Json with JSONData 2024-02-20 20:31:22 +08:00
oldkingOK
576575ff65 refactor(DeclareCommands.cs): Move forge to switch version block 2024-02-20 20:22:37 +08:00
oldkingOK
e569ffe0cc fix: IndexOutOfRange on packet reading (Forge)
Add two missing forge Command Packet Parsers, which won't affect the vanilla parsers.
The ids of the two Command Packet Parsers `forge:enum` and `forge:modid` [Forge once added in order](19f8d2a793/src/main/java/net/minecraftforge/common/ForgeMod.java (L175)) are the maximum value of the Vanilla Parser id plus 1 or plus 2. `forge:enum` has a [String Type argument](https://wiki.vg/Command_Data#forge:enum).
The specific id is from [wiki.vg](https://wiki.vg/Command_Data) or Forge-generated minecraft source code.
2024-02-20 15:37:57 +08:00
breadbyte
b2ef5cb23b
(skip ci) update supported versions (visual change) 2024-02-19 02:47:07 +08:00
Anon
3fab7eb78f Fixed a crash with Reconfiguration... screen 2024-02-18 18:54:45 +01:00
Anon
d7e898c6d4 Fixed crashing on Reconfiguration... screen phase 2024-02-18 18:44:36 +01:00
Anon
35cfd4a7db Fixed a NBT crash < 1.20.2 and Fixed a crash with parsing 'extra' section in Chat 2024-02-18 17:56:02 +01:00
ReinforceZwei
6d016332fb 1.20.4: Update NBT chat parser to handle text color 2024-02-11 18:15:52 +08:00
ReinforceZwei
4546e6946e 1.20.4: Update entity, item and block palette 2024-02-11 18:13:48 +08:00
ReinforceZwei
a9f1ad4433 1.20.3: Update chat parser to parse new NBT format 2024-02-04 18:14:09 +08:00
Anon
975aab88e3 NBT Changes, needs fixing 2024-01-31 13:53:09 +01:00
Anon
790e0bfe55 Implemented 1.20.3 2024-01-30 12:51:47 +01:00
oldkingOK
350c1cdd51 fix(Protocol18.cs): OperationCanceledException when /reco 2024-01-30 11:22:37 +08:00
Anon
4f89e4fe36 Fixed a crash on non 1.20.2 versions 2024-01-29 22:40:17 +01:00
Anon
ad684fb5b6 Removed debug log for keys 2024-01-29 15:46:42 +01:00
Anon
e13ba93f47 Added Configuration Packets mapping 2024-01-29 15:39:39 +01:00
Anon
f325dd7475 Fixed bad code and the bug 2024-01-28 21:56:06 +01:00
Peaches_MLG
88bca839f7 boink 2024-01-28 01:27:16 +00:00