Commit graph

1304 commits

Author SHA1 Message Date
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
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
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
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
86908c35a0 Change version number for 1.7.1 release 2014-01-28 18:46:41 +01:00
ORelio
d08634789b Little optimization from dogwatch
See comment in commit 420c93a
2014-01-22 11:44:53 +01: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
ORelio
3185b2df55 Merge pull request #29 from v1RuX/Indev
Show username in console title
2014-01-16 09:07:38 -08:00
v1RuX
bf87374b48 Show username in title
Shows the username in console title to make identification easier when
multiple instances of the client are running
2014-01-16 16:21:15 +01:00
ORelio
19c3fb9485 Removed a check before reading data from server
- Fix hanging issue with very long strings (eg. heavy server icon in
json response)
2014-01-13 22:40:24 +01:00
ORelio
c826dd3b79 Automatically download en_GB.lang from Mojang
- Removed en_US.lang checking since it does not exist anymore in assets
- If Minecraft 1.6+ is not installed, download en_GB.lang from Mojang's
servers
2014-01-13 12:38:01 +01:00
ORelio
f6de2e4aee Removed "You are dead" ingame message
- Death detector didn't work anyway, stats packet is not sent on death
- Could sometime crash the app due to a "VarInt too big" issue
- Note: "health upade" packet is also not sent by the server
2014-01-12 15:36:41 +01:00
ORelio
baaf37f28b Scripting bot : automatically find script file
- Automatically look for script file in config/ and scripts/ folders
- Automacically try to add '.txt' extension to the script filename
- Eg "/script testscript" properly loads "config/testscript.txt" script
2014-01-12 13:41:40 +01:00
ORelio
afff1ef89e Fix for respawning + /respawn command
- Player is automatically respawned when logging in
- Added /respawn command (MC 1.7 does not fail to respawn)
- Cleaned MCC command handling code, /exec is now /script
2014-01-12 13:38:52 +01:00
ORelio
adba89794e Fix for text coloration
- Recursive text coloration (like in MC 1.7)
- Fix for color bug introduced in 7e8b750
2014-01-11 16:17:48 +01:00
ORelio
7e8b750100 Fix for chat translation rules
Eg: achievement messages are now properly displayed
2014-01-11 14:38:00 +01:00
ORelio
bca2a4116c Support text pasting with Ctrl+V 2014-01-11 12:48:59 +01:00
ORelio
d012905b65 Fix for kick messages : now decoded from Json 2014-01-10 13:18:29 +01:00