Commit graph

484 commits

Author SHA1 Message Date
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
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
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
Dusan Milutinovic
3438e20cb3 Update CSharpRunner.cs
Added System.Net to allow communication with the web.
2020-02-09 18:11:45 +01:00
rvankammen
921ec5aaf5 Added the 1.15.2 protocol 2020-02-09 14:27:26 +01:00
Mhowser
7df98a96b5 Added 1.15.1 protocol 2019-12-25 10:12:18 +00:00
ORelio
aba2ec79d1 Add 1.15.1 (1/2) 2019-12-25 11:11:55 +01:00
ORelio
f82b09af5a Remove unnecessary Material115.cs 2019-12-14 14:44:53 +01:00
ORelio
c6f00ce686 Add support for Minecraft 1.15
See #834
2019-12-14 14:22:24 +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
94e96b11dd Better handling of SocketException variants
See #817
2019-12-08 21:44:25 +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
ORelio
96eda73dce Mark Terrain & Movement as supported for 1.14.4
See #794 #820 #822
2019-11-01 12:07:57 +01:00
Pokechu22
6ac3cd90ee Fix VarInt too big for player position and look 2019-10-29 19:53:28 +01:00
TheSnoozer
1f53845841 fix some doc strings 2019-10-03 09:48:40 +02:00
TheSnoozer
d4aa63d1d3 fix some doc strings 2019-10-03 09:46:08 +02:00
TheSnoozer
851f634fae https://github.com/ORelio/Minecraft-Console-Client/issues/811: report the raw packet data whenever we get a VarInt too big 2019-10-03 09:38:49 +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
TheSnoozer
803532ce42 only attempt to convert the render distance to an int, if it looks like one 2019-09-23 22:32:28 +02:00
TheSnoozer
c6b4dc38d0 trim a string before tring to convert it to an int, if this still fails report it 2019-09-23 22:32:28 +02:00
TheSnoozer
3393e7e402 report the full path when loading any files which might help in troubleshooting files not found properly 2019-09-23 22:32:28 +02:00
TheSnoozer
46dd4bc35f include a message where the settings are loaded from (might help for issues where the user's think the settings are not loaded) 2019-09-21 14:42:00 +02:00
TheSnoozer
f209130464 https://github.com/ORelio/Minecraft-Console-Client/issues/729: allow to use GetServerPort/GetServerHost/GetUsername/GetUserUUID in MCC scripts 2019-09-21 14:42:00 +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
1406c00abd Fix SocketException causing InvalidDataException
See #788
2019-08-20 12:44:45 +02:00
ORelio
237353498c Fix TriggerOnLogin in ScriptScheduler w/ AutoRelog
Thanks @Nafana for pointing it out in #629
2019-08-04 15:52:44 +02:00
0Jumpero
10790f2982 Changed the protocol version
I got the wrong protocol version previously. Got the right one from https://wiki.vg/Protocol_version_numbers for the live version on Minecraft
2019-07-20 20:40:57 +02:00
0Jumpero
84e790e9ce Add 1.14.4 support 2019-07-20 20:40:57 +02:00
0Jumpero
e50ee940f2 Add 1.14.4 support 2019-07-20 20:40:57 +02:00
Sheldon Rupp
81261c96f2 Add 1.14.3 support 2019-07-16 17:12:42 +02:00