Commit graph

373 commits

Author SHA1 Message Date
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
ORelio
b1d5d0b32e Add GetOnlinePlayers() in ChatBot API
Suggestion by mattjbenson
2016-10-14 21:14:26 +02:00
ORelio
e4d93041fa Fix constant session cache reload from disk
Disk session cache was constantly reloaded (if enabled)
 + Add additional debug messages / update error messages

See #101
2016-10-08 20:24:43 +02:00
ORelio
1180c06b1f Show links embedded in chat
Allows clicking if supported by terminal,
or at least copy and paste to web browser.

Suggestion by brkmrr9 in #207
2016-10-07 19:52:28 +02: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
69542872d0 Update README with more license and credit info
- Add License Info
 - Add Contributors
 - Add Libraries
 - Add Links
2016-10-06 19:12:53 +02:00
ORelio
f82cb8f83a Fix exceptions not handled in DoHTTPSRequest
Bug report by GetPots. Thanks!
2016-09-24 13:48:39 +02:00
ORelio
f5575d7f8b Update bot making documentation in ChatBot.cs
+ Add GetVarAsDouble in Script API (See #200)
2016-09-11 20:11:01 +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
61ce935c63 Add support for Minecraft Settings
- Add Minecraft vanilla settings from Settings screen
 - These settings are sent to server when joining
 - Allows to customize skin layers shown to other players
 - Most other settings are ignored by servers
 - Update language file from 1.9 to 1.10 version
 - Minor aesthetic changes in INI file comments

Suggestion by TNT-UP in issue #161 and Splodger1 in MC Forum.
2016-08-26 12:21:38 +02:00
ORelio
b1d4f85b23 Implement tab list display name update
Packet 0x2D with action 0x03
2016-08-23 00:13:46 +02:00
ORelio
461385d057 Ignore tab list items not containing a valid name
For cleaner /list output without "???tab"
placeholders eg from TabListPlus.
2016-08-22 23:15:19 +02:00
ORelio
4c460537e4 Allow bot owner list in a file
Suggested by AppleCidar in #185
2016-08-22 20:05:09 +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
a4cc36ce05 Allow restricting AutoRespond matches to bot owner
Suggestion by AppleCidar in #184
2016-08-21 19:53:31 +02:00
ORelio
881e080fd6 Add Terrain and Movements for MC 1.7
Add full support for terrain and movements on MC 1.7
Also fix #179 which was due to terrain and movements
beign enabled although unsupported on MC 1.7
2016-08-21 15:44:15 +02:00
ORelio
e8f51ca22b Fix The End terrain load crash for 1.9+
Bug report by TNTUP, See #173
2016-07-22 23:48:14 +02:00
ORelio
b99edee642 Fix index out of bound when height < 0 or > 255
Bug report by TNTUP, see #173
2016-07-22 23:47:36 +02:00
initsuj
aff1c04f2d Removed unneeded temp login variable. Made server alias check conditional 2016-06-26 15:29:21 -07:00
initsuj
554aa358b5 Attempt to expand user and server aliases after accounts.txt and servers.txt file loaded. 2016-06-26 14:27:04 -07:00
Pokechu22
5456a6e969 Stop attempting to read the reduced debug info value in 1.7
Fixes #165.  Reduced debug info was added in 1.8, and isn't found in 1.7.  Since it isn't there in 1.7, the client would crash when it attempts to read it on the join game packet.
2016-06-20 15:18:27 -07: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
Pokechu22
546b307cf3 Fix 1.9 terrain and movement in the nether
The nether doesn't send skylight, so we need to ignore skylight in the nether for it to work.  However, that means that dimensions need to be tracked, so the respawn packet is now also tracked (and the forge dimension override packet)
2016-06-10 16:59:53 -07:00
Pokechu22
e56997a582 Add terrainandmovements support to 1.9
This is still a bit unstable, and chunk parsing is _really_ slow, but it's a start.
2016-06-09 17:06:23 -07:00
ORelio
d3a54e8caf Add support for MC 1.10.0
See #159
2016-06-09 21:10:57 +02:00
ORelio
c6c0c0e3a7 Prevent invalid chars in logfile path
A proper error message is shown and bot is unloaded. Fix #153
2016-05-15 14:37:06 +02:00
ORelio
66d57b0ce6 Cycle through tab-complete results
Allow cycling through tab-complete options sent back by the server by
pressing TAB multiple times in a row. Fix #148
2016-05-14 11:51:02 +02:00