Commit graph

1774 commits

Author SHA1 Message Date
ORelio
84ba8fd0ae Fix special chars in minecraft passwords
Bug report by TNT-UP
2014-06-02 11:21:05 +02:00
ORelio
850ff7ad0b Add timeout for SpigotMC, Fix bot update
- We need to send a MC 1.6 ping first but SpigotMC ignore them
- So a timeout is necessary. Too slow old servers might suffer
- Fix bots not beign updated by Protocol16 (MC 1.4 to 1.6)
2014-05-31 13:47:34 +02:00
ORelio
c8332eb845 Add 'exit on failure' setting
- Automatically close on connection lost or other failure
- Feature suggested by TorchRJ_
- Also, forgot to mention in 'App refactoring almost done' :
- Issue depending on username and/or server should be fixed
2014-05-31 12:56:54 +02:00
ORelio
a2ce7ab2c4 Fix Resources folder
Git could not detect file renaming because Windows files are case
insensitive. So need to delete in previous commit and re-add files in
this one.
2014-05-31 02:01:53 +02:00
ORelio
d2ec2f48b7 App refactoring almost done
- Created specific namespaces and folders for each app brick
- Added proxy support using Starksoft's Biko Library
- App bricks: Main, ChatBots, Crypto, Protocol, Proxy
- Each class is now in its own file (Aes streams, chatbots)
- Used "Bridge" design pattern for Crypto, Protocol, Proxy
- Added back support for Minecraft 1.4.6 to 1.6.4 (MCC 1.6.2)
- Need to fully re-test everything and fix bugs
- To Fix : Server pinging is slow on SpigotMC
- To Do : Add Minecraft 1.2.5 (MCC 1.3) and maybe 1.3 to 1.4.5
2014-05-31 01:59:03 +02:00
ORelio
9be1d99ca0 Removed 'Too many failed logins' error message
Display the HTTP error code instead.
2014-05-29 17:38:35 +02:00
ORelio
62731fc0b9 Add 'Failed to ping this IP' kick message
- AutoRelog can relog when failed to ping the server IP
2014-05-18 19:30:01 +02:00
ORelio
99e25982c9 Fix network reading incomplete strings
Very long strings are partially read using a single read. Added a loop.
Fixed version number and year in assembly infos.
2014-05-15 18:36:01 +02:00
ORelio
1225a2964e Merge pull request #39 from ORelio/Indev
Merging changes from Indev for 1.7.3 release
2014-05-14 22:07:46 +02:00
ORelio
879c124d6a Last changes for 1.7.3 release
Change config files. Change version number.
2014-05-14 21:39:26 +02:00
ORelio
49a2d2b681 Add support for %username% on log & task files
- Allows to use different files depending on the username
- Also, added a setting for disabling "beep" sound in Alerts bot
2014-05-10 21:03:03 +02:00
ORelio
22c47e99c2 Add ScriptScheduler bot
- Allow to launch script on various events
- Removed startup script, now part of ScriptScheduler
- ScriptScheduler is configured using its own INI file
- Can launch scripts on first login, login and/or specific time
2014-05-06 22:41:14 +02:00
ORelio
3c84c5813e Mark 1.7.8+ as supported
1.7.8 can be supported without any change.
Fix login in MinecraftCom using hardcoded value instead of version
2014-05-06 15:43:50 +02:00
ORelio
09bff17fc2 Allow AutoRelog to relog on server login failed
- Add some explanations for adding a custom bot in the app
- Remove debug code in ConsoleIO (see previous commit)
2014-05-04 11:25:51 +02:00
ORelio
a543620a80 Fix null characters in chat prompt (old bug)
Sometimes null characters were inserted in chat prompt
Rename "Scripting" bot into "Script" bot.
2014-04-10 19:55:16 +02:00
ORelio
b0e4e993ce Hold on scripts when reconnecting + login 503
- Added "connect" command in scripts (idea from TorchRJ_)
- Handle 503 service unavailable error for Minecraft logins
- Renamed [Scripting] into [StartupScript] (more explicit)
- Startup Script only runs once even using /reco but ...
- Scripts are now kept and resumed when (re)connecting
2014-04-10 16:13:30 +02:00
ORelio
cd2fe152e6 Added chat timestamps feature
Idea from LehmusFIN
2014-04-09 18:52:17 +02:00
ORelio
26def01dae Added 'connect' remote control command
- Causes the bot to connect to the specified server
- Idea from TorchRJ_
2014-04-03 19:29:13 +02:00
ORelio
d972378f0e Added remote control bot
A bot that can perform operations using /tell commands!
Available commands: exit, reco, script, send.
Closes #7 :)
2014-04-03 00:17:47 +02:00
ORelio
fc281889c6 Move bot owners to ini settings
- Bot owners now specified directly in the INI file
- Owners list is now in Settings.cs and not in Hangman bot
- Allow other bots to access owner list
2014-04-02 23:25:28 +02:00
ORelio
a481640306 Remove legacy command-line args & xauth bot
- Use scripting instead of xauth bot
- Use ini files instead of bot:botname args
2014-04-02 22:53:46 +02:00
ORelio
25bf5a8ca9 Catch ObjectDisposedException while reconnecting
Seems also related to issue #19.
2014-04-02 19:01:10 +02:00
ORelio
6b68c599f5 Merge pull request #38 from ORelio/master
Import changes from master into Indev
2014-03-28 08:42:42 +01:00
ORelio
60ee2a3ddb Merge pull request #37 from ORelio/Indev
Merging changes from Indev for 1.7.2 release
2014-03-28 08:39:38 +01:00
ORelio
08bd0e6b4a Swap app and user names in default window title
More relevant as that's what other apps do.
2014-03-26 15:42:36 +01:00
ORelio
023454749e Add padding packets for Mono
Padding plugin message for faster command sending
2014-03-26 15:24:17 +01:00
ORelio
26a2fdd517 Changes for fixing Mono issues
- Detect missing HTTPS certificates
- Give the mozroots command for importing certificates
- Use a specific workaround AesStream class made for Mono
- It only process 128bits blocks because Mono is not CFB-8 ready
2014-03-26 10:12:05 +01:00
ORelio
58d7b0734f Remove Java dependency for Encryption Key Request
Encryption Key Request is now fully processed using .NET RSA
capabilities
-> Good news, that was the last step for removing IKVM dependencies!
-> So now MCC does not need to use any external library. Yay! :)
-> MCC should now be compatible with Mono (Mac, Linux).
+ Removed no longed needed DLL files (9 MBytes!)
+ State MC 1.7.5 as a supported version.
+ Update version number to MCC 1.7.2
2014-03-16 23:04:43 +01:00
ORelio
01ba55527d Remove Java dependency for server Hash
Server Hash is now fully computed using C#.NET capabilities only.
That's another step towards removing Java lib dependencies :)
2014-03-13 12:12:44 +01:00
ORelio
bac660d410 Catch NullReferenceException while reconnecting
Exception thrown when no server is currently connected. See issue #19
2014-03-12 18:01:48 +01:00
ORelio
7f17eef989 Merge pull request #36 from maxpowa/patch-1
Minor spelling mistake
2014-03-11 16:37:42 +01:00
Max Gurela
e49260bbbb Minor spelling mistake
Noticed it while starting the client, got on my nerves fairly quickly.
2014-03-11 08:14:58 -06:00
ORelio
474aee3e55 Fix for previous commit
Fix code optimization from commit 8f77895
2014-02-14 17:30:44 +01:00
ORelio
8f77895084 Detect Forge (which still not supported)
Code Optimisation, Detect Forge server
Changes imported from pull request #35
2014-02-14 14:59:27 +01:00
ORelio
eef5e92af5 Setting for choosing the language to use
- Download the appropriate language file regarding the language setting
- Stores language files in the "lang" subfolder
2014-02-01 14:57:31 +01:00
ORelio
ae5e418b52 Merge pull request #34 from ORelio/Indev
Merging changes from Indev for 1.7.1 release
2014-01-28 09:49:35 -08:00
ORelio
86908c35a0 Change version number for 1.7.1 release 2014-01-28 18:46:41 +01:00
ORelio
9498b4bff9 Merge pull request #33 from Aragas/patch-1
Indeed. Never noticed.
2014-01-22 07:07:08 -08:00
Vitalij
d9976f3d8d Word fix 2014-01-22 03:30:43 -08:00
ORelio
d08634789b Little optimization from dogwatch
See comment in commit 420c93a
2014-01-22 11:44:53 +01:00
ORelio
31e9a8edf7 Merge pull request #31 from Aragas/Indev
Seems legit. Merging.
2014-01-21 10:52:51 -08:00
Vitalij
420c93a5dd Input GUI fix :D 2014-01-21 22:40:23 +04:00
ORelio
6e6fa6a50f Fix text encoding for GUI (BasicIO) mode
- Fix encoding when using a GUI on non-ascii langages (eg russian)
- See discussion in pull request #30 for more info
2014-01-21 18:28:14 +01:00
ORelio
7f65a5d69e Change for vanilla whisper detection
- Before: Player whispers message
- After: Player whispers to you: message
2014-01-18 01:09:21 +01:00
ORelio
07ef031bb9 Allow to use both INI files and command-line args
- MinecraftClient.ini or the specified INI file is loaded anyway
- Command-line arguments overrides the INI file settings
- INI file is added in front of the command-line args
- eg. MinecraftClient.exe my.ini Login Password IP
2014-01-17 20:58:42 +01:00
ORelio
c6e44041d2 Use Minecraft 1.7.4's en_GB object from assets
- en_GB.lang is not downloaded for Minecraft 1.7.4 and above
- try to use MC 1.7.4's en_GB object (works only if 1.7.4 is installed)
2014-01-17 20:39:55 +01:00
ORelio
a627842bed Username in window title using %username%
- No window title is set if 'consoletitle' setting is not set
- Lowercase %username% will be replaced by the user's name
2014-01-17 19:54:10 +01:00
ORelio
ed3079091b Add AntiAFK command setting (see pull request #18)
- AntiAFK command can be customized through INI file
- Clearer WriteDefaultSettings() function
2014-01-17 19:20:41 +01:00
ORelio
fa6aa107c8 Fixed username added several times with autorelog
- If using autorelog bot, " - Username" was added each time the app was
restarting
- To fix this, added a ConsoleTitle setting which is re-used when
restarting
2014-01-16 19:33:48 +01:00
ORelio
b49850e042 Default console title + add username after login
- Default console title is set if no title is provided in config file
- Fix custom console title beign replaced when adding username
- Idea is from v1RuX, see commit bf87374
2014-01-16 19:27:06 +01:00