Seite 3 von 7

Verfasst: 28.05.2003 12:07
von Snoopmore
werd bitte was genauer.. ich kann mir nichts darunter vorstellen...
wenn diese eol.php mit darin müsste, wo muss man diese dann einbinden (ikn welche datei)?

Verfasst: 28.05.2003 14:14
von doctormord
ka, ich habs bis jetzt nicht eingebaut.

bei dem board wo der mod hier ist, heisst der link:

Dark Battle Field

und ruft folgendes auf:

[ externes Bild ]

Verfasst: 28.05.2003 14:16
von Snoopmore
ist das diese foren-software von dieser englischen seite?
und: geh mal mit der maus auf deisen link und schau in der statusleiste nach, wie die datei heisst...

Verfasst: 28.05.2003 14:29
von doctormord

Code: Alles auswählen

<a href="rpg.php?action=eol" class="gen"><font color=gold>Dark Battle Field</font></a><br><br>

Verfasst: 28.05.2003 14:30
von Snoopmore
hmmm....
ich werd mal versuche einfach diesen link mit dem eol aufzurufen..

Verfasst: 28.05.2003 16:39
von doctormord
wegen der chinesischen anleitung:

http://www.systranbox.com/systran/box

da einfach die url reinpacken und auf traditional chinesisch stellen.

hier gibts das chinesiche original des mods.
http://phpbb-tw.net/phpbb/

Verfasst: 28.05.2003 17:18
von doctormord
so, die chinesische anleitung mal durch word und systran geschoben:

Code: Alles auswählen

&#27700;&#24618; 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"> &#32887;&#12288;&#29031;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_medals'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#65324;&#65334;&#65324;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_level'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#65320;&#12288;&#65328;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_cur_hp'] . ' / ' . $postrow[$i]['rpg_max_hp'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#65325;&#12288;&#65328;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_cur_mp'] . ' / ' . $postrow[$i]['rpg_max_mp'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#65317;&#65336;&#65328;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_cur_exp'] . ' / ' . $postrow[$i]['rpg_max_exp'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#25915;&#25802;&#21147;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_attack'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#38450;&#31142;&#21147;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_defense'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#39764;&#12288;&#21147;: </span></td><td><span class="gensmall">' . $postrow[$i]['rpg_magic'] . '</span></td></tr>' . 
			'<tr><td><span class="gensmall"> &#36895;&#12288;&#24230;: </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. &#27700;&#24618; 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 &#27700;&#24618; mainland #
http://www.watermonster.org

Verfasst: 28.05.2003 18:43
von chris478
Kannst du mir mal den Link posten, weil ich irgendwie zu blöd bin um den auf der Seite http://phpbb-tw.net/phpbb/ zu finden. Wäre nett
Thx Chris

Verfasst: 28.05.2003 19:20
von doctormord
natürlich:

rpg-mod (Download a premodded rpg-phpbb 2.0.4 forum with battle mod here.:
http://www.marsco.tw900.com/rpg/viewtopic.php?t=167

installationsanleitung ([tutorial]Installing RPG-Premod v2.04 for Dummies):

http://www.marsco.tw900.com/rpg/viewtopic.php?t=156

Verfasst: 28.05.2003 19:39
von chris478
Achso..ich dachte man kann die Dateien auch einzeln runterladen. Ich wollte die dann eigentlich für mein 2.0.3 umschreiben

Naja ansonsten schnapp ich mir einfach die Dateien raus und editiere sie...das macht ja nicht viel arbeit, da ich ihn schon mal in mein 2.0.3 ohne probs eingebaut hatte..nur das battle system fehlt mir noch