Commit graph

753 commits

Author SHA1 Message Date
Рома Данилов
712875251e
Add UnLoadBot to ChatBot API (#1164)
Add UnloadBot
Add BotList
Update VkMessager
Remove debug info
2020-08-01 14:24:17 +02:00
Рома Данилов
55f8988bbc
Allow DLLs in scripts, Update VKAPI (#1158)
* Update VKAPI
* KeyBoard Update
* Add Custom Libs
* Change add method
2020-08-01 13:02:58 +02:00
ReinforceZwei
beebe506d1 Add Window Confirmation 2020-07-31 20:22:35 +02:00
ReinforceZwei
83b8c65e50 Add command for AutoDrop 2020-07-31 20:15:08 +02:00
ReinforceZwei
1b08e78463
New AutoDrop ChatBot (#1159)
* Add AutoDrop ChatBot
* Make AutoCraft config parse case insensitive
2020-07-30 21:06:36 +02:00
Рома Данилов
432f55460d
Fix TreeFarmer (#1157) 2020-07-29 21:52:38 +02:00
Рома Данилов
b5c7dc4fc4
Update SugarCaneMiner.cs (#1156)
Fix
2020-07-29 21:52:15 +02:00
Рома Данилов
e91fefadb3 Fix CobbleMiner 2020-07-29 21:49:59 +02:00
Рома Данилов
8fedd59f0a
Add FindBlock on GetWorld (#1152)
* Add FindBlock
* Add FindBlock Array
* Update World.cs
* Factorize FindBlock methods
2020-07-29 21:49:16 +02:00
ORelio
61ac5bb3d1 Small fixes for (#1149) 2020-07-29 21:40:16 +02:00
Dusan Milutinovic
d7259a49db Added Piglin and Hoglin to hostile mobs list and removed Pigman/ZombifiedPiglin from it 2020-07-29 21:40:16 +02:00
Dusan Milutinovic
e9bb68c717 Added a missing comment which I have removed by accident 2020-07-29 21:40:16 +02:00
Dusan Milutinovic
a58e975630 Updated the protocol for 1.16/1.16.1. Fixed Auto Attack (Added a new field (sneaking) to the Interact Entity event (Only 1.16 and above)). Added Entity Pallete for 1.16/1.16.1. 2020-07-29 21:40:16 +02:00
ORelio
e542612e76 Add warnings about bot owner spoofing (#1142) 2020-07-24 12:53:21 +02:00
ORelio
31787f8383 Fix compile errors (see #1145) 2020-07-24 12:36:21 +02:00
ReinforceZwei
4324fe8f15 Remove local method syntax 2020-07-24 12:31:25 +02:00
ReinforceZwei
1960235968 Correct spelling mistakes
Add custom config path setting to AutoCraft
2020-07-23 19:19:32 +02:00
ReinforceZwei
3ff2a18b60 Add more method comment 2020-07-23 19:19:32 +02:00
ReinforceZwei
9137fa59e7 Complete inventory shift click
Complete item stacking mechanism for left click
2020-07-23 19:19:32 +02:00
ReinforceZwei
a6e6668fe0 Add item stacking mechanism 2020-07-23 19:19:32 +02:00
ReinforceZwei
6967f6928b Add config setting for AutoCraft 2020-07-23 19:19:32 +02:00
ReinforceZwei
d71fb88d93 Complete AutoCraft 2020-07-23 19:19:32 +02:00
ReinforceZwei
a8464077a1 Add config support 2020-07-23 19:19:32 +02:00
ReinforceZwei
b05e1a872d Add detailed comment in AutoCraft 2020-07-23 19:19:32 +02:00
ReinforceZwei
97d7325939 Finish AutoCraft core functional part 2020-07-23 19:19:32 +02:00
ReinforceZwei
82fb081828 tmp commit 2020-07-23 19:19:32 +02:00
ReinforceZwei
a51368a859 Add a proof of concept working demo 2020-07-23 19:19:32 +02:00
Рома Данилов
f8111d6b3b Fix VKAPI 2020-07-18 15:12:01 +02:00
ReinforceZwei
d043f90d4e Remove duplicated item
Fix #1129
2020-07-15 21:02:08 +02:00
Рома Данилов
835df9b1fc
Add /entity cmd (#1129)
* Update MinecraftClient.csproj

* Create Entitycmd.cs

* Update MinecraftClient.csproj

* Update Protocol18PacketTypes.cs

* Update Protocol18PacketTypes.cs
2020-07-13 19:01:24 +02:00
Grant Emsley
9370064072
Return exit codes for specific failures when in non-interactive mode (#1120) 2020-07-10 19:55:21 +02:00
Рома Данилов
03388bf5a1
VkMessager bug fix (#1119)
* Update VkMessager.cs

VK API Auto Update Server Key

* Update VkMessager.cs

* Update VkMessager.cs

* Update VkMessager.cs

* Update VkMessager.cs

* Update VkMessager.cs

* Update VkMessager.cs
2020-07-08 21:30:08 +02:00
ReinforceZwei
f2816c3fee Add inventory related ChatBot event
Added OnInventoryOpen and OnInventoryClose
Updated some method summary
2020-07-07 19:32:49 +02:00
ReinforceZwei
500e7f1bec Fix crafting result slot not being handled correctly
Added new ChatBot event OnInventoryUpdate
2020-07-07 19:32:49 +02:00
ReinforceZwei
c3dd0209c8 Fix spider not considered as hostile mob 2020-07-07 19:32:49 +02:00
Рома Данилов
1088e6c4fd
PayKassa bot (#1114) 2020-07-07 19:29:57 +02:00
Рома Данилов
b7b242cff1 Create ClckRuAPI.cs 2020-07-07 19:28:28 +02:00
ORelio
5eea7441b7 Add details on how to use BlockPaletteGenerator.cs (#1111) 2020-07-06 22:59:24 +02:00
ORelio
d2125bebb3 BotLoad ChatBot API (#1106) 2020-07-06 13:10:37 +02:00
ReinforceZwei
93b72eb83e Complete inventory clicking mechanism
Update player inventory and opened container after clicking on slots
2020-07-06 13:02:42 +02:00
ORelio
855bdade0b Fixes following pull requests (#1101, #1097)
Fix coding style issues and compile errors
2020-07-04 11:12:27 +02:00
ORelio
e9f1a4477c Mail ChatBot to Mail script (#1102)
The script compiles but does not work yet due to serialization
2020-07-04 11:01:12 +02:00
Рома Данилов
fb50b0d5cb
ChatBot API: OnScoreboardObjective, OnEntityEffect, OnUpdateScore, EntityInteract, Hand list (#1097)
* Create Effect.cs
* Rename Effect.cs to Effects.cs
* Update MinecraftClient.csproj
* Update Effects.cs
* Update Effects.cs
* add EntityEffect
* Update McClient.cs
* Update Protocol18.cs + EntityEffect
* Update IMinecraftComHandler.cs
* Update Protocol18PacketTypes.cs + EntityEffect
* Update ChatBot.cs + OnEntityEquipment
* Update PacketIncomingType.cs + ScoreboardObjective
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs + OnScoreboardObjective
* Update McClient.cs + OnScoreboardObjective
* Update ChatBot.cs + OnScoreboardObjective event
* Update Protocol18.cs: fix scoreboard
* Update McClient.cs
* Update ChatBot.cs
* Update PacketIncomingType.cs
* Update ChatBot.cs + OnUpdateScore
* Update McClient.cs + OnUpdateScore
* Update IMinecraftComHandler.cs + OnUpdateScore
* Update Protocol18.cs
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs + fix micro lags
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol16.cs
* Update Protocol18.cs
* Update McClient.cs
* Update IMinecraftCom.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update ChatBot.cs + GetEntities()
* Create Hand.cs
* Update MinecraftClient.csproj
* Update McClient.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update ChatBot.cs: fix
* Update AutoAttack.cs: Fix
* Update McClient.cs: compile fix
* Update ChatBot.cs
* Update AutoAttack.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update McClient.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update ChatBot.cs
* Update McClient.cs
* Update McClient.cs: remove check distance
* Update EntityActionType.cs: more actions
* Create CommandBlockMode.cs
* Create CommandBlockFlags.cs
* Update IMinecraftCom.cs
* Update McClient.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update Protocol16.cs
* Update PacketOutgoingType.cs
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs
2020-07-04 10:45:51 +02:00
ReinforceZwei
572191dcd2 Make internal command loads before ChatBot command 2020-07-04 10:39:57 +02:00
ReinforceZwei
64643af89d Add command register for ChatBot
ChatBot can register their own command for interacting with user
2020-07-04 10:39:57 +02:00
Daenges
4f3f217c0f
Fix for the mail script. (#1102)
* New version of the bot.

I improved some things and added the option to change some settings directly through minecraft.

* Update Mail.cs

* Update Mail.cs

* Easy cross server fix.

Besides some other lines, I added a simple way, to setup a cross server system. Through the preconfigured save path, you just need to put two or more instances in the same folder and launch them, to get a cross server mail system.

* Improvement to cross server system.

You are now able to change the directory of the mail/option file inside of the applications folder through mc chat. This means you can run several applications in one folder which are grouped to several safe files and have completely different option settings. (Linking servers in groups or adjust every bot perfectly for the individual server.)
2020-07-04 10:39:37 +02:00
Daenges
f58798df61
Add script to let the bot act like a mail plugin. (#1098)
This script lets the bot act like a mail plugin. You can send mails through private messaging the bot with "sendmail [Text]". You can configure many options in the option class. If you want to, you can point several instances to one file and create a cross server mail system, with each bot perfectly configured for the individual server.
2020-07-01 19:29:33 +02:00
ORelio
c4647c35ef Fix timeout on resolving SRV records (#1095) 2020-06-30 23:13:19 +02:00
ORelio
8b208c5520 Fix indenting in Protocol18.cs 2020-06-30 23:05:00 +02:00
ORelio
9568aef0c0
Added 1.16(.1) support (#1091)
*  Added 1.16(.1) support

* ♻️ Whoopsy..

* ♻️ Undo Terrain Handling update

* Revert "♻️ Undo Terrain Handling update"

This reverts commit eb891cc91f.

* Revert "Revert "♻️ Undo Terrain Handling update""

This reverts commit 2d2b1e95cb.

* Join Game and Respawn encoding/decoding & added ReadNextVarIntArray

* Remove VarIntArray because I cannot read wiki's correctly xD

* Attempt to fix indentation level

* Fix indentation level, 2

* Fix indentation level, 3

* Fix indentation level, 4

* Fix compilation errors

* Fix check

Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-06-29 22:35:31 +02:00