UID215
帖子
精華
主題
積分-68
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限0
註冊時間2007-8-12
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 開心 2013-8-20 06:29 PM |
---|
簽到天數: 20 天 連續簽到: 2 天 [LV.4]偶爾看看III
|
本帖最後由 okij21 於 2010-8-21 06:01 PM 編輯
我下載了某大發的自動發獎品的城戰腳本
獎品我改我要的之後,測試無誤
但是..公告怎麼不會出現呢?
像是系統自動開啟攻城時應該要出現 ->[攻城公告]攻佔成功的工會『會長』自動獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後10分鐘,請組織好會員!!
不過..只會出現 "秘密基地XXX 被 XXX公會佔領了"
還有提醒快結束的公告 也不會出現 ->[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘30分鐘~~~
以下是腳本..勞煩知道問題的指點一下.. - //==================================
- // [冥] The PlutoEA Project [王]
- // http://opensvn.csie.org/PlutoEA
- // ---------------------------------
- // - 攻城戰開啟 控制腳本 -
- //===================================
- // 版本:1.8b
- //===================================
- // 若想知道如何設定攻城戰開啟時間,請到doc\woe_time_explanation.txt
- // 裡面的 WoE Start/Stop times
- //======================================
- - script Agit_Event -1,{
- end;
- OnClock2100: //開始時間 星期三(3), 星期三(6)
- OnClock2200: //結束時間 星期三(3), 星期三(6)
- OnAgitInit:
- // 判斷開始時間
- if((gettime(4)==3) && (gettime(3)>=21 && gettime(3)<22)) goto L_Start;
- if((gettime(4)==6) && (gettime(3)>=21 && gettime(3)<22)) goto L_Start;
- // 判斷結束時間
- if((gettime(4)==3) && (gettime(3)==22)) goto L_End;
- if((gettime(4)==6) && (gettime(3)==22)) goto L_End;
- end;
- L_End:
- if (agitcheck()) {
- //Announce "The War Of Emperium is over!",8;
- AgitEnd;
- goto L_DisplayOwners;
- }
- end;
- L_Start:
- if (!agitcheck()) {
- //Announce "The War Of Emperium has begun!",8;
- AgitStart;
- goto L_DisplayOwners;
- }
- end;
- L_DisplayOwners:
- setarray .@maps$[0],"prtg_cas03";
- for( set .@i, 0; .@i <= 1; set .@i, .@i+1 ) {
- if (GetCastleData(.@maps$[.@i],1)) {
- Announce "秘密基地 [" + GetCastleName(.@maps$[.@i]) + "]被 [" + GetGuildName(GetCastleData(.@maps$[.@i],1)) + "] 工會佔領了",bc_all;
- }
- else {
- Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all;
- }
- }
- end;
- OnAgitEnd:
- setarray .@maps$[0],"prtg_cas03";
- for( set .@i, 0; .@i <= 1; set .@i, .@i+1 )
- getitem 607,1200,getcharid(3,getguildmaster(getcastledata(.@maps$[.@i],1)));
- setarray .@maps$[0],"prtg_cas03";
- for( set .@i, 0; .@i <= 1; set .@i, .@i+1 )
- getitem 608,1200,getcharid(3,getguildmaster(getcastledata(.@maps$[.@i],1)));
- setarray .@maps$[0],"prtg_cas03";
- for( set .@i, 0; .@i <= 1; set .@i, .@i+1 )
- getitem 7830,2,getcharid(3,getguildmaster(getcastledata(.@maps$[.@i],1)));
- // setarray .@maps$[0],"prtg_cas03";
- // for( set .@i, 0; .@i <= 1; set .@i, .@i+1 )
- // getitem 4131,1,getcharid(3,getguildmaster(getcastledata(.@maps$[.@i],1)));
-
- // set .maps$,"prtg_cas03";
- // getitem 5506,1,getcharid(3,getguildmaster(getcastledata(.maps$,1)));
- end;
- }
- // 工會寶箱開啟時間控制
- //========================================
- - script TreasSpawn -1,{
- end;
- // Please explain the relevence of this to me?
- // Why are we spawning chests per zone on 1 minute intervals?
- // They should al spawn at the same time in the same castle.
- // Is there a reason for this? Am I reading something wrong?
- OnClock0001:
- callfunc "F_GldTreas","aldeg_cas01","A01",$boxNumA01,$@bxA01,$@boxIdA01,1324,114,218,123,227,0;
- callfunc "F_GldTreas","aldeg_cas02","A02",$boxNumA02,$@bxA02,$@boxIdA02,1326,130,226,138,235,0;
- callfunc "F_GldTreas","aldeg_cas03","A03",$boxNumA03,$@bxA03,$@boxIdA03,1328,220,264,229,273,0;
- callfunc "F_GldTreas","aldeg_cas04","A04",$boxNumA04,$@bxA04,$@boxIdA04,1330,80,8,89,17,0;
- callfunc "F_GldTreas","aldeg_cas05","A05",$boxNumA05,$@bxA05,$@boxIdA05,1332,58,8,65,15,0;
- end;
- OnClock0002:
- callfunc "F_GldTreas","gefg_cas01","G01",$boxNumG01,$@bxG01,$@boxIdG01,1334,150,108,158,114,0;
- callfunc "F_GldTreas","gefg_cas02","G02",$boxNumG02,$@bxG02,$@boxIdG02,1336,136,112,145,118,0;
- callfunc "F_GldTreas","gefg_cas03","G03",$boxNumG03,$@bxG03,$@boxIdG03,1338,266,286,275,293,0;
- callfunc "F_GldTreas","gefg_cas04","G04",$boxNumG04,$@bxG04,$@boxIdG04,1340,112,114,119,123,0;
- callfunc "F_GldTreas","gefg_cas05","G05",$boxNumG05,$@bxG05,$@boxIdG05,1342,140,106,147,113,0;
- end;
- OnClock0003:
- callfunc "F_GldTreas","payg_cas01","Py01",$boxNumPy01,$@bxPy01,$@boxIdPy01,1344,286,4,295,13,0;
- callfunc "F_GldTreas","payg_cas02","Py02",$boxNumPy02,$@bxPy02,$@boxIdPy02,1346,140,140,148,149,0;
- callfunc "F_GldTreas","payg_cas03","Py03",$boxNumPy03,$@bxPy03,$@boxIdPy03,1348,154,164,162,173,0;
- callfunc "F_GldTreas","payg_cas04","Py04",$boxNumPy04,$@bxPy04,$@boxIdPy04,1350,142,44,151,51,0;
- callfunc "F_GldTreas","payg_cas05","Py05",$boxNumPy05,$@bxPy05,$@boxIdPy05,1352,152,128,160,135,0;
- end;
- OnClock0004:
- callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,0;
- callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,0;
- callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,0;
- callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,0;
- callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,0;
- end;
- OnClock0005:
- callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324,114,218,123,227,0;
- callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334,150,108,158,114,0;
- callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344,286,4,295,13,0;
- callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354,6,204,15,213,0;
- end;
- //--------------------------------------星期三------------------------------------//
- OnWed2050:
- announce "[攻城公告]攻佔成功的工會『會長』自動獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後10分鐘,請組織好會員!!",8;
- end;
- OnWed2055:
- announce "[攻城公告]攻佔成功的工會『會長』可以獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後5分鐘,請組織好會員!!",8;
- end;
- OnWed2059:
- announce "[攻城公告]攻佔成功的工會『會長』可以獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後1分鐘,請組織好會員!!",8;
- end;
- OnWed2100:
- announce "[攻城公告]攻城開始了,勇士們請你舉起您的劍,捍衛自己的榮譽吧!!",8;
- agitstart;
- end;
- OnWed2130:
- Announce "[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘30分鐘~~~",8;
- end;
- OnWed2150:
- Announce "[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘10分鐘~~~",8;
- end;
- OnWed2159:
- Announce "[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘1分鐘~~~",8;
- end;
- OnWed2200:
- announce "[攻城公告]攻城戰已結束了,今晚辛苦大家了,請大家下次再繼續努力哦!!",8;
- AgitEnd;
- end;
- //--------------------------------------星期六------------------------------------//
- OnSet2050:
- announce "[攻城公告]攻佔成功的工會『會長』可以獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後10分鐘,請組織好會員!!",8;
- end;
- OnSet2055:
- announce "[攻城公告]攻佔成功的工會『會長』可以獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後5分鐘,請組織好會員!!",8;
- end;
- OnSet2059:
- announce "[攻城公告]攻佔成功的工會『會長』可以獲得天果天芽1200顆,女神眼淚2滴,距離攻城戰開始還有最後1分鐘,請組織好會員!!",8;
- end;
- OnSet2100:
- announce "[攻城公告]攻城開始了,勇士們請你舉起您的劍,捍衛自己的榮譽吧!!",8;
- agitstart;
- end;
- OnSet2130:
- Announce "[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘30分鐘~~~",8;
- end;
- OnSet2150:
- Announce "[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘10分鐘~~~",8;
- end;
- OnSet2159:
- Announce "[攻城公告]請各工會會長注意,戰士們提起士氣,攻城時間尚餘1分鐘~~~",8;
- end;
- OnSet2200:
- announce "[攻城公告]攻城戰已結束了,今晚辛苦大家了,請大家下次再繼續努力哦!!",8;
- AgitEnd;
- end;
複製代碼
===============
不好意思 請問後面的數字 是什麼意思?? 8 跟 15 |
|