Commit graph

1755 commits

Author SHA1 Message Date
dependabot[bot]
f54c5aab44
Bump webpack from 5.76.1 to 5.94.0 in /docs
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.1 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.1...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 10:54:58 +00:00
breadbyte
c5dc517c43
Embed debugging information into the executable
This helps us with bug reports by providing users with more debugging information when an error happens.
2024-08-16 11:28:13 +08:00
breadbyte
c69cdaddbf [skip ci] fix issue 2779 2024-08-14 18:49:09 +08:00
breadbyte
8bdb20a22c
[skip ci] Update docker image to use updated releases 2024-08-14 18:22:05 +08:00
breadbyte
ca966a464c
Ensure that the cached version of MCC is refreshed every update (#2760)
fixes #2758

this happened because we added sentry in a future release, but the cache was using an old executable, so it couldn't find the assembly.
2024-07-14 01:46:43 +08:00
breadbyte
c50b360eae
Fix minor bugs (#2759)
* add miscellaneous fixes

* Fixed connecting to server when compression threshold is set to 0

The client assumes that 0 means disabled, when on a notchian (vanilla) server, it is possible to set the compression threshold to 0 (compress all packets).

* Try to capture all exceptions through Sentry

No exceptions are being logged through Sentry, so be more aggressive when sending exceptions

(cherry picked from commit eb1c2f5e771760fb3be32ffea79f8292adca92f1)

* Call OnSpawnPlayer packet when a player is spawned using the SpawnEntity packet

references #2721

(cherry picked from commit ef28ae09ac89e8988dd612de61f2849a9f0e528c)
2024-07-14 01:30:16 +08:00
breadbyte
2f9cf7bc8c
Remove Sentry Release Versioning from builds 2024-07-04 03:03:32 +08:00
breadbyte
729381fb87
Update Sentry release configuration 2024-07-04 02:51:38 +08:00
breadbyte
95e7f08319
Update the Github Actions Automated Build (#2750)
* Replace Github Release Upload Action

Replaces the tixfactory release-manager action with a different one found in the marketplace, as the current one is no longer working.

* Update build-and-release.yml
2024-07-04 02:43:02 +08:00
breadbyte
08551097c6
Add Sentry Error Tracking (#2670)
* Add Sentry Error Tracking

* Omit personally identifiable information and add additional sentry context

* Remove debug message

* Make sentry opt-out and add related notices and strings

Also add Minecraft Version to error context

* Update build to send release info to sentry

* Adjust sentry error tracking

- Send the user-friendly Minecraft Version in the error logs
- Capture exceptions in more parts of the application

We now capture exceptions from the following locations:
- Protocol18 (1.8+) Packet errors
- Errors during client initialization phase (When client is about to start, session keys are NEVER sent to sentry)

* Make Sentry DSN configurable and repository-specific

The Sentry DSN will automatically be filled out on the main repository through the Github Actions build.

* Update build-and-release.yml

Update sed command

* style: change variable name

nitpick, just to make it a little bit more descriptive

* Add Sentry branding in README.

* remove old code (merge conflict)
2024-06-22 06:41:13 +08:00
breadbyte
8756ff5b3c
[skip ci] Miscellaneous scripting QoL improvements and fixes (#2740)
* Update CI to detect the word "skipci"

* Make script compilation errors more verbose

Rather than just giving the line in which the error has been found, return the actual text content of the line itself

* Attempt to bubble up errors in the script chain, so it says the reason for any NotRun errors.

The exception message gets eaten up when the script is running, and an exception happens.

Also put in a default result message for the CmdResult, instead of having it default to null.

* Trim the whitespace off returned script compilation error line
2024-06-22 06:40:23 +08:00
Anon
4919db8820
[skipci]Dependabot update
Bump ws from 8.10.0 to 8.17.1 in /docs
2024-06-19 16:24:20 +00:00
dependabot[bot]
7cd8e3500c
Bump ws from 8.10.0 to 8.17.1 in /docs
Bumps [ws](https://github.com/websockets/ws) from 8.10.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.10.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 19:10:25 +00:00
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
breadbyte
fc2373b6d5
[skip ci] Update build-and-release.yml
undo breaking the action and figure out that contains isn't case sensitive anyways
2024-04-19 15:49:38 +08:00
breadbyte
8037794601
[skip ci] Merge pull request #2724 from yaggod/master 2024-04-19 15:44:27 +08:00
breadbyte
4146897e3c
Update Github Actions to actually skip builds
We used to only check for "skip ci" specifically, so all other amalgamations of skip-ci, skip-build, etc still create a new build.

this changes the build check to check for skip, SKIP or Skip instead to catch all of them.
2024-04-19 15:41:40 +08:00
yaggod
d0caf4c9ee fixed typo in word heAlper lol 2024-04-16 21:21:08 +03:00
dependabot[bot]
d6d0800215
[skip-ci] Bump express from 4.18.2 to 4.19.2 in /docs (#2719)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 14:55:10 +08:00
Zorua162
403284cc53
[skip-ci] Add the ability to be able to use different platforms with the example Dockerfile (#2723) 2024-04-15 14:48:04 +08:00
Anon
2fe376e7ca
Merge pull request #2716 from MCCTeam/dependabot/npm_and_yarn/docs/webpack-dev-middleware-5.3.4
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docs
2024-03-24 15:03:51 +01:00
dependabot[bot]
3ccdbc2a4f
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docs
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 10:41:40 +00:00
Anon
5f3923973f
[skipci] Merge pull request #2710 from MCCTeam/dependabot/npm_and_yarn/docs/follow-redirects-1.15.6
Bump follow-redirects from 1.15.4 to 1.15.6 in /docs
2024-03-21 17:05:54 +01:00
oldkingOK
bf54def51f
Fix(PacketType18Handler.cs): 1.20 Packet Palette (#2715) 2024-03-20 14:10:06 +08:00
dependabot[bot]
552f563eb0
Bump follow-redirects from 1.15.4 to 1.15.6 in /docs
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 23:08:54 +00: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
Anon
ac9a70c159
fix: IndexOutOfRange on packet reading (Forge)
fix: IndexOutOfRange on packet reading (Forge)
2024-03-10 12:12:47 +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
5f4227ad11
[skipci] Documentation update (Latest Version)
Documentation update (Latest Version)
2024-03-05 23:19:40 +01:00
Anon
3b213296ac Updated the last supported version on the Documentation website front page 2024-03-05 23:18:08 +01:00
Anon
e2b6dc27c8
[skipci]Forge Code Cleanup
Optimize code and edit comments
2024-03-05 22:50:06 +01:00
Anon
86fb4feffc
Implemented 1.20.3/4
1.20.3/4 Implementation
2024-03-05 22:42:26 +01:00
Anon
438311787d
1.20.3/4 - Fixed a crash with translations + Updated Translations
1.20.3/4 - Fixed a crash with translations + Updated Translations
2024-02-28 11:52:36 +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