[下載]Online FF Battle - WOG v2.07

版主: 涅魂, 簫哥


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

[下載]Online FF Battle - WOG v2.07

文章ETERNAL » 2004-04-05 12:19 am

範例照片:
http://myweb.hinet.net/home4/iqstar/wog_2_07.jpg

範例網址:
http://bbs.et99.org/wog/

//=====================================================
// WOG v2.07
// Copyright by ETERNAL<iqstar@ms24.hinet.net>
// Modify : 2004/04/04
// URL : http://www.et99.org
//=====================================================

Online FF Battle-WOG官方聯盟推廣處 http://bbs.et99.org/viewforum.php?f=36

ps:請勿任意刪除原作出處,有問題或意見時才找到作者,也才能拿到更新path

----------------------history 2004/04/04 ------------------------
1.支援vbb論壇
2.支援其他不同類型的金錢、銀行系統
3.加入動態戰鬥過程
4.變更住宿公式
5.ect bug fix..
---------------------------------------------------------

主程式下載點:
http://myweb.hinet.net/home4/iqstar/wog_2_07.exe
(最後更新時間2004/04/06/am 09:46 下載後請比對一下檔案是不是最新)

安裝說明在主程式裡面,解開後有一個readme.txt檔

DB Schema:
http://myweb.hinet.net/home4/iqstar/wog_sql_2_07.exe

2_06升級到2_07
http://myweb.hinet.net/home4/iqstar/wog ... to2_07.rar

ps:2.06升級到2.07,需要重新下載圖檔,否則讀取怪物圖片時會有x

注意:
使用在phpbb或vbb論壇上上必須裝有貨幣跟銀行
貨幣跟銀行外掛請自行尋找安裝
安裝完畢後,請修改wog_act_config.php
define('MONEY_FIELB','user_money');(phpbb預設值)
define('BANK_FIELB','user_bank');(phpbb預設值)
把user_money跟user_bank
改成自己所使用的貨幣跟銀行格式

