Commit graph

24 commits

Author SHA1 Message Date
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
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
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
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
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
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
29ea512dbb BasicIO Alerts compatibility 2013-08-17 12:53:38 +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
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