Commit graph

581 commits

Author SHA1 Message Date
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
ReinforceZwei
ddcc9ee8e6 Fix EntityHandling not disabled when version unsupported 2020-03-31 15:40:41 +02:00
ReinforceZwei
ef9064c91e Fix EntityHandling not disabled when version unsupported 2020-03-31 15:40:41 +02:00
ReinforceZwei
9dbb70eb63 Fix tps not updated 2020-03-31 15:40:41 +02:00
ReinforceZwei
5d0172a1f9 Fix Console Client crashes when using the /inventory click command
issues #912
2020-03-31 11:06:59 +02:00
ReinforceZwei
0b31f70d7b Fix console froze if inventory do not exist
issues #908
2020-03-30 20:22:40 +02:00
ReinforceZwei
c581ac95c3 Fix AutoFish crashs on EntityDespawn
Issues #902
2020-03-30 20:22:40 +02:00
ORelio
7134a081c1 Remove unneeded SUO file 2020-03-29 18:52:11 +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
03023c8059 Fix unspecified Item slot ID
Item must have a slot ID when created
2020-03-28 17:56:19 +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
90c6e776e1 Add build instructions
Instructions from #866
2020-03-28 00:00:48 +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
e4e1f0b9fa Update README.md 2020-03-27 13:10:37 +01:00
ReinforceZwei
137855a71d Add GetShort() method in dataTypes 2020-03-27 13:10:37 +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
13206614c4 Add inventory type convert 2020-03-27 13:10:37 +01:00
ReinforceZwei
e9613ad366 Delete Inventory related code from Protocol Namespace
New Inventory Handling have their own namespace Inventory
2020-03-27 13:10:37 +01:00
ReinforceZwei
2b76de167b Update README.md 2020-03-27 13:10:37 +01:00
ReinforceZwei
66afe127cb AutoFish now checks if the fishing hook is ours 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
4b08912407 Made Open Window to only parse packet before MC1.14 2020-03-24 19:23:59 +01:00
ReinforceZwei
364afdfc72 Update Inventory support version to 1.15.2 and Remove GetInventoryEnabled condition bypass 2020-03-24 19:23:59 +01:00
ReinforceZwei
27db483c7c Delete Command "AutoAttack" 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
850eae86d7 Add command to turn on and off auto attack 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
833de25110 auto attack added MC1.8-1.15 packet support 2020-03-24 19:23:59 +01:00
ReinforceZwei
fa51d9632d update to newest version 2020-03-24 19:23:59 +01:00
ReinforceZwei
31dac18c85 Delete entityID list.txt 2020-03-24 19:23:59 +01:00
ReinforceZwei
4df297751d Delete 1.15.2.json 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
221d2525be inital commit for auto attack 2020-03-24 19:23:59 +01:00
ReinforceZwei
0b0e3c334e auto attack 2020-03-24 19:23:59 +01:00
ORelio
758bc2ad49 Add sample-script-with-http-request
Made as an example for #887
2020-03-17 00:15:53 +01:00
ORelio
c19802725f Allow null NBT tag (#883, #752)
ReadNextNBT() now returns an empty dictionary if the NBT tag is 0x00
As per https://wiki.vg/Slot_Data 0x00 being a placeholder for "no NBT"
2020-03-08 14:29:06 +01:00
ORelio
981bae184a Fix GetLocation() endianness (#881) 2020-03-05 21:38:09 +01:00
ORelio
2e52bdea39 Fix SessionCache.ini (Mojang now uses JWT)
Session IDs from Mojang are now JWT instead of UUID
2020-03-01 19:59:35 +01:00
MCUmbrella
7dafee8b13 Fix Appveyor build status 2020-02-28 23:47:19 +01:00
MCUmbrella
c7662524a7 Update README-zh-Hans.md 2020-02-28 23:47:19 +01:00
ORelio
9b9d4023bb Remind in config that inventory is not implemented yet 2020-02-11 21:33:22 +01:00
Dusan Milutinovic
3995cf9c2b Update and rename README.txt to README.md
Added detailed explanation for C# scripts.
Added new better styling which is easier to read
2020-02-11 20:59:36 +01:00
Dusan Milutinovic
e160fb7728 Update CSharpRunner.cs
Added support for including libraries via comments
Example: //using System.Net;

Build passing: http://i.pics.rs/Q8ntM.png
Tested.
2020-02-09 19:25:41 +01:00