mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-18 21:53:26 +02:00
Version 0.993 BETA (added bot)
This commit is contained in:
@@ -12,6 +12,7 @@ $serverIp = "otclient.ovh";
|
||||
$serverPort = 7172; // GAME PORT (7172 usually)
|
||||
|
||||
$version = 1099;
|
||||
$otc_version = 1337; // APP_VERSION, from init.lua
|
||||
|
||||
$maxLogins = 10; // 0 or null to disable
|
||||
$blockTime = 60; // after too many logins, in seconds
|
||||
@@ -98,6 +99,10 @@ if(empty($data)) {
|
||||
http_response_code(400);
|
||||
}
|
||||
|
||||
if($data->version != $otc_version) {
|
||||
die(json_encode(array("error" => "Outdated client, please update!")));
|
||||
}
|
||||
|
||||
if($data->quick == 1) {
|
||||
// under development
|
||||
http_response_code(404);
|
||||
|
Reference in New Issue
Block a user