Commit graph

60 commits

Author SHA1 Message Date
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
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
6beb5588ce Find automatically a translation file from MC 1.7+
Load a translation file if Minecraft is installed on the computer
2014-01-06 18:12:24 +01:00
bearbear12345
6340feaa52 + Made MCC commands ignore case.
+ Started executing script when called with "/exec <scriptname>"
2013-11-04 19:48:29 +11:00
bearbear12345
07ac3268cc BouncyCastle reference is still there 2013-11-04 18:48:48 +11:00
ORelio
723c961753 Added credit to contributors instead of email adress 2013-11-03 23:20:26 +01:00
justcool393
0e2ccdd1f6 Fix Unhandled WebException
This commit fixes an unhandled WebException that may occur when
attempting to connect to the Minecraft session server when it is very
slow or unreachable.
2013-10-13 16:21:18 -07: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
84b8b9da2a GUI API for tab-complete
Allow the GUI to pass a request to the console client, not to the
server.
Any string starting with a null character is handled by the console:
Command is: \0commandname\0commandarg
Output from console: \0commandname\0result
eg. \0autocomplete\0/he -> \0autocomplete\0/help
Currently, only "autocomplete" command is implemented.
2013-08-18 18:26:20 +02:00
ORelio
29ea512dbb BasicIO Alerts compatibility 2013-08-17 12:53:38 +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
0128d5c41a Changed a word for hangman game
Words for this game cannot contain spaces: changed "World map" to
"Worldwide".
2013-08-13 16:45:12 +02:00
ORelio
4ad816d3ef Use POST instead of GET for Minecraft login 2013-08-13 12:20:16 +02:00
ORelio
b42a400582 Use language from /.minecraft/assets
If the language file is not found but file
%appdata%/.minecraft/assets/en_US.lang exists, use it instead.
2013-08-12 15:05:36 +02:00
ORelio
ff950a5248 Last minute changes for 1.6.0 + Changes from #13
- Some last minute changes made just before releasing 1.6.0 to Minecraft
Forums
- Added changes from pull #13 allowing to remove the BouncyCastle
library
2013-08-12 13:06:07 +02:00
ORelio
551c152c7c Support for unicode chars in JSON strings: \u0123
+ Small change in str2filter (case insensitive)
+ Commented debug instruction for RAW data
2013-08-08 10:51:59 +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
d1770ebb02 Added respawn ability in /reco
- Added a notification message when you die stating you can respawn with
/reco
- Added a respawn packet sent before disconnecting when using /reco

Note: Why a respawn in /reco and not a /respawn command?  Once respawned
using the console on 1.6.2 server, the player stays invisible for other
players unless he (or the other player) disconnects & reconnect so it's
necessary to reconnect after respawning.
2013-08-06 11:28:27 +02:00
ORelio
d6f4b97ffa Small code optimizations
Added statics + check > 0 from pull #10, and small optimization in
FinalizeLogin.
2013-07-27 21:31:03 +02:00
ORelio
ea2774068b Improved console input/output 2013-07-27 18:44:54 +02:00
ORelio
b40ad6ee16 Removed useless using 2013-07-27 12:26:55 +02:00
ORelio
6347d832ce Improve translation rule parsing 2013-07-27 12:25:14 +02:00
ORelio
de50e07f54 Manually add changes from pull #8
Changes could not be merged automatically due to a conflic.
https://github.com/ORelio/Minecraft-Console-Client/pull/8
So I re-do the changes manually and close the original pull request.
2013-07-20 21:44:19 +02:00
ORelio
1ca38195bc Small adjustments to Bots.cs
Added DisconnectAndExit() to bot API
Scripting bot now unloads on script end
2013-07-20 21:27:50 +02:00
ORelio
e31866f54b Merge pull request #6 from dogwatch/patch-2
Code optimization
2013-07-20 05:17:11 -07: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
Or3L1o
52d603026e Updated App Icon
Sorry, the icon still wasn't what I imagined so I decided to do it
myself ^^
Also, updated .gitignore to ignore .suo file from my VS 2010
2013-07-20 12:10:37 +02:00
Or3L1o
417109501b Fix some words in English hangman dictionary
I'm still not sure all words are good English but fixed the most obvious
non-English words.
2013-07-20 11:12:56 +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
bearbear12345
0332df909c Half-Done bot
Icon Fix
2013-07-20 08:27:44 +10:00
bearbear12345
222b5332f3 Started command list sequence.
Typo: dictionnary -> dictionary
2013-07-20 07:43:42 +10:00
bearbear12345
019cd67811 Renamed original icon into appicon_old.ico
New icon added

Original Source: http://dharmainitiative2010.deviantart.com/art/Minecraft-Icon-187010413
Contrasting and slight glow added
2013-07-20 07:33:48 +10:00
bearbear12345
36c3c5163b Hangman Config Files in Config folder now. Hangman folder deleted 2013-07-20 07:18:20 +10:00
dogwatch
4c4319a260 Update Bots.cs 2013-07-19 12:47:28 -07:00
bearbear12345
7ad24fb37f Edited to have the txt config files in a config folder, hangman words.txt and mots.txt are in config/hangman
+Root Dir gitignore
2013-07-19 22:26:22 +10:00