diff --git a/changelog.txt b/changelog.txt index b0bbbdbd..8e134a80 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,13 @@ +###v0.163### +#Additions +- completely reworked the filereader (new version, way more flexible), old methods are still working but deprecated +- added pause command and vote command for other gamemodes than elite (especially Chase/Combo) +- added Scriptcallbacks SCORESREADY / SCORES +- added SSL support as well as http Redirections of the FileReader + +# Bug fixes +- Banning of not connected Players now possible + ###v0.162### #Additions - added typhinting ladderStat in Player object diff --git a/core/Files/AsyncHttpRequest.php b/core/Files/AsyncHttpRequest.php index 5d47202b..5a95348a 100644 --- a/core/Files/AsyncHttpRequest.php +++ b/core/Files/AsyncHttpRequest.php @@ -49,7 +49,9 @@ class AsyncHttpRequest { ->set(CURLOPT_CRLF, true)// linux line feed ->set(CURLOPT_ENCODING, '')// accept encoding ->set(CURLOPT_USERAGENT, 'ManiaControl v' . ManiaControl::VERSION)// user-agent - ->set(CURLOPT_RETURNTRANSFER, true); // return instead of output content + ->set(CURLOPT_RETURNTRANSFER, true) // + ->set(CURLOPT_FOLLOWLOCATION, true) // support redirect + ->set(CURLOPT_SSL_VERIFYPEER, false); return $request; } diff --git a/core/ManiaControl.php b/core/ManiaControl.php index 779f4f7d..0f0b4cbc 100644 --- a/core/ManiaControl.php +++ b/core/ManiaControl.php @@ -47,7 +47,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener, /* * Constants */ - const VERSION = '0.162'; + const VERSION = '0.163'; const API_VERSION = '2013-04-16'; const MIN_DEDIVERSION = '2014-04-02_18_00'; const SCRIPT_TIMEOUT = 10;