Commit graph

126 commits

Author SHA1 Message Date
CarbonNeuron
02ebf067b9 Add Internal command logging. 2020-05-01 09:37:15 -05:00
CarbonNeuron
ff92aeab85 Add some features of command logging 2020-05-01 09:26:51 -05:00
CarbonNeuron
16959d6e65 Remove AutoLook.cs Chatbot because it is not in main project. Also removes it in McTcpClient.cs, and gets rid of the Settings.cs and Default paramaters. 2020-05-01 09:02:15 -05:00
CarbonNeuron
384c804e54 Added Entity Action handling, and A TSneak command that will Toggle Sneak. 2020-05-01 08:28:22 -05:00
CarbonNeuron
2f1b99c064 Added UUID initializers for the functions that support it in McTcpClient.cs, Also Fixed some redundant Object creation. 2020-04-30 23:40:07 +02:00
CarbonNeuron
1c2e4ab6d8 Added UUID to spawning players. And UUID property to Entity.cs 2020-04-30 23:40:07 +02:00
ORelio
116efc5e78 Add additional error messages on login failures
See #976
2020-04-30 17:37:57 +02:00
ReinforceZwei
97b0b03c33 Move AutoEat to a ChatBot 2020-04-09 20:50:34 +02:00
ReinforceZwei
044c19114c Fix current slot may reset to 0 after auto eating 2020-04-09 20:50:34 +02:00
ReinforceZwei
2e1e79bcef Add AutoEat
#923
2020-04-09 20:50:34 +02:00
ReinforceZwei
bf86259b4b Rename command Status to Health 2020-04-04 15:39:05 +02:00
ReinforceZwei
975e6d4daa Add command to check player health and saturation 2020-04-04 15:39:05 +02:00
ORelio
fe020c74c7 Catch exceptions from ChatBots for new API events 2020-04-02 23:31:00 +02:00
ORelio
b01c50b792 Improve logging, auto respawn
See discussion in GitHub issue #918
2020-04-01 21:15:35 +02:00
ReinforceZwei
e93f03bd4e Add auto repsawn if player was dead 2020-04-01 20:53:40 +02:00
ORelio
e04f06cece Interact with inventories
The /inventory command allow listing inventory and clicking on items
Should be enough for operating GUI menus such as Server chooser/teleporter
2020-03-29 18:41:26 +02:00
ORelio
bc3d6aba00 Implement item types
Github discussion on commit 6929ae236a
2020-03-28 23:30:42 +01:00
ORelio
6929ae236a Add code documentation for inventories 2020-03-28 15:01:08 +01:00
ORelio
195e162c7d Add code documentation, move and rename a few methods 2020-03-28 00:48:41 +01:00
ORelio
00112e4c6a Give access to AutoRespond matches inside scripts
Available as %match_u%, %match_1% and so on
See #770 for initial suggestion
See #772 for in-progress implementation
2020-03-27 21:39:06 +01:00
ReinforceZwei
311815be9f Fix backwards support for entity, inventory handling
Seems AutoAttack not work in 1.12.2
Entity handling currently only support 1.13 or higher
2020-03-27 13:10:37 +01:00
ReinforceZwei
bc449b404e Inventory handling 2020-03-27 13:10:37 +01:00
ReinforceZwei
c870f080f2 Fixed the client crashs when a Player in the render distance dead (including client player)
Bad End: Dead and Crash
just kidding
2020-03-24 19:23:59 +01:00
ReinforceZwei
7fbf9443a1 Made ChatBotAPI OnEntityDespawn to pass Entity object instead of EntityID 2020-03-24 19:23:59 +01:00
ReinforceZwei
dbf5334758 Moved Auto attack and auto fishing to ChatBots and added ChatBotAPI for entity handling 2020-03-24 19:23:59 +01:00
ReinforceZwei
8b8f3a719b Implemented basic player inventory items handle 2020-03-24 19:23:59 +01:00
ReinforceZwei
51d03b9ced Added basic auto fishing 2020-03-24 19:23:59 +01:00
ReinforceZwei
8c31c04c3e Tidy up code
Move variable declaration to the top
Delete unnecessary kill.cs file
2020-03-24 19:23:59 +01:00
ReinforceZwei
6ee16513e0 Final code clean up and adding summary 2020-03-24 19:23:59 +01:00
ReinforceZwei
0b0e3c334e auto attack 2020-03-24 19:23:59 +01:00
ORelio
52d98538b3 Fix AutoRelog running twice on disconnection
Bug introduced in commit aaf1e8311b
Implement User-Initiated logout reason to ignore the second logout event
See #817
2019-12-08 22:24:20 +01:00
ORelio
64d62373c9 Fix crash when a bot unloads in OnDisconnect()
See #817
2019-12-08 20:18:40 +01:00
ORelio
d1674a2d74 Fix conflict between TimeoutDetector and AutoRelog
Disable TimeoutDetector as soon as a kick message is detected
See #817
2019-11-24 12:49:03 +01:00
TheSnoozer
1f53845841 fix some doc strings 2019-10-03 09:48:40 +02:00
TheSnoozer
aaf1e8311b https://github.com/ORelio/Minecraft-Console-Client/issues/427: TriggerOnLogin doesn't work when /reco 2019-09-23 22:32:28 +02:00
ORelio
877e50579d Add connection timeout using server keepalives
Vanilla client will consider that connection has been lost
when no server keepalive was received during the last 30 seconds.
This commit implements a similar mechanism in MCC. See #802
2019-09-15 17:01:53 +02:00
ORelio
9372d81738 AutoRelog: Add debug messages (#740) 2019-05-30 11:45:43 +02:00
ORelio
5b28179444 Auto-disable inventories when not supported
See #738
2019-05-30 11:34:08 +02:00
xPenguinx
9c0e3f3bcb Close Window & Toggle Setting 2019-05-28 18:53:40 +02:00
xPenguinx
5895a4161f Started to implement inventory handling 2019-05-28 18:53:40 +02:00
ORelio
a6e660c974 Enable/Disable TerrainAndMovements while logged in
Feature requested in #705
2019-04-28 21:32:03 +02:00
ORelio
5f83ff0958 Fix dev build numbering, add update notes
Add newline in AssemblyInfo to fix dev build number in exe (#456)
Add remarks on how to implement newer MC versions (from #145, #599)
2019-04-28 15:58:10 +02:00
TheSnoozer
33edd15c9b https://github.com/ORelio/Minecraft-Console-Client/issues/625: add GetOnlinePlayersWithUUID() which allows to retrive a UUID <-> playerName relation 2019-04-22 14:22:14 +02:00
ORelio
342fadbfeb Fix /look north, improve pathfinding look
Look command: /look north was looking west instead, now fixed
Pathfinding: Look straight forward instead of looking to next block on ground
2019-04-13 08:30:39 +02:00
ORelio
d0088e0dca Update player look when using pathfinding
Document Look command in Readme
Improve UpdateLocation API
Small coding style fixes
2019-04-12 17:11:41 +02:00
Stanley Powers
4f54a4060a Explicit yawpitch, cardinal directions, and cleanup. 2019-04-12 16:25:15 +02:00
Stanley Powers
8bfdb2ab59 Look command 2019-04-12 16:25:15 +02:00
ORelio
ecf0114f62 ConsoleIO: Sync with SharpTools
Had 2 versions of the ConsoleIO class, one here inc MCC (the original),
and another one in SharpTools, more generic, for use in other projects.

Both had diverged, this commit imports changes from the other repository.
This should not have any particular effect on MCC, besides adding more
documentation and settings in the source code of the class.

If any issue arises, as always, please report it :)
2018-05-28 22:09:50 +02:00
ORelio
78af234a52 Fix crash when bot unloads in GetText()
Reported in #441. Thanks, drcheap!
2018-05-23 19:19:49 +02:00
ORelio
214f8a23da Fix \n Json decoding and allow line breaks in chat
See #281
2017-06-07 20:52:08 +02:00