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
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
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
214f8a23da
Fix \n Json decoding and allow line breaks in chat
...
See #281
2017-06-07 20:52:08 +02:00
ORelio
dc09896959
Allow access to raw JSON messages from ChatBot
...
See #275
2017-05-31 20:54:16 +02: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
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
bab472df05
Improve bot suspend while reconnecting
...
See #259
2017-03-29 21:25:17 +02:00
ORelio
b848460a5c
Add GetVar<Type>() in script API
...
See #260
2017-03-29 20:07:50 +02:00
ORelio
6505fcccb3
Add 'Debug' command for toggling debug messages
...
See #223
2017-03-15 19:14:58 +01:00
ORelio
a220ee272c
Server Ping: improve BungeeCord version detection
...
See #227
2017-03-14 23:33:33 +01:00
ORelio
dda2ce293c
Add LogDebugToConsole() ChatBot API method
...
Allows printing debug messages.
Debug messages are shown only if the "debugmessages" setting is enabled.
See #223
2017-03-14 22:04:35 +01:00
ORelio
76beb31eaf
ChatBot: Add exception on constructor API call
...
See #220
2017-03-13 22:11:04 +01:00
ORelio
59b12ff900
ChatBot: Allow delay in ReconnectToTheServer()
...
See #252
2017-03-13 21:15:36 +01:00
ORelio
a254a282cd
Rewrite SRV lookup procedure using HeijdenDns
...
See #253
2017-03-11 15:30:26 +01:00
ORelio
693073edfc
Replace DnDns with HeijdenDns
...
HeijdenDns seems to do a better job at querying SRV records
2017-03-11 15:28:32 +01:00
ORelio
a344ac4101
Implement more realisic fall to ground
...
Should help moving around in servers using anti-cheat plugins.
See #195
2017-03-10 23:40:02 +01:00
ORelio
8ccc5d5af2
Fix TriggerOnFirstLogin not triggering task
...
See #255
2017-03-09 21:14:13 +01:00
ORelio
17ddd38e6a
Add hint for server help with /send /help
2017-03-09 21:13:52 +01:00
ORelio
eb897a23a6
Merge pull request #228 from NurdTurd/patch-1
...
Mark 1.11.2 as supported in version message
2017-03-06 10:48:06 +01:00
Nikolay Dmitriyev
7088d09330
add 1.11.2 to supported protocol versions
2017-02-06 16:33:19 +04:00
ORelio
8cc9046454
Add MCC.GetOnlinePlayers() in scripts
...
See #233
2017-01-04 21:54:25 +01:00
ORelio
6c711055bd
Add more comments in default MinecraftClient INI file
2017-01-04 21:54:08 +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
ORelio
4b2fd4ccb1
TryFix crash for 1.7 chunk data
...
See #217
2016-11-19 16:23:35 +01:00
ORelio
609b939159
Minecraft 1.11: Raise chat message max length to 256
2016-11-19 16:06:08 +01: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
68eeadf59a
Allow disabling SRV DNS record resolving
...
Workaround fix for issue #208
2016-10-23 19:52:02 +02:00
ORelio
e72580bcb6
Add new sample script: PM forwarder
...
Suggestion by GetPots
2016-10-23 11:24:43 +02:00