Verfasst: 28.05.2003 20:10
ich merke grade das mein englisch nicht sehr gut ist. kann mir das vielleicht einer übersetzen?doctormord hat geschrieben:so, die chinesische anleitung mal durch word und systran geschoben:
Code: Alles auswählen
水怪 the RPG 1,205 editions installments explanation ----------------------------- 0. please first installs "ideal money MOD" (inside bamboo cat star http://phpbb-tw.net to have) 1. carries out in the watermonster.sql SQL narration, the renewal information bank 2. in the phpBB root table of contents, constructs rpg the table of contents, and * php will duplicate this table of contents besides rpg.php 3. duplicates rpg.php phpBB the root table of contents 4. * gif will duplicate /phpBB/images 5. * tpl will duplicate /phpBB/templates/subSilver (generally only to have attire one kind of style speech, should be subSilver) 6. opens /phpBB/includes/constants.php to seek: Define ('PAGE_GROUPCP', -11); Increases a line: Define ('PAGE_RPG', -99); 7. opens /phpBB/viewtopic.php to seek: Go ahead and pull all data for this topic in under $sql (in the SQL narration, joins following fence position) u.user_robfail, u.rpg_level, u.rpg_cur_hp, u.rpg_max_hp, u.rpg_cur_mp, u.rpg_max_mp, u.rpg_cur_exp, u.rpg_max_exp, u.rpg_attack, u.rpg_defense, u.rpg_magic, u.rpg_speed, u.rpg_medals, Below that... $sql content probably can turn the appearance (only to supply reference, if you have install other MOD, possible meeting not to be dissimilar) // // Go ahead and pull all data for this topic // $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, u.user_money, u.user_robfail, u.rpg_level, u.rpg_cur_hp, u.rpg_max_hp, u.rpg_cur_mp, u.rpg_max_mp, u.rpg_cur_exp, u.rpg_max_exp, u.rpg_attack, u.rpg_defense, u.rpg_magic, u.rpg_speed, u.rpg_medals, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt WHERE p.topic_id = $topic_id $limit_posts_time AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time $post_time_order LIMIT $start, ".$board_config['posts_per_page']; Seeks: // // Define the little post icon // In front of these lines joins: if ($postrow[$i]['user_robfail'] > 0) { $poster_avatar .= '<br>'; $robid = floor(($postrow[$i]['user_robfail'] - 1) / 4); $robcnt = (($postrow[$i]['user_robfail'] - 1) % 4) + 1; if ($robid <= 7) { for ($j=0; $j < $robcnt; $j++) { $poster_avatar .= '<img src="images/rob' . $robid . '.gif" />'; } } else { $poster_avatar .= '<center><img src="images/rob7.gif" />× ' . ($postrow[$i]['user_robfail'] - 28) . '</center>'; } $poster_avatar .= '<br><span class="gensmall">Stupid ~ defeat bandit ~</span>'; } Seeks: // // Again this will be handled by the templating // code at some point // In front of these lines joins: $rpgstatus = '<table width="142" class="bodyline" border="0" cellpadding="0" cellspacing="0">' . '<tr><td width="35%"><span class="gensmall"> 職 照: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_medals'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> LVL: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_level'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> H P: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_cur_hp'] . ' / ' . $postrow[$i]['rpg_max_hp'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> M P: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_cur_mp'] . ' / ' . $postrow[$i]['rpg_max_mp'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> EXP: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_cur_exp'] . ' / ' . $postrow[$i]['rpg_max_exp'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> 攻擊力: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_attack'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> 防禦力: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_defense'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> 魔 力: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_magic'] . '</span></td></tr>' . '<tr><td><span class="gensmall"> 速 度: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_speed'] . '</span></td></tr></table>'; Then following several lines (may see again has several lines of mode of writing with following this line similar), casually looks for a place, the insertion: 'POSTER_RPG' => $rpgstatus, 8. opens /phpBB/templates/subSilver/viewtopic_body.tpl to seek: <! -- BEGIN postrow --> <tr> in its next row, in front of </td>, insertion: {postrow.POSTER_RPG} 9. if does not like big house Zhong lying between supposes the map/to suppose the value in advance in advance, after may voluntarily revise function_richer.php CreateRicherMap () to revise, the archive, and opens richer.php, after (is //) picks off 35-36th line of Mark, carries out time: Http://xxx.xxx.xxx.xxx/phpBB/rpg.php? Action=richer then, carries out, please again returns Mark... 10. 水怪 RPG URL is http://xxx.xxx.xxx.xxx/phpBB/rpg.php? Action=menu please voluntarily revises the place which wants to lay aside, generally all puts in overall_header.tpl Writed by Pai-Kang Hsiao # dark 水怪 mainland # http://www.watermonster.org