Jump to content

andrew0960

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by andrew0960

  1. Hey, i was just trying to test if someone uses @at, and if i restart the server, would the @at player reopen the shop. so, this is what i got " vending_reopen: (Error:2) Load failed for autotrader 'Admin01' (CID=150015/AID=2000000) " Apparently it can be reopen, but somehow it failed on my server. Can anyone help me on this? how do i make it work! pls help! anyone know why my autotrade player cant login after the server restart?
  2. but i also use words like getequipisequiped(EQI_HEAD_TOP) that solved the display menu issue, but not the actual refine item. Also, i was trying to build a prevent system that if a player owns the item, it can prevent a fail refine once. the item will be deleted no matter success or fail. However, it turns out that if i have only one prevention item... and use it... the refine failed. the item got deleted and the eqi remains, but now the prblem comes...the effect of the prevention still exist even if i dont have the item!! so basically it becomes a free +20 npc... mes "[xrefine]"; if(@ref==1) { specialeffect2 EF_REPAIRWEAPON; mes "it failed..but because^006400"+getitemname(@ritem)+"^000000,"; mes "so your equipment did not get damaged。"; delitem @ritem,1; set @ref,1; close; }
  3. if(getequipisequiped(1)+getequipisequiped(2)+getequipisequiped(3)+getequipisequiped(4)+getequipisequiped(5)+getequipisequiped(6)==0) { mes "[Xrefine]"; mes "You are not wearing anything!!!。"; close; } if(getequipisequiped(1)!=0) set .@menu_1$,"Refine^006400"+getequipname(1)+"^000000"; else set .@menu_1$,""; if(getequipisequiped(2)!=0) set .@menu_2$,"Refine^006400"+getequipname(2)+"^000000"; else set .@menu_2$,""; if(getequipisequiped(3)!=0) { if(getequipweaponlv(3)>0) set .@menu_3$,"Refine^0000AA"+getequipname(3)+"^000000"; else set .@menu_3$,"Refine^006400"+getequipname(3)+"^000000"; }else set .@menu_3$,""; if(getequipisequiped(4)!=0) set .@menu_4$,"Refine^0000AA"+getequipname(4)+"^000000"; else set .@menu_4$,""; if(getequipisequiped(5)!=0) set .@menu_5$,"Refine^006400"+getequipname(5)+"^000000"; else set .@menu_5$,""; if(getequipisequiped(6)!=0) set .@menu_6$,"Refine^006400"+getequipname(6)+"^000000"; else set .@menu_6$,""; switch(select(.@menu_1$,.@menu_2$,.@menu_3$,.@menu_4$,.@menu_5$,.@menu_6$,"cancel")) { case 1: set @Part,1; break; case 2: set @Part,2; break; case 3: set @Part,3; break; case 4: set @Part,4; break; case 5: set @Part,5; break; case 6: set @Part,6; break; case 7: close; } set @Type,getequipweaponlv(@Part); if(@Type==0) set @ref_max,@aref_max; else if(@Type==1) set @ref_max,@wref_max_lv1; else if(@Type==2) set @ref_max,@wref_max_lv2; else if(@Type==3) set @ref_max,@wref_max_lv3; else if(@Type==4) set @ref_max,@wref_max_lv4; if(getequiprefinerycnt(@Part)>=@ref_max) { So i believe the error came from the above. The error is that when i click the npc, the menu did not show Right hand, Left hand, Armor, Shoe..etc instead it showed my accessory and lower top gear. So then i double checked the rathena and made sure the getequipisequiped is correct, which it is. Im not sure where i got it wrong... So, while i was typing it i decide to give it another try to change the getequipisequiped(number) to getequipisequiped(EQI_HEAD_TOP) etc.. now that the menu shows what i want, but when i actually click the menu, its still making me to refine a different gear.
  4. script error on npc/custom/mi/quest/Memory.txt line 69 parse_simpleexpr: unmatched ')' so ^ thats what the server told me and this is what line 69 looked like for( set .@i, 1; .@i <= 2; set .@i, .@i + 1 ) { 69>> if( instance_attachmap(.@i + "@orcs", .@instance) == "" ) break; } if( .@i < 2 ) { instance_destroy(.@instance); close; } please help me solve this problem
  5. Does anyone have a all in one mora-enchan npc? i would really love to see one!! so just basically a npc that can enchan every jobs's mora equipments. thanks so much!
  6. So here is my drop rate setting, i want normal cards to be 2% and boss/mvp cards to be 1%. // The rate at which cards are dropped item_rate_card: 40000 item_rate_card_boss: 10000 item_rate_card_mvp: 10000 item_drop_card_min: 1 item_drop_card_max: 10000 However, setting it to 4000, which is 40times the original rate that would be equal to 2% , but its actually only 0.2% at my server so making me change it to 40000 to become 2%. Did i misunderstood the original drop rate? (0.05%)? or is it some kind of error. since setting it to 100 = 0.05% so 4000 should equal to 2% isnt it?.
  7. ( .@card[1] || .@refine < 6 )?"":"Enchant Slot 2", ( !.@card[1] || .@card[2] || .@refine < 7 )?"":"Enchant Slot 3", ( !.@card[1] || !.@card[2] || .@card[3] || .@refine < 9 )?"":"Enchant Slot 4", This script is to enchant FAW, but it starts with the 2nd slot, how do i make it from 4 > 3 > 2 I have tried different orders from !.@card[1] || !.@card[2] || .@card[3] as < 6 to .@card[1] || .@refine < 9 but it doesnt work the way i thought it would be, it actually start with slot 4, and stay there. thanks to anyone who hlep!
  8. it keep showing a empty error box, can anyone help me with this? i changed the packed version and mmo.h. Trying to use NEMO, but not sure exactly how it works, it keep saying fail in part x when i click on some of the basic recommneded feature. What is core.h? what did you edit @TARTs
  9. I have one script that's working fine except for the wait time feature, So basically the feature of the NPC is that you can put and read messages on the board for each of the categories, and the system will automatically delete all message at set time. You need to enter security check code to enter messages and there will a set wait time between every posts. However, the script is working fine but the wait time seems off? i can only post once on each category even i have waited the timer... can someone pls help me fix this. The wait time should be 10 min, but i cant leave any messages even after 1h, can't even do it with @reloadscript Below is the script and some in game pics. PS the language is Mandarin, sorry if i make it even more difficult. prontera.gat,53,115,4 script 訊息看板 837,{ //初始化 set @time_wait,10; set @waittimer,0; set @info_money,9000; set @max_count,100; set @size_count,10; mes "[訊息看板]"; mes "歡迎來到普隆德拉."; mes "----------------------"; mes "目前線上ㄧ共有 [^0000FF " + getusers(1) + "^000000 ] 名玩家."; mes "----------------------"; mes "你需要什麼服務?"; next; menu "讀取訊息",G_Readnews,"留下訊息",G_Leavenews,"退出...",G_Quit; //查看信息 G_Readnews: mes "[訊息看板]"; mes "這些訊息將在每天[^0000FF10pm^000000] 清除..."; mes "每頁會列出 [^0000FF"[email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script>_count+"^000000] 封訊息, "; mes "請選擇你要瀏覽的訊息分類:"; next; menu "讀取 ^0000FF販賣^000000 廣告",G_Read_Sell,"讀取 ^0000FF收購^000000 廣告",G_Read_Buy,"讀取 ^0000FF其他^000000 訊息",G_Read_Other,"退出...",G_Quit; G_Read_Sell: if($Sell_info_count<1) goto G_Nonews; set @Sell_info_count1,$Sell_info_count; set @Sell_temp1,$Sell_temp; set @Sell_name_temp1,$Sell_name_temp; set @Sell_time_temp1,$Sell_time_temp; mes "[訊息看板]"; mes "總共有 [^0000FF"+$Sell_info_count+"^000000] 封新訊息"; //提示信息 G_retype_sell: mes "[^AA00FF"+$Sell_times$[@Sell_time_temp1]+"^000000] 賣方 [^0000FF"+$Sell_names$[@Sell_name_temp1]+"^000000]:"; mes "^AA0000"+$Sell_infos$[@Sell_temp1]+"^000000"; mes "^777777------------ 分隔線 ------------^000000"; set @Sell_time_temp1,@Sell_time_temp1-1; set @Sell_name_temp1,@Sell_name_temp1-1; set @Sell_temp1,@Sell_temp1-1; set @Sell_info_count1,@Sell_info_count1-1; set @jishu1,@jishu1+1; if(@Sell_info_count1>0 && @jishu1<@size_count) goto G_retype_sell; if(@Sell_info_count1>0 && @jishu1>[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_count) goto G_sell_menu; close; G_sell_menu: set @jishu2,0; next; menu "下ㄧ頁",G_nextpage,"取消...",G_Quit; G_nextpage: mes "[訊息看板]"; G_retype_sell2: mes "[^AA00FF"+$Sell_times$[@Sell_time_temp1]+"^000000] 賣方 [^0000FF"+$Sell_names$[@Sell_name_temp1]+"^000000]:"; mes "^AA0000"+$Sell_infos$[@Sell_temp1]+"^000000"; mes "^777777------------ 分隔線 ------------^000000"; set @Sell_time_temp1,@Sell_time_temp1-1; set @Sell_name_temp1,@Sell_name_temp1-1; set @Sell_temp1,@Sell_temp1-1; set @Sell_info_count1,@Sell_info_count1-1; set @jishu2,@jishu2+1; if(@Sell_info_count1>0 && @jishu2<@size_count) goto G_retype_sell2; if(@Sell_info_count1>0 && @jishu2>[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_count) goto G_sell_menu; set @jishu1,0; set @jishu2,0; goto G_Quit; G_Read_Buy: if($Buy_info_count<1) goto G_Nonews; set @Buy_info_count1,$Buy_info_count; set @Buy_temp1,$Buy_temp; set @Buy_name_temp1,$Buy_name_temp; set @Buy_time_temp1,$Buy_time_temp; mes "[Message Board]"; mes "There are [^0000FF"+$Buy_info_count+"^000000] pieces of new message"; //显示信息 G_retype_Buy: mes "[^AA00FF"+$Buy_times$[@Buy_time_temp1]+"^000000] 買方 [^0000FF"+$Buy_names$[@Buy_name_temp1]+"^000000]:"; mes "^AA0000"+$Buy_infos$[@Buy_temp1]+"^000000"; mes "^777777------------ 分隔線 ------------^000000"; set @Buy_time_temp1,@Buy_time_temp1-1; set @Buy_name_temp1,@Buy_name_temp1-1; set @Buy_temp1,@Buy_temp1-1; set @Buy_info_count1,@Buy_info_count1-1; set @jishu3,@jishu3+1; if(@Buy_info_count1>0 && @jishu3<@size_count) goto G_retype_Buy; if(@Buy_info_count1>0 && @jishu3>[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_count) goto G_Buy_menu; close; G_Buy_menu: set @jishu4,0; next; menu "下ㄧ頁",G_nextpage2,"取消",G_Quit; G_nextpage2: mes "[訊息看板]"; G_retype_buy2: mes "[^AA00FF"+$Buy_times$[@Buy_time_temp1]+"^000000] 買方 [^0000FF"+$Buy_names$[@Buy_name_temp1]+"^000000]:"; mes "^AA0000"+$Buy_infos$[@Buy_temp1]+"^000000"; mes "^777777------------ 分隔線 ------------^000000"; set @Buy_time_temp1,@Buy_time_temp1-1; set @Buy_name_temp1,@Buy_name_temp1-1; set @Buy_temp1,@Buy_temp1-1; set @Buy_info_count1,@Buy_info_count1-1; set @jishu4,@jishu4+1; if(@Buy_info_count1>0 && @jishu4<@size_count) goto G_retype_buy2; if(@Buy_info_count1>0 && @jishu4>[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_count) goto G_Buy_menu; set @jishu3,0; set @jishu4,0; goto G_Quit; G_Read_Other: if($Other_info_count<1) goto G_Nonews; set @Other_info_count1,$Other_info_count; set @Other_temp1,$Other_temp; set @Other_name_temp1,$Other_name_temp; set @Other_time_temp1,$Other_time_temp; mes "[訊息看板]"; mes "總共有 [^0000FF"+$Other_info_count+"^000000] 封新訊息"; //提示信息 G_retype_Other: mes "[^AA00FF"+$Other_times$[@Other_time_temp1]+"^000000] 玩家 [^0000FF"+$Other_names$[@Other_name_temp1]+"^000000]:"; mes "^AA0000"+$Other_infos$[@Other_temp1]+"^000000"; mes "^777777------------ 分隔線 ------------^000000"; set @Other_time_temp1,@Other_time_temp1-1; set @Other_name_temp1,@Other_name_temp1-1; set @Other_temp1,@Other_temp1-1; set @Other_info_count1,@Other_info_count1-1; set @jishu5,@jishu5+1; if(@Other_info_count1>0 && @jishu5<@size_count) goto G_retype_Other; if(@Other_info_count1>0 && @jishu5>[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_count) goto G_Other_menu; close; G_Other_menu: set @jishu6,0; next; menu "下ㄧ頁",G_nextpage3,"退出...",G_Quit; G_nextpage3: mes "[訊息看板]"; G_retype_Other2: mes "[^AA00FF"+$Other_times$[@Other_time_temp1]+"^000000] 玩家 [^0000FF"+$Other_names$[@Other_name_temp1]+"^000000]:"; mes "^AA0000"+$Other_infos$[@Other_temp1]+"^000000"; mes "^777777------------ 分隔線 ------------^000000"; set @Other_time_temp1,@Other_time_temp1-1; set @Other_name_temp1,@Other_name_temp1-1; set @Other_temp1,@Other_temp1-1; set @Other_info_count1,@Other_info_count1-1; set @jishu6,@jishu6+1; if(@Other_info_count1>0 && @jishu6<@size_count) goto G_retype_Other2; if(@Other_info_count1>0 && @jishu6>[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_count) goto G_Other_menu; set @jishu5,0; set @jishu6,0; goto G_Quit; //登记信息 G_Leavenews: set @yanzhen1,rand(1111,9999); mes "[訊息看板]"; mes "請輸入正確的確認號碼..."; mes "[ ^FF0000"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */+"^000000 ]"; next; input @yanzhen2; if(@[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */) goto G_yanzhencuowu; mes "[訊息看板]"; mes "請選擇你要留言的類型:"; next; menu "留下 ^0000FF銷售^000000 廣告",G_Leave_Sell,"留下 ^0000FF收購^000000 廣告",G_Leave_Buy,"留下 ^0000FFO其他^000000 訊息",G_Leave_Other,"取消...",G_Quit; G_Leave_Sell: if(@WaitingTime_Sell==1) goto G_Waiting; if($Sell_info_count>@max_count-1) goto G_Fullnews; if(zeny<@info_money) goto G_notmoney; mes "[訊息看板]"; mes "下次你可以留言的時間為 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_wait+"^000000] 分鐘後,"; mes "這個服務將花費 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money+"^000000]Zeny."; next; input @Sell_info_text$; Announce "【販售廣告】["+strcharinfo(0)+"]賣方:"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_info_text$+"..",8; mes "[訊息看板]"; mes "[^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_info_text$+"^000000]"; set zeny,[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money; //信息内容 set $Sell_temp,$Sell_temp+1; set $Sell_info_count,$Sell_temp; set $Sell_infos$[$Sell_temp],@Sell_info_text$; //玩家名字 set @Sell_name$,strcharinfo(0); set $Sell_name_temp,$Sell_name_temp+1; set $Sell_names$[$Sell_name_temp],@Sell_name$; //登记时间 set @Sell_time$,gettimestr("%H:%M",24); set $Sell_time_temp,$Sell_time_temp+1; set $Sell_times$[$Sell_time_temp],@Sell_time$; set @WaitingTime_Sell,1; addtimer @waittimer,"ev_Waiting_Sell"; next; mes "[訊息看板]"; mes "訊息已經送出了!"; goto G_Quit; G_Leave_Buy: if(@WaitingTime_Buy==1) goto G_Waiting; if($Buy_info_count>@max_count-1) goto G_Fullnews; if(zeny<@info_money) goto G_notmoney; mes "[訊息看板]"; mes "下次你可以留言的時間為 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_wait+"^000000] 分鐘後,"; mes "這個服務將花費 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money+"^000000]Zeny."; next; input @Buy_info_text$; mes "[訊息看板]"; Announce "【收購廣告】["+strcharinfo(0)+"]買方說:"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_info_text$+"..",8; mes "[^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_info_text$+"^000000]"; set zeny,[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money; //信息内容 set $Buy_temp,$Buy_temp+1; set $Buy_info_count,$Buy_temp; set $Buy_infos$[$Buy_temp],@Buy_info_text$; //玩家名字 set @Buy_name$,strcharinfo(0); set $Buy_name_temp,$Buy_name_temp+1; set $Buy_names$[$Buy_name_temp],@Buy_name$; //登记时间 set @Buy_time$,gettimestr("%H:%M",24); set $Buy_time_temp,$Sell_time_temp+1; set $Buy_times$[$Buy_time_temp],@Buy_time$; set @WaitingTime_Buy,1; addtimer @waittimer,"ev_Waiting_Buy"; next; mes "[訊息看板]"; mes "訊息已經送出了!"; goto G_Quit; G_Leave_Other: if(@WaitingTime_Other==1) goto G_Waiting; if($Other_info_count>@max_count-1) goto G_Fullnews; if(zeny<@info_money) goto G_notmoney; mes "[訊息看板]"; mes "下次你可以留言的時間為 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_wait+"^000000] 分鐘後,"; mes "這個服務將花費 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money+"^000000]Zeny."; next; input @Other_info_text$; Announce "【訊息看版】["+strcharinfo(0)+"]說:"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_info_text$+"..",8; mes "[訊息看板]"; mes "[^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_info_text$+"^000000]"; set Zeny,[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money; //信息内容 set $Other_temp,$Other_temp+1; set $Other_info_count,$Other_temp; set $Other_infos$[$Other_temp],@Other_info_text$; //玩家名字 set @Other_name$,strcharinfo(0); set $Other_name_temp,$Other_name_temp+1; set $Other_names$[$Other_name_temp],@Other_name$; //登记时间 set @Other_time$,gettimestr("%H:%M",24); set $Other_time_temp,$Sell_time_temp+1; set $Other_times$[$Other_time_temp],@Other_time$; set @WaitingTime_Other,1; addtimer @waittimer,"ev_Waiting_Other"; next; mes "[訊息看板]"; mes "訊息已經發送了唷!!!"; goto G_Quit; //钱不够 G_notmoney: mes "[訊息看板]"; mes "抱歉... 這項服務必須花費 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_money+"^000000]Zeny,看來你太窮了喔."; goto G_Quit; //信息已满 G_Fullnews: mes "[訊息看板]"; mes "抱歉... 訊息箱已經爆滿了, 建議你去論壇交易版留言喔."; goto G_Quit; //间隔时间 G_Waiting: mes "[訊息看板]"; mes "你已經留過訊息囉, 請稍候 [^0000FF"[email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */_wait+"^000000]分鐘才可再寫入..."; goto G_Quit; G_yanzhencuowu: mes "[訊息看板]"; mes "錯誤號碼, 瞎子是不可以留言的..."; goto G_Quit; //没有信息 G_Nonews: mes "[訊息看板]"; mes "抱歉目前沒有訊息,你要留下訊息嗎?"; next; menu "不了,感謝",-,"好阿,我要",G_Leavenews; goto G_Quit; G_Quit: close; } //间隔等待事件 prontera.gat,158,187,4 script ev_Waiting_Sell -1,{ set @WaitingTime_Sell,0; deltimer "ev_Waiting_Sell"; } prontera.gat,158,187,4 script ev_Waiting_Buy -1,{ set @WaitingTime_Buy,0; deltimer "ev_Waiting_Buy"; } prontera.gat,158,187,4 script ev_Waiting_Other -1,{ set @WaitingTime_Other,0; deltimer "ev_Waiting_Other"; } //清除信息事件 prontera.gat,158,187,4 script ev_Clearnews -1,{ OnClock2200: set $Sell_temp,0; set $Sell_info_count,0; set $Sell_name_temp,0; set $Sell_time_temp,0; set $Buy_temp,0; set $Buy_info_count,0; set $Buy_name_temp,0; set $Buy_time_temp,0; set $Other_temp,0; set $Other_info_count,0; set $Other_name_temp,0; set $Other_time_temp,0; Announce "[Message Board]所有訊息都從訊息看板移除了!",8; } thanks so much...
×
×
  • Create New...