UID24893
帖子
精華
主題
積分334
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限5
註冊時間2007-10-13
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 擦汗 2016-10-20 04:06 AM |
---|
簽到天數: 57 天 連續簽到: 1 天 [LV.5]常住居民I
|
發表於 2009-1-12 22:57:10
|
顯示全部樓層
大大我來替他說好了!!
他這版本剛我我也有用到
不顧我對這些語法都不太懂
下面就是他會發生的錯誤
以下這圖
下圖錯誤就是發帖這位他的動作就是到圖3
第4個圖示多餘的@@
到圖三完成時就會出現以下錯誤@@
就是這樣
 - prontera.gat,156,88,5 script 掛機泡點 768,{
- if(@use_serv==1) goto G_case2;
- //---------------------------------------------------------------------
- set @time_serv,60000; //每1分鐘換取一點,可自行修改,但切勿小於60000
- set $@get_jifeng,1; //每次得到的點數,可自行修改
- set $@need_charblv,1; //需要什麼等級才可使用本服務
- //----------------- 換取物品所需泡點點數和物品個數 --------------------
- set $@style_A_item,12; //需要多少點數
- set $@style_A_count,1; //得到多少張優惠券
- set $@style_B_item,24; //需要多少點數
- set $@style_B_count,1; //得到多少物品
- set $@style_C_item,2; //需要多少點數
- set $@style_C_count,1; //得到多少物品
- set $@style_D_item,4; //需要多少點數
- set $@style_D_count,1; //得到多少物品
- //---------------------------------------------------------------------
- //---------------------------------------------------------------------
- //---------------------------------------------------------------------
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "你好,我是丁丁RO服務人員,";
- mes "歡迎使用泡點累積特別系統。";
- mes "請選擇你要的服務項目,謝謝。";
- next;
- menu "開始掛機泡點",G_case1,
- "查詢泡點及個人訊息",G_case2_2,
- "用泡點換取東西",G_case3,
- "檢視使用說明",G_case4,
- "結束對話",G_Quits;
- G_case1:
- if ((class==5)||(class==10)||(class==18)||(class==23))goto G_bunenggua;
- set @yanzhen1,rand(1000,9999);
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "請正確輸入下面的驗証碼方可使用。";
- mes "驗証碼 ︰[ ^FF0000"+@yanzhen1+"^000000 ]";
- next;
- input @yanzhen2;
- if(@yanzhen2!=@yanzhen1) goto G_yanzhencuowu;
- set @ro_zenys_t1,0;
- set @ro_zenys_t2,0;
- set @temp_shuru1,0;
- set @gejf_temp,0;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "你確定要開始累泡點數嗎?";
- mes "這可是最特別的服務哦﹗";
- mes "請選擇吧︰";
- next;
- menu "是的,我要使用",-,"檢視使用說明",G_case4,"我不想使用",G_Quits;
- if(baselevel<$@need_charblv) goto G_notblvl;
- if(char_jifeng>1000000) goto G_fulljf;
- set @gejf_temp,char_jifeng+$@get_jifeng;
- if(@gejf_temp>1000000) goto G_fulljf;
- set @use_serv,1;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "以每[ ^0049FF"+@time_serv/60000+"^000000 ]分鐘換取[ ^0049FF"+$@get_jifeng+"^000000 ]點泡點數,";
- mes "點擊關閉開始使用本服務,要保持泡點累積,請別登出人物及進入房間.使用後點擊關閉.泡點即可保留。";
- close2;
- addtimer @time_serv,"Jifeng_UP";
- end;
- G_case2:
- if(char_jifeng<1) goto G_case2_1;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "目前你累積的泡點為[^0000FF"+char_jifeng+"^000000]點。";
- mes "是否要終止此服務呢?";
- next;
- menu "是的,終止使用",-,"不是,繼續使用",G_Quits;
- set @use_serv,0;
- deltimer "Jifeng_UP";
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "好的,已經完成了。";
- close;
- end;
- G_case2_1:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "目前你累積的泡點為[^0000FF零^000000]點或者你還沒有開始使用本服務。";
- goto G_Quits;
- G_case2_2:
- if(char_jifeng<1) goto G_case2_1;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "目前你累積的泡點為[^0000FF"+char_jifeng+"^000000]點。";
- mes "您現下的聲望為^ff0000"+sheng+"^000000";
- mes "您現下的積分為^D8BFD8"+CK_dianshu+"^000000";
- goto G_Quits;
- G_case3:
- if ((class==5)||(class==10)||(class==18)||(class==23))goto G_bunenggua;
- if(char_jifeng<1) goto G_case2_1;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "呵呵,歡迎使用泡點換取物品服務,請選擇你所要的選單︰";
- next;
- menu "以泡點換取聲望",G_case3_1,
- "以泡點換取血跡樹枝",G_case3_2,
- "以泡點換取神祕紫箱",G_case3_3,
- "以泡點換取老舊收集冊",G_case3_4,
- "結束對話",G_Quits;
- G_case3_1:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "你可以得到的服務︰";
- mes "你得到了︰";
- mes "以[^0000FF"+$@style_A_item+"^000000]點泡點換取[^0000FF"+$@style_A_count+"^000000]聲望。";
- mes "請繼續選擇你要的選單︰";
- next;
- menu "立即換取聲望",G_case3_1_1,
- "結束對話",G_Quits;
- G_case3_1_1:
- if(char_jifeng < $@style_A_item) goto G_notjifeng;
- set char_jifeng,char_jifeng-$@style_A_item;
- set sheng,sheng+$@style_A_count;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "好了,請點一下吧。";
- close;
- end;
- G_case3_2:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "你可以得到的服務︰";
- mes "你得到了︰";
- mes "以[^0000FF"+$@style_B_item+"^000000]點泡點換取[^0000FF"+$@style_B_count+"^000000]個血跡數枝。";
- mes "請繼續選擇你要的選單︰";
- next;
- menu "立即換取血跡數枝",G_case3_2_1,
- "結束對話",G_Quits;
- G_case3_2_1:
- if(char_jifeng < $@style_B_item) goto G_notjifeng;
- set char_jifeng,char_jifeng-$@style_B_item;
- getitem 12103,$@style_B_count;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "好了,請點一下吧。";
- close;
- end;
- G_case3_3:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "你可以得到的服務︰";
- mes "目前只看了以物品如有需要購買其他聯繫GM︰";
- mes "以[^0000FF"+$@style_C_item+"^000000]點泡點換取[^0000FF"+$@style_C_count+"^000000]個神祕紫箱。";
- mes "請繼續選擇你要的選單︰";
- next;
- menu "立即換取神祕紫箱",G_case3_3_1,
- "結束對話",G_Quits;
- G_case3_3_1:
- if(char_jifeng < $@style_C_item) goto G_notjifeng;
- set char_jifeng,char_jifeng-$@style_C_item;
- getitem 617,$@style_C_count;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "好了,請點一下吧。";
- close;
- end;
- G_case3_4:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "你可以得到的服務︰";
- mes "你得到了︰";
- mes "以[^0000FF"+$@style_A_item+"^000000]點泡點換取[^0000FF"+$@style_A_count+"^000000]個老舊收集冊。";
- mes "請繼續選擇你要的選單︰";
- next;
- menu "立即換取老舊收集冊",G_case3_4_1,
- "結束對話",G_Quits;
- G_case3_4_1:
- if(char_jifeng < $@style_D_item) goto G_notjifeng;
- set char_jifeng,char_jifeng-$@style_D_item;
- getitem 616,$@style_D_count;
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "好了,請點一下吧。";
- close;
- end;
-
- G_case4:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "本服務是一種特別的服務";
- mes "你可以使人物不離開來累計泡點,然後以泡點遊戲內的一些普通物品。";
- close;
- end;
- G_case5:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "此功能未開放請聯繫GM";
- close;
- end;
- G_case6:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "此功能未開放請聯繫GM";
- close;
- end;
- G_bunenggua:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "您是商人系列的頭班,不能掛泡點";
- mes "請更換其他頭班";
- close;
- G_notjifeng:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "對不起,你目前的泡點無法換取這類東西。";
- mes "請繼續加油吧。";
- close;
- G_fulljf:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "對不起,你目前的泡點已經是滿額了,所以不能再使用此服務。";
- close;
- G_notblvl:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "對不起,你目前的等級無法使用此服務,請達到[^0000FF"+$@need_charblv+"^000000]級後再來。";
- close;
- G_Quits:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "感謝您的光臨";
- close;
- G_yanzhencuowu:
- mes "[ ^0049FF超級服務生^000000 ]";
- mes "驗証碼輸入錯誤,無法使用此服務。";
- close;
- end;
- }
- alberta.gat,0,0,0 script Jifeng_UP -1,{
- if(@use_serv != 1) goto G_ends_2;
- deltimer "Jifeng_UP";
- if((char_jifeng+$@get_jifeng)>1000000) goto G_ends_1;
- set char_jifeng,char_jifeng+$@get_jifeng;
- set $@dispmsg_ev,rand(10);
- if($@dispmsg_ev== 5) dispbottom "[泡點系統提示] : 你目前的泡點值為[ "+char_jifeng+" ]點,感謝使用本系統!!!";
- addtimer @time_serv,"Jifeng_UP";
- close;
- end;
- G_ends_2:
- dispbottom "[泡點系統提示] : 由於發生未知的錯誤,系統已經為你自動停止了此服務。";
- set @use_serv,0;
- deltimer "Jifeng_UP";
- close;
- end;
- G_ends_1:
- dispbottom "[泡點系統提示] : 你的泡點值已經滿額,無法繼續,系統已經為你自動停止了此服務。";
- set @use_serv,0;
- deltimer "Jifeng_UP";
- close;
- end;
- }
複製代碼
[ 本帖最後由 020406 於 2009-1-12 11:05 PM 編輯 ] |
|