From b6c3b0cdc31f3aced68d171a314596c9fd1b4779 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 29 Oct 2018 03:15:45 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=A9=EB=9E=91=EA=B5=B0=EC=9D=B4=20?= =?UTF-8?q?=EC=95=84=EB=8B=88=EC=96=B4=EB=8F=84=20=EA=B1=B4=EA=B5=AD=20?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=ED=95=9C=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process_personnel.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/func_process_personnel.php b/hwe/func_process_personnel.php index 554fb9de..2db5c93d 100644 --- a/hwe/func_process_personnel.php +++ b/hwe/func_process_personnel.php @@ -664,6 +664,8 @@ function process_46(&$general) { $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $nationcount = MYDB_num_rows($result); + $currNationLevel = $db->queryFirstField('SELECT level FROM nation WHERE nation=%i', $general['nation']); + $command = DecodeCommand($general['turn0']); $color = $command[1]; $type = $command[2]; // 1 ~ 13 @@ -681,6 +683,8 @@ function process_46(&$general) { $log[] = "●{$admin['month']}월:건국 기간이 지났습니다. 건국 실패. <1>$date"; } elseif($city['nation'] != 0) { $log[] = "●{$admin['month']}월:공백지가 아닙니다. 건국 실패. <1>$date"; + } elseif($currNationLevel != 0) { + $log[] = "●{$admin['month']}월:방랑군이 아닙니다. 건국 실패. <1>$date"; } elseif($nationcount > 0) { $log[] = "●{$admin['month']}월:존재하는 국가명입니다. 건국 실패. <1>$date"; } elseif($general['makelimit'] > 0) {