Commit graph

122 commits

Author SHA1 Message Date
Grant Emsley
9370064072
Return exit codes for specific failures when in non-interactive mode (#1120) 2020-07-10 19:55:21 +02:00
Bas950
d06f14d055 Added 1.16(.1) support 2020-06-27 16:48:46 +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
2add4030f4 Rename McTcpClient to McClient for clarity
+ Fix compile error in #1071
2020-06-20 15:01:17 +02:00
ORelio
d7b7ba85a4 Player head icon fixes (#1049) 2020-06-09 23:31:37 +02:00
ORelio
b2bcfca8ec Allow Forge detection with manual MC version (#1004) 2020-05-24 19:53:31 +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
5tanly
a018304f99
Strip Minecraft Color Codes (§) in BasicIO-NoColor mode (#995)
Strip Minecraft color codes and formatting (§) if in BasicIO mode by using BasicIO-NoColor.
2020-05-14 19:36:56 +02:00
ORelio
fe020c74c7 Catch exceptions from ChatBots for new API events 2020-04-02 23:31:00 +02: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
rvankammen
921ec5aaf5 Added the 1.15.2 protocol 2020-02-09 14:27:26 +01:00
ORelio
aba2ec79d1 Add 1.15.1 (1/2) 2019-12-25 11:11:55 +01:00
ORelio
c6f00ce686 Add support for Minecraft 1.15
See #834
2019-12-14 14:22:24 +01: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
xdavidwu
49e1e76538 Add 1.14.2 support
Yet another version bump for Minecraft bugfix release.
Chat support tested and worked.
2019-05-30 11:25:45 +02:00
xdavidwu
f99fb5886b 1.14.1 support 2019-05-14 19:53:29 +02:00
ORelio
295d6546b8 MC 1.14 Basic/Chat support (#703)
Implement MC 1.14 baseline protocol support
Terrain and movements not supported yet for 1.14
2019-04-29 00:26:32 +02:00
ORelio
5f83ff0958 Fix dev build numbering, add update notes
Add newline in AssemblyInfo to fix dev build number in exe (#456)
Add remarks on how to implement newer MC versions (from #145, #599)
2019-04-28 15:58:10 +02:00
ORelio
c04b17cabc Implement Terrain and Movements for MC 1.13
Special thanks to @TheSnoozer and @vkorn for their help!

 - Implement global block Palette mechanism
 - Add class generation tool from blocks.json
 - Regenerate Material.cs and redefine solid blocks
 - Migrate previous Material.cs into Palette112
 - Generate Palette113 from MC 1.13.2 blocks.json
 - Improve Block class to handle up to 65535 block states
 - Adjust terrain parsing, small fixes in packets
 - Remove unused snapshot-related protocol cases

Solves #599
2019-04-25 22:19:50 +02:00
LinTx
950fc42118 general 1.13.2 support(v404 protocol) 2018-11-07 22:25:48 +01:00
TheSnoozer
32667f8d5d general 1.13.1 support (v401 protocol) - there doesn't seem to be any packet changes since 1.13 (v393) 2018-10-07 08:27:31 +02:00
TheSnoozer
aad3d8b2ef https://github.com/ORelio/Minecraft-Console-Client/issues/525: general 1.13 support (v393 protocol). Note that terrainandmovements might cause some issues 2018-10-07 08:27:31 +02:00
ORelio
ecf0114f62 ConsoleIO: Sync with SharpTools
Had 2 versions of the ConsoleIO class, one here inc MCC (the original),
and another one in SharpTools, more generic, for use in other projects.

Both had diverged, this commit imports changes from the other repository.
This should not have any particular effect on MCC, besides adding more
documentation and settings in the source code of the class.

If any issue arises, as always, please report it :)
2018-05-28 22:09:50 +02:00
ORelio
b5c8bf683f Add build info inside MCC executable
Should help when submitting bug reports. See #456.
2018-05-28 20:54:58 +02:00
ORelio
143fcf7155 Move SessionToken.cs 2018-05-25 20:27:31 +02:00
ORelio
a75710b501 Fix online-mode server login
Fix session checking on server login as described in issue #451
2018-05-23 23:08:17 +02:00
ORelio
18fd24d2d5 Improve session caching
- Change SessionCache.db to SessionCache.ini
   Allows users to view and edit session cache

 - Automatically import previous SessionCache.db
   But this file is only read, not updated

 - Automatically import Minecraft session
   If you are logged in in Minecraft, no need to login again
   This is only done if Disk session cache is enabled
   See #232 and #430 for more information

 - Disk session cache becomes default
   The feature is no longer experimental and now recommended
   as the Mojang login servers now have a severe rate limit
   Previous default was Memory session cache, not saved to disk
2018-05-03 23:51:56 +02:00
ORelio
a37e340613 Include blacklisted IP in failed login reasons
When the Mojang API responds with "Invalid username or password", this may
also be caused by IP blacklisting (too many logins or using a proxy/vps)

See #422 #415 #406 #394 #366 #359 #353 #279 #271 #232 ...
2018-04-18 22:38:36 +02:00
ORelio
26716512c1 Fix Windows version detection for UTF-8 console
Built-in Environment.OSVersion does not work on Win10.
2018-02-11 15:43:58 +01:00
ORelio
6e1ee784d8 Fix encoding for Windows 7/8
Old CMD.exe does not handle UTF-8,
so UTF-8 is enabled only on Windows 10 and Mono.
2018-02-09 21:42:46 +01:00
Pokechu22
b1a66791a1 Add support for 1.12.2
While there are protocol changes to the keep alive packet, the way MCC implements it should mean that the changes do not affect us.
2017-09-19 08:06:22 +02:00
Barnehhh
5edb8f9024 Moved encoding out of the basicIO if statement. 2017-09-11 08:51:34 +02:00
Barnehhh
1a2e86e684 Switch console window encoding to Unicode
Unicode characters are becoming quite common within minecraft servers (especially the large ones) nowadays. As of now MCC creates a System beep every single time one of these characters are processed by ConsoleIO. 

I'm no expert in C#, so I'm unsure if ANSI is required for anything, but I've been perfectly find with UTF-8 so far.
2017-09-11 08:51:34 +02:00
Pokechu22
fd2e3d5797 Implement 1.12.1 protocol 2017-08-03 23:08:25 +02:00
Pokechu22
550beda7c4 Update to 1.12
This adds support for Minecraft 1.12's protocol, and also abstracts out outgoing packet IDs.  I include packet IDs for some 1.12 snapshots, even though snapshot versions aren't supported, because I already had written the code (though in a far more messy variant) for my MC-106551 test script; while they won't be used right now, they may be useful if snapshots are ever formally supported in the future.
2017-06-10 09:09:48 -07:00
ORelio
7c9c12bee7 Add keyboard debug routine 2017-05-28 15:09:19 +02:00
ORelio
9f1ef83680 Move Json class into main package
See #138
2017-05-06 21:08:56 +02:00
ORelio
f177ea272f Fix exitonfailure not exiting on disconnect
See #268
2017-04-17 16:10:34 +02:00
ORelio
59b12ff900 ChatBot: Allow delay in ReconnectToTheServer()
See #252
2017-03-13 21:15:36 +01:00
Sheldon Rupp
3abce9c586 Add 1.11.2 support 2016-12-25 19:29:15 +01:00
Pokechu22
bc0a11d55b Add 1.11.1 support 2016-12-20 16:59:48 -08:00
Pokechu22
8a4b67c93e Add 1.11 to the list of accepted protocols 2016-11-14 15:39:41 -08:00
ORelio
9a98a9d46f Store extended player info, list display names
- Add 1.10.1 and 1.10.2 in supported version list
 - Store both player name and player display names
 - List command will sort players by player name
 - List command will now display by display name
 - Ability to use /list raw to display by real name

Suggestion by Johngreen123
2016-08-22 19:40:58 +02:00
ORelio
9fc4215924 Fix crash when script cache is disabled
Bug report by zeotom on Minecraft Forum. Thanks!

+ Update supported version info (forgot to do it)
2016-06-17 22:41:13 +02:00
ORelio
e2bf4e3063 Add MC 1.9.1 and 1.9.2 as supported versions
See #135
2016-03-31 19:25:52 +02:00
ORelio
96e4c589cd Update README file 2016-03-21 10:22:05 +01:00
ORelio
d45f75f9f4 Reduce output verbosity, default session cache
- Memory session cache will be used by default
 - Verbose messages are now hidden by default
 - Improve ping procedure's Forge handling
 - Fix 1.8.9 and 1.9.0 in mcversion setting
 - SessionCache.cs: fix LF into CRLF
 - Use 1.9 translations instead of 1.8
2016-03-10 13:29:05 +01:00
ORelio
82e92f984b MC 1.9 : Add missing compatibility list entries 2016-03-05 19:33:44 +01:00
ORelio
a82c6823af Add support for Minecraft 1.9
Currently no terrain handling but anything else should work.

Related: #125
2016-03-05 19:13:45 +01:00