Cqfieldサーバーで使用しているvotemapスクリプト
DAsコンクエストサーバーで使用したスクリプトを少し弄って使用しています。
DAsサーバーで使用しているvotemapスクリプト
DAsサーバーで使用しているvotemapスクリプト 基本的にこの記事↓に書いてありますが、これを少し弄って使用しています。 仕様 ラウンド開始時、プレイヤー数が32人未満の場合はバニラマップローテーション ラウンド開始時、プレイヤー数が3...
仕様
- ラウンド開始時、プレイヤー数が44人未満の場合はバニラマップローテーション
- ラウンド開始時、プレイヤー数が44人以上で機能有効
- 投票開始のトリガーはサーバー内での初キル
- 投票方法は投票が開始されてから従来通りにチャットに「/1」「/2」「/3」の遊びたいマップを打ち込む
- 投票の状態を確認するコマンドは「!next」
- 投票はラウンド終了まで有効
- DLCマップは20:00~23:30の間のみ追加
- 無料DLCの3マップを除外
※/1のOperation Outbreakを除く
マップリスト
- /1
- Zavod 311
- Operation Locker
- Flood Zone
- Guilin Peaks*
- Operation Metro 2014*
- Pearl Market*
- Propaganda*
Operation Outbreak*
- /2
- Golmud Railway
- Hainan Resort
- Siege of Shanghai
- Dawnbreaker
- Paracel Storm
- Caspian Border 2014*
- Operation Firestorm 2014*
- Operation Mortar*
- /3
- JST 20:00~23:30
- 無料DLCを除いたすべてのマップ
- 上記以外の時間
- バニラマップのみ
- JST 20:00~23:30
ProconRulzのコード
※サーバーのメッセージを取得可能に要改造のため、こちらの記事で公開しているProconRulzを使用して下さい。
Not Found
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
### ProconRulz - DAs VoteMap ver 4.7 DAs by DA-xx-V On Spawn;ServerFirst;Set %ini_server_before_map[2]% %ini_server_before_map[1]%;Set %ini_server_before_map[1]% %ini_server_before_map[0]%;Set %ini_server_before_map[0]% %m%; On Spawn;ServerFirst; Set %ini_server_mode[vm]% 1; If 20:00:00 <= %hms%;If 23:30:00 >= %hms%;Set %ini_server_mode[vm]% 0; On RoundOver; Set %ini_server_mode[vm]% 1; If 20:00:00 <= %hms%;If 23:30:00 >= %hms%;Set %ini_server_mode[vm]% 0; On Kill;ServerFirst;If %ts1% + %ts2% >= 44; Set %ini_server_vote/1[map]% 0;Set %ini_server_vote/2[map]% 0;Set %ini_server_vote/3[map]% 0;Set %ini_server_votemap% 1;Set %ini_server_lowpop% 0; If %ini_server_map/1% == MP_Abandoned;Set %ini_server_/1mapname% Zavod 311; If %ini_server_map/1% == MP_Prison;Set %ini_server_/1mapname% Operation Locker; If %ini_server_map/1% == MP_Flooded;Set %ini_server_/1mapname% Flood Zone; If %ini_server_map/1% == XP1_003;Set %ini_server_/1mapname% Guilin Peaks; If %ini_server_map/1% == XP0_Metro;Set %ini_server_/1mapname% Operation Metro 2014; If %ini_server_map/1% == XP3_MarketPl;Set %ini_server_/1mapname% Pearl Market; If %ini_server_map/1% == XP3_Prpganda;Set %ini_server_/1mapname% Propaganda; If %ini_server_map/1% == XP3_UrbanGdn;Set %ini_server_/1mapname% Lumpini Garden; If %ini_server_map/1% == XP6_CMP;Set %ini_server_/1mapname% Operation Outbreak; If %ini_server_map/2% == MP_Journey;Set %ini_server_/2mapname% Golmud Railway; If %ini_server_map/2% == MP_Naval;Set %ini_server_/2mapname% Paracel Storm; If %ini_server_map/2% == MP_Resort;Set %ini_server_/2mapname% Hainan Resort; If %ini_server_map/2% == MP_Siege;Set %ini_server_/2mapname% Siege of Shanghai; If %ini_server_map/2% == MP_Tremors;Set %ini_server_/2mapname% Dawnbreaker; If %ini_server_map/2% == XP0_Caspia;Set %ini_server_/2mapname% Caspian Border 2014; If %ini_server_map/2% == XP0_Firestor;Set %ini_server_/2mapname% Firestorm 2014; If %ini_server_map/2% == XP2_002;Set %ini_server_/2mapname% Nansha strike; If %ini_server_map/2% == XP2_003;Set %ini_server_/2mapname% WaveBreaker; If %ini_server_map/2% == XP2_004;Set %ini_server_/2mapname% Operation Mortar; If %ini_server_map/3% == MP_Abandoned;Set %ini_server_/3mapname% Zavod 311; If %ini_server_map/3% == MP_Damage;Set %ini_server_/3mapname% Lancang Dam; If %ini_server_map/3% == MP_Flooded;Set %ini_server_/3mapname% Flood Zone; If %ini_server_map/3% == MP_Journey;Set %ini_server_/3mapname% Golmud Railway; If %ini_server_map/3% == MP_Naval;Set %ini_server_/3mapname% Paracel Storm; If %ini_server_map/3% == MP_Prison;Set %ini_server_/3mapname% Operation Locker; If %ini_server_map/3% == MP_Resort;Set %ini_server_/3mapname% Hainan Resort; If %ini_server_map/3% == MP_Siege;Set %ini_server_/3mapname% Siege of Shanghai; If %ini_server_map/3% == MP_TheDish;Set %ini_server_/3mapname% Rogue Transmission; If %ini_server_map/3% == MP_Tremors;Set %ini_server_/3mapname% Dawnbreaker; If %ini_server_map/3% == XP1_001;Set %ini_server_/3mapname% Silk Road; If %ini_server_map/3% == XP1_002;Set %ini_server_/3mapname% Altai Range; If %ini_server_map/3% == XP1_003;Set %ini_server_/3mapname% Guilin Peaks; If %ini_server_map/3% == XP1_004;Set %ini_server_/3mapname% Dragon Pass; If %ini_server_map/3% == XP0_Caspia;Set %ini_server_/3mapname% Caspian Border 2014; If %ini_server_map/3% == XP0_Firestor;Set %ini_server_/3mapname% Firestorm 2014; If %ini_server_map/3% == XP0_Metro;Set %ini_server_/3mapname% Operation Metro 2014; If %ini_server_map/3% == XP0_Oman;Set %ini_server_/3mapname% Gulf of Oman 2014; If %ini_server_map/3% == XP2_001;Set %ini_server_/3mapname% Lost Islands; If %ini_server_map/3% == XP2_002;Set %ini_server_/3mapname% Nansha strike; If %ini_server_map/3% == XP2_003;Set %ini_server_/3mapname% WaveBreaker; If %ini_server_map/3% == XP2_004;Set %ini_server_/3mapname% Operation Mortar; If %ini_server_map/3% == XP3_MarketPl;Set %ini_server_/3mapname% Pearl Market; If %ini_server_map/3% == XP3_Prpganda;Set %ini_server_/3mapname% Propaganda; If %ini_server_map/3% == XP3_UrbanGdn;Set %ini_server_/3mapname% Lumpini Garden; If %ini_server_map/3% == XP3_WtrFront;Set %ini_server_/3mapname% Sunken Dragon; If %ini_server_map/3% == XP4_Arctic;Set %ini_server_/3mapname% Operation Whiteout; If %ini_server_map/3% == XP4_SubBase;Set %ini_server_/3mapname% Hammerhead; If %ini_server_map/3% == XP4_Titan;Set %ini_server_/3mapname% Hangar 21; If %ini_server_map/3% == XP4_WalkerFactory;Set %ini_server_/3mapname% Giants of Karelia; If %ini_server_map/3% == XP5_Night_01;Set %ini_server_/3mapname% Zavod:Graveyard Shift; If %ini_server_map/3% == XP6_CMP;Set %ini_server_/3mapname% Operation Outbreak; If %ini_server_map/3% == XP7_Valley;Set %ini_server_/3mapname% Dragon Valley 2015; Exec mapList.clear; Exec mapList.save; Exec mapList.add %ini_server_map/1% ConquestLarge0 1; Exec mapList.add %ini_server_map/2% ConquestLarge0 1; Exec mapList.add %ini_server_map/3% ConquestLarge0 1; Exec mapList.save; # On Kill;ServerFirst;If %ini_server_votemap% == 1; Say dasvotemapsdasvotemapsdasvotemapsdasvotema; Say psdasvotemapsdasvotemapsdasvotemapsdasvote; Say mapsdasvotemapsdasvotemapsdasvotemapsdasvo; Say temapsdasvotemapsdasvotemapsdasvotemapsdas; Say votemapsdasvotemapsdasvotemapsdasvotemaps!; Both ####### VOTE NEXT MAP #######; Say - Type /1, /2,... in chat to vote for the next round map.; Say - /1 %ini_server_/1mapname%; Say - /2 %ini_server_/2mapname%; Say - /3 %ini_server_/3mapname%; Set %ini_server_voteon[map]% True; # On Say;If %p% == Server;Text /tlpm;If %ini_server_mode[vm]% == 0; Incr %ini_server_map1%;Incr %ini_server_map2%;Incr %ini_server_map3%; If %ini_server_map1% >= 7;Set %ini_server_map1% 0; If %ini_server_map2% >= 8;Set %ini_server_map2% 0; If %ini_server_map3% >= 30;Set %ini_server_map3% 0; On Say;If %p% == Server;Text /tlpm;If %ini_server_mode[vm]% == 1; Incr %ini_server_map1%;Incr %ini_server_map2%;Incr %ini_server_map3%; If %ini_server_map1% >= 3;Set %ini_server_map1% 0; If %ini_server_map2% >= 5;Set %ini_server_map2% 0; If %ini_server_map3% >= 10;Set %ini_server_map3% 0; # On Say;If %p% == Server;Text /tlpm; If %ini_server_map1% == 0;If %ini_server_before_map[0]% != "Zavod 311";If %ini_server_before_map[1]% != "Zavod 311";If %ini_server_before_map[2]% != "Zavod 311";Set %ini_server_map/1% MP_Abandoned; If %ini_server_map1% == 1;If %ini_server_before_map[0]% != "Operation Locker";If %ini_server_before_map[1]% != "Operation Locker";If %ini_server_before_map[2]% != "Operation Locker";Set %ini_server_map/1% MP_Prison; If %ini_server_mode[vm]% == 1;If %ini_server_map1% == 2;If %ini_server_before_map[0]% != "Flood Zone";If %ini_server_before_map[1]% != "Flood Zone";If %ini_server_before_map[2]% != "Flood Zone";Set %ini_server_map/1% MP_Flooded; If %ini_server_mode[vm]% == 0;If %ini_server_map1% == 2;If %ini_server_before_map[0]% != "Guilin Peaks";If %ini_server_before_map[1]% != "Guilin Peaks";If %ini_server_before_map[2]% != "Guilin Peaks";Set %ini_server_map/1% XP1_003; If %ini_server_map1% == 3;If %ini_server_before_map[0]% != "Operation Metro 2014";If %ini_server_before_map[1]% != "Operation Metro 2014";If %ini_server_before_map[2]% != "Operation Metro 2014";Set %ini_server_map/1% XP0_Metro; If %ini_server_map1% == 4;If %ini_server_before_map[0]% != "Pearl Market";If %ini_server_before_map[1]% != "Pearl Market";If %ini_server_before_map[2]% != "Pearl Market";Set %ini_server_map/1% XP3_MarketPl; If %ini_server_map1% == 5;If %ini_server_before_map[0]% != Propaganda;If %ini_server_before_map[1]% != Propaganda;If %ini_server_before_map[2]% != Propaganda;Set %ini_server_map/1% XP3_Prpganda; If %ini_server_map1% == 6;If %ini_server_before_map[0]% != "Operation Outbreak";If %ini_server_before_map[1]% != "Operation Outbreak";If %ini_server_before_map[2]% != "Operation Outbreak";Set %ini_server_map/1% XP6_CMP; # If %ini_server_map2% == 0;If %ini_server_before_map[0]% != "Golmud Railway";If %ini_server_before_map[1]% != "Golmud Railway";If %ini_server_before_map[2]% != "Golmud Railway";Set %ini_server_map/2% MP_Journey; If %ini_server_map2% == 1;If %ini_server_before_map[0]% != "Hainan Resort";If %ini_server_before_map[1]% != "Hainan Resort";If %ini_server_before_map[2]% != "Hainan Resort";Set %ini_server_map/2% MP_Resort; If %ini_server_map2% == 2;If %ini_server_before_map[0]% != "Siege of Shanghai";If %ini_server_before_map[1]% != "Siege of Shanghai";If %ini_server_before_map[2]% != "Siege of Shanghai";Set %ini_server_map/2% MP_Siege; If %ini_server_map2% == 3;If %ini_server_before_map[0]% != Dawnbreaker;If %ini_server_before_map[1]% != Dawnbreaker;If %ini_server_before_map[2]% != Dawnbreaker;Set %ini_server_map/2% MP_Tremors; If %ini_server_map2% == 4;If %ini_server_before_map[0]% != "Paracel Storm";If %ini_server_before_map[1]% != "Paracel Storm";If %ini_server_before_map[2]% != "Paracel Storm";Set %ini_server_map/3% MP_Naval; If %ini_server_map2% == 5;If %ini_server_before_map[0]% != "Caspian Border 2014";If %ini_server_before_map[1]% != "Caspian Border 2014";If %ini_server_before_map[2]% != "Caspian Border 2014";Set %ini_server_map/2% XP0_Caspia; If %ini_server_map2% == 6;If %ini_server_before_map[0]% != "Operation Firestorm 2014";If %ini_server_before_map[1]% != "Operation Firestorm 2014";If %ini_server_before_map[2]% != "Operation Firestorm 2014";Set %ini_server_map/2% XP0_Firestor; If %ini_server_map2% == 7;If %ini_server_before_map[0]% != "Operation Mortar";If %ini_server_before_map[1]% != "Operation Mortar";If %ini_server_before_map[2]% != "Operation Mortar";Set %ini_server_map/2% XP2_004; # If %ini_server_map3% == 0;If %ini_server_before_map[0]% != "Zavod 311";If %ini_server_before_map[1]% != "Zavod 311";If %ini_server_before_map[2]% != "Zavod 311";If %ini_server_map/1% != MP_Abandoned;If %ini_server_map/2% != MP_Abandoned;Set %ini_server_map/3% MP_Abandoned; If %ini_server_map3% == 1;If %ini_server_before_map[0]% != "Lancang Dam";If %ini_server_before_map[1]% != "Lancang Dam";If %ini_server_before_map[2]% != "Lancang Dam";If %ini_server_map/1% != MP_Damage;If %ini_server_map/2% != MP_Damage;Set %ini_server_map/3% MP_Damage; If %ini_server_map3% == 2;If %ini_server_before_map[0]% != "Flood Zone";If %ini_server_before_map[1]% != "Flood Zone";If %ini_server_before_map[2]% != "Flood Zone";If %ini_server_map/1% != MP_Flooded;If %ini_server_map/2% != MP_Flooded;Set %ini_server_map/3% MP_Flooded; If %ini_server_map3% == 3;If %ini_server_before_map[0]% != "Golmud Railway";If %ini_server_before_map[1]% != "Golmud Railway";If %ini_server_before_map[2]% != "Golmud Railway";If %ini_server_map/1% != MP_Journey;If %ini_server_map/2% != MP_Journey;Set %ini_server_map/3% MP_Journey; If %ini_server_map3% == 4;If %ini_server_before_map[0]% != "Paracel Storm";If %ini_server_before_map[1]% != "Paracel Storm";If %ini_server_before_map[2]% != "Paracel Storm";If %ini_server_map/1% != MP_Naval;If %ini_server_map/2% != MP_Naval;Set %ini_server_map/3% MP_Naval; If %ini_server_map3% == 5;If %ini_server_before_map[0]% != "Operation Locker";If %ini_server_before_map[1]% != "Operation Locker";If %ini_server_before_map[2]% != "Operation Locker";If %ini_server_map/1% != MP_Prison;If %ini_server_map/2% != MP_Prison;Set %ini_server_map/3% MP_Prison; If %ini_server_map3% == 6;If %ini_server_before_map[0]% != "Hainan Resort";If %ini_server_before_map[1]% != "Hainan Resort";If %ini_server_before_map[2]% != "Hainan Resort";If %ini_server_map/1% != MP_Resort;If %ini_server_map/2% != MP_Resort;Set %ini_server_map/3% MP_Resort; If %ini_server_map3% == 7;If %ini_server_before_map[0]% != "Siege of Shanghai";If %ini_server_before_map[1]% != "Siege of Shanghai";If %ini_server_before_map[2]% != "Siege of Shanghai";If %ini_server_map/1% != MP_Siege;If %ini_server_map/2% != MP_Siege;Set %ini_server_map/3% MP_Siege; If %ini_server_map3% == 8;If %ini_server_before_map[0]% != "Rogue Transmission";If %ini_server_before_map[1]% != "Rogue Transmission";If %ini_server_before_map[2]% != "Rogue Transmission";If %ini_server_map/1% != MP_TheDish;If %ini_server_map/2% != MP_TheDish;Set %ini_server_map/3% MP_TheDish; If %ini_server_map3% == 9;If %ini_server_before_map[0]% != Dawnbreaker;If %ini_server_before_map[1]% != Dawnbreaker;If %ini_server_before_map[2]% != Dawnbreaker;If %ini_server_map/1% != MP_Tremors;If %ini_server_map/2% != MP_Tremors;Set %ini_server_map/3% MP_Tremors; If %ini_server_map3% == 10;If %ini_server_before_map[0]% != "Silk Road";If %ini_server_before_map[1]% != "Silk Road";If %ini_server_before_map[2]% != "Silk Road";If %ini_server_map/1% != XP1_001;If %ini_server_map/2% != XP1_001;Set %ini_server_map/3% XP1_001; If %ini_server_map3% == 11;If %ini_server_before_map[0]% != "Altai Range";If %ini_server_before_map[1]% != "Altai Range";If %ini_server_before_map[2]% != "Altai Range";If %ini_server_map/1% != XP1_002;If %ini_server_map/2% != XP1_002;Set %ini_server_map/3% XP1_002; If %ini_server_map3% == 12;If %ini_server_before_map[0]% != "Guilin Peaks";If %ini_server_before_map[1]% != "Guilin Peaks";If %ini_server_before_map[2]% != "Guilin Peaks";If %ini_server_map/1% != XP1_003;If %ini_server_map/2% != XP1_003;Set %ini_server_map/3% XP1_003; If %ini_server_map3% == 13;If %ini_server_before_map[0]% != "Dragon Pass";If %ini_server_before_map[1]% != "Dragon Pass";If %ini_server_before_map[2]% != "Dragon Pass";If %ini_server_map/1% != XP1_004;If %ini_server_map/2% != XP1_004;Set %ini_server_map/3% XP1_004; If %ini_server_map3% == 14;If %ini_server_before_map[0]% != "Caspian Border 2014";If %ini_server_before_map[1]% != "Caspian Border 2014";If %ini_server_before_map[2]% != "Caspian Border 2014";If %ini_server_map/1% != XP0_Caspia;If %ini_server_map/2% != XP0_Caspia;Set %ini_server_map/3% XP0_Caspia; If %ini_server_map3% == 15;If %ini_server_before_map[0]% != "Operation Firestorm 2014";If %ini_server_before_map[1]% != "Operation Firestorm 2014";If %ini_server_before_map[2]% != "Operation Firestorm 2014";If %ini_server_map/1% != XP0_Firestor;If %ini_server_map/2% != XP0_Firestor;Set %ini_server_map/3% XP0_Firestor; If %ini_server_map3% == 16;If %ini_server_before_map[0]% != "Operation Metro 2014";If %ini_server_before_map[1]% != "Operation Metro 2014";If %ini_server_before_map[2]% != "Operation Metro 2014";If %ini_server_map/1% != XP0_Metro;If %ini_server_map/2% != XP0_Metro;Set %ini_server_map/3% XP0_Metro; If %ini_server_map3% == 17;If %ini_server_before_map[0]% != "Gulf of Oman 2014";If %ini_server_before_map[1]% != "Gulf of Oman 2014";If %ini_server_before_map[2]% != "Gulf of Oman 2014";If %ini_server_map/1% != XP0_Oman;If %ini_server_map/2% != XP0_Oman;Set %ini_server_map/3% XP0_Oman; If %ini_server_map3% == 18;If %ini_server_before_map[0]% != "Lost Islands";If %ini_server_before_map[1]% != "Lost Islands";If %ini_server_before_map[2]% != "Lost Islands";If %ini_server_map/1% != XP2_001;If %ini_server_map/2% != XP2_001;Set %ini_server_map/3% XP2_001; If %ini_server_map3% == 19;If %ini_server_before_map[0]% != "Nansha Strike";If %ini_server_before_map[1]% != "Nansha Strike";If %ini_server_before_map[2]% != "Nansha Strike";If %ini_server_map/1% != XP2_002;If %ini_server_map/2% != XP2_002;Set %ini_server_map/3% XP2_002; If %ini_server_map3% == 20;If %ini_server_before_map[0]% != Wavebreaker;If %ini_server_before_map[1]% != Wavebreaker;If %ini_server_before_map[2]% != Wavebreaker;If %ini_server_map/1% != XP2_003;If %ini_server_map/2% != XP2_003;Set %ini_server_map/3% XP2_003; If %ini_server_map3% == 21;If %ini_server_before_map[0]% != "Operation Mortar";If %ini_server_before_map[1]% != "Operation Mortar";If %ini_server_before_map[2]% != "Operation Mortar";If %ini_server_map/1% != XP2_004;If %ini_server_map/2% != XP2_004;Set %ini_server_map/3% XP2_004; If %ini_server_map3% == 22;If %ini_server_before_map[0]% != "Pearl Market";If %ini_server_before_map[1]% != "Pearl Market";If %ini_server_before_map[2]% != "Pearl Market";If %ini_server_map/1% != XP3_MarketPl;If %ini_server_map/2% != XP3_MarketPl;Set %ini_server_map/3% XP3_MarketPl; If %ini_server_map3% == 23;If %ini_server_before_map[0]% != Propaganda;If %ini_server_before_map[1]% != Propaganda;If %ini_server_before_map[2]% != Propaganda;If %ini_server_map/1% != XP3_Prpganda;If %ini_server_map/2% != XP3_Prpganda;Set %ini_server_map/3% XP3_Prpganda; If %ini_server_map3% == 24;If %ini_server_before_map[0]% != "Lumphini Garden";If %ini_server_before_map[1]% != "Lumphini Garden";If %ini_server_before_map[2]% != "Lumphini Garden";If %ini_server_map/1% != XP3_UrbanGdn;If %ini_server_map/2% != XP3_UrbanGdn;Set %ini_server_map/3% XP3_UrbanGdn; If %ini_server_map3% == 25;If %ini_server_before_map[0]% != "Sunken Dragon";If %ini_server_before_map[1]% != "Sunken Dragon";If %ini_server_before_map[2]% != "Sunken Dragon";If %ini_server_map/1% != XP3_WtrFront;If %ini_server_map/2% != XP3_WtrFront;Set %ini_server_map/3% XP3_WtrFront; If %ini_server_map3% == 26;If %ini_server_before_map[0]% != "Operation Whiteout";If %ini_server_before_map[1]% != "Operation Whiteout";If %ini_server_before_map[2]% != "Operation Whiteout";If %ini_server_map/1% != XP4_Arctic;If %ini_server_map/2% != XP4_Arctic;Set %ini_server_map/3% XP4_Arctic; If %ini_server_map3% == 27;If %ini_server_before_map[0]% != Hammerhead;If %ini_server_before_map[1]% != Hammerhead;If %ini_server_before_map[2]% != Hammerhead;If %ini_server_map/1% != XP4_SubBase;If %ini_server_map/2% != XP4_SubBase;Set %ini_server_map/3% XP4_SubBase; If %ini_server_map3% == 28;If %ini_server_before_map[0]% != "Hangar 21";If %ini_server_before_map[1]% != "Hangar 21";If %ini_server_before_map[2]% != "Hangar 21";If %ini_server_map/1% != XP4_Titan;If %ini_server_map/2% != XP4_Titan;Set %ini_server_map/3% XP4_Titan; If %ini_server_map3% == 29;If %ini_server_before_map[0]% != "Giants Of Karelia";If %ini_server_before_map[1]% != "Giants Of Karelia";If %ini_server_before_map[2]% != "Giants Of Karelia";If %ini_server_map/1% != XP4_WalkerFactory;If %ini_server_map/2% != XP4_WalkerFactory;Set %ini_server_map/3% XP4_WalkerFactory; If %ini_server_map3% == 30;If %ini_server_before_map[0]% != "Zavod:Graveyard Shift";If %ini_server_before_map[1]% != "Zavod:Graveyard Shift";If %ini_server_before_map[2]% != "Zavod:Graveyard Shift";If %ini_server_map/1% != XP5_Night_01;If %ini_server_map/2% != XP5_Night_01;Set %ini_server_map/3% XP5_Night_01; If %ini_server_map3% == 31;If %ini_server_before_map[0]% != "Operation Outbreak";If %ini_server_before_map[1]% != "Operation Outbreak";If %ini_server_before_map[2]% != "Operation Outbreak";If %ini_server_map/1% != XP6_CMP;If %ini_server_map/2% != XP6_CMP;Set %ini_server_map/3% XP6_CMP; If %ini_server_map3% == 32;If %ini_server_before_map[0]% != "Dragon Valley 2015";If %ini_server_before_map[1]% != "Dragon Valley 2015";If %ini_server_before_map[2]% != "Dragon Valley 2015";If %ini_server_map/1% != XP7_Valley;If %ini_server_map/2% != XP7_Valley;Set %ini_server_map/3% XP7_Valley; # Debug Log #Log bmap1: %ini_server_before_map[0]%, bmap2: %ini_server_before_map[1]%, bmap3: %ini_server_before_map[2]%; #Log counter: 1= %ini_server_map1%, 2= %ini_server_map2%, 3=%ini_server_map3%; #Log Map: 1= %ini_server_map/1%, 2= %ini_server_map/2%, 3= %ini_server_map/3%; # On Say;Text /1;If %p% != Server;If %ini_server_voteon[map]% == True; If %player_vote1[map]% == 1;PlayerSay %p% You have already voted; If %player_vote1[map]% == 0;Incr %ini_server_vote/1[map]%;Set %player_vote1[map]% 1;PlayerSay %p% you voted for %ini_server_/1mapname%.; If %player_vote2[map]% == 1;Decr %ini_server_vote/2[map]%;Set %player_vote1[map]% 1;Set %player_vote2[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/2mapname% to %ini_server_/1mapname%.; If %player_vote3[map]% == 1;Decr %ini_server_vote/3[map]%;Set %player_vote1[map]% 1;Set %player_vote3[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/3mapname% to %ini_server_/1mapname%.; # On Say;Text /2;If %p% != Server;If %ini_server_voteon[map]% == True; If %player_vote2[map]% == 1;PlayerSay %p% You have already voted; If %player_vote2[map]% == 0;Incr %ini_server_vote/2[map]%;Set %player_vote2[map]% 1;PlayerSay %p% you voted for %ini_server_/2mapname%.; If %player_vote1[map]% == 1;Decr %ini_server_vote/1[map]%;Set %player_vote2[map]% 1;Set %player_vote1[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/1mapname% to %ini_server_/2mapname%.; If %player_vote3[map]% == 1;Decr %ini_server_vote/3[map]%;Set %player_vote2[map]% 1;Set %player_vote3[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/3mapname% to %ini_server_/2mapname%.; # On Say;Text /3;If %p% != Server;If %ini_server_voteon[map]% == True; If %player_vote3[map]% == 1;PlayerSay %p% You have already voted; If %player_vote3[map]% == 0;Incr %ini_server_vote/3[map]%;Set %player_vote3[map]% 1;PlayerSay %p% you voted for %ini_server_/3mapname%.; If %player_vote1[map]% == 1;Decr %ini_server_vote/1[map]%;Set %player_vote3[map]% 1;Set %player_vote1[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/1mapname% to %ini_server_/3mapname%.; If %player_vote2[map]% == 1;Decr %ini_server_vote/2[map]%;Set %player_vote3[map]% 1;Set %player_vote2[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/2mapname% to %ini_server_/3mapname%.; # On Say;If %ini_server_voteon[map]% == True; If %ini_server_vote/1[map]% > %ini_server_vote/2[map]%;If %ini_server_vote/1[map]% > %ini_server_vote/3[map]%;Set %ini_server_nextmap% "0";Set %ini_server_nextmapname% %ini_server_/1mapname%; If %ini_server_vote/2[map]% > %ini_server_vote/1[map]%;If %ini_server_vote/2[map]% > %ini_server_vote/3[map]%;Set %ini_server_nextmap% "1";Set %ini_server_nextmapname% %ini_server_/2mapname%; If %ini_server_vote/3[map]% > %ini_server_vote/1[map]%;If %ini_server_vote/3[map]% > %ini_server_vote/2[map]%;Set %ini_server_nextmap% "2";Set %ini_server_nextmapname% %ini_server_/3mapname%; # On Say;If %ini_server_voteon[map]% == True;If %ini_server_vote/1[map]% == 0;If %ini_server_vote/2[map]% == 0;If %ini_server_vote/3[map]% == 0; Incr %server_novotes%;If %server_novotes% == 3;Set %server_novotes% 0; If %server_novotes% == 0;Set %ini_server_nextmap% "0";Set %ini_server_nextmapname% %ini_server_/1mapname%; If %server_novotes% == 1;Set %ini_server_nextmap% "1";Set %ini_server_nextmapname% %ini_server_/2mapname%; If %server_novotes% == 2;Set %ini_server_nextmap% "2";Set %ini_server_nextmapname% %ini_server_/3mapname%; # On Say;Text !next,/next;If %p% != Server; If %ini_server_voteon[map]% == True;Say - Type /1, /2,... in chat to vote for the next round map.;Say - /1 %ini_server_/1mapname% [%ini_server_vote/1[map]%];Say - /2 %ini_server_/2mapname% [%ini_server_vote/2[map]%];Say - /3 %ini_server_/3mapname% [%ini_server_vote/3[map]%]; If %ini_server_voteon[map]% == False;Say Next Map is %ini_server_nextmapname%. On Kill;If %ini_server_voteon[map]% == True; Incr %server_votereport[map]%; If %server_votereport[map]% == 50;Say - Type /1, /2,... in chat to vote for the next round map.;Say - /1 %ini_server_/1mapname% [%ini_server_vote/1[map]%];Say - /2 %ini_server_/2mapname% [%ini_server_vote/2[map]%];Say - /3 %ini_server_/3mapname% [%ini_server_vote/3[map]%];Set %server_votereport[map]% 0; # On RoundOver;If %ini_server_votemap% == 1; Set %ini_server_voteon[map]% False;Exec mapList.setNextMapIndex %ini_server_nextmap%;Say Next Map is %ini_server_nextmapname%.;Set %ini_server_vote/1[map]% 0;Set %ini_server_vote/2[map]% 0;Set %ini_server_vote/3[map]% 0;Set %ini_server_votemap% 0; # On RoundOver;If %ini_server_votemap% != 1; Set %ini_server_voteon[map]% False;Set %ini_server_vote/1[map]% 0;Set %ini_server_vote/2[map]% 0;Set %ini_server_vote/3[map]% 0; # On Leave;If %ts1% + %ts2% == 1; Exec mapList.clear; Exec mapList.save; Exec mapList.add MP_Siege ConquestLarge0 1; Exec mapList.add MP_Tremors ConquestLarge0 1; Exec mapList.add MP_Prison ConquestLarge0 1; Exec mapList.add MP_Resort ConquestLarge0 1; Exec mapList.add MP_Journey ConquestLarge0 1; Exec mapList.add MP_Flooded ConquestLarge0 1; Exec mapList.add MP_Abandoned ConquestLarge0 1; Exec mapList.add MP_TheDish ConquestLarge0 1; Exec mapList.add MP_Damage ConquestLarge0 1; Exec mapList.add MP_Naval ConquestLarge0 1; Exec mapList.save; Exec mapList.setNextMapIndex 0; Exec mapList.runNextRound; Set %ini_server_lowpop% 1; # On Spawn;ServerFirst;If %ini_server_lowpop% == 0;If %ts1% + %ts2% < 56; Exec mapList.clear; Exec mapList.save; Exec mapList.add MP_Siege ConquestLarge0 1; Exec mapList.add MP_Prison ConquestLarge0 1; Exec mapList.add MP_Tremors ConquestLarge0 1; Exec mapList.add MP_Resort ConquestLarge0 1; Exec mapList.add MP_Journey ConquestLarge0 1; Exec mapList.add MP_Flooded ConquestLarge0 1; Exec mapList.add MP_Abandoned ConquestLarge0 1; Exec mapList.add MP_TheDish ConquestLarge0 1; Exec mapList.add MP_Damage ConquestLarge0 1; Exec mapList.add MP_Naval ConquestLarge0 1; Exec mapList.save; Set %ini_server_lowpop% 1; |
※以前のスクリプトではBF4.defのマップのスペースを_に置き換える必要がありましたが不要です。最新のBF4.defを使用するようお願いします。
※スクリプトは予告なく変更・更新する場合があります。