[問題]水怪RPG中文顯示亂碼+賽馬骰子問題(已解決)

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

[問題]水怪RPG中文顯示亂碼+賽馬骰子問題(已解決)

文章 歐文思 »

使用phpBB2.019
不是免費主機論壇
http://startaiwandream.net/phpBB2/index.php

進入選項後出現???跟亂碼\r

我試過捕手老師的虛擬形象亂碼解決方法,還是亂碼\r

使用轉碼器成ut8也沒效..

sql匯入選:latin1
最後由 歐文思 於 2006-02-21 07:22 編輯,總共編輯了 2 次。
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

拜訪您的論壇, 發現語系編碼為 big-5,
照理說, 應該會比較容易安裝此外掛的.

建議您:
1. 提供測試用帳號與密碼\r
2. 記得補齊" 發問格式":
http://phpbb-tw.net/phpbb/viewtopic.php?t=16161
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

心靈捕手 寫:拜訪您的論壇, 發現語系編碼為 big-5,
照理說, 應該會比較容易安裝此外掛的.

建議您:
1. 提供測試用帳號與密碼\r
2. 記得補齊" 發問格式":
http://phpbb-tw.net/phpbb/viewtopic.php?t=16161
問題外掛:水怪\r
參考連結:(連結至外掛發表區的主題)http://phpbb-tw.net/phpbb/viewtopic.php ... %A5%B4%A4u
使用版本:phpBB 2.0.1.9
網站位置:http://startaiwandream.net/phpBB2/index.php
狀況描述:進入選項後出現???跟亂碼

我試過捕手老師的虛擬形象亂碼解決方法,還是亂碼

使用轉碼器成ut8也沒效..

sql匯入選:latin1


感謝老師提醒已經補上格式

帳號:黑影\r
密碼:0922185945

另外我查過依夢兒大人提供2.0.19版後的修正
http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
開啟 common ,搜尋:

代碼:
// Unset globally registered vars - PHP5 ... hhmmm

覆蓋為:

代碼:
/*// Unset globally registered vars - PHP5 ... hhmmm

搜尋:

代碼:
}

// PHP5 with register_long_arrays off?

覆蓋為:

代碼:
}*/

// PHP5 with register_long_arrays off?

