Commit graph

122 commits

Author SHA1 Message Date
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
c6f00ce686 Add support for Minecraft 1.15
See #834
2019-12-14 14:22:24 +01: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
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
5e11348e6f Debug messages for login attempt
Print stack traces when debugmessages=true for issue #696
2019-04-17 04:38:09 +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
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
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
1cecf2d788 Improve debug output for HTTPS requests
For diagnosing session errors in #450 and #451
2018-05-23 19:07:31 +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
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
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
ffb1adeb4d Add login request and response debug messages
See #269

+ Add exaxct mono packages in README, thanks @Pokechu22 for that
2017-04-17 15:58:46 +02:00
ORelio
a254a282cd Rewrite SRV lookup procedure using HeijdenDns
See #253
2017-03-11 15:30:26 +01:00
Nikolay Dmitriyev
7088d09330 add 1.11.2 to supported protocol versions 2017-02-06 16:33:19 +04:00
Pokechu22
bc0a11d55b Add 1.11.1 support 2016-12-20 16:59:48 -08:00
ORelio
8ec2b2e570 Use short SRV resolving timeout
By default, lower SRV resolve timeout from 30 seconds to 5 seconds
Should help people facing SRV issues, see #213
Timeout can be set to 30 seconds in settings.
2016-11-17 11:18:35 +01:00
Pokechu22
8a4b67c93e Add 1.11 to the list of accepted protocols 2016-11-14 15:39:41 -08:00
ORelio
9cd983c50d Add support for Minecraft Service DNS Records
- Add DnDns library for performing DNS queries
 - Add query method for SRV record
 - Resolve Minecraft services

This allows resolving actual server addresses for
servers using SRV records on their domain names

SRV records are basically DNS redirection eg:

  myserver.net -> srv1.myserver.net:12345

Should solve #186 reported by sammyvsparks and many others.
2016-10-06 19:13:58 +02:00
ORelio
f82cb8f83a Fix exceptions not handled in DoHTTPSRequest
Bug report by GetPots. Thanks!
2016-09-24 13:48:39 +02:00
ORelio
2a07fbbae6 Remove tab display name experiment (not working)
- Tab display names should hold display name but...
 - Server sends <UUID, name, null> x Player count
 - TabListPlus sends <SlotID, ???tab#01, SlotText> x Slot Count
 - So we don't have player display names, only worthless slots
 - So the whole feature was useless, reverting to name only.
2016-08-27 15:46:34 +02: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
d3a54e8caf Add support for MC 1.10.0
See #159
2016-06-09 21:10:57 +02:00
ORelio
5e6f4d3af9 Add 1.9.3 and 1.9.4 2016-05-11 23:00:40 +02:00
ORelio
0b32bb5a0f Differenciate 1.9.1 and 1.9.2
See #135
2016-03-31 22:16:26 +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
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
578a6170ef Lower .NET requirement for Session Token
Changing constructs that weren't .NET 4.0 compliant.
Also fix \n to \r\n line returns in ProtocolHandler.cs
2016-03-05 19:10:13 +01:00
Justin Slauson
fec1687cb7 Updated docs and cleaned up. 2016-03-02 18:16:19 -07:00
initsuj
57c53be09f caching works. needs documentation and testing 2016-03-02 17:11:15 -07:00
Justin Slauson
64606c128f new token requests implemented. testing a success response is proving difficult. invaliding the token in a way that it can be refreshed is not documented. 2016-03-01 21:15:17 -07:00
Justin Slauson
fa2dbfef1a clientToken param info added to docs 2016-03-01 20:00:02 -07:00
Justin Slauson
7230cd726b validates with saved clienttoken 2016-03-01 19:58:04 -07:00
Justin Slauson
2861be757f clienttoken is created (if not passed) and added to auth request, then returned 2016-03-01 19:53:35 -07:00
Justin Slauson
8c065320c2 validates token successully 2016-03-01 19:40:54 -07:00
ORelio
49702e30b8 Add block material database
Taken from Bukkit's Material class, with credits.
Allows to know types and properties of blocks.
+ Use database for "is solid" checks
+ Add "can harm players" method
+ Faster movements, falling seems natural now
+ Shorter error message when ping failed
2015-12-09 23:04:00 +01:00
ORelio
5654871a57 First attempt at Realms list retrieval
> See #51 - Realms Support
+ Catch exception while retrieving player head
2015-11-27 16:52:45 +01:00
Pokechu22
7cc87d8e71 Detect and store the list of forge mods. 2015-10-24 15:06:13 -07:00
ORelio
29975da627 Merge onlyforlogin and enabled in proxy settings
The 'enabled' setting can now be set to 'login' for enabling proxy only
for logging in to the Minecraft account, and then connect to the server
directly without proxy. Useful when Minecraft login is blocked on some
network, but not Minecraft servers (port 25565) (original idea and
enhancement by ZizzyDizzyMC)
2015-10-22 20:56:08 +02:00