Version 1.3 - auto reconnect, better bot (with sound), animated mounts, bug fixes

This commit is contained in:
OTCv8
2019-11-11 17:10:03 +01:00
parent d78af570ea
commit 1072671986
48 changed files with 458 additions and 154 deletions

View File

@@ -103,17 +103,17 @@ if($data->version != $otc_version) {
die(json_encode(array("error" => "Outdated client, please update!")));
}
if($data->quick == 1) {
// under development
http_response_code(404);
die();
}
$conn = new mysqli($dbserver, $username, $password, $dbname);
if ($conn->connect_error) {
die("SQL connection failed: " . $conn->connect_error);
}
if($data->quick == 1) {
require_once("quick.php");
die();
}
$account = $data->account;
if($encryption == "sha1")
$password = sha1($data->password);