pushHistory에 DB connect가 필요하지 않으므로 인자 제거

This commit is contained in:
2018-03-02 00:05:37 +09:00
parent ae2272b249
commit c0dfd42791
40 changed files with 79 additions and 78 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ switch($btn) {
$lognum = $admin['historyindex'] + 1;
if($lognum >= 29) { $lognum = 0; }
$history[0] = "<R>★</><S>{$log}</>";
pushHistory($connect, $history);
pushHistory($history);
break;
case "변경1":
$query = "update game set starttime='$starttime' where no='1'";
@@ -102,7 +102,7 @@ switch($btn) {
}
}
$history[count($history)] = "<R>★</>턴시간이 <C>$btn</>으로 변경됩니다.";
pushHistory($connect, $history);
pushHistory($history);
break;
case "변경6":
$query = "update game set att0='$att0',def0='$def0',spd0='$spd0',avd0='$avd0',ric0='$ric0',cst0='$cst0' where no='1'";
+1 -1
View File
@@ -112,7 +112,7 @@ if($ok == "수락") {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
//pushAllLog($alllog);
//pushHistory($connect, $history);
//pushHistory($history);
echo "<script>location.replace('msglist.php');</script>";
+1 -1
View File
@@ -91,7 +91,7 @@ if($ok == "수락") {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
echo "<script>location.replace('msglist.php');</script>";
+1 -1
View File
@@ -96,7 +96,7 @@ if($ok == "수락") {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
echo "<script>location.replace('msglist.php');</script>";
+1 -1
View File
@@ -130,7 +130,7 @@ if($ok == "수락") {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
echo "<script>location.replace('msglist.php');</script>";
+1 -1
View File
@@ -162,7 +162,7 @@ if($ok == "수락" && $me['level'] < 12 && $nation['level'] > 0 && $nation['scou
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
echo "<script>location.replace('msglist.php');</script>";
+1 -1
View File
@@ -120,7 +120,7 @@ if($ok == "수락") {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
echo "<script>location.replace('msglist.php');</script>";
+1 -1
View File
@@ -197,7 +197,7 @@ MYDB_query($query, $connect) or Error("scenario_194A ".MYDB_error($connect),"");
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>각지의 이민족들이 <M>궐기</>합니다!";
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>중원의 전 국가에 <M>선전포고</> 합니다!";
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>이민족의 기세는 그 누구도 막을 수 없을듯 합니다!";
pushHistory($connect, $history);
pushHistory($history);
refreshNationStaticInfo();
+1 -1
View File
@@ -201,7 +201,7 @@ MYDB_query($query, $connect) or Error("scenario_194A ".MYDB_error($connect),"");
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>각지의 오랑캐들이 <M>궐기</>합니다!";
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>중원의 전 국가에 <M>선전포고</> 합니다!";
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>그러나 중원의 영웅들이라면 막아낼 수도 있을법 해 보입니다!";
pushHistory($connect, $history);
pushHistory($history);
refreshNationStaticInfo();
+1 -1
View File
@@ -62,7 +62,7 @@ for($k=1; $k <= 200; $k++) {
//////////////////////////이벤트///////////////////////////////////////////////
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>각지에서 인재들이 <M>등장</>합니다!";
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>중원 통일에 보탬이 될듯 합니다!";
pushHistory($connect, $history);
pushHistory($history);
echo "<script>location.replace('./');</script>";
+1 -1
View File
@@ -93,7 +93,7 @@ $log[0] = "<C>●</>{$admin['month']}월:<Y>ⓝ유기체</>가 천하에 이름
pushAllLog($log);
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>NPC 유기체가 등장합니다. 의병장과 NPC들의 지능 개선을 위해 NPC 두뇌를 체험합니다. 크게 신경쓰진 마세요.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('./');</script>";
echo './';//TODO:debug all and replace
+5 -4
View File
@@ -16,6 +16,7 @@ require_once 'func_time_event.php';
require_once('func_template.php');
require_once('func_message.php');
require_once('func_map.php');
require_once('func_diplomacy.php');
/**
* 0.0~1.0 사이의 랜덤 float
@@ -1763,7 +1764,7 @@ function pushAllLog($log) {
}
}
function pushHistory($connect, $history) {
function pushHistory($history) {
$size = count($history);
if($size > 0) {
$fp = fopen("logs/_history.txt", "a");
@@ -3575,7 +3576,7 @@ function uniqueItem($connect, $general, $log, $vote=0) {
break;
}
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
}
}
return $log;
@@ -3729,7 +3730,7 @@ function deleteNation($connect, $general) {
$query = "delete from diplomacy where me='{$general['nation']}' or you='{$general['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
pushHistory($connect, $history);
pushHistory($history);
refreshNationStaticInfo();
}
@@ -3794,7 +3795,7 @@ function nextRuler($connect, $general) {
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<C><b>【유지】</b></><Y>{$nextruler['name']}</>(이)가 <D><b>{$nation['name']}</b></>의 유지를 이어 받았습니다";
pushHistory($connect, $history);
pushHistory($history);
$nation = addNationHistory($connect, $nation, "<C>●</>{$admin['year']}{$admin['month']}월:<C><b>【유지】</b></><Y>{$nextruler['name']}</>(이)가 <D><b>{$nation['name']}</b></>의 유지를 이어 받음.");
// 장수 삭제 및 부대처리는 checkTurn에서
}
+2 -2
View File
@@ -91,7 +91,7 @@ function registerAuction($connect) {
$alllog[0] = "<C>●</>{$admin['month']}월:<C>".GetStuffName($stuff)."</>(이)가 거래장에 등장했습니다!";
$history[0] = "<C>●</>{$admin['year']}년 {$admin['month']}월:<C><b>【암시장】</b></><Y>ⓝ암시장상인</>(이)가 <C>".GetStuffName($stuff)."</>(을)를 판다는 소문이 돌고 있습니다!";
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
}
}
*/
@@ -214,7 +214,7 @@ function processAuction($connect) {
$alllog[0] = "<C>●</>{$admin['month']}월:<Y>{$auction['name2']}</>(이)가 <C>".GetStuffName($auction['stuff'])."</>(을)를 구매했습니다!";
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<C><b>【암시장】</b></><Y>{$auction['name2']}</>(이)가 <C>".GetStuffName($auction['stuff'])."</>(을)를 구매했습니다!";
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
}
pushGenLog($trader, $traderLog);
pushGenLog($bidder, $bidderLog);
+6 -6
View File
@@ -472,7 +472,7 @@ function preUpdateMonthly($connect) {
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<R><b>【고립】</b></><G><b>{$city['name']}</b></>(이)가 보급이 끊겨 <R>미지배</> 도시가 되었습니다.";
}
pushHistory($connect, $history);
pushHistory($history);
//민심30이하 공백지 처리
$query = "update city set nation='0',gen1='0',gen2='0',gen3='0',conflict='',conflict2='',term=0,front=0 where rate<='30' and supply='0'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
@@ -694,7 +694,7 @@ group by A.nation
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
}
pushHistory($connect, $history);
pushHistory($history);
//사상자 초기화
$query = "update diplomacy set dead=0";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
@@ -867,7 +867,7 @@ function checkMerge($connect) {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushHistory($connect, $history);
pushHistory($history);
unset($mylog);
unset($youlog);
unset($history);
@@ -987,7 +987,7 @@ function checkSurrender($connect) {
pushGenLog($me, $mylog);
pushGenLog($you, $youlog);
pushHistory($connect, $history);
pushHistory($history);
unset($mylog);
unset($youlog);
unset($history);
@@ -1071,7 +1071,7 @@ function updateNationState($connect) {
$query = "update nation set tech=totaltech/'$gencount',gennum='$gennum' where nation='{$nation['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
pushHistory($connect, $history);
pushHistory($history);
}
function checkStatistic($connect) {
@@ -1356,7 +1356,7 @@ function checkEmperior($connect) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<Y><b>【통일】</b></><D><b>{$nation['name']}</b></>(이)가 전토를 통일하였습니다.";
pushHistory($connect, $history);
pushHistory($history);
//연감 월결산
LogHistory();
+21 -21
View File
@@ -1406,7 +1406,7 @@ function process_22($connect, &$general) {
// 성격 보정
$exp = CharExperience($exp, $general['personal']);
$ded = CharDedication($ded, $general['personal']);
sendScoutMsg([
'id' => $general['no'],
'nation_id' => util::array_get($general['nation'], 0)
@@ -3671,7 +3671,7 @@ function process_46($connect, &$general) {
$log = uniqueItem($connect, $general, $log, 3);
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -3729,7 +3729,7 @@ function process_47($connect, &$general) {
$query = "update diplomacy set state='2',term='0' where me='{$general['nation']}' or you='{$general['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
pushHistory($connect, $history);
pushHistory($history);
refreshNationStaticInfo();
}
@@ -4167,7 +4167,7 @@ function process_52($connect, &$general) {
// $log = checkAbility($connect, $general, $log);
}
pushHistory($connect, $history);
pushHistory($history);
pushGenLog($general, $log);
}
@@ -4293,7 +4293,7 @@ function process_54($connect, &$general) {
}
pushGenLog($general, $log);
pushGenLog($nextruler, $youlog);
pushHistory($connect, $history);
pushHistory($history);
}
function process_55($connect, &$general) {
@@ -4367,7 +4367,7 @@ function process_55($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -4482,7 +4482,7 @@ function process_57($connect, &$general) {
pushGenLog($general, $log);
pushGenLog($ruler, $youlog);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
}
function process_61($connect, &$general) {
@@ -4659,7 +4659,7 @@ function process_62($connect, &$general) {
PushMsg(3, $younation['nation'], $general['picture'], $general['imgsvr'], "{$general['name']}:{$nation['name']}", $nation['color'], $younation['name'], $younation['color'], $youmsg);
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -4877,7 +4877,7 @@ function process_65($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -4964,7 +4964,7 @@ function process_66($connect, &$general) {
refreshNationStaticInfo();
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -5052,7 +5052,7 @@ function process_67($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -5154,7 +5154,7 @@ function process_68($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
@@ -5255,7 +5255,7 @@ function process_71($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -5366,7 +5366,7 @@ function process_72($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -5493,7 +5493,7 @@ function process_73($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -5632,7 +5632,7 @@ function process_74($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -5754,7 +5754,7 @@ function process_75($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -5969,7 +5969,7 @@ function process_76($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -6093,7 +6093,7 @@ function process_77($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -6214,7 +6214,7 @@ function process_78($connect, &$general) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
// pushHistory($connect, $history);
// pushHistory($history);
// pushAllLog($alllog);
pushTrickLog($connect, $tricklog);
pushGenLog($general, $log);
@@ -6283,7 +6283,7 @@ function process_81($connect, &$general) {
refreshNationStaticInfo();
}
pushHistory($connect, $history);
pushHistory($history);
pushAllLog($alllog);
pushGenLog($general, $log);
}
+4 -4
View File
@@ -37,7 +37,7 @@ function processSpring($connect) {
$admin = MYDB_fetch_array($result);
$history[0] = "<R>★</>{$admin['year']}{$admin['month']}월: <S>모두들 즐거운 게임 하고 계신가요? ^^ <Y>삼국일보</> 애독해 주시고, <M>훼접</>은 삼가주세요~</>";
pushHistory($connect, $history);
pushHistory($history);
}
function processGoldIncome($connect) {
@@ -111,7 +111,7 @@ function processGoldIncome($connect) {
}
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<W><b>【지급】</b></>봄이 되어 봉록에 따라 자금이 지급됩니다.";
pushHistory($connect, $history);
pushHistory($history);
pushAdminLog($connect, $adminLog);
}
@@ -405,7 +405,7 @@ function processRiceIncome($connect) {
}
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<W><b>【지급】</b></>가을이 되어 봉록에 따라 군량이 지급됩니다.";
pushHistory($connect, $history);
pushHistory($history);
pushAdminLog($connect, $adminLog);
}
@@ -680,5 +680,5 @@ function disaster($connect) {
}
}
pushHistory($connect, $disaster);
pushHistory($disaster);
}
+2 -2
View File
@@ -274,7 +274,7 @@ function startTournament($connect, $auto, $type) {
case 2: $history[0] = "<S>◆</>{$admin['year']}{$admin['month']}월: <C>일기토</> 대회가 개최됩니다! 천하의 <span class='ev_highlight'>용사</span>들을 모집하고 있습니다!"; break;
case 3: $history[0] = "<S>◆</>{$admin['year']}{$admin['month']}월: <C>설전</> 대회가 개최됩니다! 천하의 <span class='ev_highlight'>책사</span>들을 모집하고 있습니다!"; break;
}
pushHistory($connect, $history);
pushHistory($history);
}
function fillLowGenAll($connect) {
@@ -644,7 +644,7 @@ function setGift($connect, $tnmt_type, $tnmt, $phase) {
$cost2 = $admin['develcost'] * 12;
$history[0] = "<S>◆</>{$admin['year']}{$admin['month']}월: <C>{$tp}</> 대회에서 <Y>{$general['name']}</>(이)가 <C>우승</>, <Y>{$general2['name']}</>(이)가 <C>준우승</>을 차지하여 천하에 이름을 떨칩니다!";
$history[1] = "<S>◆</>{$admin['year']}{$admin['month']}월: <C>{$tp}</> 대회의 <S>우승자</>에게는 <C>{$cost}</>, <S>준우승자</>에겐 <C>{$cost2}</>의 <S>상금</>과 약간의 <S>명성</>이 주어집니다!";
pushHistory($connect, $history);
pushHistory($history);
for($i=0; $i < count($genNo); $i++) {
$general['no'] = $genNo[$i];
+1 -1
View File
@@ -236,7 +236,7 @@ if($id_num) {
$log[1] = "<C>●</>{$admin['month']}월:<C>".getGenSpecial($special2)."</> 특기를 가진 <C>천재</>의 등장으로 온 천하가 떠들썩합니다.";
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【천재】</b></><G><b>{$cityname['name']}</b></>에 천재가 등장했습니다.";
pushHistory($connect, $history);
pushHistory($history);
} else {
$log[0] = "<C>●</>{$admin['month']}월:<G><b>{$cityname['name']}</b></>에서 <Y>{$me['name']}</>(이)라는 호걸이 천하에 이름을 알립니다.";
}
+5 -5
View File
@@ -112,7 +112,7 @@ function processWar($connect, $general, $city) {
$history[count($history)] = "<C>●</>{$game['year']}{$game['month']}월:<M><b>【패퇴】</b></><D><b>{$destnation['name']}</b></>(이)가 병량 부족으로 <G><b>{$city['name']}</b></>(을)를 뺏기고 말았습니다.";
pushGenLog($general, $log);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
unset($log);
unset($alllog);
unset($history);
@@ -481,7 +481,7 @@ function processWar($connect, $general, $city) {
pushBatLog($general, $batlog);
pushBatRes($general, $batres);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
unset($log);
unset($batlog);
unset($batres);
@@ -1494,7 +1494,7 @@ function processWar($connect, $general, $city) {
pushBatLog($general, $batlog);
pushBatRes($general, $batres);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
return $deadAmount;
}
@@ -1605,7 +1605,7 @@ function addConflict($connect, $city, $nationnum, $mykillnum) {
$nation = getNationStaticInfo($nationnum);
$history[count($history)] = "<C>●</>{$game['year']}{$game['month']}월:<M><b>【분쟁】</b></><D><b>{$nation['name']}</b></>(이)가 <G><b>{$city['name']}</b></> 공략에 가담하여 분쟁이 발생하고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
}
$nationlist[$i] = $nationnum;
@@ -1914,6 +1914,6 @@ function ConquerCity($connect, $game, $general, $city, $nation, $destnation) {
pushGenLog($general, $log);
pushAllLog($alllog);
pushHistory($connect, $history);
pushHistory($history);
}
+1 -1
View File
@@ -785,7 +785,7 @@ foreach(getAllNationStaticInfo() as $nation){
//////////////////////////이벤트///////////////////////////////////////////////
$history[count($history)] = "<C>●</>184년 1월:<L><b>【역사모드1】</b></>황건적의 난";
$history[count($history)] = "<C>●</>184년 1월:<Y><b>【황건적】</b></>전국 각지에서 황건적이 들고 일어서고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -890,7 +890,7 @@ $history[count($history)] = "<C>●</>225년 1월:<L><b>【이벤트】</b></><G
$history[count($history)] = "<C>●</>225년 1월:<L><b>【이벤트】</b></><G><b>오</b></>의 <Y>손권</>은 국력을 비축하며 웅크리고 있습니다.";
$history[count($history)] = "<C>●</>225년 1월:<L><b>【이벤트】</b></><G><b>남만</b></>의 <Y>맹획</>은 유선에게 반기를 듭니다!";
$history[count($history)] = "<C>●</>225년 1월:<L><b>【이벤트】</b></><G><b>촉</b></>의 <Y>제갈량</>은 남만을 정벌하기 위해 출정합니다!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -889,7 +889,7 @@ $history[count($history)] = "<C>●</>228년 1월:<L><b>【역사모드11】</b>
$history[count($history)] = "<C>●</>228년 1월:<L><b>【이벤트】</b></><G><b>오</b></>의 <Y>손권</>은 국력을 비축하며 웅크리고 있습니다.";
$history[count($history)] = "<C>●</>228년 1월:<L><b>【이벤트】</b></><G><b>촉</b></>의 <Y>제갈량</>은 출사표를 내고 북벌에 나섭니다!";
$history[count($history)] = "<C>●</>228년 1월:<L><b>【이벤트】</b></><G><b>위</b></>의 <Y>조예</>는 이에 맞서 <Y>사마의</>를 보냅니다!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -1173,7 +1173,7 @@ $history[count($history)] = "<C>●</>191년 1월:<L><b>【시나리오】</b></
$history[count($history)] = "<C>●</>191년 1월:<L><b>【시나리오】</b></><G><b>낙양</b></>은 <Y>손견</>과 결탁한 <Y>원술</>이 차지합니다!";
$history[count($history)] = "<C>●</>191년 1월:<L><b>【시나리오】</b></><G><b>기주</b></>에는 <Y>조조</>와 의기투합한 <Y>원소</>가 힘을 비축합니다!";
$history[count($history)] = "<C>●</>191년 1월:<L><b>【시나리오】</b></><G><b>병주</b></>에는 <Y>유비</>가 합세한 <Y>공손찬</>이 위용을 뽐냅니다!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -1703,7 +1703,7 @@ $history[count($history)] = "<C>●</>190년 1월:<G><b>【연합】</b></><G><b
$history[count($history)] = "<C>●</>190년 1월:<G><b>【연합】</b></><G><b>평원</b></>의 <Y>유비</>가 연합에 참가했습니다.";
$history[count($history)] = "<C>●</>190년 1월:<G><b>【연합】</b></><G><b>북해</b></>의 <Y>공융</>이 연합에 참가했습니다.";
$history[count($history)] = "<C>●</>190년 1월:<G><b>【연합】</b></><G><b>초</b></>의 <Y>공주</>가 연합에 참가했습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -742,7 +742,7 @@ RegGeneral($connect,1,1,$fiction,$turnterm,$startyear,$year,1678, 22, "희지
//////////////////////////이벤트///////////////////////////////////////////////
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드1】</b>영웅 난무</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>당대의 대표 세력들이 등장합니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -770,7 +770,7 @@ RegCity($connect, 3, "성도", 1);
//////////////////////////이벤트///////////////////////////////////////////////
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드1】</b>영웅 집결</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>당대의 대표 세력들이 등장합니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -111,7 +111,7 @@ RegGeneral2($connect,$admin['turnterm'],$gencount, "후랴", 56, 79, 20,"
//////////////////////////이벤트///////////////////////////////////////////////
$history[count($history)] = "<C>●</>179년 1월:<L><b>【가상모드2】</b>훼신 집결</>";
$history[count($history)] = "<C>●</>179년 1월:<L><b>【이벤트】</b></>삼모전 역대 훼신들이 등장합니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -746,7 +746,7 @@ RegGeneral($connect,1,1,$fiction,$turnterm,$startyear,$year,1678, 22, "희지
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드3】</b>영웅 시대</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>출연 가능한 모든 장수들이 재야로 등장하는 가상 시나리오.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -243,7 +243,7 @@ RegCity($connect, 2, "양양", 1);
//////////////////////////이벤트///////////////////////////////////////////////
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드4】</b>결사항전</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>오랑캐에 맞서 버텨내야 합니다!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -312,7 +312,7 @@ RegGeneral($connect,1,1,$fiction,$turnterm,$startyear,$year,1247, 72, "황
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드5】</b>영웅독존</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>진정한 영웅들만이 재야로 등장하는 가상 시나리오.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -309,7 +309,7 @@ RegGeneral($connect,1,1,$fiction,$turnterm,$startyear,$year,1244, 147, "후
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드6】</b>무풍지대</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>영웅은 없다! 오직 내가 영웅일 뿐이다!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -587,7 +587,7 @@ RegGeneral($connect,1,1,$fiction,$turnterm,$startyear,$year,1395, 0, "
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드7】</b>가요대잔치</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>올해의 가요대상은!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -416,7 +416,7 @@ RegGeneral($connect,1,1,$fiction,$turnterm,$startyear,$year,8229, 110, "지크
$history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드8】</b>확산성 밀리언 아서</>";
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>삼모전에 확밀아가 빙의됩니다!";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -1744,7 +1744,7 @@ $history[count($history)] = "<C>●</>194년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>194년 1월:<L><b>【이벤트】</b></><Y>유비</>는 <Y>도겸</>의 권유로 소패에 머뭅니다.";
$history[count($history)] = "<C>●</>194년 1월:<L><b>【이벤트】</b></>한편 <G><b>하북</b></>에서 <Y>원소</>와 <Y>공손찬</>이 자웅을 겨루려 합니다.";
$history[count($history)] = "<C>●</>194년 1월:<L><b>【이벤트】</b></><G><b>강동</b></>에서는 <Y>손책</>이 웅크리고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -1281,7 +1281,7 @@ $history[count($history)] = "<C>●</>196년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>196년 1월:<L><b>【이벤트】</b></><Y>유비</>는 <Y>여포</>에게 <G><b>소패</b></>를 내어줍니다.";
$history[count($history)] = "<C>●</>196년 1월:<L><b>【이벤트】</b></><G><b>동오</b></>의 <Y>손책</>은 소패왕의 이름을 떨칩니다.";
$history[count($history)] = "<C>●</>196년 1월:<L><b>【이벤트】</b></><G><b>회남</b></>의 <Y>원술</>은 황제가 될 기회를 노리고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -987,7 +987,7 @@ $history[count($history)] = "<C>●</>200년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>200년 1월:<L><b>【이벤트】</b></><Y>관우</>는 <Y>조조</>에게 투항합니다.";
$history[count($history)] = "<C>●</>200년 1월:<L><b>【이벤트】</b></><Y>원소</>와 <Y>조조</>는 사활을 건 한판 승부를 준비하고 있습니다.";
$history[count($history)] = "<C>●</>200년 1월:<L><b>【이벤트】</b></><G><b>관도</b></>에는 전운이 감돌고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -1033,7 +1033,7 @@ $history[count($history)] = "<C>●</>202년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>202년 1월:<L><b>【이벤트】</b></>맏아들 <Y>원담</>은 이에 반발하여 <Y>조조</>와 결탁하여 할거를 노립니다.";
$history[count($history)] = "<C>●</>202년 1월:<L><b>【이벤트】</b></><Y>조조</>는 <Y>원담</>을 이용하여 원소의 잔당을 물리치기 위한 진군을 시작합니다.";
$history[count($history)] = "<C>●</>202년 1월:<L><b>【이벤트】</b></>남쪽으로 피신한 <Y>유비</>는 <Y>유표</>에게 의지해 신야에 머무릅니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -1085,7 +1085,7 @@ $history[count($history)] = "<C>●</>207년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>207년 1월:<L><b>【이벤트】</b></><Y>원씨 가문</>을 무너뜨린 <Y>조조</>는 강남 정벌을 위해 대군을 이끌고 남하합니다.";
$history[count($history)] = "<C>●</>207년 1월:<L><b>【이벤트】</b></><Y>손권</>은 <Y>유비</>와 불가침을 맺고 조조의 대군에 맞서기로 결심합니다.";
$history[count($history)] = "<C>●</>207년 1월:<L><b>【이벤트】</b></>대군을 몰고 온 <Y>조조</>, 이에 맞서는 <Y>손권</>과 <Y>유비</>. 적벽은 피로 물들려 하고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -937,7 +937,7 @@ $history[count($history)] = "<C>●</>213년 1월:<L><b>【이벤트】</b></>
$history[count($history)] = "<C>●</>213년 1월:<L><b>【이벤트】</b></><Y>유장</>은 <Y>장로</>에 맞서기 위해 <Y>유비</>에게 도움을 청합니다.";
$history[count($history)] = "<C>●</>213년 1월:<L><b>【이벤트】</b></>일이 여의치 않은 <Y>유비</>는 등을 돌려 <G><b>익주</b></>를 차지하려합니다.";
$history[count($history)] = "<C>●</>213년 1월:<L><b>【이벤트】</b></>형주에 일었던 피바람은 <G><b>익주</b></>에서 다시 불어오고 있습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+1 -1
View File
@@ -861,7 +861,7 @@ $history[count($history)] = "<C>●</>219년 1월:<L><b>【이벤트】</b></><G
$history[count($history)] = "<C>●</>219년 1월:<L><b>【이벤트】</b></><G><b>동오</b></>의 <Y>손권</>은 <G><b>형주</b></>를 되찾기 위해 호시탐탐 노리고 있습니다.";
$history[count($history)] = "<C>●</>219년 1월:<L><b>【이벤트】</b></><G><b>한중</b></>왕에 오른 <Y>유비</>군의 기세는 하늘을 찌를 듯 합니다!";
$history[count($history)] = "<C>●</>219년 1월:<L><b>【이벤트】</b></><Y>위</>, <Y>오</>, <Y>촉</>의 본격적인 삼국시대가 되었습니다.";
pushHistory($connect, $history);
pushHistory($history);
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace