Version 0.993 BETA (added bot)

This commit is contained in:
OTCv8
2019-10-09 16:49:24 +02:00
parent c5c600e83e
commit c477637a46
15 changed files with 876 additions and 21 deletions

View File

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