參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=20786
使用版本:phpBB 2.0.2
網站位置:http://www.e104.org/~andyexex/phpBB2/
狀況描述:
如何把水怪RPG分開來裝
版主: 版主管理群
代碼: 選擇全部
<a href="rpg.php?action=menu" class="gen">檢視個人資料</a><br><br>
<a href="rpg.php?action=position" class="gen">職業考照檢定</a><br><br>
<a href="rpg.php?action=eol" class="gen">蘿莉帝國刑場</a><br><br>
<a href="rpg.php?action=richer" class="gen">大大房屋仲介</a><br><br>
<a href="rpg.php?action=weapons" class="gen">黑暗的武器店</a><br><br>
<a href="{U_INDEX}" class="gen">沒光的防具店</a><br><br>
<a href="rpg.php?action=magic" class="gen">魔法特技學園</a><br><br>
<a href="rpg.php?action=items" class="gen">水怪的道具店</a><br><br>
<a href="{U_INDEX}" class="gen">訂製專用物品</a><br><br>
<a href="rpg.php?action=gamble" class="gen">樂透致富中心</a><br><br>
<a href="rpg.php?action=bank" class="gen">銀行往來調節</a><br><br>
<a href="rpg.php?action=rob" class="gen">搶匪有限公司</a><br><br>
<a href="rpg.php?action=stat" class="gen">RPG英雄榜</a><br><br>
<a href="rpg.php?action=extra" class="gen">職業屬性一覽</a><br><br>
<a href="rpg.php?action=joinjobs" class="gen">打工排班一覽</a><br><br>
你的意思是,你現在已經安裝的不是完整的水怪,而是零散的遊戲外掛。andyexex 寫:我重講一次好了~
我目前安裝的外掛有:銀行、搶劫、樂透、排行
我想新增的外掛:搶匪道具\r
但是上面的大大建議我整個安裝下去再刪除連結,但是我整個裝下去的時候會連銀行等等的通通都覆蓋到,所以我現在該先拆掉在重裝還是直接覆蓋即可?
代碼: 選擇全部
ADD `user_bank` int(11) unsigned NOT NULL default '0',代碼: 選擇全部
if ( $mode == 'items' )
{
if ( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid("login.$phpEx?redirect=rpg.$phpEx&action=items", true));
exit;
}
include($phpbb_root_path . 'rpg/items.'.$phpEx);
exit;
代碼: 選擇全部
CREATE TABLE `phpbb_rpg_items` (
`item_id` mediumint(8) unsigned NOT NULL auto_increment,
`item_name` varchar(60) default NULL,
`item_description` varchar(255) default NULL,
`in_which_store` tinyint(1) default '0',
`need_level` smallint(5) default '0',
`custom_made` mediumint(8) default '0',
`need_class` varchar(10) default NULL,
`item_addition1` varchar(60) default NULL,
`item_addition2` varchar(60) default NULL,
`item_price` int(11) NOT NULL default '0',
`item_spec_price` smallint(5) NOT NULL default '0',
`item_type` tinyint(4) NOT NULL default '0',
`item_position` tinyint(4) NOT NULL default '0',
`item_order` smallint(5) default '0',
`need_to_use` tinyint(1) default '0',
`attack_property` decimal(4,1) default '0.0',
`defense_property` decimal(4,1) default '0.0',
`magic_property` decimal(4,1) default '0.0',
`speed_property` decimal(4,1) default '0.0',
`hp_property` decimal(4,1) default '0.0',
`mp_property` decimal(4,1) default '0.0',
PRIMARY KEY (`item_id`)
) TYPE=MyISAM;
INSERT INTO phpbb_rpg_items VALUES("1", "拔釘器", "解除草人的詛咒", "0", "0", "0", "", "", "", "10000", "1", "0", "0", "0", "1", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0");
INSERT INTO phpbb_rpg_items VALUES("2", "頭銜名片", "建立自己專屬的頭銜名稱", "0", "0", "0", "", "請輸入頭銜名稱", "請輸入圖示網址", "50000", "0", "0", "0", "0", "1", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0");
INSERT INTO phpbb_rpg_items VALUES("4", "神偷手套", "無視對手保鑣防禦力,百分之百成功\\偷到對手 20% 的存款,若對方有草人每隻可多偷 2% 現金,但自己會多十隻草人", "0", "0", "0", "", "請輸入行竊對象", "", "300000", "0", "0", "0", "0", "1", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0");
INSERT INTO phpbb_rpg_items VALUES("5", "草人禮盒", "詛咒草人娃娃禮盒,送禮自用兩相宜,但是有二成的失敗率,失敗則自己增加一隻草人", "0", "0", "0", "", "請輸入送禮對象,送禮對象必須人在線上", "", "10000", "0", "0", "0", "0", "1", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0");