WOG4.5 打怪問題

提供WOG各方面的技術問題,並提供最新path更新。

版主: 涅魂, 簫哥, 10度C~

頭像
cm637301
 
文章: 70
註冊時間: 2006-04-18 8:15 pm

WOG4.5 打怪問題

文章cm637301 » 2012-04-22 4:24 pm

由於好幾年沒接觸WOG.... 看到已經出4.5了就很開心的把他架起來

這個帳號也很久沒登錄 也看我以前的童言童語...... 哭笑不得

也在這順便跟涅魂大說聲抱歉 我以前沒有先嘗試功能就上來要程式的這個行為實在非常不對...

畢竟當時我才國一吧..... 看到我那些文章自己都覺得不是我打的 :face5:


切入正題...

我是用AppServ 2.6.0 的環境測試

附的 PHP 為6.0
MySQL 6.0.4

WOG 4.0時 是運用修復資料庫 然後就可以打怪了

這次4.5我按了物理攻擊沒反應....

於是用了IE的F12偵錯工具 出現的錯誤為

代碼: 選擇全部
<br />
<b>Warning</b>:  ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in <b>C:\AppServ\www\WOG4.5_Releas_CT\forum_support\global.php</b> on line <b>30</b><br />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><script language=JavaScript >
parent.p_support_name='';parent.pet_pname='';parent.fire_date('17','11','11','10','28','50','2',0,'1','?????','?????','?????','?????','2070','2070','3','流浪樂手','m_236.gif',0);
fightrow = new Array("戰鬥開始","parent.end_date('蔥神','0','0',0,'0','1','0')"<br />
<b>Strict Standards</b>:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in <b>C:\AppServ\www\WOG4.5_Releas_CT\class\wog_fight_select.php</b> on line <b>241</b><br />
,"parent.job_end(5,null,2)","parent.cd(15)");
 parent.set_fight(fightrow);
parent.cd(2)
</script>

代碼: 選擇全部
SCRIPT1002: 語法錯誤
wog_fight.php, 行 5 字元 79


第五行為fightrow = new Array("戰鬥開始","parent.end_date('蔥神','0','0',0,'0','1','0')"<br />

有人和我一樣有沒辦法打怪的情形嗎? 可不可以提供一下解決方法

這東西是要弄在班網上面 給大家畢業以後聯繫感情用的 雖然有FB這強大的東西了 但是還是想把這弄起來給大家玩~

謝謝各位大大瞜~


http://leon.niwa.com.tw/wog_v3/
FFA《洋蔥帝國》角色養成遊戲-FFA Onion Empire the role fosters the game

圖檔

stu6707
 
文章: 162
註冊時間: 2008-10-26 1:00 pm

Re: WOG4.5 打怪問題

文章stu6707 » 2012-04-23 4:29 am

代碼: 選擇全部
<b>Warning</b>:  ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in <b>C:\AppServ\www\WOG4.5_Releas_CT\forum_support\global.php</b> on line <b>30</b><br />

代碼: 選擇全部
<b>Strict Standards</b>:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in <b>C:\AppServ\www\WOG4.5_Releas_CT\class\wog_fight_select.php</b> on line <b>241</b><br />


這兩個錯誤訊息應該是問題所在

第一個就不是很清楚了,把ob_start()關掉應該就不會再報錯了,不過這樣就沒有壓縮了 o.o

第二個是時區設定錯誤吧,查看看php6是要怎麼設定




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

Re: WOG4.5 打怪問題

文章ETERNAL » 2012-04-24 9:00 am

你是用php 6喔??

老實說我沒在php6上測試過,可能是php6的壓縮方式改了

你可以在wog_config.php上,把壓縮關掉試試看


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


回到 Online FF Battle-WOG官方聯盟推廣處

誰在線上

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