From bf81851ce27c52eccee9ec734fb30d8cd83c99bc Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 29 Mar 2018 00:52:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EB=82=98=EB=A6=AC=EC=98=A4=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=82=AD=EC=A0=9C!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + twe/scenario_1.php | 791 ------------------- twe/scenario_10.php | 896 ---------------------- twe/scenario_11.php | 895 ---------------------- twe/scenario_12.php | 1179 ----------------------------- twe/scenario_2.php | 1721 ------------------------------------------ twe/scenario_20.php | 748 ------------------ twe/scenario_21.php | 776 ------------------- twe/scenario_22.php | 196 ----- twe/scenario_23.php | 752 ------------------ twe/scenario_24.php | 324 -------- twe/scenario_25.php | 318 -------- twe/scenario_26.php | 315 -------- twe/scenario_27.php | 593 --------------- twe/scenario_28.php | 422 ----------- twe/scenario_3.php | 1762 ------------------------------------------- twe/scenario_4.php | 1287 ------------------------------- twe/scenario_5.php | 993 ------------------------ twe/scenario_6.php | 1039 ------------------------- twe/scenario_7.php | 1091 --------------------------- twe/scenario_8.php | 943 ----------------------- twe/scenario_9.php | 868 --------------------- 22 files changed, 2 insertions(+), 17909 deletions(-) delete mode 100644 twe/scenario_1.php delete mode 100644 twe/scenario_10.php delete mode 100644 twe/scenario_11.php delete mode 100644 twe/scenario_12.php delete mode 100644 twe/scenario_2.php delete mode 100644 twe/scenario_20.php delete mode 100644 twe/scenario_21.php delete mode 100644 twe/scenario_22.php delete mode 100644 twe/scenario_23.php delete mode 100644 twe/scenario_24.php delete mode 100644 twe/scenario_25.php delete mode 100644 twe/scenario_26.php delete mode 100644 twe/scenario_27.php delete mode 100644 twe/scenario_28.php delete mode 100644 twe/scenario_3.php delete mode 100644 twe/scenario_4.php delete mode 100644 twe/scenario_5.php delete mode 100644 twe/scenario_6.php delete mode 100644 twe/scenario_7.php delete mode 100644 twe/scenario_8.php delete mode 100644 twe/scenario_9.php diff --git a/.gitignore b/.gitignore index 746d1bcc..5654023f 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ d_setting/*.php */d_setting/*.php !*/d_setting/*.orig.php !*/d_setting/_*.php + +**/old/* \ No newline at end of file diff --git a/twe/scenario_1.php b/twe/scenario_1.php deleted file mode 100644 index 50bcd4ce..00000000 --- a/twe/scenario_1.php +++ /dev/null @@ -1,791 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●184년 1월:【역사모드1】황건적의 난"; -$history[count($history)] = "●184년 1월:【황건적】전국 각지에서 황건적이 들고 일어서고 있습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_10.php b/twe/scenario_10.php deleted file mode 100644 index 68d2e361..00000000 --- a/twe/scenario_10.php +++ /dev/null @@ -1,896 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●225년 1월:【역사모드10】칠종칠금"; -$history[count($history)] = "●225년 1월:【이벤트】조조는 조비에게 후사를 부탁합니다."; -$history[count($history)] = "●225년 1월:【이벤트】손권은 국력을 비축하며 웅크리고 있습니다."; -$history[count($history)] = "●225년 1월:【이벤트】남만맹획은 유선에게 반기를 듭니다!"; -$history[count($history)] = "●225년 1월:【이벤트】제갈량은 남만을 정벌하기 위해 출정합니다!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_11.php b/twe/scenario_11.php deleted file mode 100644 index 85314a8f..00000000 --- a/twe/scenario_11.php +++ /dev/null @@ -1,895 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●228년 1월:【역사모드11】출사표"; -$history[count($history)] = "●228년 1월:【이벤트】손권은 국력을 비축하며 웅크리고 있습니다."; -$history[count($history)] = "●228년 1월:【이벤트】제갈량은 출사표를 내고 북벌에 나섭니다!"; -$history[count($history)] = "●228년 1월:【이벤트】조예는 이에 맞서 사마의를 보냅니다!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_12.php b/twe/scenario_12.php deleted file mode 100644 index b6e61707..00000000 --- a/twe/scenario_12.php +++ /dev/null @@ -1,1179 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●191년 1월:【IF모드1】백마장군의 위세"; -$history[count($history)] = "●191년 1월:【시나리오】동탁은 장안으로 후퇴합니다!"; -$history[count($history)] = "●191년 1월:【시나리오】낙양손견과 결탁한 원술이 차지합니다!"; -$history[count($history)] = "●191년 1월:【시나리오】기주에는 조조와 의기투합한 원소가 힘을 비축합니다!"; -$history[count($history)] = "●191년 1월:【시나리오】병주에는 유비가 합세한 공손찬이 위용을 뽐냅니다!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_2.php b/twe/scenario_2.php deleted file mode 100644 index d7263ce5..00000000 --- a/twe/scenario_2.php +++ /dev/null @@ -1,1721 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●190년 1월:【역사모드2】반동탁연합 결성"; -$history[count($history)] = "●190년 1월:【연합】조조의 주도하에 전국 각지의 세력들이 동탁 타도를 외치며 연합을 결성했습니다."; -$history[count($history)] = "●190년 1월:【연합】진류에서 조조가 반동탁연합 격문을 썼습니다."; -$history[count($history)] = "●190년 1월:【연합】남피원소가 맹주로 추대되었습니다."; -$history[count($history)] = "●190년 1월:【연합】원술이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】장사손견이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】하비도겸이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】북평공손찬이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】서량마등이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】한복이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】복양유대가 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】하내장양이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】평원유비가 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】북해공융이 연합에 참가했습니다."; -$history[count($history)] = "●190년 1월:【연합】공주가 연합에 참가했습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_20.php b/twe/scenario_20.php deleted file mode 100644 index a4bb79da..00000000 --- a/twe/scenario_20.php +++ /dev/null @@ -1,748 +0,0 @@ -●180년 1월:【가상모드1】영웅 난무"; -$history[count($history)] = "●180년 1월:【이벤트】당대의 대표 세력들이 등장합니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_21.php b/twe/scenario_21.php deleted file mode 100644 index 4769c2f3..00000000 --- a/twe/scenario_21.php +++ /dev/null @@ -1,776 +0,0 @@ -●180년 1월:【가상모드1】영웅 집결"; -$history[count($history)] = "●180년 1월:【이벤트】당대의 대표 세력들이 등장합니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_22.php b/twe/scenario_22.php deleted file mode 100644 index ad1fc1c7..00000000 --- a/twe/scenario_22.php +++ /dev/null @@ -1,196 +0,0 @@ -ㅁ< ♡"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "사푸", 59, 33, 63,"안전","상재", "이게 다 사푸때문이다."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "살수묵랑", 69, 85, 13,"정복","무쌍", "남자라믄 고저 근성 열혈이라요!!!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "성야", 77, 62, 19,"출세","집중", "훼야 훼야"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "소마", 73, 22, 69,"대의","신중", "오늘 항가해요 (.. *)"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "소용녀", 64, 22, 84,"대의","신중", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "소지로", 70, 71, 20,"의협","무쌍", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "수", 41, 16, 68,"안전","견고", "흠... 그럼 어쩔수 없이 흉노로 가야겠군요..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "슈이쯔", 75, 76, 18,"패권","격노", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "스노곰", 70, 75, 10,"안전","궁병", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "시그리", 81, 63, 14,"왕좌","징병", "어이쿠야 월척이다. 보람 있구나~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "심심해", 60, 85, 11,"의협","무쌍", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "실바누스", 83, 61, 15,"대의","신산", "살려주셍쇼ㅠ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "아시루스", 56, 27, 75,"패권","집중", "왼손은 거들뿐..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "얀웬리", 66, 17, 82,"재간","반계", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "여휘", 67, 20, 70,"재간","공성", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "에드워드", 68, 70, 12,"안전","인덕", "훼드훼드에염"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "에레니아", 70, 19, 63,"정복","척사", "에레냐에염 ㅇㅅㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"온몸이근육", 58, 81, 10,"패권","징병", "불끈!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "유기체", 70, 21, 75,"출세","환술", "5분 후에 리셋합니다. ㄳ ㅇ_ㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "윤석민", 73, 20, 66,"패권","집중", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "율", 68, 10, 78,"패권","반계", "율!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"이노베이션", 83, 65, 14,"패권","돌격", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "임사영", 75, 75, 18,"출세","필살", "평민왔셈 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "자소유", 77, 70, 19,"대의","기병", "ㅇ_ㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장군보", 67, 82, 21,"의협","견고", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장수명", 66, 62, 18,"유지","견고", "장수명에 장수명을 입력한 장수명입니다."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장수왕", 77, 34, 43,"왕좌","위압", "장수왕섭 다음주 오픈해요. 기대해주셍."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장임", 50, 70, 75,"출세","저격", "훼력짱임."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장자", 66, 27, 80,"할거","신산", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "제로스", 71, 79, 24,"패권","필살", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "제이토", 76, 72, 14,"정복","보병", "훼이토 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "조용", 58, 62, 45,"할거","궁병", "조용..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "중달", 70, 73, 15,"대의","귀모", "내가 바로 그 훼달임."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "지장", 58, 84, 21,"정복","무쌍", "췌퉤훼섭 모두 가리지 않는 훼력 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "지천영", 65, 84, 11,"왕좌","위압", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "카이사르", 74, 75, 16,"정복","돌격", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "카이토", 63, 15, 78,"유지","집중", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "캐양민", 67, 18, 71,"패권","반계", "캐양민임...ㅠㅠ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "쿄타로", 75, 21, 66,"정복","신산", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"크리스티앙", 60, 83, 16,"유지","견고", "끌턍 꿀사턍 꾸린스탈 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "통키", 79, 68, 14,"대의","통찰", "불꽃슛~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "철혈대신", 72, 14, 85,"안전","견고", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"초절정미녀", 68, 19, 81,"출세","환술", "<- 초미녀임 ㅇㅇ;"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "페르난도", 68, 69, 21,"대의","징병", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "펠퍼틴", 58, 29, 61,"안전","의술", "짝퉁 화타가 바로 나!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "하누리", 55, 22, 85,"패권","귀병", "하루 종일 누르리!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "하리", 80, 63, 12,"왕좌","위압", "열전 쓰고 있는중..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "하오마루", 65, 85, 12,"정복","위압", "사무라이 쇼다운 막판왕 깨고 왔음."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"하후연묘재", 65, 15, 67,"유지","반계", "묘섭 베타서버 운영중입니다. 많이 찾아주세욤~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "환선", 60, 76, 24,"패권","돌격", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "황월영", 72, 10, 68,"대의","인덕", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "허기", 64, 12, 77,"출세","거상", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "형왔다", 64, 72, 27,"의협","기병", "형왔다~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "헹이", 75, 16, 73,"의협","환술", "다 헹궈버리겠다~ ㅇ<-<"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "효주곰", 54, 32, 77,"유지","경작", "순수한 효주곰이에여 >_<"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "후랴", 56, 79, 20,"의협","기병", "후랴 후랴~"); $gencount++; - -//////////////////////////장수 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●179년 1월:【가상모드2】훼신 집결"; -$history[count($history)] = "●179년 1월:【이벤트】삼모전 역대 훼신들이 등장합니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace - -function RegGeneral2($connect,$turnterm,$gencount,$name,$leader,$power,$intel,$personal,$special,$msg="") { - $name = "ⓝ".$name; - $turntime = getRandTurn($turnterm); - $personal = CharCall($personal); - $special = SpecCall($special); - if($special >= 40) { $special2 = $special; $special = 0; } - else { $special2 = 0; } - $city = rand()%61 + 1; - $age = 15; - $specage = $age; - $specage2 = $age; - $killturn = 9999; - $experience = $age * 100; - $dedication = $age * 100; - $npc = 2; - $affinity = rand()%150 + 1; - $picture = 'default.jpg'; - //장수 - @MYDB_query(" - insert into general ( - npcid,npc,npc_org,affinity,name,picture,nation,city, - leader,power,intel,experience,dedication, - level,gold,rice,crew,crewtype,train,atmos, - weap,book,horse,turntime,killturn,age,belong,personal,special,specage,special2,specage2,npcmsg, - makelimit - ) values ( - '$gencount','$npc','$npc','$affinity','$name','$picture','0', - '$city','$leader','$power','$intel','$experience','$dedication', - '0','1000','1000','0','0','0','0', - '0','0','0','$turntime','$killturn','$age','1', - '$personal','$special','$specage','$special2','$specage2','$msg', - '0' - )", - $connect - ) or Error(__LINE__.MYDB_error($connect),""); - //FIXME: insert 쿼리 이후 insertedID를 받아서 처리하는게 낫다. - //방랑군 - if(rand()%20 == 0) { - @MYDB_query(" - insert into nation ( - name,color,gold,rice,bill,rate,scout,war,tricklimit,surlimit, - scoutmsg,level - ) values ( - '$name','330000','1000','1000','100','15','0','0','24','72', - '훼신NPC국','0' - )", $connect - ) or Error(__LINE__.MYDB_error($connect),""); - - $query = "select nation from nation where name='$name'"; - $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); - $nation = MYDB_fetch_array($result); - // 군주로 // 현 국가 소속으로 - $query = "update general set belong=1,level=12,nation='{$nation['nation']}' where npcid='$gencount'"; - MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); - //외교 추가 - $query = "select nation from nation where nation!='{$nation['nation']}'"; - $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); - $count = MYDB_num_rows($result); - for($i=0; $i < $count; $i++) { - $you = MYDB_fetch_array($result); - @MYDB_query(" - insert into diplomacy ( - me, you, state, term - ) values ( - '{$nation['nation']}', '{$you['nation']}', '2', '0' - )", $connect - ) or Error(__LINE__.MYDB_error($connect),""); - @MYDB_query(" - insert into diplomacy ( - me, you, state, term - ) values ( - '{$you['nation']}', '{$nation['nation']}', '2', '0' - )", $connect - ) or Error(__LINE__.MYDB_error($connect),""); - } - } -} - diff --git a/twe/scenario_23.php b/twe/scenario_23.php deleted file mode 100644 index a4f3e7b0..00000000 --- a/twe/scenario_23.php +++ /dev/null @@ -1,752 +0,0 @@ -●180년 1월:【가상모드3】영웅 시대"; -$history[count($history)] = "●180년 1월:【이벤트】출연 가능한 모든 장수들이 재야로 등장하는 가상 시나리오."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_24.php b/twe/scenario_24.php deleted file mode 100644 index 8060eba7..00000000 --- a/twe/scenario_24.php +++ /dev/null @@ -1,324 +0,0 @@ -ㅁ< ♡"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "사푸", 59, 33, 63,"안전","상재", "이게 다 사푸때문이다."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "살수묵랑", 69, 85, 13,"정복","무쌍", "남자라믄 고저 근성 열혈이라요!!!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "성야", 77, 62, 19,"출세","집중", "훼야 훼야"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "소마", 73, 22, 69,"대의","신중", "오늘 항가해요 (.. *)"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "소용녀", 64, 22, 84,"대의","신중", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "소지로", 70, 71, 20,"의협","무쌍", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "수", 41, 16, 68,"안전","견고", "흠... 그럼 어쩔수 없이 흉노로 가야겠군요..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "슈이쯔", 75, 76, 18,"패권","격노", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "스노곰", 70, 75, 10,"안전","궁병", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "시그리", 81, 63, 14,"왕좌","징병", "어이쿠야 월척이다. 보람 있구나~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "심심해", 60, 85, 11,"의협","무쌍", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "실바누스", 83, 61, 15,"대의","신산", "살려주셍쇼ㅠ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "아시루스", 56, 27, 75,"패권","집중", "왼손은 거들뿐..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "얀웬리", 66, 17, 82,"재간","반계", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "여휘", 67, 20, 70,"재간","공성", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "에드워드", 68, 70, 12,"안전","인덕", "훼드훼드에염"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "에레니아", 70, 19, 63,"정복","척사", "에레냐에염 ㅇㅅㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"온몸이근육", 58, 81, 10,"패권","징병", "불끈!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "유기체", 70, 21, 75,"출세","환술", "5분 후에 리셋합니다. ㄳ ㅇ_ㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "윤석민", 73, 20, 66,"패권","집중", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "율", 68, 10, 78,"패권","반계", "율!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"이노베이션", 83, 65, 14,"패권","돌격", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "임사영", 75, 75, 18,"출세","필살", "평민왔셈 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "자소유", 77, 70, 19,"대의","기병", "ㅇ_ㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장군보", 67, 82, 21,"의협","견고", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장수명", 66, 62, 18,"유지","견고", "장수명에 장수명을 입력한 장수명입니다."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장수왕", 77, 34, 43,"왕좌","위압", "장수왕섭 다음주 오픈해요. 기대해주셍."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장임", 50, 70, 75,"출세","저격", "훼력짱임."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "장자", 66, 27, 80,"할거","신산", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "제로스", 71, 79, 24,"패권","필살", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "제이토", 76, 72, 14,"정복","보병", "훼이토 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "조용", 58, 62, 45,"할거","궁병", "조용..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "중달", 70, 73, 15,"대의","귀모", "내가 바로 그 훼달임."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "지장", 58, 84, 21,"정복","무쌍", "췌퉤훼섭 모두 가리지 않는 훼력 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "지천영", 65, 84, 11,"왕좌","위압", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "카이사르", 74, 75, 16,"정복","돌격", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "카이토", 63, 15, 78,"유지","집중", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "캐양민", 67, 18, 71,"패권","반계", "캐양민임...ㅠㅠ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "쿄타로", 75, 21, 66,"정복","신산", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"크리스티앙", 60, 83, 16,"유지","견고", "끌턍 꿀사턍 꾸린스탈 ㅇㅇ"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "통키", 79, 68, 14,"대의","통찰", "불꽃슛~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "철혈대신", 72, 14, 85,"안전","견고", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"초절정미녀", 68, 19, 81,"출세","환술", "<- 초미녀임 ㅇㅇ;"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "페르난도", 68, 69, 21,"대의","징병", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "펠퍼틴", 58, 29, 61,"안전","의술", "짝퉁 화타가 바로 나!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "하누리", 55, 22, 85,"패권","귀병", "하루 종일 누르리!"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "하리", 80, 63, 12,"왕좌","위압", "열전 쓰고 있는중..."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "하오마루", 65, 85, 12,"정복","위압", "사무라이 쇼다운 막판왕 깨고 왔음."); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount,"하후연묘재", 65, 15, 67,"유지","반계", "묘섭 베타서버 운영중입니다. 많이 찾아주세욤~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "환선", 60, 76, 24,"패권","돌격", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "황월영", 72, 10, 68,"대의","인덕", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "허기", 64, 12, 77,"출세","거상", ""); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "형왔다", 64, 72, 27,"의협","기병", "형왔다~"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "헹이", 75, 16, 73,"의협","환술", "다 헹궈버리겠다~ ㅇ<-<"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "효주곰", 54, 32, 77,"유지","경작", "순수한 효주곰이에여 >_<"); $gencount++; -RegGeneral2($connect,$admin['turnterm'],$gencount, "후랴", 56, 79, 20,"의협","기병", "후랴 후랴~"); $gencount++; - -//군주임명 -$no = rand() % 79 + 2; -$query = "update general set level=12 where no='$no'"; -MYDB_query($query, $connect) or Error("scenario_194A ".MYDB_error($connect),""); - -RegGeneral3($connect,$admin['turnterm'],$gencount, 2,12,"오랑캐대왕", 95, 95, 95,"패권","돌격", "오랑캐들이여 일어서라!"); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2,11, "오환대왕", 85, 55, 85,"패권","환술", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2,10, "저대왕", 75, 75, 45,"패권","돌격", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 9, "흉노대왕", 65, 50, 50,"패권","돌격", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 8, "남만대왕", 45, 15, 45,"패권","환술", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 7, "산월대왕", 45, 15, 45,"패권","환술", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 6, "왜대왕", 45, 15, 45,"패권","환술", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 5, "강대왕", 45, 45, 15,"패권","돌격", ""); $gencount++; - -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1, "북적대왕", 45, 45, 15,"패권","돌격", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1, "서융대왕", 45, 15, 45,"패권","돌격", ""); $gencount++; -RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1, "동이대왕", 45, 45, 15,"패권","돌격", ""); $gencount++; - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"북적장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"서융장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"동이장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"강장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"저장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"흉노장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"오환장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"남만장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"산월장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -for($k=0; $k <= 99; $k++) { - if(rand()%2) { $l = rand()%10 + 10; $p = rand()%10 + 15; $i = rand()%10 + 10; } - else { $l = rand()%10 + 10; $p = rand()%10 + 10; $i = rand()%10 + 15; } - RegGeneral3($connect,$admin['turnterm'],$gencount, 2, 1,"왜장수{$k}", $l, $p, $i,"패권","", ""); $gencount++; -} - -//////////////////////////장수 끝/////////////////////////////////////////////// - -//////////////////////////도시 소속///////////////////////////////////////////// -RegCity(1, "업", 1); -RegCity(2, "양양", 1); - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●180년 1월:【가상모드4】결사항전"; -$history[count($history)] = "●180년 1월:【이벤트】오랑캐에 맞서 버텨내야 합니다!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace - -function RegGeneral2($connect,$turnterm,$gencount,$name,$leader,$power,$intel,$personal,$special,$msg="") { - $name = "ⓝ".$name; - $turntime = getRandTurn($turnterm); - $personal = CharCall($personal); - $special = SpecCall($special); - if($special >= 40) { $special2 = $special; $special = 0; } - else { $special2 = 0; } - $city = rand()%61 + 1; - $age = 15; - $specage = $age; - $specage2 = $age; - $killturn = 9999; - $experience = $age * 100; - $dedication = $age * 100; - $npc = 2; - $affinity = rand()%150 + 1; - $picture = 'default.jpg'; - //장수 - @MYDB_query(" - insert into general ( - npcid,npc,npc_org,affinity,name,picture,nation,level,city, - leader,power,intel,experience,dedication, - gold,rice,crew,crewtype,train,atmos, - weap,book,horse,turntime,killturn,age,belong,personal,special,specage,special2,specage2,npcmsg, - makelimit - ) values ( - '$gencount','$npc','$npc','$affinity','$name','$picture','1','1','$city', - '$leader','$power','$intel','$experience','$dedication', - '2000','2000','0','0','0','0', - '0','0','0','$turntime','$killturn','$age','1', - '$personal','$special','$specage','$special2','$specage2','$msg', - '0' - )", - $connect - ) or Error(__LINE__.MYDB_error($connect),""); -} - -function RegGeneral3($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$power,$intel,$personal,$special,$msg="") { - $name = "ⓝ".$name; - $turntime = getRandTurn($turnterm); - $personal = CharCall($personal); - $special = SpecCall($special); - if($special >= 40) { $special2 = $special; $special = 0; } - else { $special2 = 0; } - $city = rand()%61 + 1; - $age = 15; - $specage = $age+1; - $specage2 = $age+1; - $killturn = 9999; - $experience = $age * 100; - $dedication = $age * 100; - $npc = 2; - $affinity = 999; - $picture = 'default.jpg'; - //장수 - @MYDB_query(" - insert into general ( - npcid,npc,npc_org,affinity,name,picture,nation,city, - leader,power,intel,experience,dedication, - level,gold,rice,crew,crewtype,train,atmos, - weap,book,horse,turntime,killturn,age,belong,personal,special,specage,special2,specage2,npcmsg, - makelimit - ) values ( - '$gencount','$npc','$npc','$affinity','$name','$picture','$nation','$city', - '$leader','$power','$intel','$experience','$dedication', - '$level','2000','2000','0','0','0','0', - '0','0','0','$turntime','$killturn','$age','1', - '$personal','$special','$specage','$special2','$specage2','$msg', - '0' - )", - $connect - ) or Error(__LINE__.MYDB_error($connect),""); -} - diff --git a/twe/scenario_25.php b/twe/scenario_25.php deleted file mode 100644 index ef439950..00000000 --- a/twe/scenario_25.php +++ /dev/null @@ -1,318 +0,0 @@ -●180년 1월:【가상모드5】영웅독존"; -$history[count($history)] = "●180년 1월:【이벤트】진정한 영웅들만이 재야로 등장하는 가상 시나리오."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_26.php b/twe/scenario_26.php deleted file mode 100644 index e15b004a..00000000 --- a/twe/scenario_26.php +++ /dev/null @@ -1,315 +0,0 @@ -●180년 1월:【가상모드6】무풍지대"; -$history[count($history)] = "●180년 1월:【이벤트】영웅은 없다! 오직 내가 영웅일 뿐이다!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_27.php b/twe/scenario_27.php deleted file mode 100644 index 827ce20b..00000000 --- a/twe/scenario_27.php +++ /dev/null @@ -1,593 +0,0 @@ -●180년 1월:【가상모드7】가요대잔치"; -$history[count($history)] = "●180년 1월:【이벤트】올해의 가요대상은!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_28.php b/twe/scenario_28.php deleted file mode 100644 index 7cff4e91..00000000 --- a/twe/scenario_28.php +++ /dev/null @@ -1,422 +0,0 @@ -●180년 1월:【가상모드8】확산성 밀리언 아서"; -$history[count($history)] = "●180년 1월:【이벤트】삼모전에 확밀아가 빙의됩니다!"; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_3.php b/twe/scenario_3.php deleted file mode 100644 index ac92e01d..00000000 --- a/twe/scenario_3.php +++ /dev/null @@ -1,1762 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●194년 1월:【역사모드3】군웅할거"; -$history[count($history)] = "●194년 1월:【이벤트】연주조조가 부친의 복수를 빌미로 서주 토벌에 나섭니다."; -$history[count($history)] = "●194년 1월:【이벤트】평원유비가 원군에 나섭니다."; -$history[count($history)] = "●194년 1월:【이벤트】여포가 진궁의 계책으로 진류를 확보했습니다."; -$history[count($history)] = "●194년 1월:【이벤트】조조가 근거지 재탈환을 위해 급히 물러납니다."; -$history[count($history)] = "●194년 1월:【이벤트】유비는 도겸의 권유로 소패에 머뭅니다."; -$history[count($history)] = "●194년 1월:【이벤트】한편 하북에서 원소와 공손찬이 자웅을 겨루려 합니다."; -$history[count($history)] = "●194년 1월:【이벤트】강동에서는 손책이 웅크리고 있습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_4.php b/twe/scenario_4.php deleted file mode 100644 index 1b05b10b..00000000 --- a/twe/scenario_4.php +++ /dev/null @@ -1,1287 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●196년 1월:【역사모드4】황제는 허도로"; -$history[count($history)] = "●196년 1월:【이벤트】황제가 이각에게서 탈출하여 낙양으로 향합니다."; -$history[count($history)] = "●196년 1월:【이벤트】황제는 폐허가 된 낙양의 수비를 위해 몇 군벌들에게 서신을 띄웁니다.."; -$history[count($history)] = "●196년 1월:【이벤트】기주원소는 세력 다지기에 바쁩니다."; -$history[count($history)] = "●196년 1월:【이벤트】연주조조가 병력을 출동하여 낙양을 점거합니다."; -$history[count($history)] = "●196년 1월:【이벤트】조조는 황제를 강압적으로 허창으로 이주시킵니다."; - -$history[count($history)] = "●196년 1월:【이벤트】여포는 패주하여 유비에 몸을 맡깁니다."; -$history[count($history)] = "●196년 1월:【이벤트】유비는 여포에게 소패를 내어줍니다."; -$history[count($history)] = "●196년 1월:【이벤트】동오손책은 소패왕의 이름을 떨칩니다."; -$history[count($history)] = "●196년 1월:【이벤트】회남원술은 황제가 될 기회를 노리고 있습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_5.php b/twe/scenario_5.php deleted file mode 100644 index 3ba2bef9..00000000 --- a/twe/scenario_5.php +++ /dev/null @@ -1,993 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●200년 1월:【역사모드5】관도대전"; -$history[count($history)] = "●200년 1월:【이벤트】조조에게 패한 유비는 원소에게 의지하기 위해 방랑하고 있습니다."; -$history[count($history)] = "●200년 1월:【이벤트】관우는 조조에게 투항합니다."; -$history[count($history)] = "●200년 1월:【이벤트】원소와 조조는 사활을 건 한판 승부를 준비하고 있습니다."; -$history[count($history)] = "●200년 1월:【이벤트】관도에는 전운이 감돌고 있습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_6.php b/twe/scenario_6.php deleted file mode 100644 index 8a0031b4..00000000 --- a/twe/scenario_6.php +++ /dev/null @@ -1,1039 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●202년 1월:【역사모드6】원가의 분열"; -$history[count($history)] = "●202년 1월:【이벤트】원소는 후계자로 셋째 아들 원상을 선택합니다."; -$history[count($history)] = "●202년 1월:【이벤트】맏아들 원담은 이에 반발하여 조조와 결탁하여 할거를 노립니다."; -$history[count($history)] = "●202년 1월:【이벤트】조조는 원담을 이용하여 원소의 잔당을 물리치기 위한 진군을 시작합니다."; -$history[count($history)] = "●202년 1월:【이벤트】남쪽으로 피신한 유비는 유표에게 의지해 신야에 머무릅니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_7.php b/twe/scenario_7.php deleted file mode 100644 index bed6e6ff..00000000 --- a/twe/scenario_7.php +++ /dev/null @@ -1,1091 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●207년 1월:【역사모드7】적벽대전"; -$history[count($history)] = "●207년 1월:【이벤트】하후돈을 패주시킨 서서는 계책에 빠져 조조에게 귀순합니다."; -$history[count($history)] = "●207년 1월:【이벤트】서서의 천거로 유비는 제갈량을 삼고초려의 예로 영입합니다."; -$history[count($history)] = "●207년 1월:【이벤트】원씨 가문을 무너뜨린 조조는 강남 정벌을 위해 대군을 이끌고 남하합니다."; -$history[count($history)] = "●207년 1월:【이벤트】손권은 유비와 불가침을 맺고 조조의 대군에 맞서기로 결심합니다."; -$history[count($history)] = "●207년 1월:【이벤트】대군을 몰고 온 조조, 이에 맞서는 손권과 유비. 적벽은 피로 물들려 하고 있습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_8.php b/twe/scenario_8.php deleted file mode 100644 index bb2b60e3..00000000 --- a/twe/scenario_8.php +++ /dev/null @@ -1,943 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●213년 1월:【역사모드8】익주 공방전"; -$history[count($history)] = "●213년 1월:【이벤트】마등을 섬멸시킨 조조는 익주로 눈을 돌립니다."; -$history[count($history)] = "●213년 1월:【이벤트】도망친 마초는 한중장로에게 의지합니다."; -$history[count($history)] = "●213년 1월:【이벤트】유장은 장로에 맞서기 위해 유비에게 도움을 청합니다."; -$history[count($history)] = "●213년 1월:【이벤트】일이 여의치 않은 유비는 등을 돌려 익주를 차지하려합니다."; -$history[count($history)] = "●213년 1월:【이벤트】형주에 일었던 피바람은 익주에서 다시 불어오고 있습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace diff --git a/twe/scenario_9.php b/twe/scenario_9.php deleted file mode 100644 index d8b6d430..00000000 --- a/twe/scenario_9.php +++ /dev/null @@ -1,868 +0,0 @@ -0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$query = "update city set pop=pop2*0.7,agri=agri2*0.7,comm=comm2*0.7,secu=secu2*0.7,rate=80 where nation=0"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -//전방설정 -foreach(getAllNationStaticInfo() as $nation){ - SetNationFront($connect, $nation['nation']); -} - -//////////////////////////도시 끝/////////////////////////////////////////////// - -//////////////////////////이벤트/////////////////////////////////////////////// -$history[count($history)] = "●219년 1월:【역사모드9】삼국정립"; -$history[count($history)] = "●219년 1월:【이벤트】한중을 빼앗긴 조조는 허창으로 퇴각합니다."; -$history[count($history)] = "●219년 1월:【이벤트】동오손권은 형주를 되찾기 위해 호시탐탐 노리고 있습니다."; -$history[count($history)] = "●219년 1월:【이벤트】한중왕에 오른 유비군의 기세는 하늘을 찌를 듯 합니다!"; -$history[count($history)] = "●219년 1월:【이벤트】위, 오, 촉의 본격적인 삼국시대가 되었습니다."; -pushHistory($history); - -//echo ""; -echo 'install3_ok.php';//TODO:debug all and replace -