我的phpBB 2.0.1.9
<?php
/***************************************************************************
* common.php
* -------------------
* begin : Saturday, Feb 23, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: common.php,v 1.74.2.17 2005/02/21 19:29:30 acydburn Exp $
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}

//
error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime

// The following code (unsetting globals) was contributed by Matt Kavanagh

// PHP5 with register_long_arrays off?
if (!isset($HTTP_POST_VARS) && isset($_POST))
{
$HTTP_POST_VARS = $_POST;
$HTTP_GET_VARS = $_GET;
$HTTP_SERVER_VARS = $_SERVER;
$HTTP_COOKIE_VARS = $_COOKIE;
$HTTP_ENV_VARS = $_ENV;
$HTTP_POST_FILES = $_FILES;

// _SESSION is the only superglobal which is conditionally set
if (isset($_SESSION))
{
$HTTP_SESSION_VARS = $_SESSION;
}
}

if (@phpversion() < '4.0.0')
{
// PHP3 path; in PHP3, globals are _always_ registered

// We 'flip' the array of variables to test like this so that
// we can validate later with isset($test[$var]) (no in_array())
$test = array('HTTP_GET_VARS' => NULL, 'HTTP_POST_VARS' => NULL, 'HTTP_COOKIE_VARS' => NULL, 'HTTP_SERVER_VARS' => NULL, 'HTTP_ENV_VARS' => NULL, 'HTTP_POST_FILES' => NULL, 'phpEx' => NULL, 'phpbb_root_path' => NULL);

// Loop through each input array
@reset($test);
while (list($input,) = @each($test))
{
while (list($var,) = @each($$input))
{
// Validate the variable to be unset
if (!isset($test[$var]) && $var != 'test' && $var != 'input')
{
unset($$var);
}
}
}
}
else if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on')
{
// PHP4+ path
$not_unset = array('HTTP_GET_VARS', 'HTTP_POST_VARS', 'HTTP_COOKIE_VARS', 'HTTP_SERVER_VARS', 'HTTP_SESSION_VARS', 'HTTP_ENV_VARS', 'HTTP_POST_FILES', 'phpEx', 'phpbb_root_path');

// Not only will array_merge give a warning if a parameter
// is not an array, it will actually fail. So we check if
// HTTP_SESSION_VARS has been initialised.
if (!isset($HTTP_SESSION_VARS))
{
$HTTP_SESSION_VARS = array();
}

// Merge all into one extremely huge array; unset
// this later
$input = array_merge($HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SERVER_VARS, $HTTP_SESSION_VARS, $HTTP_ENV_VARS, $HTTP_POST_FILES);

unset($input['input']);
unset($input['not_unset']);

while (list($var,) = @each($input))
{
if (!in_array($var, $not_unset))
{
unset($$var);
}
}

unset($input);
}

//
// addslashes to vars if magic_quotes_gpc is off
// this is a security precaution to prevent someone
// trying to break out of a SQL statement.
//
if( !get_magic_quotes_gpc() )
{
if( is_array($HTTP_GET_VARS) )
{
while( list($k, $v) = each($HTTP_GET_VARS) )
{
if( is_array($HTTP_GET_VARS[$k]) )
{
while( list($k2, $v2) = each($HTTP_GET_VARS[$k]) )
{
$HTTP_GET_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_GET_VARS[$k]);
}
else
{
$HTTP_GET_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_GET_VARS);
}

if( is_array($HTTP_POST_VARS) )
{
while( list($k, $v) = each($HTTP_POST_VARS) )
{
if( is_array($HTTP_POST_VARS[$k]) )
{
while( list($k2, $v2) = each($HTTP_POST_VARS[$k]) )
{
$HTTP_POST_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_POST_VARS[$k]);
}
else
{
$HTTP_POST_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_POST_VARS);
}

if( is_array($HTTP_COOKIE_VARS) )
{
while( list($k, $v) = each($HTTP_COOKIE_VARS) )
{
if( is_array($HTTP_COOKIE_VARS[$k]) )
{
while( list($k2, $v2) = each($HTTP_COOKIE_VARS[$k]) )
{
$HTTP_COOKIE_VARS[$k][$k2] = addslashes($v2);
}
@reset($HTTP_COOKIE_VARS[$k]);
}
else
{
$HTTP_COOKIE_VARS[$k] = addslashes($v);
}
}
@reset($HTTP_COOKIE_VARS);
}
}

//
// Define some basic configuration arrays this also prevents
// malicious rewriting of language and otherarray values via
// URI params
//
$board_config = array();
$userdata = array();
$theme = array();
$images = array();
$lang = array();
$nav_links = array();
$gen_simple_header = FALSE;

include($phpbb_root_path . 'config.'.$phpEx);

if( !defined("PHPBB_INSTALLED") )
{
header("Location: install/install.$phpEx");
exit;
}

include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/template.'.$phpEx);
include($phpbb_root_path . 'includes/sessions.'.$phpEx);
include($phpbb_root_path . 'includes/auth.'.$phpEx);
include($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);

//Cash Mod Add 01. start 940804
if ( defined('IN_CASHMOD') )
{
include($phpbb_root_path . 'includes/functions_cash.'.$phpEx);
}
//Cash Mod Add 01. end 940804

//
// Obtain and encode users IP
//
// I'm removing HTTP_X_FORWARDED_FOR ... this may well cause other problems such as
// private range IP's appearing instead of the guilty routable IP, tough, don't
// even bother complaining ... go scream and shout at the idiots out there who feel
// "clever" is doing harm rather than good ... karma is a great thing ... :)
//
$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : getenv('REMOTE_ADDR') );
$user_ip = encode_ip($client_ip);

//
// Setup forum wide options, if this fails
// then we output a CRITICAL_ERROR since
// basic forum information is not available
//
$sql = "SELECT *
FROM " . CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
}
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);

if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted');
}

//
// Show 'Board is disabled' message if needed.
//
if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") )
{
message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}
include_once($phpbb_root_path . 'includes/functions_vault.'.$phpEx);

?>

似乎只能找到第二項而已\r

重用BIG輸入資料庫後
但是論壇水怪還是亂碼\r

請大大跟老師指點 :cry:
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

建議您:
進入 phpMyAdmin 後, 貼幾張圖來看
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=40885

--
另外
另外我查過依夢兒大人提供2.0.19版後的修正
http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
這部份是適用 2.0.9 版之後才對.

會找不到相對應的代碼, 主要是版本已經更新許多,
您可以參考該篇文章前面的修正, 即可.
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

心靈捕手 寫:建議您:
進入 phpMyAdmin 後, 貼幾張圖來看
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=40885

--
另外
另外我查過依夢兒大人提供2.0.19版後的修正
http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
這部份是適用 2.0.9 版之後才對.

會找不到相對應的代碼, 主要是版本已經更新許多,
您可以參考該篇文章前面的修正, 即可.
http://startaiwandream.net/p.rar
圖片phpmyadmin跟水怪亂碼\r

請老師幫我看一下
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

歐文思 寫:
心靈捕手 寫:建議您:
進入 phpMyAdmin 後, 貼幾張圖來看
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=40885

--
另外
另外我查過依夢兒大人提供2.0.19版後的修正
http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
這部份是適用 2.0.9 版之後才對.

會找不到相對應的代碼, 主要是版本已經更新許多,
您可以參考該篇文章前面的修正, 即可.
http://startaiwandream.net/p.rar
圖片phpmyadmin跟水怪亂碼\r
\r
請老師幫我看一下
我猜想:
您的資料庫環境, 應該是和該主題發文者 (飛腿乃) 雷同.

建議您:
參考這裡, 再拍 2 張圖片來看.
http://phpbb-tw.net/phpbb/viewtopic.php?p=221005#221005
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

心靈捕手 寫:
歐文思 寫:
心靈捕手 寫:建議您:
進入 phpMyAdmin 後, 貼幾張圖來看
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=40885

--
另外 這部份是適用 2.0.9 版之後才對.

會找不到相對應的代碼, 主要是版本已經更新許多,
您可以參考該篇文章前面的修正, 即可.
http://startaiwandream.net/p.rar
圖片phpmyadmin跟水怪亂碼\r

請老師幫我看一下
我猜想:
您的資料庫環境, 應該是和該主題發文者 (飛腿乃) 雷同.

建議您:
參考這裡, 再拍 2 張圖片來看.
http://phpbb-tw.net/phpbb/viewtopic.php?p=221005#221005
圖檔
圖檔
以圖片上傳
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

建議您:
試試看以下的作法:
1. 將首頁的 MySQL 連線校對: 調整為 'latin1_general_ci'
2. 將外掛的資料庫更新檔 SQL.sql (不必轉碼, 維持 big-5) 匯入資料庫中,
文字編碼檔案選 'latin1',
匯入前, 請先刪除已建立的水怪資料表 (phpbb_rpg_*).
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

心靈捕手 寫:建議您:
試試看以下的作法:
1. 將首頁的 MySQL 連線校對: 調整為 'latin1_general_ci'
2. 將外掛的資料庫更新檔 SQL.sql (不必轉碼, 維持 big-5) 匯入資料庫中,
文字編碼檔案選 'latin1',
匯入前, 請先刪除已建立的水怪資料表 (phpbb_rpg_*).
感謝捕手老師的耐心指導,已經成功顯示中文,非常感謝老師的幫助 :oops:

至於賽馬空白跟骰子問題我先去爬文在做發表
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

目前使用搜尋過http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
問題描述:賽馬空白 骰子無法使用,有錢卻顯示沒錢\r
以上是需要編輯COMMON.php檔

可惜我是2.0.1.9版的 根本無法做修正

然後以照老師說的
修正升級到 2.0.10 後,"骰子", "賽馬"不正常:

代碼:

#
#-----[ OPEN ]---------------------------------------------
#
rpg/dice.php

#
#-----[ FIND ]---------------------------------------------
#
$act = trim($act);

#
#-----[ REPLACE WITH ]---------------------------------------------
#
$act = trim($_POST['act']);

#
#-----[ FIND ]---------------------------------------------
#
$mony=trim(addslashes($pay_money));
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$mony = trim(addslashes($_POST['pay_money']));

#
#-----[ FIND ]---------------------------------------------
#
$pay = trim($pay);

#
#-----[ REPLACE WITH ]---------------------------------------------
#
$pay = trim($_POST['pay']);

#
#-------[ Find ]-------
#
$point = trim(addslashes($point));

#
#-------[ Replace With ]-------
#
$point = trim(addslashes($_POST['point']));

#
#-----[ FIND ]---------------------------------------------
#
if ( $act == 'bet' )

#
#-----[ REPLACE WITH ]---------------------------------------------
#
if ( $_POST['act'] == 'bet' )

#
#-----[ OPEN ]---------------------------------------------
#
rpg/race.php

#
#-----[ FIND ]---------------------------------------------
#
$act = trim($act);

#
#-----[ REPLACE WITH ]---------------------------------------------
#
$act = trim($_POST['act']);

#
#-----[ FIND ]---------------------------------------------
#
$mony=trim(addslashes($mon));

#
#-----[ REPLACE WITH ]---------------------------------------------
#
$mony=trim(addslashes($_POST['mon']));
#
#-----[ FIND ]---------------------------------------------
#
if($yourchoose == $no){

#
#-----[ REPLACE WITH ]---------------------------------------------
#
if($_POST['yourchoose'] == $no){

#
#-----[ FIND ]---------------------------------------------
#
if ( $act == 'horse' )

#
#-----[ REPLACE WITH ]---------------------------------------------
#
if ( $_POST['act'] == 'horse' )

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
#EoM


=======================================
補強說明_1: -by- 心靈捕手 http://wang5555.dnsfor.me

在玩賽馬時, 讓玩家下注後, 能夠清楚顯示他所選擇的號碼.
代碼:

#
#-----[ OPEN ]---------------------------------------------
#
rpg/race.php

#
#-----[ FIND ]---------------------------------------------
#
<td><br />您選擇: <b><font color="red"><?echo $yourchoose;?></font> <?echo $horse[$yourchoose];?></b></td>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<td><br />您選擇: <b><font color="red"><?echo $_POST['yourchoose'];?></font> <?echo $horse[$_POST['yourchoose']];?></b></td>


http://startaiwandream.net/g.rar
以上是我的賽馬跟骰子的程式碼 請大大跟老師過目
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

歐文思 寫:目前使用搜尋過http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
問題描述:賽馬空白 骰子無法使用,有錢卻顯示沒錢\r
以上是需要編輯COMMON.php檔

可惜我是2.0.1.9版的 根本無法做修正

然後以照老師說的
修正升級到 2.0.10 後,"骰子", "賽馬"不正常:
http://startaiwandream.net/g.rar
以上是我的賽馬跟骰子的程式碼 請大大跟老師過目
您的情況, 我過去似曾見過.

我猜想:
是否為使用的 '文字編輯器' 所致?

以下是以 UltraEdit-32 開啟您的檔案, 所見情形擷取圖案:
圖檔

圖檔

我已經將這部份的檔案修改後, 重新打包 (檔案大小: 874 K);
下載解壓縮後, 覆蓋此二檔 (dice.php 以及 race.php) 試試看!
http://home.gigigaga.com/wang5555adsl/p ... onster.rar
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

心靈捕手 寫:
歐文思 寫:目前使用搜尋過http://phpbb-tw.net/phpbb/viewtopic.php?t=27172
問題描述:賽馬空白 骰子無法使用,有錢卻顯示沒錢\r
以上是需要編輯COMMON.php檔

可惜我是2.0.1.9版的 根本無法做修正

然後以照老師說的
修正升級到 2.0.10 後,"骰子", "賽馬"不正常:
http://startaiwandream.net/g.rar
以上是我的賽馬跟骰子的程式碼 請大大跟老師過目
您的情況, 我過去似曾見過.

我猜想:
是否為使用的 '文字編輯器' 所致?

以下是以 UltraEdit-32 開啟您的檔案, 所見情形擷取圖案:
圖檔

圖檔

我已經將這部份的檔案修改後, 重新打包 (檔案大小: 874 K);
下載解壓縮後, 覆蓋此二檔 (dice.php 以及 race.php) 試試看!
http://home.gigigaga.com/wang5555adsl/p ... onster.rar
感謝捕手老師的檔案,已經按照內容說明6更改修正\r

[筆記]修改水怪中 '骰子', '賽馬' 以及 '銀行' 的 BUG
Source: http://phpbb-tw.net/phpbb/viewtopic.php?t=38470


#
#-----[ OPEN ]-----
#
rpg/dice.php

#
#-----[ FIND ]-----
#
$mony=trim(addslashes($_POST['pay_money']));

#
#-----[ REPLACE WITH ]-----
#
$mony=intval(trim(addslashes($_POST['pay_money'])));

#
#-----[ OPEN ]-----
#
rpg/race.php

#
#-----[ FIND ]-----
#
$mony=trim(addslashes($_POST['mon']));

#
#-----[ REPLACE WITH ]-----
#
$mony=intval(trim(addslashes($_POST['mon'])));

#
#-----[ OPEN ]-----
#
rpg/bank.php

#
#-----[ FIND ]-----
#
$deposits = $HTTP_POST_VARS['deposits'];

#
#-----[ REPLACE WITH ]-----
#
$deposits = intval($HTTP_POST_VARS['deposits']);

#
#-----[ FIND ]-----
#
$withdraws = $HTTP_POST_VARS['withdraws'];

#
#-----[ REPLACE WITH ]-----
#
$withdraws = intval($HTTP_POST_VARS['withdraws']);

#
#-----[ FIND ]-----
#
$remits = $HTTP_POST_VARS['remits'];

#
#-----[ REPLACE WITH ]-----
#
$remits = intval($HTTP_POST_VARS['remits']);

#
#-----[ OPEN ]-----
#
templates/subSilver/rpg_bank.tpl

#
#-----[ FIND ]-----
#
<input type="text" class="post" name="deposits" size="12" maxlength="10" value="0" /> 元&nbsp;
#
#-----[ REPLACE WITH ]-----
#
<input type="int" class="post" name="deposits" size="12" maxlength="10" value="0" /> 元&nbsp;

#
#-----[ FIND ]-----
#
<input type="text" class="post" name="withdraws" size="12" maxlength="10" value="0" /> 元&nbsp;
#
#-----[ REPLACE WITH ]-----
#
<input type="int" class="post" name="withdraws" size="12" maxlength="10" value="0" /> 元&nbsp;

#
#-----[ FIND ]-----
#
金額: <input type="text" class="post" name="remits" size="12" maxlength="10" value="0" /> 元&nbsp;&nbsp;&nbsp;
#
#-----[ REPLACE WITH ]-----
#
金額: <input type="int" class="post" name="remits" size="12" maxlength="10" value="0" /> 元&nbsp;&nbsp;&nbsp;

#
#-----[ SAVE & CLOSE ]-----
#
#EoM

老師我是用cuteftp的編輯,編輯的,不知道它是提供什麼編輯器\r

按照以上改法已經成功可使用,解決賽馬空白,骰子現金不足加上水怪銀行被惡意bug問題

希望此篇問題以後能夠在搜尋中讓受此困擾的大大們找到\r

在此非常感謝捕手老師的熱心幫助^^
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

恭喜您安裝成功! :-D

剛剛以 '黑影' 再度造訪, 發現幾個問題:

1. 原本預設水怪的職照為 '路人',
但是您可能是重新匯入資料庫時, 沒有刪除原來的欄位 (rpg_medals),
所以一樣是出現 '??'

建議您:
進入 phpMyAdmin 後執行下列語法試試:

代碼: 選擇全部

UPDATE `phpbb_users` SET `rpg_medals` = '路人'
2. 檢視個人資料時, 會出現多餘的程式碼:

代碼: 選擇全部

# #-----[ OPEN ]--------------------------------------------- # 
建議您:
檢視, 修正 templates/YOUR_THEME/profile_view_body.tpl
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
歐文思
星球普通子民
星球普通子民
文章: 27
註冊時間: 2006-01-21 09:32

文章 歐文思 »

心靈捕手 寫:恭喜您安裝成功! :-D

剛剛以 '黑影' 再度造訪, 發現幾個問題:

1. 原本預設水怪的職照為 '路人',
但是您可能是重新匯入資料庫時, 沒有刪除原來的欄位 (rpg_medals),
所以一樣是出現 '??'

建議您:
進入 phpMyAdmin 後執行下列語法試試:

代碼: 選擇全部

UPDATE `phpbb_users` SET `rpg_medals` = '路人'
2. 檢視個人資料時, 會出現多餘的程式碼:

代碼: 選擇全部

# #-----[ OPEN ]--------------------------------------------- # 
建議您:
檢視, 修正 templates/YOUR_THEME/profile_view_body.tpl
感謝老師的提示跟指點,我都沒注意到真大意.. :-o
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

歐文思 寫: 感謝老師的提示跟指點,我都沒注意到真大意.. :-o
我也要感謝您的提問!

因為回答您的問題, 所以有了整合水怪的動機,
上頭回文的連結已經異動,
待整理後, 將發表在 依夢兒 大大的主題內.

--
ps. 因為 竹貓 轉換 utf-8 編碼, 造成 2/23 回文遺失,
所以重新再回一次.
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「外掛問題討論」