Commit graph

11 commits

Author SHA1 Message Date
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
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
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
bearbear12345
222b5332f3 Started command list sequence.
Typo: dictionnary -> dictionary
2013-07-20 07:43:42 +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
ORelio
e6f2ef4e4f Added MCC Source Code v1.5.2
Minecraft Console Client is now on GitHub!
2013-07-18 09:27:19 +02:00