Bas950
627ad5aaf1
Remove VarIntArray because I cannot read wiki's correctly xD
2020-06-29 16:16:22 +02:00
Bas950
424eab29dd
Join Game and Respawn encoding/decoding & added ReadNextVarIntArray
2020-06-29 16:05:12 +02:00
Bas950
e0aba29b7a
Revert "Revert " ♻️ Undo Terrain Handling update""
...
This reverts commit 2d2b1e95cb .
2020-06-28 02:17:11 +02:00
Bas950
2d2b1e95cb
Revert " ♻️ Undo Terrain Handling update"
...
This reverts commit eb891cc91f .
2020-06-28 02:16:01 +02:00
Bas950
eb891cc91f
♻️ Undo Terrain Handling update
2020-06-28 02:15:54 +02:00
Bas950
c82c91705c
♻️ Whoopsy..
2020-06-27 16:51:25 +02:00
Bas950
d06f14d055
✨ Added 1.16(.1) support
2020-06-27 16:48:46 +02:00
Рома Данилов
a579b453b0
Improve small teleport performances ( #1079 , #1080 )
...
Increase small teleport range and immediately update location instead of queuing
2020-06-27 10:45:33 +02:00
ORelio
4cc29a6ee6
Adjust dig block API
...
Attempt to automate dig start and dig complete (#1077 )
2020-06-20 21:30:26 +02:00
ORelio
6df5076d19
DigBlock/PlaceBlock: Use Direction enum
...
Still work in progress (#1071 )
2020-06-20 16:07:59 +02:00
ORelio
c69e87bec3
McClient: Add DispatchBotEvent method
...
Facilitates event dispatching and error handling for ChatBots
2020-06-20 15:39:18 +02:00
ORelio
f30dc4464c
Reorganize methods in McClient.cs
...
Tyding up the class as it is becoming quite large
2020-06-20 15:18:35 +02:00
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
ORelio
09bfe92071
Fix Miner/Farmer addon scripts ( #1047 )
2020-06-13 23:47:53 +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
ReinforceZwei
27f35ee7a9
Fix 1.8 file checker exploit
...
#1056
2020-06-13 14:41:50 +02:00
ORelio
ee96788019
Add CobblestoneMiner and TreeFarmer by Nekiplay ( #1047 )
2020-06-12 00:12:36 +02:00
ORelio
fa0f91aad8
Sugar Cane Miner Improvements by NekiPlay ( #1047 )
2020-06-12 00:10:57 +02:00
ORelio
d7b7ba85a4
Player head icon fixes ( #1049 )
2020-06-09 23:31:37 +02:00
Grant Emsley
7d3e7f66f6
Add %login% variable
2020-06-09 23:22:22 +02:00
ORelio
bfdfbe3009
Fix duplicate SetConsoleIcon method ( #1044 )
2020-06-07 23:38:09 +02:00
ORelio
674bf4f635
Add SurgarCaneMiner by Nekiplay ( #1047 )
2020-06-07 23:37:17 +02:00
ORelio
1c1d137ab7
Add example of async HTTP request ( #1041 )
2020-06-07 23:36:56 +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
85f5117833
Fix Explosion packet ID swap in 1.8 vs 1.9 ( #1037 )
2020-05-30 11:35:39 +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
86e5fe54ea
Fix file encoding
2020-05-26 11:29:38 +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
ReinforceZwei
65620e2e95
Fix empty NBT not getting handled correctly
...
#1011
2020-05-25 20:05:14 +02:00
ORelio
4362de4540
Fix #1018 (ThreadAbortException)
2020-05-24 19:57:32 +02:00
ORelio
b2bcfca8ec
Allow Forge detection with manual MC version ( #1004 )
2020-05-24 19:53:31 +02:00
ORelio
3996f72d23
Remove leftover files in EntityPalettes
2020-05-24 18:27:02 +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
ORelio
5b0b0c9cc3
Inventory drop 1/all + message
2020-05-24 15:17:05 +02:00
ORelio
9eeb052bb7
Avoid iterating twice in ReadData()
2020-05-24 14:47:40 +02:00
eulertour0
06714423a3
Replace List to Queue
2020-05-24 14:47:40 +02:00
ReinforceZwei
aaf6dca522
Add drop item for inventory
2020-05-24 14:44:33 +02:00
ReinforceZwei
902527502e
start implement
2020-05-24 14:44:33 +02:00
ReinforceZwei
d6022d1ee9
Rename ClickWindow to WindowAction
2020-05-24 14:44:33 +02:00
ReinforceZwei
1e5b9fc94b
Implement middle click
2020-05-24 14:44:33 +02:00