Commit graph

178 commits

Author SHA1 Message Date
ORelio
2408b51d28 Fix BungeeCord 1.8 (2nd attempt) 2015-01-31 11:21:06 +01:00
ORelio
391eca102c Add 15 seconds timeout to session and login
Add AutoTimeout class for use on login and session requests.
Bug report by GamerCorey7.
2015-01-27 20:38:59 +01:00
ORelio
ee406b233e Use Trim instead of space deletion 2015-01-27 20:23:59 +01:00
ORelio
24c4344a70 Fix scripts failing to send msg after reco
Script was using old disposed handler
Fixed by properly updating reference
Bug report by 1092CQ (thanks!)
2015-01-23 22:07:46 +01:00
medxo
bdbc408279 Update RemoteControl.cs 2015-01-22 11:20:46 +00:00
ORelio
dd001e3519 Auto-Tpaccept from everyone
Disabled by default.
Suggested by medxo
2015-01-02 22:10:12 +01:00
ORelio
1499f8cbfc Refactor Alerts Bot + Fix crash
More efficient, succint and readable code with less bugs!
Fixed crash when displaying alert under certain conditions.
2014-12-16 19:17:06 +01:00
ORelio
4752094f1f Fix server version detection for Bungeecord 1.8 2014-11-11 12:44:37 +01:00
ORelio
2dec21ddc7 Add Minecraft 1.8.1 in supported version list
Allows support for version=1.8.1 in config file
2014-11-11 12:36:15 +01:00
ORelio
8e458f7ab9 Add /list support in Protocol16
Removed fallback to server /list command
2014-11-11 12:35:08 +01:00
ORelio
8d16f1ec89 Add /list support in Protocol17
Fake UUID using md5(username) since protocol17 does not have UUID in
player list item packet
2014-11-10 20:56:12 +01:00
ORelio
f82041288d /list command improvements
Coding style, Guid, interface, Fallback Command
2014-11-10 20:43:00 +01:00
lokulin
7fa2e0d02e fixed whitespace to fit with code style 2014-11-11 00:55:42 +11:00
lokulin
07fed5cd24 Added a player list command /list 2014-11-11 00:32:32 +11:00
lokulin
5c8c3f42ed Merge branch 'master' into Indev
Conflicts:
	MinecraftClient/McTcpClient.cs
	MinecraftClient/Protocol/ProtocolHandler.cs
	MinecraftClient/Settings.cs
