Skip to content

Merging changes from Indev for 1.8.0 release#43

Merged
ORelio merged 49 commits intomasterfrom
Indev
Sep 4, 2014
Merged

Merging changes from Indev for 1.8.0 release#43
ORelio merged 49 commits intomasterfrom
Indev

Conversation

@ORelio
Copy link
Member

@ORelio ORelio commented Sep 4, 2014

Full app refactoring, lots of new features and bugfixes, Minecraft 1.8 support.

ORelio added 30 commits May 15, 2014 18:36
Very long strings are partially read using a single read. Added a loop.
Fixed version number and year in assembly infos.
- AutoRelog can relog when failed to ping the server IP
Display the HTTP error code instead.
- 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
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.
- 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
- We need to send a MC 1.6 ping first but SpigotMC ignore them
- So a timeout is necessary. Too slow old servers might suffer
- Fix bots not beign updated by Protocol16 (MC 1.4 to 1.6)
- Re-add support for MC 1.6 chat color names
- Re-add support for MC 1.5- vanilla whispers in ChatBot
- Add /connect in main chat prompt (reported by TNT-UP)
- %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
- 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
- MCC internal commands for command prompt, remote control and scripts
are handled in one place, thus it's no more needed to add them in 3
different places.
- "exit" command in scripts is not equivalent to "/quit"
- removed "disconnect" command in scripts /!\
- bots can now easily perform internal MCC commands.
- Added Essentials teleportation request in bot api
- Used the api in remote control to auto accept
- 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
- Allow to use vars declared in scripts or directly by the user
- Commands my now use %variable% as well
- Moved "help" command from RemoteControl to inner MCC command manager
- The only special command is "wait", which is only available in scripts
Todo: Solve ambiguity between MCC help and Server help commands
Note: Auto accept tpa suggested by MousePak
Note: Manually choosing MC version suggested by ZizzyDizzyMC
- Fix ChatLog not creating the folder containing log file
- Fix chat prompt not sending regular text messages
+ Fix [AppVars] INI section not being processed
+ Fix set var=value command not working properly
See
http://www.minecraftforum.net/topic/1314800-winmaclinux-minecraft-console-client-179/page__st__500#entry32178614
for details about command handling modes.
Each command is now in its own class in the 'Commands' namespace, and
loaded through reflection.
Accounts can be stored in a file and used while (re)connecting
+ Check that the server IP is valid (avoid /connect <player>)
+ Fix command prompt not exiting while exiting the server
+ SendChatMessage() -> SendText() method name change
Works the same way as account list feature
Idea from TNT-UP
For Windows only
Idea from TNT-UP
Fix Alerts bot not displaying several occurences in a row
Fix Script bot not displaying in console what it is performing
Fix IOException not caught when connection is lost
If the user has no associated skin, app icon will be used.
- log <text> will print '[BOT] text' to the console
- logged [BOT] lines can be written to a logfile
- chatbotlogfile INI setting is used to set the log file
Padding provider wasn't stored (NullReferenceException)
Else CMD would still have the player head as icon
ORelio and others added 19 commits July 29, 2014 16:52
- Add triggerOnInterval feature (every X seconds)
- Fix triggerOnTime triggering scripts only one time
- Update sample task list file
Added '[Someone [rank] -> me] message' syntax support
Improvement for fuckofftwice's server with [Donator] tag
Tried to handle two syntaxes at the same time. Bad idea.
Handling the two different syntaxes separately.
To detect that the TCP connection has been lost, try sending a small
packet every ~10 seconds. If the connection is lost, it will then throw
an exception which will allow MCC to detect that connection is lost, and
eventually properly trigger the AutoRelog bot.
- See issue #41 -
Vanilla sends everyting behing the cursor
MCC was only sending the beginning of last typed word
Now MCC will send everything behind the cursor.
"1.7.10" can now be used to designate protocol v5.
Fix #42, and allow more interactive commands when not connected to a
server. /quit, /reco, /connect are the only allowed commands in this
limited command prompt.
Updated Assembly Info, version number is now 1.8.0.
Add more license info and minor improvments
Update sample script
Update Readme file and add it to repository
Update version numbers and fix missing field in Program
Issue reported by TorchRJ_
Issue reported by TorchRJ_
Removed fields "host" and "port"
Added field "server" expecting host:port
Request by TorchRJ_
For RemoteControl bot. Suggestion by TorchRJ_
Fix issue with blank lines. Avoid duplicate entries.
Issue fixed with an alerts file provided by TRTrident
Lots of changes in 1.8 protocol so a new protocol handler was necessary
Packet (de)compression done with dotNetZip Zlib compression engine
1.4.6-1.7.10 support is still there thanks to app refactoring
Update README file shipped with binary release
ORelio added a commit that referenced this pull request Sep 4, 2014
Merging changes from Indev for 1.8.0 release
@ORelio ORelio merged commit 729ae47 into master Sep 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants