Commit graph

686 commits

Author SHA1 Message Date
ORelio
a6e660c974 Enable/Disable TerrainAndMovements while logged in
Feature requested in #705
2019-04-28 21:32:03 +02:00
ORelio
41b3f98924 Fix packet IDs for Minecraft 1.11.X
Issue #710, bug introduced when implementing #599
2019-04-28 19:40:31 +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
9841156130 Add more debug info in packet parsing errors
For diagnosing #710 and other future packet parsing errors
2019-04-27 21:04:13 +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
TheSnoozer
b57630a5e4 https://github.com/ORelio/Minecraft-Console-Client/issues/493: UUID not properly storing due to GUID conversion (need to convert a Java big-endian Guid to a C# little-endian Guid) 2019-04-22 14:22:14 +02:00
TheSnoozer
33edd15c9b https://github.com/ORelio/Minecraft-Console-Client/issues/625: add GetOnlinePlayersWithUUID() which allows to retrive a UUID <-> playerName relation 2019-04-22 14:22:14 +02:00
ORelio
992003da8d Use SocketException when proxy connection fails
Allows using same error handling code as regular connection failures,
see #670
2019-04-17 05:59:02 +02:00
ORelio
80d51ede31 Chat Format: increase priority of custom regex
If a custom regex is defined in config, process it first.
Previous behavior was to process builtins first.
Should reduce issues with custom regex and builtins=true
2019-04-17 05:32:31 +02:00
ORelio
2ebc8eded5 Implement file polling for disk session cache
For use in case FileSystemWatcher does not work, see #684
2019-04-17 05:18:19 +02:00
ORelio
5e11348e6f Debug messages for login attempt
Print stack traces when debugmessages=true for issue #696
2019-04-17 04:38:09 +02:00
ORelio
342fadbfeb Fix /look north, improve pathfinding look
Look command: /look north was looking west instead, now fixed
Pathfinding: Look straight forward instead of looking to next block on ground
2019-04-13 08:30:39 +02:00
ORelio
d0088e0dca Update player look when using pathfinding
Document Look command in Readme
Improve UpdateLocation API
Small coding style fixes
2019-04-12 17:11:41 +02:00
Stanley Powers
ba0f51dc8c Update func info and use concatBytes 2019-04-12 16:25:15 +02:00
Stanley Powers
4f54a4060a Explicit yawpitch, cardinal directions, and cleanup. 2019-04-12 16:25:15 +02:00
Stanley Powers
8bfdb2ab59 Look command 2019-04-12 16:25:15 +02:00
ORelio
468be97c27
Looking for maintainers
Due to no longer having time to implement upgrades for new Minecraft versions and fixing bugs, I'm looking for motivated people to take over the project. If you feel like it could be you, please have a look at the GitHub repo Issues section :)
2019-04-06 11:33:48 +02:00
LinTx
950fc42118 general 1.13.2 support(v404 protocol) 2018-11-07 22:25:48 +01:00
paihuai
80e9cc65b6 Better Chinese Translation 2018-10-19 09:24:53 +02: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
LittleWhole
a92d023450 Change every "Minecraft" to "我的世界"
"我的世界" is the Chinese name for Minecraft (https://minecraft.cn)
2018-08-18 22:24:09 +02:00
kayong1998
871a7522d9 abbreviation
Some person may confuse with those MCC words below.
2018-07-31 20:10:25 +02:00
Wong Ka Yong
632aeffde9 Chinese Transaltion for README 2018-07-31 20:09:55 +02:00
Barnehhh
35058327d0 GetPing AutoTimeout timeout delay change.
Increase the time of the fast srvrecord setting from 5 to 10 seconds. As of now the method gets timed out before actually completing/attempting the Protocol18 DoPing.
2018-07-04 19:48:43 +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
78af234a52 Fix crash when bot unloads in GetText()
Reported in #441. Thanks, drcheap!
2018-05-23 19:19:49 +02:00
ORelio
1cecf2d788 Improve debug output for HTTPS requests
For diagnosing session errors in #450 and #451
2018-05-23 19:07:31 +02:00
ORelio
79aaa04775 ScriptScheduler: Add debug messages for issue #431
These messages will only apprear if debugmessages=true in config.
2018-05-08 19:27:19 +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
yangciou
758bfad501 Spelling/typo mistake at line 27 2018-02-13 08:42:59 +01: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
176bbccd50 U.S. Keyboards: Fix Oem6 ('}') character typing
See #137 and #382
2018-02-09 21:43:50 +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
ab13a63ba1 Fix ID of resource pack status in 1.12+
0x17 is the recipe book packet.  0x18 is resource pack status.

Fixes #338
2017-10-20 07:55:05 +02:00
ORelio
e0471980d8 Update README.md 2017-10-10 19:11:24 +02:00
ORelio
668da26cd1 Remove Indev branch 2017-10-10 19:08:48 +02: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
c85352f819 Fix packet compression 2017-09-09 17:07:26 +02:00
Pokechu22
7ba0c3c8fc Don't hardcode the ID of TeleportConfirm
Also, always send the teleport confirm packet, even when terrain and movements is not enabled.
2017-09-09 17:07:26 +02:00
Pokechu22
fd2e3d5797 Implement 1.12.1 protocol 2017-08-03 23:08:25 +02:00
stanleypowers
933a02800a Fix grammar and stuff. 2017-06-20 16:48:29 +02:00
ORelio
fedf87b133 GUI: Do not enable Aero glass on Win8/10
Bug report by squirrel25 @ MC Forum
2017-06-11 09:25:18 +02:00
ORelio
ea4408faf5 Merge pull request #284 from Pokechu22/1.12-support
Update to 1.12
2017-06-10 20:49:27 +02:00