http://myweb.hinet.net/home4/iqstar/wog_2_08.exe
導入mysql數據庫:
http://myweb.hinet.net/home4/iqstar/wog_sql_2_08.exe
角色圖片:
http://myweb.hinet.net/home4/iqstar/wog_img.exe
Wog Only 系統管理控制台:這個隨個人而定,有了便方便得多喔
不論Discuz! vvb,獨立,phpbb等等請入來查看有關註解的方法,有問題請再回覆,謝謝。http://www.hk-system.net/temp/wog_only_acp.rar
安裝WOG步驟:
1.首先把主程式(wog_2_08.exe)解壓,放在空間下,然後解壓sql(wog_sql_2_08.exe)導入數據庫,再解壓角色圖片(wog_img.exe)放在WOG下,基本上,放資料以經完成。
2.修改wog_act_config.php。
http://bbs.et99.org/viewtopic.php?t=17004
修改完成,以經可以玩了。
WOG基本以安裝完成,現正安裝遊戲控制台。
首先把wog_only_acp.rar解壓,出了八個程式及文件檔,把他們放在WOG下,其中wog_chat.txt and wog_chat_history.txt設定目錄屬性為777。
放遊戲控制台的程式以完成,繼續便是修改東西唷。
請先開啟mysql然後加欄:
在wog_player加入欄位。
p_lock_time<---判斷玩家是否被暫時停權
ALTER TABLE wog_player ADD p_lock_time int(11) unsigned NOT NULL default '0';
p_chatban<---判斷玩家是否被禁言
ALTER TABLE wog_player ADD p_chatban int(11) unsigned NOT NULL default '0';
p_chatbanby<---判斷玩家被誰禁言
ALTER TABLE wog_player ADD p_chatbanby varchar(30) default 'N/A';
p_userlv<---判斷玩家權限,0為一般玩家,1為系統管理員,2為Gamemaster
ALTER TABLE wog_player ADD p_userlv int(11) unsigned NOT NULL default '0';
設定完成,可把mysql關閉。
第二步,建立global.bak.php。
非常容易,只要把複製 global.php 並改名為global.bak.php便可以。
然後開啟global.bak.php
尋找:
post_check($_POST);
取代:
//post_check($_POST);
以完成建立global.bak.php。
接著,就是安裝聊天室唷。
首先,當然是編輯index.htm囉。
開啟index.htm。
尋找:
<frame name="peolist" src="wog_etc.php?f=peo" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
後面加:
<frameset cols="560,*" border="0">
尋找:
<frame src="wog_foot.htm" name="foot" id="foot" frameborder="0" scrolling="Auto" noresize marginwidth="0" marginheight="0">
</frameset>
</html>
取代:
<frame src="wog_foot.htm" name="foot" id="foot" frameborder="0" scrolling="Auto" noresize marginwidth="0" marginheight="0">
<frameset rows="*" border="0">
<frame src="" name="chat" frameborder="0" scrolling="Auto" noresize marginwidth="0" marginheight="0">
</frameset>
</frameset>
</frameset>
</html>
以經放好了,接著便修改一些其他東西。
編輯wog\class\wog_act_chara.php。
尋找:
setcookie("wog_bbs_id",$bbs_id);
(第一句)
後面加:
echo "<script>parent.frames['chat'].location.href=\"wog_chat.php?name=".htmlspecialchars(trim($_POST["id"]))."&password=".htmlspecialchars(trim($_POST["pass"]))."\";\n</script>";
尋找:
setcookie("wog_bbs_id",$bbs_id);
(第二句)
後面加:
echo "<script>parent.frames['chat'].location.href=\"wog_chat.php?name=".htmlspecialchars(trim($_POST["id"]))."&password=".htmlspecialchars(trim($_POST["pass"]))."\";\n</script>";
以安裝完成,控制台就在http://您的網址/wog/login.php。
建議放在top上。
可修改top.htm,安裝方法很簡單,只需複制遊戲討論區全句再貼在右邊,然後修改名稱,網址,即可。