Commit graph

973 commits

Author SHA1 Message Date
Daenges
b3cc2351ee
CalculatePath: Fix offset calculation, improve approaching (#2013)
* Square minOffset and maxOffset to match DistanceSquared
* Rewrite squaring
* Add minOffset
* Implement h-score selection
2022-05-05 20:05:05 +02:00
Daenges
708815fe61
Improve pathfinding capabilities (#1999)
* Add `ClientIsMoving()` API to determine if currently walking/falling
* Improve `MoveToLocation()` performance and allow approaching location
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-04-30 00:56:41 +02:00
ORelio
aeca6a8f53 Add thead safety to terrain data (#1999)
Allow safely reading terrain data from other threads
2022-04-23 12:00:50 +02:00
ORelio
d6220ff779 Fix potentual issue with location != operator 2022-04-23 11:50:43 +02:00
ReinforceZwei
17dbe10ff3 Settings: Make Microsoft as default account type 2022-04-06 18:24:49 +02:00
泠辰
f77a06e8ec
Update and improve translation. (#1987) 2022-04-03 01:23:26 +08:00
Рома Данилов
7e2e90b9f2
Updated Russian Language (#1985)
* Updated Russian Language
Removed bad spaces
Удалены лишние пробелы
* Update ru.ini
* Update MinecraftClient/Resources/lang/ru.ini
2022-04-02 18:28:05 +02:00
tobycm
cec770da56
Add a portion of Vietnamese translation (#1982)
* Create vi.ini
Vietnamese language translate
* Add more translation
* Add translation to README file
2022-04-01 23:18:10 +02:00
Leon Heuer
a202f31aaf
Update version to 1.18.2 (#1961) 2022-03-21 23:29:16 +01:00
ORelio
41950c8b20
Fix automated builds
Revert to Windows 2019 because support for .NET 4 is dropped on Windows 2022.
2022-03-06 20:09:40 +01:00
Marko von Oppen
8795aab810
Add command to disable Gravity (#1955)
Allow disabling gravity (flying) for servers that allow this.
/move gravity: show gravity handling status
/move gravity on: enable gravity handling (falling)
/move gravity off: disable gravity handling (flying)

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-03-06 19:37:27 +01:00
LesterLian
288994aeec
Chinese Translation Improvement (#1959) 2022-03-06 23:22:37 +08:00
ORelio
6986902938
Docker: Fix start-latest.sh (#1924)
Properly remove carriage return when extracting release tag
2022-02-05 23:26:54 +01:00
ReinforceZwei
cc75db7070
MSA: Disable refresh token for MCC signin method (#1925)
* MSA: Change classes to static class

* MSA: Disable refresh token for MCC sign method
2022-02-05 13:07:15 +08:00
ORelio
ed452cf632 Realms API: Handle HTTP request failure (#1921) 2022-01-31 20:56:39 +01:00
ORelio
0e2ebf484b Docker: Update start-latest.sh (grep -i)
Use -i if case changes for the Location: header
2022-01-26 13:23:21 +01:00
ORelio
2dfec8b047 Docker: Update start-latest.sh
Download MinecraftClient.exe from GitHub instead of AppVeyor
2022-01-26 13:19:56 +01:00
ORelio
72bb4a0dc4 Fix Badge in README 2022-01-26 13:05:26 +01:00
ORelio
111d06e177 Update badge in README 2022-01-26 13:03:33 +01:00
ORelio
4e4a61d6e9
Set-Up GitHub Actions
Fix project name
2022-01-26 12:55:08 +01:00
ORelio
8e563a42f0
Build and Release with GitHub Actions
Based on research by TheSnoozer (#1267) and Archer57 (#1854), discussed in #1916.
2022-01-26 12:53:37 +01:00
Daenges
095c9cf137
Fix quote detection in /setrnd (#1915)
* Fix quote detection in /setrnd
Before the function crashed when entering quoted strings.
* Fix indentation
* Fix out of array error
2022-01-24 16:15:44 +01:00
Daenges
bbe000b640
Fix /move crash and /setrnd (#1914)
* Fix /move crash
* Fix substring cutting in SetRnd
2022-01-23 21:31:44 +01:00
goldenlib
223db4af6a
Add French translation (#1896)
Also minor imprivements to English translation
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-01-16 11:43:57 +01:00
Daenges
95378dca8e
Automatic sugar cane farming (#1882)
* Automatic sugar cane farming

Inspired by #1871 I wrote a script to farm a field of sugar cane fully autonomous.

* Implement suggestions

* Remove unused comment

* Remove comment and improve return value
2022-01-04 22:34:09 +08:00
Daenges
dd3fd3c9d2
Add "-f" to the /move command (#1874) 2021-12-29 22:34:40 +08:00
ORelio
259ef80cf9 Inventory: Select foreground container (#1875)
When several containers are open "/inventory container" will select
the container with highest ID (i.e. foreground container)
2021-12-28 11:15:11 +01:00
ReinforceZwei
25248025c2 Fix hyperlink in chat message cause crash
See #1850
2021-12-24 11:57:27 +08:00
Archer57
2858e0cbb7
Added docker-compose configuration (#1855)
* Fixed some spelling and typing mistakes

* Added docker-compose configuration

* Added docker-compose description to the user manual

* changed the default path of the mapped volume to a relative path
2021-12-19 11:49:02 +08:00
Archer57
5a56ae65b2
Fixed some spelling and typing mistakes (#1852) 2021-12-17 12:13:03 +08:00
ReinforceZwei
04d83bf277 SessionCache: Add backward compatibility for old session file 2021-12-17 09:29:24 +08:00
ReinforceZwei
4b8ca158a8
Microsoft Sign-in: Add refresh token support (#1838) 2021-12-16 15:53:31 +08:00
ReinforceZwei
e68a51dcff Move parseCommandLine method to command class 2021-12-15 21:25:24 +08:00
Daenges
381b8ea7d1
Add setrnd command (#1846)
* Add setrnd command

* Make rand private

* Add console-like argument behaviour

* Remove unused using declarations

* Add german and english translations

* Improve translation, Add notice to config README, Add check wheather arguments are provided

* Add some comments

* Remove typo

* Add %player% constant to setrnd

* Remove test variable and add comments

* Remove typo

* Reverse changes

* Remove translations
2021-12-15 18:51:16 +08:00
ReinforceZwei
333358c73b
Fix respawn packet (#1848) 2021-12-11 21:06:17 +08:00
ReinforceZwei
bdcf3e5aa2
Update version to 1.18.1 (#1845) 2021-12-10 22:15:00 +08:00
ReinforceZwei
fdc3069083
Microsoft Sign-in: Migrate to our own client Id (#1827)
* Microsoft Sign-in: Migrate to our own client Id

- Drop support of "mcc" sign-in method
- Add nuget packages for decoding JWT

* Remove JWT nuget package

* Remove client secret

It is not needed after changing application type in Azure

* Change token validation method to expiration time

* Revert changes of dropping mcc sign-in method

* Add email pre-fill for browser sign-in
2021-12-04 19:15:58 +08:00
ReinforceZwei
9a9245f193
Update version to 1.18 (#1836) 2021-12-02 21:07:57 +08:00
ORelio
6918a64c47
README: Fix build status badge 2021-11-23 20:44:58 +01:00
ORelio
1d1bd69eb2 Spectator-Teleport: Add MC version check (#1825)
Feature not supported by Minecraft 1.7, only 1.8+
2021-11-18 17:42:31 +01:00
xXjojaXx
76a10c0cd8
Spectator-Teleport Implementation (#1825) 2021-11-18 00:33:52 +08:00
Daenges
4ba09754de
Add logging of color codes (#1811) 2021-10-30 11:40:58 +08:00
Daenges
6928cd40fd
Add toggle to head movement while walking (#1805)
* Add toggle to head movement while walking

* correct typo

* Correcting the correcting

* Improve description.

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2021-10-29 12:45:30 +08:00
ORelio
8de7618027 Update README and URLs
Moving to a GitHub organization!
2021-10-10 20:56:39 +02:00
ORelio
bb4c13168b Mojang Login: Enable TLS 1.2 (#1780)
Enable TLS 1.2 which is disabled by default on .NET 4.0
See also: #1783
2021-10-05 22:09:48 +02:00
ReinforceZwei
eba309191c WebRequest: Enable TLS 1.2
Fix #1774
Temporary fix. May not work if .NET Framework 4.6+ missing
2021-10-01 14:32:34 +08:00
ORelio
981dd51a9b Add inline documentation and warnings in config (#1764)
...as documentation may not be included/redistributed with MCC.
2021-09-19 15:31:39 +02:00
ReinforceZwei
41b0325f45
Delete issue form for question (#1736)
* Delete issue form for question

* Proprose changes for the "ask for help" paragraph

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2021-08-25 18:08:08 +08:00
Daenges
a05e89cf58
Addition to MojangAPI.cs (#1714)
* Add skin handling to MojangAPI.cs

* Add new skin requests and improve commenting

* Update UUID hash method to detect default player skin
according to https://github.com/ORelio/Minecraft-Console-Client/pull/1714#issuecomment-894751307

* Add custom return types

* Add ServiceStatus enum for the mojang services
2021-08-13 14:27:53 +08:00
ORelio
ab3f624336
Readme: Mono certificates: Add help from #1708
Mozroots is not longer used for newer Mono versions
2021-08-06 11:35:45 +02:00