OK論壇

 找回密碼
 註冊
查看: 1110|回復: 6

道館20關

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2009-5-31 16:08:09 | 顯示全部樓層 |閱讀模式
本帖最後由 ~小釵~ 於 2009-5-31 05:18 PM 編輯

請問一下 我自己寫的腳本 道館20關

一開始都很好 但是要打19關的時候 卻沒出現魔物...

請問是哪出問題了....@@??
回復

使用道具 舉報

  • TA的每日心情
    郁悶
    2010-9-1 08:54 PM
  • 簽到天數: 1 天

    連續簽到: 0 天

    [LV.1]初來乍到

    發表於 2009-5-31 16:13:17 | 顯示全部樓層
    先生= =把設定腳本PO上來才能幫你
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

     樓主| 發表於 2009-5-31 16:28:21 | 顯示全部樓層
    先生= =把設定腳本PO上來才能幫你
    maggie70707 發表於 2009-5-31 04:13 PM


    不好意思=        ="....


    sch_gld.gat,264,111,5 script 道場挑戰-管理員 734,{
    if (getmapusers("guild_vs1.gat")==0 ) set $party_1,0;
    if (getmapusers("guild_vs2.gat")==0 ) set $party_2,0;
    if (getmapusers("guild_vs3.gat")==0 ) set $party_3,0;
    if (getcharid(1) == 0) goto noparty;

    if (getcharid(1) == $party_1) goto h_party;
    if (getcharid(1) == $party_2) goto h_party;
    if (getcharid(1) == $party_3) goto h_party;

    goto talk;
    noparty:
    mes "[道場挑戰-管理員]";
    mes "您沒有隊伍";
    mes "無法參賽";
    close;
    end;
    h_party:
    mes "[道場挑戰-管理員]";
    mes "您是" + getpartyname(getcharid(1)) + "的隊員吧";
    mes "隊伍有報名挑戰, 你要參與嗎?";
    next;
    menu "好的",-,"不用",EXIT;
      if (getcharid(1) == $party_1) goto h_partyin_1;
      if (getcharid(1) == $party_2) goto h_partyin_2;
      if (getcharid(1) == $party_3) goto h_partyin_3;
      mes "[道場挑戰-管理員]";
      mes "你的隊友可能在你報名的時候挑戰結束了!";
      close;
      end;

      h_partyin_1:
       if($partywait_1==0) goto Gone;
       warp "guild_vs1.gat",49,47;
       end;
      h_partyin_2:
       if($partywait_2==0) goto Gone;
       warp "guild_vs2.gat",49,47;
       end;
      h_partyin_3:
       if($partywait_3==0) goto Gone;
       warp "guild_vs3.gat",49,47;
       end;

      Gone:
       mes "[道場管理-管理員]";
       mes "你的隊友已經先開始了";
       mes "請你等待或換個隊伍另外挑戰!";
       close;
       end;
    EXIT:
      next;
      mes "[道場挑戰-管理員]";
      mes "歡迎下次再來。";
      close;
      end;
    talk:
    mes "[道場挑戰-管理員]";
    mes "您和您的隊伍想參加嗎?";
    mes "須先繳納10萬元的報名費";
    next;
    menu "想參加",-,"不用了",EXIT;
    if (zeny<100000) goto nozeny;
    set zeny,zeny-100000;
    StartRand:
    if (getmapusers("guild_vs1.gat")!=0 ) goto check1;
    goto check3;
    check1:
      if (getmapusers("guild_vs2.gat")!=0 ) goto check2;
      goto check3;
      check2:
       if (getmapusers("guild_vs3.gat")!=0 ) goto full;
       goto check3;
      check3:
       set @gowhere,rand(3);
       if (@gowhere==0) goto vs1;
       if (@gowhere==1) goto vs2;
       if (@gowhere==2) goto vs3;
    full:
    set zeny,zeny+100000;
    mes "[道場挑戰-管理員]";
            mes "[場地一]使用隊伍名: [" + getpartyname($party_1) + "]";
            mes "[場地二]使用隊伍名: [" + getpartyname($party_2) + "]";
            mes "[場地三]使用隊伍名: [" + getpartyname($party_3) + "]";
    mes "全部場地都有人在挑戰了,請稍後再試";
    close;
    end;
    nozeny:
    mes "[道場挑戰-管理員]";
    mes "請先湊夠10萬元再來報名";
    close;
    end;
    vs1:
    if (getmapusers("guild_vs1.gat")!=0 ) goto StartRand;
    killmonster "guild_vs1.gat","vs1_mob";
    warp "guild_vs1.gat",49,47;
    addtimer 30000,"$wait_1";
    set $partywait_1,1;
    set $stage_1,1;
    set $party_1,getcharid(1);
    set $charid_1,getcharid(0);
    announce "請 [" + getpartyname($party_1) + "] 隊伍的隊員, 在30秒內集合",15;
    announce "地點在 [普隆德拉!!] 找 [道場挑戰-管理員]",15;
    enablenpc "裁判#1";
    end;
    vs2:
    if (getmapusers("guild_vs2.gat")!=0 ) goto StartRand;
    killmonster "guild_vs2.gat","vs2_mob";
    warp "guild_vs2.gat",49,47;
    addtimer 30000,"$wait_2";
    set $partywait_2,1;
    set $stage_2,1;
    set $party_2,getcharid(1);
    set $charid_2,getcharid(0);
    announce "請 [" + getpartyname($party_2) + "] 隊伍的隊員, 在30秒內集合",15;
    announce "地點在 [普隆德拉!!] 找 [道場挑戰-管理員]",15;
    enablenpc "裁判#2";
    end;
    vs3:
    if (getmapusers("guild_vs3.gat")!=0 ) goto StartRand;
    killmonster "guild_vs3.gat","vs3_mob";
    warp "guild_vs3.gat",49,47;
    addtimer 30000,"$wait_3";
    set $partywait_3,1;
    set $stage_3,1;
    set $party_3,getcharid(1);
    set $charid_3,getcharid(0);
    announce "請 [" + getpartyname($party_3) + "] 隊伍的隊員, 在30秒內集合",15;
    announce "地點在 [普隆德拉!!] 找 [道場挑戰-管理員]",15;
    enablenpc "裁判#3";
    end;
    }
    //======================================== 10F ===================================

    guild_room.gat,42,287,4 script 道場挑戰-管理員 734,{
    if (getmapusers("guild_vs4.gat")==0 ) set $party_4,0;
    if (getmapusers("guild_vs5.gat")==0 ) set $party_5,0;
    if (getcharid(1) == 0) goto noparty;

    if (getcharid(1) == $party_4) goto h_party;
    if (getcharid(1) == $party_5) goto h_party;

    goto talk;
    noparty:
    mes "[道場挑戰-管理員]";
    mes "您沒有隊伍";
    mes "無法參賽";
    close;
    end;
    h_party:
    mes "[道場挑戰-管理員]";
    mes "您是" + getpartyname(getcharid(1)) + "的隊員吧";
    mes "隊伍有報名挑戰, 你要參與嗎?";
    next;
    menu "好的",-,"不用",EXIT;
      if (getcharid(1) == $party_4) goto h_partyin_4;
      if (getcharid(1) == $party_5) goto h_partyin_5;
      mes "[道場挑戰-管理員]";
      mes "你的隊友可能在你報名的時候挑戰結束了!";
      close;
      end;
      h_partyin_4:
       if($partywait_4==0) goto Gone;
       warp "guild_vs4.gat",49,47;
       end;
      h_partyin_5:
       if($partywait_5==0) goto Gone;
       warp "guild_vs5.gat",49,47;
       end;
      Gone:
       mes "[道場管理-管理員]";
       mes "你的隊友已經先開始了";
       mes "請你等待或換個隊伍另外挑戰!";
       close;
       end;
    EXIT:
      next;
      mes "[道場挑戰-管理員]";
      mes "歡迎下次再來。";
      close;
      end;
    talk:
    mes "[道場挑戰-管理員]";
    mes "您和您的隊伍想參加嗎?";
    mes "須先繳納20萬元的報名費";
    next;
    menu "想參加",-,"不用了",EXIT;
    if (zeny<200000) goto nozeny;
    set zeny,zeny-200000;
    StartRand:
    if (getmapusers("guild_vs4.gat")!=0 ) goto check4;
    goto check5;
    check4:
      if (getmapusers("guild_vs5.gat")!=0 ) goto check5;  
    check5:
      set @gowhere,rand(2);
      if (@gowhere==3) goto vs4;
      if (@gowhere==4) goto vs5;
    vs4:
    if (getmapusers("guild_vs4.gat")!=0 ) goto StartRand;
    killmonster "guild_vs4.gat","vs4_mob";
    warp "guild_vs4.gat",49,47;
    addtimer 30000,"$wait_4";
    set $partywait_4,1;
    set $stage_4,11;
    set $party_4,getcharid(1);
    set $charid_4,getcharid(0);
    announce "請 [" + getpartyname($party_4) + "] 隊伍的隊員, 在30秒內集合",15;
    announce "地點在 [普隆德拉!!] 找 [道場挑戰-管理員]",15;
    enablenpc "裁判#4";
    end;
    vs5:
    if (getmapusers("guild_vs5.gat")!=0 ) goto StartRand;
    killmonster "guild_vs5.gat","vs5_mob";
    warp "guild_vs5.gat",49,47;
    addtimer 30000,"$wait_5";
    set $partywait_5,1;
    set $stage_5,11;
    set $party_5,getcharid(1);
    set $charid_5,getcharid(0);
    announce "請 [" + getpartyname($party_5) + "] 隊伍的隊員, 在30秒內集合",15;
    announce "地點在 [普隆德拉!!] 找 [道場挑戰-管理員]",15;
    enablenpc "裁判#5";
    end;
    }
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    郁悶
    2010-9-1 08:54 PM
  • 簽到天數: 1 天

    連續簽到: 0 天

    [LV.1]初來乍到

    發表於 2009-5-31 16:31:57 | 顯示全部樓層
    = =怎沒看到魔物設定的腳本?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    郁悶
    2010-9-1 08:54 PM
  • 簽到天數: 1 天

    連續簽到: 0 天

    [LV.1]初來乍到

    發表於 2009-5-31 16:32:38 | 顯示全部樓層
    你去捉最新的道場吧 這是舊版的沒人在用了
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

     樓主| 發表於 2009-5-31 16:38:31 | 顯示全部樓層
    但是我想 第10關 為普通的MVP

    第20關 為 比較新的MVP 例如 暗夜 夢王 之類的

    這腳本會有嗎=     =....
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

     樓主| 發表於 2009-5-31 17:18:20 | 顯示全部樓層
    你去捉最新的道場吧 這是舊版的沒人在用了
    maggie70707 發表於 2009-5-31 04:32 PM


    摁摁 我似乎找到了!!!

    卸卸大大

    看來我LAG太久了!!
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2024-5-8 10:33 AM , Processed in 2.940097 second(s), 19 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表