improvements to suppport mania exchange ssl support

This commit is contained in:
kremsy 2015-11-06 16:21:04 +01:00
parent f8dc43e517
commit 7dadba5a97
3 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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;