접속 제한중입니다. 1턴 이내에 너무 많은 갱신을 하셨습니다. (다음 접속 가능 시각 : )
(자신의 턴이 되면 다시 접속 가능합니다. 당신의 건강을 위해 잠시 쉬어보시는 것은 어떨까요? ^^)
99) { $per = Util::round($per); } $str1 = ""; $str2 = ""; if($per <= 0) { $str1 = ""; } elseif($per >= 100) { $str2 = ""; } $str = " {$str1}{$str2}
"; return $str; } function optionsForCities() { return join('', array_map(function($city){ return ""; }, CityConst::all())); } function Submit($url, $msg="", $msg2="") { echo "a"; // 파폭 버그 때문 echo "
"; } function GetNationColors() { $colors = array("#FF0000", "#800000", "#A0522D", "#FF6347", "#FFA500", "#FFDAB9", "#FFD700", "#FFFF00", "#7CFC00", "#00FF00", "#808000", "#008000", "#2E8B57", "#008080", "#20B2AA", "#6495ED", "#7FFFD4", "#AFEEEE", "#87CEEB", "#00FFFF", "#00BFFF", "#0000FF", "#000080", "#483D8B", "#7B68EE", "#BA55D3", "#800080", "#FF00FF", "#FFC0CB", "#F5F5DC", "#E0FFFF", "#FFFFFF", "#A9A9A9"); return $colors; } function backButton() { return "
"; } function CoreBackButton() { return "
"; } function closeButton() { return "
"; } function printCitiesBasedOnDistance(int $cityNo, int $maxDistance=1) { $distanceList = searchDistance($cityNo, $maxDistance, true); for($dist = 1; $dist <= $maxDistance; $dist++){ $cityList = array_map(function($cityID){ return CityConst::byID($cityID)->name; }, Util::array_get($distanceList[$dist], [])); $cityStr = join(', ', $cityList); switch($dist) { case 1: $color = "magenta"; break; case 2: $color = "orange"; break; default: $color = "yellow"; break; } echo "{$dist}칸 떨어진 도시 : {$cityStr}
"; } } function info($type=0) { $db = DB::db(); $connect=$db->get(); $query = "select year,month,turnterm,maxgeneral from game limit 1"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $admin = MYDB_fetch_array($result); $termtype = "{$admin['turnterm']}분 턴"; $query = "select no from general where npc<2"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $gencount = MYDB_num_rows($result); $query = "select no from general where npc>=2"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $npccount = MYDB_num_rows($result); switch($type) { case 0: return "현재 : {$admin['year']}年 {$admin['month']}月 ($termtype 서버)
등록 장수 : 유저 {$gencount} / {$admin['maxgeneral']} 명 + NPC {$npccount} 명"; case 1: return "현재 : {$admin['year']}年 {$admin['month']}月 ($termtype 서버)          등록 장수 : 유저 {$gencount} / {$admin['maxgeneral']} 명 + NPC {$npccount} 명"; case 2: return "현재 : {$admin['year']}年 {$admin['month']}月 ($termtype 서버)"; case 3: return "등록 장수 : 유저 {$gencount} / {$admin['maxgeneral']} 명 + NPC {$npccount} 명"; } }