「ver.2.0*現状バグ」の編集履歴(バックアップ)一覧に戻る
ver.2.0*現状バグ - (2010/06/25 (金) 23:05:47) の編集履歴(バックアップ)
※wikiの編集が分からなくて、追加してほしい項目がある場合はページ下の「コメント」から誰かに頼んで下さい。
発見されているバグ
特に初心者の方は、バックアップを取ってから編集して下さい。
会話数制限が機能していない
特定の人に○○○したいを参考に
フッターが機能していない
改善法:Easybotter.phpを編集する。
if(preg_match("@{.+?}@",$status) == 1){ $status = $this->convertText($status, $tweet); }
とある部分の
if(preg_match("@{.+?}@",$status) == 1){ }
をコメントアウト(//)するか、削除して下さい。
数箇所有ります、すべて行って下さい。~~{}内は絶対に削除しないで下さい。
数箇所有ります、すべて行って下さい。~~{}内は絶対に削除しないで下さい。
{tweet}が機能していない
改善法:Easybotter.phpを編集する。
if(strpos($text,"{tweet}") !== FALSE && !empty($reply)){ $tweet = preg_replace("@\.?\@[a-zA-Z0-9-_]+\s@u","",$reply->status); $text = str_replace("{tweet}",$tweet,$text); }
とある部分を
if(strpos($text,"{tweet}") !== FALSE && !empty($reply)){ $tweet = preg_replace("@\.?\@[a-zA-Z0-9-_]+\s@u","",$reply->text); $text = str_replace("{tweet}",$tweet,$text); }
へまるまる変更して下さい。
{timeline_id}と{timeline_name}が逆になっている。
改善法:Easybotter.phpを編集する。
//タイムラインからランダムに最近発言した人のデータを取る if(strpos($text,"{timeline_id}") !== FALSE){ $randomTweet = $this->getRandomTweet(); $text = str_replace("{timeline_id}", $randomTweet->user->name,$text); } if(strpos($text, "{timeline_name}") !== FALSE){ $randomTweet = $this->getRandomTweet(); $text = str_replace("{timeline_name}",$randomTweet->user->screen_name,$text); }
とある部分を
//タイムラインからランダムに最近発言した人のデータを取る if(strpos($text,"{timeline_id}") !== FALSE){ $randomTweet = $this->getRandomTweet(); $text = str_replace("{timeline_id}", $randomTweet->user->screen_name,$text); } if(strpos($text, "{timeline_name}") !== FALSE){ $randomTweet = $this->getRandomTweet(); $text = str_replace("{timeline_name}",$randomTweet->user->name,$text); }
へまるまる変更して下さい。
修正済みのバグ(ver.2.04betaまで)
- TL反応で「@」付にも反応してしまう
- リプライパターンで正規表現が正常に使えない