ORelio
2add4030f4
Rename McTcpClient to McClient for clarity
...
+ Fix compile error in #1071
2020-06-20 15:01:17 +02:00
Рома Данилов
b52435f0ce
Implement OnMapData, OnTitle, UpdateSign, OnEntityEquipment, Useblock ( #1071 )
...
* + Fix null PlayerInventory
+ Fix null PlayerInventory
* Update Protocol18.cs
* Update McTcpClient.cs
+ Fix https://github.com/ORelio/Minecraft-Console-Client/issues/1022
* Update Protocol18.cs
+ MapData
* Update PacketIncomingType.cs
+ MapData
* Update Protocol18PacketTypes.cs
* Update IMinecraftComHandler.cs
+ OnMapData
* Update McTcpClient.cs
+ OnMapData
* Update ChatBot.cs
+ OnMapData
* Update Protocol18.cs
* Update Protocol18PacketTypes.cs
+ Fix
* Update PacketIncomingType.cs
+ Title
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
+ OnTitle
* Update McTcpClient.cs
* Update ChatBot.cs
+ OnTitle
* Update Protocol18.cs
Fix
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
* add ClearInventories()
* add ClearInventories()
* Update McTcpClient.cs
+ OnTitle
* Preparing to Add BlockAction
* Update PacketOutgoingType.cs
* Update PacketOutgoingType.cs
* Update Protocol18.cs
+ SendUpdateSign
* Update Protocol16.cs
+ SendUpdateSign
* Update IMinecraftCom.cs
+ SendUpdateSign
* Update McTcpClient.cs
+ UpdateSign
* Update ChatBot.cs
+ UpdateSign
* Update McTcpClient.cs
Update PlaceBlock
* Update ChatBot.cs
* Update McTcpClient.cs
* add SendCreativeInventoryAction nbt
add SendCreativeInventoryAction nbt
* Update Protocol18.cs
* Update Protocol16.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update Inventory.cs
* Update Protocol18PacketTypes.cs
* Update PacketIncomingType.cs
* Update Protocol18PacketTypes.cs
* Update Protocol18PacketTypes.cs
Fix
* Update Protocol18PacketTypes.cs
Fix
* Update IMinecraftComHandler.cs
* Update IMinecraftComHandler.cs
* Update ChatBot.cs
* Update McTcpClient.cs
+ OnEntityEquipment
* Update Protocol18.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* Create Useblock.cs
* Update MinecraftClient.csproj
* Update McTcpClient.cs
2020-06-20 14:57:07 +02:00
Рома Данилов
eddf7ad063
Clear inventory on respawn ( #1022 , #1069 )
...
Fix null PlayerInventory
Fix issue #1022
2020-06-14 18:53:11 +02:00
ORelio
c79c22bcdf
Reset inventory on game join ( #1067 )
...
Reset inventory each time Game Join event is received
2020-06-14 15:45:20 +02:00
ORelio
ee8bc7f308
Allow bots to perform small teleports ( #1067 )
...
Small teleport jumps within a 4-block ranges.
May cause invalid moves and/or trigger anti-cheat plugins.
2020-06-14 15:41:34 +02:00
ReinforceZwei
ab05d697ef
Fix AutoEat crash ( #1068 )
...
* Fix AutoEat keep eating after player dead
* Fix null reference on GetInventory method
* Add error handle for ChatBot API events
* Fix minor mistakes
2020-06-14 15:14:51 +02:00
Рома Данилов
87302bafab
Keep track of current game mode ( #1053 )
...
* GetGamemode()
* GetGamemode()
* ChangeGamemode()
* GetGamemode()
* Update ChatBot.cs
code refractor
* Update Inventory.cs
Gamemode check added
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol18.cs
code refractor
* Update IMinecraftComHandler.cs
code refractor
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
fix
* Update McTcpClient.cs
fix
* Fix duplicate gamemode event
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-06-13 15:00:30 +02:00
Рома Данилов
b800bbcb37
ConsoleIcon support Windows 10 on new Console & OnLatencyUpdate Event ( #1044 )
...
* new ConsoleIcon support
* Update ChatBot.cs
+ OnLatencyUpdate
* Update McTcpClient.cs
+ OnLatencyUpdate
* Update Protocol18.cs
+ OnLatencyUpdate
* Update IMinecraftComHandler.cs
+ OnLatencyUpdate
* Update Protocol18.cs
+ BugFix
* Update ConsoleIcon.cs
2020-06-07 13:16:49 +02:00
ORelio
20fb2323a4
Read all files as UTF-8 ( #1035 )
...
Fix encoding issues with some languages such as Chinese
by forcing UTF-8 everywhere. Configuration files written
in ANSI/Latin-1 and other encodings will need conversion.
2020-05-29 20:23:03 +02:00
Рома Данилов
cf9bc4c3d5
Add SendPlaceBlock, PlayerDigging, OnExplosion, OnGamemodeUpdate, OnSetExperience ( #1027 )
...
* Update ChatBot.cs
+ PlaceBlock
* Update AutoAttack.cs
+ HitAnimation
* Update PacketIncomingType.cs
+ Explosion,
* Update McTcpClient.cs
+ OnExplosion
* Update ChatBot.cs
+ OnExplosion
* Update IMinecraftComHandler.cs
+ OnExplosion
* Update Protocol18PacketTypes.cs
+ PacketIncomingType.Explosion
* Update ChatBot.cs
+ Fix
* Update AutoAttack.cs
+ Fix
* Update ChatBot.cs
+ Fix
* Update Protocol18PacketTypes.cs
+ Old versions
* Update Protocol18PacketTypes.cs
+ 1.7 - 1.8 Explosion ID
* Update Protocol18PacketTypes.cs
+ Fix
* Update McTcpClient.cs
+ int ExplosionRecordCount
* Update ChatBot.cs
+ recordcount
* Update IMinecraftComHandler.cs
+ ExplosionRecordCount
* Update Protocol18.cs
* Update CSharpRunner.cs
+ using MinecraftClient.Inventory;
* add OnGamemodeUpdate
+ OnGamemodeUpdate
* + OnGamemodeUpdate(playername, uuid, gamemode)
+ OnGamemodeUpdate
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
Fix
* Update McTcpClient.cs
* Update Protocol18.cs
+ Location explodelocation
* Update McTcpClient.cs
+ Location explode
* Update ChatBot.cs
+ Fix
* Update ChatBot.cs
Remove excess +
* Update Plays animation
* Improve documentation
* ItemType fix
* OnExplosion(Location explod);
* Update PacketIncomingType.cs add SetExperience,
* + Old versions
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* add GetLevel & GetTotalExperience
* Fix
* add GetLevel & GetTotalExperience
* OnSetExpience
* Update ChatBot.cs
Fix
* Update McTcpClient.cs
+ bot.OnSetExperience
* Update Protocol18.cs
+ Fix
* Update McTcpClient.cs
+ PlayerDigging
* Update PacketOutgoingType.cs
+ PlayerDigging
* Update Protocol18PacketTypes.cs
+ case PacketOutgoingType.PlayerDigging
* Update Protocol18.cs
+ SendPlayerDigging
* Update IMinecraftCom.cs
+ SendPlayerDigging
* Update McTcpClient.cs
+ PlayerDigging
* Update Protocol16.cs
+ SendPlayerDigging
* Update ChatBot.cs
+ PlayerDigging
* Update ChatBot.cs
+ Fix
* Update McTcpClient.cs
+ Fix
* Update ChatBot.cs
Add WindowAction
* ChatBot.cs Fixes
* Further ChatBot.cs fixes
* Further ChatBot.cs fixes
* Protocol Handler fixes
* Protocol Handler fixes
* IMinecraftCom fixes
* documentation fixes
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-05-29 20:18:34 +02:00
ORelio
b2e6953075
Fix missing packet IDs for older MC versions
...
Fix packets not implemented for versions older than 1.14
Please implement all versions when adding a new packet!
2020-05-26 13:01:01 +02:00
ORelio
efb49fd05d
Improve documentation, fix file encoding ( #1026 )
2020-05-26 11:20:12 +02:00
Рома Данилов
87b2d3bf4a
new command /animation ( #1026 )
2020-05-26 11:02:09 +02:00
ORelio
23870711a0
Code refactoring (related to #1024 )
2020-05-25 21:39:24 +02:00
Рома Данилов
d120001d70
Add Entity.Name & /inventory 0 creative <slot> <itemtype> <count> ( #1024 )
...
* Update Program.cs
* Update Entity.cs
Add Entity.Name
* Update Program.cs
* Update Entity.cs
Add break;
* Update Entity.cs
* Update Inventory.cs
Add /inventory 0 creative <slot> <item> <count>
* Update PacketOutgoingType.cs
+ CreativeInventoryAction
* Update Protocol16.cs
+ SendCreativeInventorAction
* Update Protocol18.cs
+ SendCreativeInventorAction
* Update IMinecraftCom.cs
+ SendCreativeInventorAction
* Update McTcpClient.cs
+ DoCreativeInventorAction
* Update ChatBot.cs
+ CreativeInventorAction
* Update McTcpClient.cs
* Update ChatBot.cs
* Update Inventory.cs
Add show count
* Update ChatBot.cs
+ ChatBot fix
* Update Inventory.cs
Inventory update and Fix
* Update Entity.cs
* Update McTcpClient.cs
* Update Program.cs
* Update Protocol16.cs
* Update Protocol18.cs
* Update IMinecraftCom.cs
* Update Entity.cs
2020-05-25 21:16:53 +02:00
ORelio
bd85c46663
Implement entity types ( #1001 )
...
Implement palette generation and investigate palette changes between
versions. Turns out 1.13- has legacy IDs, 1.14 switches to entity
palette and 1.15 refreshes the whole palette just to insert Bee.
Also refactor entity handling code here and there.
2020-05-24 18:21:22 +02:00
ReinforceZwei
d6022d1ee9
Rename ClickWindow to WindowAction
2020-05-24 14:44:33 +02:00
ReinforceZwei
4f96aa2081
Implement inventory right click
2020-05-24 14:44:33 +02:00
CarbonNeuron
0cd7f2043b
Rename Action to EntityActionType, Apply Rename refactoring.
2020-05-03 11:21:34 -05:00
CarbonNeuron
8b57b657e6
Add ChatBot methods to get inventories.
2020-05-01 10:52:43 -05:00
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