Commit graph

51 commits

Author SHA1 Message Date
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
ORelio
86efb38fa9 Re-add /reco and /connect when connection is lost 2014-07-01 20:31:47 +02:00
ORelio
42e706d1a7 Player head as console icon
For Windows only
Idea from TNT-UP
2014-06-30 13:55:51 +02:00
ORelio
36690b8b34 Commands as separate classes
Each command is now in its own class in the 'Commands' namespace, and
loaded through reflection.
2014-06-18 13:32:17 +02:00
ORelio
8b5ce567a6 Add setting for manually choosing MC version
- User can manually provide server version in config file
- Server is not pinged if a minecraft version was manually provided
- If the provided version isn't recognized, ping is re-enabled
2014-06-14 16:01:19 +02:00
ORelio
283074bb63 Store server IP and server port in distinct vars
- Change "replaceVars" to "expandVars" (more explicit)
- Store server IP and server port in distinct vars in Settings class
- Add setServerIP setter in Settings which automatically split a
host:port string
- Add %serverip% variable which use the new ServerPort setting
- Fix "text%incompletevarnameatstringend" strings
2014-06-13 16:50:55 +02:00
ORelio
068b87a11a Variable engine done, catch bot exceptions
- %variable% variables can be declared in the INI file and used
elsewhere
- Default argument 'true' for WriteLineFormatted in ConsoleIO
- Exceptions thrown by bots no longer disconnect from the server, stack
trace is printed instead
2014-06-11 20:40:25 +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
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
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
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
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
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
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
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
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
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
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
d012905b65 Fix for kick messages : now decoded from Json 2014-01-10 13:18:29 +01:00
ORelio
30cbc85850 Online Mode done, 1.7 compatibility should be OK
+ Fixed chat colors because of 1.7 changes
+ Some code cleanup here and there
2014-01-09 23:28:41 +01:00
ORelio
0d0a7e9c4a Fix for username causing login to fail 2014-01-09 00:07:41 +01:00
ORelio
0b9a7f4ba6 Offline mode done, TODO: online mode
Offline mode should be working now.
2014-01-08 23:58:49 +01:00
ORelio
bee1893f75 Server list ping packet done
(+) Thanks dogwatch for pointing out the mistake in int->varint
converter !
2014-01-08 20:54:42 +01:00
ORelio
5fb54882ca First attempt of MC 1.7 Server Ping ping packet
Currently not working, see MinecraftCom.cs & comment "STUCK HERE"
2014-01-06 18:12:25 +01:00
ORelio
723c961753 Added credit to contributors instead of email adress 2013-11-03 23:20:26 +01:00
justcool393
931c00a97f Add version 78 (1.6.4) to the list of supported versions. 2013-10-11 08:59:03 -07:00
justcool393
0f74944a66 Update supported versions
Change from 1.6.2 to 1.6.4 in the first output line.
2013-10-11 08:57:06 -07:00
ORelio
f7835e7f60 Added password obfuscation while typing
Each character of the password is replaced by a star while typing
+ Fixed an old typo for "Handshake successfull" (ss -> cc).
2013-08-23 10:48:26 +02:00
ORelio
f26ff323fd Added Minecraft Client GUI v1.0 to the repository
+ Some BasicIO fixes to Minecraft Console Client
2013-08-21 14:31:57 +02:00
ORelio
700d345cef Added BasicIO mode
If "BasicIO" is passed as last argument, Basic IO will be enabled.
- Basic input/output : disable the advanced I/O class from MCC 1.3+
- Do not print colors, output messages directly with §c color tags
This allows an external GUI to manage input/output instead of MCC.
http://www.minecraftforum.net/topic/1314800-/page__st__180#entry23903618
2013-08-15 18:04:29 +02:00
ORelio
4ad816d3ef Use POST instead of GET for Minecraft login 2013-08-13 12:20:16 +02:00
ORelio
df4a9cd7b7 Added Settings class & Settings file
- All settings are moved in a new Settings class
- Settings can be loaded by parsing an INI file
- A default INI file is generated with default settings
- By default, loads MinecraftClient.ini if no command-line arguments are
used
- Another INI file can be loaded with MinecraftClient.exe MyFile.ini
- All the config files can be renamed or moved, just edit the INI file
- A title for the console window can be specified in the INI file
- Regular command-line arguments still works but will probably be
simplified in the future.
- Smal code optimizations and adjustments
2013-08-06 16:11:46 +02:00
ORelio
88105d30ad Added TAB autocomplete
Now handles TAB keypresses and ask the server for an autocompletion,
just like a vanilla client does.
2013-08-06 12:25:09 +02:00
ORelio
9d01d2c631 Reverted password length change (privacy)
for privacy reasons, it's better not to specify the length of the
password in the console ;)
2013-07-20 13:02:54 +02:00
ORelio
2d174f81c0 Rewrite Scripting bot respecting the Bot API + Code Optimization
Do NOT put thread sleeps in bots. NEVER. Initialize() and Update() are
called in the main thread!
Also, a delay should be respected between each chat/command sendind to
avoid being kicked.
Putting Thread.Sleep() in bots may cause the client to be out of sync
with the server or make it lose connection so again do not use them :)
2013-07-20 12:58:41 +02:00
bearbear12345
eda271023a Ok now I'm done :) 2013-07-20 11:05:37 +10:00
bearbear12345
7e70494f23 Script Works? 2013-07-20 11:01:49 +10:00