mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-18 13:43:27 +02:00
Version 1.3 - auto reconnect, better bot (with sound), animated mounts, bug fixes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user