例如:
使用phpbb的Points System(http://phpbb-tw.net/phpbb/viewtopic.php?t=22381)
改成define('MONEY_FIELB','user_points');
----------------------------------------------------------
預設是論壇是phpbb
欲使用在vbb上(for 2.x)
請修改wog_act_config.php
代碼: 選擇全部
//vbb support
/*
define('USER_TABLE','user');
define('MONEY_FIELB','money');
define('BANK_FIELB','bank');
define('USER_ID','userid');
$forum_check="\$bbuserinfo=vbb_check();\$bbs_id=\$bbuserinfo[userid];";
$forum_message="vbb_message(\$HTTP_COOKIE_VARS[\"wog_cookie\"],\$HTTP_COOKIE_VARS[\"wog_cookie_name\"],\$HTTP_COOKIE_VARS[\"wog_bbs_id\"]);";
*/
//phpbb support
define('USER_TABLE','phpbb_users');
define('MONEY_FIELB','user_money');
define('BANK_FIELB','user_bank');
define('USER_ID','user_id');
$forum_check="\$p_ip=get_ip();\$bbs_id=phpbb_check(\$p_ip);";
$forum_message="phpbb_message(\$HTTP_COOKIE_VARS[\"wog_cookie\"],\$HTTP_COOKIE_VARS[\"wog_cookie_name\"],\$HTTP_COOKIE_VARS[\"wog_bbs_id\"]);";

改成
代碼: 選擇全部
//vbb support
define('USER_TABLE','user');
define('MONEY_FIELB','money');
define('BANK_FIELB','bank');
define('USER_ID','userid');
$forum_check="\$bbuserinfo=vbb_check();\$bbs_id=\$bbuserinfo[userid];";
$forum_message="vbb_message(\$HTTP_COOKIE_VARS[\"wog_cookie\"],\$HTTP_COOKIE_VARS[\"wog_cookie_name\"],\$HTTP_COOKIE_VARS[\"wog_bbs_id\"]);";
//phpbb support
/*
define('USER_TABLE','phpbb_users');
define('MONEY_FIELB','user_money');
define('BANK_FIELB','user_bank');
define('USER_ID','user_id');
$forum_check="\$p_ip=get_ip();\$bbs_id=phpbb_check(\$p_ip);";
$forum_message="phpbb_message(\$HTTP_COOKIE_VARS[\"wog_cookie\"],\$HTTP_COOKIE_VARS[\"wog_cookie_name\"],\$HTTP_COOKIE_VARS[\"wog_bbs_id\"]);";
*/

----------------------------------------------------------

補充說明:

攻擊模式預設為強制快速模式
欲修改成記憶選項
方法如下
http://bbs.et99.org/viewtopic.php?t=7361
----------------------------------------------------------

有任何bug請回報

若想讓遊戲獨立執行可以參考主程式裡面的wog_only.txt說明

ps:最少需求執行環境 php4.2以上,mysql

由於我手邊沒有3.x版的vbb
不知道是否能在3.x上執行,麻煩有安裝在3.x的人,回報一下


最後由 ETERNAL 於 2005-02-07 10:02 am 編輯,總共編輯了 8 次。


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

文章ETERNAL » 2004-04-05 12:21 am

2.07先行公開..

2.gm介面
3.聊天室有公會頻道
4.公會會長公佈欄

這三個部分留到下一版開發..
最近太忙... :cry:



1340
 
文章: 36
註冊時間: 2004-01-31 8:47 pm

文章1340 » 2004-04-05 3:23 pm

no.1..thx^^



pc123
 
文章: 10
註冊時間: 2004-03-02 12:57 pm

[測試]真棒!!

文章pc123 » 2004-04-05 5:12 pm

這2.07真是棒
原本看不到怪物
現在已經改了
太好了!!
但我所期待的gm介面...........= =
唉.........



Frances3399
 
文章: 40
註冊時間: 2004-03-30 6:22 pm
來自: National Kaohsiung First University of Science and Technology

文章Frances3399 » 2004-04-05 5:40 pm

Perfect!!
感謝ET大大的分享~~
小弟我只能推~~還能幹什麼呢?
====分隔線====
= =||
2.06 up to 2.07
不管是匯入或者在資料庫 phpbb 執行以下指令
都出現
SQL 語法 :

CREATE TABLE `wog_race` (

`p_id` int( 11 ) NOT NULL default '0',
`r_str` varchar( 200 ) NOT NULL default '',
`dateline` int( 11 ) NOT NULL default '0',
KEY `p_id` ( `p_id` ) DROP TABLE IF EXISTS `wog_event`

MySQL 傳回:

You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server
version for the right syntax to use near 'DROP TABLE IF
EXISTS `wog_event`' at line 7



mar333
 

文章mar333 » 2004-04-05 6:50 pm

2.07 升級失敗

右邊出現空白

按下創造腳色鍵後

出現一堆錯誤碼




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

文章ETERNAL » 2004-04-05 8:37 pm

Frances3399 寫:Perfect!!
感謝ET大大的分享~~
小弟我只能推~~還能幹什麼呢?
====分隔線====
= =||
2.06 up to 2.07
不管是匯入或者在資料庫 phpbb 執行以下指令
都出現
SQL 語法 :

CREATE TABLE `wog_race` (

`p_id` int( 11 ) NOT NULL default '0',
`r_str` varchar( 200 ) NOT NULL default '',
`dateline` int( 11 ) NOT NULL default '0',
KEY `p_id` ( `p_id` ) DROP TABLE IF EXISTS `wog_event`

MySQL 傳回:

You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server
version for the right syntax to use near 'DROP TABLE IF
EXISTS `wog_event`' at line 7


表示你資料庫內沒有wog_event




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

文章ETERNAL » 2004-04-05 8:37 pm

mar333 寫:2.07 升級失敗

右邊出現空白

按下創造腳色鍵後

出現一堆錯誤碼


不知道你錯誤的原因是什麼



GN280
 
文章: 7
註冊時間: 2004-03-20 6:40 pm

文章GN280 » 2004-04-05 8:52 pm

ETERNAL 寫:
Frances3399 寫:Perfect!!
感謝ET大大的分享~~
小弟我只能推~~還能幹什麼呢?
====分隔線====
= =||
2.06 up to 2.07
不管是匯入或者在資料庫 phpbb 執行以下指令
都出現
SQL 語法 :

CREATE TABLE `wog_race` (

`p_id` int( 11 ) NOT NULL default '0',
`r_str` varchar( 200 ) NOT NULL default '',
`dateline` int( 11 ) NOT NULL default '0',
KEY `p_id` ( `p_id` ) DROP TABLE IF EXISTS `wog_event`

MySQL 傳回:

You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server
version for the right syntax to use near 'DROP TABLE IF
EXISTS `wog_event`' at line 7


表示你資料庫內沒有wog_event


資料庫 cuuo - 資料表 wog_event 在 localhost 執行
錯誤

SQL 語法 :

CREATE TABLE `wog_race` (

`p_id` int( 11 ) NOT NULL default '0',
`r_str` varchar( 200 ) NOT NULL default '',
`dateline` int( 11 ) NOT NULL default '0',
KEY `p_id` ( `p_id` ) DROP TABLE IF EXISTS `wog_event`

MySQL 傳回:


#1064 - You have an error in your SQL syntax near 'DROP TABLE IF EXISTS `wog_event`' at line 7

我也是這樣喔~



Frances3399
 
文章: 40
註冊時間: 2004-03-30 6:22 pm
來自: National Kaohsiung First University of Science and Technology

文章Frances3399 » 2004-04-05 9:03 pm

嗯......
我看過我真的有wog_event
在phpBB底下~~
後來我直接再 PhpMyAdmin 把
wog_xxxx全部移除
並且安裝2.07...
但是!!
右邊全白
點擊創造人物出現
Warning: main(db/mysql4.php): failed to open stream: No such
file or directory in c:\appserv\www\phpbb\includes\db.php on
line 35

Warning: main(): Failed opening 'db/mysql4.php' for
inclusion (include_path='.;c:\php4\pear') in
c:\appserv\www\phpbb\includes\db.php on line 35

Fatal error: Cannot instantiate non-existent class: sql_db
in c:\appserv\www\phpbb\includes\db.php on line 60

網址:http://163.18.30.1/phpBB/wog




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

文章ETERNAL » 2004-04-05 10:06 pm

喔..
我發現到原因了

重新下載主程式,重新上傳vbb_support裡面的東西就可以了

如果嫌麻煩
打開
/vbb_support/function.php
尋找
代碼: 選擇全部
//########## phpbb check begin ######### phpbb論壇專用

function phpbb_check($p_ip)
{
   global $db, $board_config;
   global $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $SID,$root_path;

在後面加上
代碼: 選擇全部
   $phpbb_root_path=$root_path;




GN280
 
文章: 7
註冊時間: 2004-03-20 6:40 pm

文章GN280 » 2004-04-05 10:37 pm

我還是不太明白如何由2.06升級到2.07喔~
我先把wog_update2_06to2_07.sql放入資料庫...
但出來還是
錯誤

SQL 語法 :

CREATE TABLE `wog_race` (

`p_id` int( 11 ) NOT NULL default '0',
`r_str` varchar( 200 ) NOT NULL default '',
`dateline` int( 11 ) NOT NULL default '0',
KEY `p_id` ( `p_id` ) DROP TABLE IF EXISTS `wog_event`

MySQL 傳回:


#1064 - You have an error in your SQL syntax near 'DROP TABLE IF EXISTS `wog_event`' at line 7




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

文章ETERNAL » 2004-04-05 10:47 pm

GN280 寫:我還是不太明白如何由2.06升級到2.07喔~
我先把wog_update2_06to2_07.sql放入資料庫...
但出來還是
錯誤

SQL 語法 :

CREATE TABLE `wog_race` (

`p_id` int( 11 ) NOT NULL default '0',
`r_str` varchar( 200 ) NOT NULL default '',
`dateline` int( 11 ) NOT NULL default '0',
KEY `p_id` ( `p_id` ) DROP TABLE IF EXISTS `wog_event`

MySQL 傳回:


#1064 - You have an error in your SQL syntax near 'DROP TABLE IF EXISTS `wog_event`' at line 7


不好意思
能不能重新下載
wog_update2_06to2_07.rar
再重新執行一次看看
剛剛發現語法有問題



Frances3399
 
文章: 40
註冊時間: 2004-03-30 6:22 pm
來自: National Kaohsiung First University of Science and Technology

文章Frances3399 » 2004-04-05 11:11 pm

哈哈~~終於好了~~~
但是!!.............
不管如何就是出現
尚未登入論壇 或 尚未成為論壇成員不能進行遊戲
無言!!
請ET大大幫忙看一下~~><"
論壇帳號:test 密碼:1234
遊戲帳號:test 密碼:1234
我有試著進入PhpMyAdmin修改wog_player
修改這個 p_ip => 127.0.0.1 or 163.18.30.1 (目前為無)
可是!~還是不能~><"
不管是用test或者管理員的帳號都不給我登入
甚至創造人物也一樣 = =||
W.O.G網址:http://163.18.30.1/phpBB/wog
PS:我是直接把2.07檔案全部覆蓋2.06
然後照2.07 readme 做,資料庫也是把
wog_xxxx 全部砍掉 再匯入 2.07 wog.sql



GN280
 
文章: 7
註冊時間: 2004-03-20 6:40 pm

文章GN280 » 2004-04-05 11:40 pm

痛苦....舊的會員ACC全都沒有了...
而且也彈出"尚未登入遊戲 或 cookie失效無法正常執行遊戲"



下一頁

回到 外掛區

誰在線上

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