2014-11-06 20:31:31 +11:00
Lauchlin Wilkinson
006a1a5f4b Missed ushort in protocol handler 2014-11-06 17:59:19 +11:00
Lauchlin
284d335b2a Update short to ushort 2014-11-05 02:05:33 +11:00
Lauchlin
466ad07b71 Using ushort rather than keyword
I'm not so familiar with this syntax.
2014-11-05 02:04:33 +11:00
Lauchlin
b90466447f Use usigned short to cover full range of ports
Each side of a TCP connection has an associated 16-bit unsigned port number (0-65535).  Use an unsigned short rather than a signed short otherwise you'll only get half the ports!
2014-11-05 01:59:32 +11:00
ORelio
d6c286bfbf Remove useless ping method from Protocol18
ping method wasn't part of the interface so it can in fact be removed
without any issue.
2014-10-28 21:44:40 +01:00
ORelio
f0f8183182 Merge pull request #50 from ORelio/master
Import merged pull request from Master to Indev
2014-10-28 21:41:22 +01:00
ORelio
531aede9d5 Protocol18: Redirect ping to Protocol17
Removed duplicate ping code
2014-10-28 21:39:21 +01:00
Corban Mailloux
fef50a3d48 Handle the case where "name" exists twice in the result string, like when connecting to a server with another user logged in. 2014-10-24 09:30:10 -04:00
ORelio
dc06cef704 Fix OverflowException for server port
Change short to int. Bug report by 1092CQ.
2014-10-09 08:08:40 +02:00
ORelio
cd0fe0e85a Change README version number for 1.8.1 2014-10-08 20:19:46 +02:00
ORelio
0c81c703db Change version number for 1.8.1 2014-10-08 20:15:11 +02:00
ORelio
050b2985f5 Fix crash on RemoteControl launching a Script
List containing bots is modifier while being enumerated: crash
Fixed by copying the list before enumerating
Bug report by Nicconyancat
2014-10-08 08:05:45 +02:00
ORelio
ad5897fcb4 Fixed server alias not case insensitive
Bug report by TorchRJ_
2014-09-07 15:20:58 +02:00
ORelio
c53a696ffd Fixed %vars% not handled in chatbotlogfile
Bug report by TorchRJ_
2014-09-07 15:17:47 +02:00
ORelio
96a614b617 Fix ThreadAbortException beign reported to the user
This exception is normal when disconnecting from the server and should
be ignored.
2014-09-07 15:11:39 +02:00
ORelio
8eb71bd3f8 Fix SSL errors not properly handled
Mono throws SSL errors as IOException when using SSLStream, instead of
AuthenticationException.
2014-09-06 18:19:39 +02:00
ORelio
20ce16fd2b Update README for 1.8.0 release
Update README file shipped with binary release
2014-09-04 15:17:50 +02:00
ORelio
88b8399c5c Add support for MC 1.8 protocol
Lots of changes in 1.8 protocol so a new protocol handler was necessary
Packet (de)compression done with dotNetZip Zlib compression engine
1.4.6-1.7.10 support is still there thanks to app refactoring
2014-09-04 13:58:49 +02:00
ORelio
2a8a6fadd3 Update alerts file loading
Fix issue with blank lines. Avoid duplicate entries.
Issue fixed with an alerts file provided by TRTrident
2014-08-29 12:04:52 +02:00
ORelio
dbefe16831 Add a setting for disabling auto tpaccept
For RemoteControl bot. Suggestion by TorchRJ_
2014-08-28 15:12:58 +02:00
ORelio
1847370cef User hort:port value for proxy settings
Removed fields "host" and "port"
Added field "server" expecting host:port
Request by TorchRJ_
2014-08-27 17:29:58 +02:00
ORelio
05065d42d1 Update "respawn" description in README
Issue reported by TorchRJ_
2014-08-27 17:25:55 +02:00
ORelio
edb989a04f More explicit repawn command description
Issue reported by TorchRJ_
2014-08-27 17:24:02 +02:00
ORelio
dea2862018 Fix "log" in scripts displaying the comment twice
Bug report by TorchRJ_
2014-08-27 17:22:27 +02:00
ORelio
5fd32828c7 Fix chatbotlogfile not creating/writing to logfile
Bug report by TorchRJ_
2014-08-27 17:19:33 +02:00
ORelio
4e65aa88fa Fix 'invalid server IP' when using a server alias
Bug report by TorchRJ_
2014-08-27 17:16:35 +02:00
ORelio
6e841f11aa Last changes for 1.8.0 Beta release
Update sample script
Update Readme file and add it to repository
Update version numbers and fix missing field in Program
2014-08-20 23:31:47 +02:00
ORelio
b0b65b7ce0 Add offline command prompt
Fix #42, and allow more interactive commands when not connected to a
server. /quit, /reco, /connect are the only allowed commands in this
limited command prompt.
Updated Assembly Info, version number is now 1.8.0.
2014-08-18 15:10:15 +02:00
ORelio
31e53c2dbd Add 1.7.10 in mcversion INI setting
"1.7.10" can now be used to designate protocol v5.
2014-08-18 13:33:50 +02:00
ORelio
cb49ad7036 Fix TAB different behavior between MCC and Vanilla
Vanilla sends everyting behing the cursor
MCC was only sending the beginning of last typed word
Now MCC will send everything behind the cursor.
2014-08-18 10:25:43 +02:00
ORelio
f99efb5177 Better connection lost detection
To detect that the TCP connection has been lost, try sending a small
packet every ~10 seconds. If the connection is lost, it will then throw
an exception which will allow MCC to detect that connection is lost, and
eventually properly trigger the AutoRelog bot.
- See issue #41 -
2014-08-11 12:38:39 +02:00
ORelio
774043fddb Fix for previous commit
Tried to handle two syntaxes at the same time. Bad idea.
Handling the two different syntaxes separately.
2014-07-29 17:08:24 +02:00
ORelio
e56d504067 Add more syntax compatibility for private messages
Added '[Someone [rank] -> me] message' syntax support
Improvement for fuckofftwice's server with [Donator] tag
2014-07-29 16:59:20 +02:00
ORelio
5cace4e7ff ScriptSheduler improvments
- Add triggerOnInterval feature (every X seconds)
- Fix triggerOnTime triggering scripts only one time
- Update sample task list file
2014-07-29 16:52:23 +02:00
ORelio
47a3cdc783 Revert to CMD icon on exit
Else CMD would still have the player head as icon
2014-07-27 16:43:45 +02:00