Commit graph

181 commits

Author SHA1 Message Date
Milutinke
77500deef2 Added the bot. 2022-10-11 22:47:06 +02:00
BruceChen
c57ac183d5 Add AutoDig ChatBot 2022-10-08 17:56:32 +08:00
BruceChen
e0678ea7a5 Merge ScriptScheduler's config 2022-10-05 17:10:10 +08:00
BruceChen
16c1d1fd77 Refactoring Settings.cs 2022-10-05 15:02:30 +08:00
BruceChen
b97b226166 Restore to previous movement speed 2022-10-04 11:58:07 +08:00
BruceChen
f2cbe74a35 Add translation 2022-10-03 11:48:42 +08:00
BruceChen
81a9955081 Alerts ChatBot: Support trigger on weather change 2022-10-03 11:39:25 +08:00
BruceChen
1d52d1eadd
Fix all warnings & Trim (#2226)
* Fix AutoFishing crash
* Fix all warnings
* Remove DotNetZip.
* Fix the usage of HttpClient.
2022-10-02 18:31:08 +08:00
BruceChen
4aa6c1c99f
Upgrade GetLookingBlock 2022-10-02 13:49:36 +08:00
Milutinke
9903ad7535 Updated Anti AFK Chat Bot to use terrain handling, now it can walk around randomly in the given range. Also added random interval support, and the bot now can sneak when using the command (alternative method). 2022-09-28 18:38:57 +02:00
Milutinke
f7263873db Implemented Map Chat bot which can render maps into images. Useful for solving captchas. 2022-09-28 00:14:43 +02:00
Milutinke
8809ad41d8 Accidentally removed initialization for FollowPlayer chat bot, fixed. 2022-09-25 16:18:52 +02:00
Milutinke
9b407dbdad Added command for reloading settings, chat bots, listing chat bots and unloading a chat bot manually by name. 2022-09-25 16:00:43 +02:00
Anon
a03bab277b
Fully implemented Map Data packet + Fixed 1.14 not working.
Fully implemented Map Data packet + Fixed 1.14 not working.
2022-09-22 17:38:43 +00:00
Anon
c945a33f8f
Added an option to match by colors in Auto Respond bot.
Added an option to match by colors in Auto Respond bot.
2022-09-21 16:03:38 +00:00
Milutinke
0d58887b6a Added an option to match by colors in Auto Respond bot. 2022-09-21 17:56:29 +02:00
Tasuku Bobcorn
0445454c72 Fixed internal command char not properly displayed in respawn hint 2022-09-21 21:35:36 +08:00
Anon
b5cf315ca1
Added /execmulti and /execif commands.
Added a way to execute multiple commands with a single command and a conditional command.
The documentation will be updated soon.
2022-09-19 15:26:53 +00:00
Milutinke
f47c240920 Fully implemented Map Data packet. 2022-09-18 00:18:27 +02:00
BruceChen
59e02c2da9
Fix entity metadata handling and dimension handling in 1.19.2
Fix entity metadata handling and dimension handling in 1.19.2
2022-09-16 12:08:13 +08:00
BruceChen
c00468c103 Fix 1.19.2 entity metadata handle 2022-09-15 21:11:47 +08:00
Anon
7f49ee3120
Added a Follow Player chat bot
Implemented the Follow Player chat bot.
2022-09-15 09:17:15 +00:00
Milutinke
77da611411 Added a command that executes other command if a condition is met. 2022-09-11 22:35:26 +02:00
BruceChen
ccb8610020 Support use left hand 2022-09-12 02:19:20 +08:00
Milutinke
c7ba5e5fa3 Implemented the Follow Player chat bot. 2022-09-09 15:39:41 +02:00
BruceChen
223c13561c Fix /move 2022-09-09 16:13:25 +08:00
BruceChen
ac3f346f14 Trim & Improve the help message 2022-09-08 17:19:13 +08:00
BruceChen
65bcd83330 Shift click support 2022-09-08 14:04:23 +08:00
Anon
81579a7e40
Added a custom timeout setting
Added an option for custom timeout as requested in #1337.
2022-09-06 14:10:24 +00:00
BruceChen
0eb8d9998c Support for using relative coordinates in /move 2022-09-05 22:03:47 +08:00
BruceChen
db17babe58 Bug fix 2022-09-04 17:34:12 +08:00
BruceChen
afdf2f9e2c Merge from master 2022-09-04 10:44:25 +08:00
BruceChen
4538095d74 Reduce merge conflicts 2022-09-02 09:29:24 +08:00
BruceChen
a13af47b3e Reduce the latency of sending messages 2022-08-31 22:52:05 +08:00
BruceChen
98dd645fb5 Bug fix: Can't reconnect after connection lost 2022-08-31 22:32:38 +08:00
BruceChen
c0be6a61c8 Trim 2022-08-31 20:46:21 +08:00
BruceChen
9089bb4cdb Change how world is stored & Bug fix 2022-08-31 18:00:00 +08:00
BruceChen
aceccaf5b5 No longer need to cancel chunk loading 2022-08-30 19:09:07 +08:00
Milutinke
42de4378e1 Added an option for custom timeout as requested in #1337. 2022-08-29 19:12:44 +02:00
BruceChen
da02f8004f Bug fix: Guid parse fail 2022-08-29 17:13:35 +08:00
BruceChen
13d1a9856a Rewrote AES stream & Perform "SessionCheck" in advance 2022-08-27 23:01:28 +08:00
BruceChen
c34dd46067 Basic support for 1.19.2 2022-08-27 02:10:44 +08:00
BruceChen
01ef9a89ca Bug fix: Cancel chunk load task when switching worlds 2022-08-24 18:16:16 +08:00
BruceChen
af1485c753 login support 2022-08-24 12:37:22 +08:00
ORelio
1ce7850193 MC 1.17/1.18 Terrain/Entity/Inventory (#1943)
Merge branch 'master' of github.com:milutinke/Minecraft-Console-Client into milutinke-master

Manually fix merge conflicts
Additional changes:
 - WindowItems: Fix data type for "elements" below 1.17
 - DestroyEntities: Fix packet palettes and remove DestroyEntity
 - EntityMetadata: Throw exception if health field mapping is not updated

Co-authored-by: Milutinke <bgteam@live.com>
Co-authored-by: BruceChen <MrChen131217@gmail.com>
2022-08-19 16:35:55 +02:00
Booquefius
613f52d3ae
AuotoAttack: add support for multiple interact modes (#2044)
* Adds support for multiple interact modes
* Entity interaction: Implement enum

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-08-15 23:31:17 +02:00
Daenges
aa1f54d0d8
Rework of MineCube.cs and further improvements to CalculatePath() (#2014)
* Add function to determine if the client is executing a walking process
* Add comments
* Remove test bot entry
* Add funtion to approach a block as close as possible
* Add funtion to approach a block as close as possible
* Add funtion to approach a block as close as possible
* Add comment to function in McClient.cs
* Improve concurrency and reduce potential calculation power
* Apply code suggestions
* Apply code suggestions
* Improve CalculatePath() function to allow approaching
* Fix typo in MinecraftClient/ChatBot.cs
* Add comments to Chatbot fucntion
* Add break to for loop to exit quicker
* Allow to give a maxOffset to the goal
* Comment the sample bot again.
* Add parameter for calculation timeout
* Remove TestBot again
* Implement timeout in Chatbot class
* Remove test commands
* Update comment in Chatbot.cs
* Set timeout to default 5 sec
* Change order of parameters back
* Add suggested improvements
* Move task and fix missing methods in .NET 4.0
* Create switch for tool handling
* Remove unused function
* Improve movement
* Improve performance of CalculatePath()

 - Replace Hashset OpenSet with a Binary Heap
  - Temporary remove maxOffset / minOffset features
 - Round start location for easier calculation
 - Add 0.5 to each location in reconstruct path to avoid getting stuck
    on edges

* Add diagonal movement
* Remove direct block movement
- causes kick for invalid packet movement if moving on the block you are
  currently standing on

* Floor start in A* and improve diagonal walking check
* Add helperfunctions to McClient.cs
* Prevent client from falling into danger
* Add comment to function and remove dependencies
* Add comments
* Remove debug settings

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-08-15 18:26:40 +02:00
BruceChen
a8bbb1ac76
Basic support for minecraft 1.19 (#2084)
* merge commit from milutinke
* chat signature & encrypted login
* Bug fix :EncryptionResponse format error below 1.18.2
* Implemented chat command signature
* Chat message parsing and verification for 1.19
* Add signature settings
* Update Simplified Chinese Translation
* Clear up comments
* Fix wrong variable naming
* Bug fix: SignatureV2 Processing
2022-08-15 17:55:44 +02:00
BruceChen
a18b526a41 bug fix: Error handling for empty slots 2022-07-25 17:22:01 +08:00
BruceChen
cbe348555b Fix bug: drop single item cause exception 2022-07-25 17:08:59 +08:00