[問題]wog2.07的一些問題

BUG回報,BUG修改教學

版主: 涅魂, 簫哥

king2001
 
文章: 43
註冊時間: 2004-03-12 11:57 pm

[問題]wog2.07的一些問題

文章king2001 » 2004-04-20 9:21 pm

1.冒險的倒數時間會跟牧場的倒數時間重疊(會互相影響)
請問這要怎樣改把他們分開數呢?
2.答完問題後會再等18秒.
請問這要到那改才不需要再等18秒呢?
3.在2.06時按開始冒險後..會轉成攻擊按鈕.而且會記憶上次所選的攻擊模式.
請問2.07要怎樣改才能改回那樣呢?
4.攻擊時不顯示圖片可以嗎?(先問的.因為怕流量大.要取消他.先問好作準備)

知道解答的大大可以教教我嗎
謝謝



king2001
 
文章: 43
註冊時間: 2004-03-12 11:57 pm

文章king2001 » 2004-04-23 11:43 pm

et大...能不能幫一下我呀



aa1111
 
文章: 65
註冊時間: 2003-11-27 10:06 pm

文章aa1111 » 2004-04-24 1:08 am

1.不了解^^"~Sorry
2.不了解^^"~Sorry
3.請搜尋:戰鬥時間(用原本的方法就可以了)
4.那你改裝206會比較好一點...

對不起喔^^"~有很多不知道的



bmouth
 
文章: 6
註冊時間: 2003-12-08 4:45 pm
來自: 加拿大

文章bmouth » 2004-04-24 4:39 am

1. 這個很麻煩的:
開 wog.js,找尋字串 "var start_time=new Date();",改成
代碼: 選擇全部
...
[color=red]var pet_start_time=new Date();
pet_start_time=Date.parse(pet_start_time)/1000;[/color]
var start_time=new Date();
start_time=Date.parse(start_time)/1000;
var counts=10;
...


然後找字串 "function pet_CountDown()",改成
代碼: 選擇全部
function pet_CountDown(){
   var now_pet=new Date();
   now_pet=Date.parse(now_pet)/1000;
   var y=parseInt(counts-(now_pet-[color=red]pet_[/color]start_time),10);
   if(parent.foot.document.f1){      
      parent.foot.document.f1.ats2.value = y+"秒";
   }
   if(y>0){
      timerID=setTimeout("pet_CountDown()", 100);
      parent.foot.document.f1.ats2.disabled=true;
   }else{
      parent.foot.document.f1.ats2.disabled=false;
      parent.foot.document.f1.ats2.value = "牧 場";
   }
}
function pet_cd(s)
{
   [color=red]pet_[/color]start_time=new Date();
   [color=red]pet_[/color]start_time=Date.parse([color=red]pet_[/color]start_time)/1000;
   setup_time(start_time);
   setup_cs(s);
   window.setTimeout('pet_CountDown()',100);
}


這樣就可以將開始冒險的倒數和寵物的倒數分開囉...




ETERNAL
 
文章: 2937
註冊時間: 2003-12-03 11:08 pm
性別: 男生

文章ETERNAL » 2004-04-24 10:47 am

2.在wog_act.php裡面
把//session_register('act_time');
改成
session_register('act_time');


水色論壇 http://www.et99.net
簡恩峻分享


回到 臭蟲BUG區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 3 位訪客

cron