From 931a90f5c80a5d2ea02380309f6703f7875d8c80 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Thu, 20 Jun 2024 20:49:11 +0200 Subject: [PATCH] Misc/Fixup * revision bump * minor log format fix --- includes/kernel.php | 2 +- setup/tools/sqlgen/spawns.ss.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/kernel.php b/includes/kernel.php index 7a35b476..23734aad 100644 --- a/includes/kernel.php +++ b/includes/kernel.php @@ -3,7 +3,7 @@ mb_internal_encoding('UTF-8'); mysqli_report(MYSQLI_REPORT_ERROR); -define('AOWOW_REVISION', 36); +define('AOWOW_REVISION', 37); define('OS_WIN', substr(PHP_OS, 0, 3) == 'WIN'); // OS_WIN as per compile info of php define('CLI', PHP_SAPI === 'cli'); define('CLI_HAS_E', CLI && // WIN10 and later usually support ANSI escape sequences diff --git a/setup/tools/sqlgen/spawns.ss.php b/setup/tools/sqlgen/spawns.ss.php index 16c9978c..c86a637b 100644 --- a/setup/tools/sqlgen/spawns.ss.php +++ b/setup/tools/sqlgen/spawns.ss.php @@ -139,7 +139,7 @@ CLISetup::registerSetup("sql", new class extends SetupScript } else if (!$points) // still impossible (there are areas that are intentionally off the map (e.g. the isles south of tanaris)) { - CLI::write('[spawns] '.str_pad('['.$spawn['guid'].']', 9).' '.($idx < 5 ? '' : 'with path/point ['.$spawn['npcOrPath'].'; '.$spawn['point']).'] could not be matched to displayable area [A:'.$area.'; X:'.$spawn['posY'].'; Y:'.$spawn['posX'].']', CLI::LOG_WARN); + CLI::write('[spawns] '.str_pad('['.$spawn['guid'].']', 9).' '.($idx < 5 ? '' : 'with path/point ['.$spawn['npcOrPath'].'; '.$spawn['point'].'] ').'could not be matched to displayable area [A:'.$area.'; X:'.$spawn['posY'].'; Y:'.$spawn['posX'].']', CLI::LOG_WARN); $time->reset(); continue; }