Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
The ultimate HP MP Hack Details »»
The ultimate HP MP Hack
Version: 1.00, by zajako zajako is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-20-2002 Last Update: Never Installs: 234
 
No support by the author.

This hack looks just like knomans hp/mp/exp/level hack but it has new features for it. Instead of having set hp/mp amounts that you can't change unless you are posting. It allows mods, supermods, and admins change the hp and mp.

this makes it great for forums rpgs that use a d&d type system and want their bars to tell what the charaters hp and mp really are.

THe exp, level, max hp, max mp all go by the old system. But no the hp and mp can be changed.

If you want to se this in action goto this board called RPG Palace

http://www.planetstorm.net/rpgpalace/index.php

They have a very cool battle system and a lot of posting going on, a great board if you want to join.

also the hp and mp updates are easy. Just click the letters hp or mp and it pops up a window. Then just type a number or a - number to take away .



THE UPDATE:::

I finaly got around to updating this... actualy i updated it a while agon and it got ruined because of a hard drive crash.....
well here is the run down...

This hack allows users to update thir max stats after they have posted for a while. Instead of them going up by them self. Also it makes it so that there is a handy total refil button so you don't have to do math to fill up someones life. There is one slight problem. When this gets started everyone will be 0/0 for all thier stats. They must hit update to gain there max stats then a mod or admin must fill up thier life.From thier you can set up a battle system with text and have a mod or admin ref and deal the damage.The more that a member posts the more his/her hp max goes up, the longer a member has ben there the more thier ma goes up and pp is similar.

A quick run down of the stats
HP -> life
MA -> mystic aura or magic
PP -> Power Points when an attack is done weak to reserve power for a stronger hit
Ap -> Anger Percentage it goes up as you are delt damage

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 05-24-2003, 01:57 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sick ass hack thanks.
Reply With Quote
  #53  
Old 06-06-2003, 06:02 PM
superman superman is offline
 
Join Date: Jun 2002
Location: 559 are code for Cali
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem, I can't find where to set the life in the admin cp. Can someone tell me where to lcoate it? Also, my aim is ckywang05 if you care to help. Thanks in advance


wll can someone please tell me how to uninstall the db query? I doin't rteally like this hack... NO OFFENSE!
Reply With Quote
  #54  
Old 07-06-2003, 09:44 PM
chad chad is offline
 
Join Date: Jun 2003
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool Thanks great hack!
/me hits install
Reply With Quote
  #55  
Old 01-27-2004, 02:34 AM
MeTaL_oRgY MeTaL_oRgY is offline
 
Join Date: Jul 2003
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I?m having some problems with this hack... it works perfectly, but in the postbit is where te problem is... the bars don?t show up, excepting the Exp one... here?s my postbit template:

HTML Code:
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
	<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
	<a name="post$post[postid]"></a>
	$post[firstnewinsert]
	<normalfont><b>$storeextraglow</b></normalfont><br>
	<smallfont>$post[usertitle]</smallfont><br>
	$post[avatar]<p>
	<smallfont> Level: $showlevel<br>
  <a href="moderator.php?s=$session[sessionhash]&action=hp&userid=$userinfo[userid]&maxhp=$post[maxhp]" target=_blank>HP:</a> $post[hp]/$post[maxhp]
                  <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                    <tr> 
                      <td bgcolor="#9999FF"><img src="images/bars/bhg.gif" width="$hpbar%" height="9"></td>
                    </tr>
                  </table>
 <a href="moderator.php?s=$session[sessionhash]&action=ma&userid=$userinfo[userid]&maxma=$post[maxma]" target=_blank>MA:</a> $post[ma]/$post[maxma]
                  <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                    <tr> 
                      <td bgcolor="#9999FF"><img src="images/bars/bmg.gif" width="$mabar%" height="9"></td>
                    </tr>
                  </table>
<a href="moderator.php?s=$session[sessionhash]&action=pp&userid=$userinfo[userid]&maxpp=$post[maxpp]" target=_blank>PP:</a> $post[pp]/$post[maxpp]
                  <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                    <tr> 
                      <td bgcolor="#9999FF"><img src="images/bars/bxg.gif" width="$ppbar%" height="9"></td>
                    </tr>
                  </table>
<a href="moderator.php?s=$session[sessionhash]&action=ap&userid=$userinfo[userid]&ap=$post[ap]" target=_blank>AP:</a> $post[ap]%
                  <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                    <tr> 
                      <td bgcolor="#9999FF"><img src="images/bars/bhg.gif" width="$apbar%" height="9"></td>
                    </tr>
                  </table>               
                  Exp: $ep% 
                  <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                    <tr> 
                      <td bgcolor="#9999FF"><img src="images/bars/bxg.gif" width="$ep%" height="9"><img src="images/bars/bxb.gif" width="1" height="9"></td>
                    </tr>

</table>

 Element: $eicon $elename<br>Registered: $post[joindate]<br>
	Location: $post[field2]<br>
	Posts: $post[posts]<br>$pointname: $store_sign$post[storep] $donate</smallfont></td>
	
	<td bgcolor="$post[backcolor]" width="100%" valign="top">
	<smallfont>$post[icon] <b>$post[title]</b></smallfont>
	<p><normalfont>$post[message]</normalfont></p>
	$post[attachment]
	<p>$post[signature]</p>
	<p>$post[editedby]</p>
	<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&amp;postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
	</td>
</tr>
<tr>
	<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
	$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
	
	<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr valign="bottom">
			<td><smallfont>$onlinestatus
			$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
			<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> 
			</smallfont></td>
			<td align="right" nowrap><smallfont>
<a href="javascript:showwin('store.php?action=rate&postuserid=$post[userid]&postid=$post[postid]&postusername=$stname', 'width=550,height=250')"><img src="{imagesfolder}/storerate.gif" border="0" alt="Rate This Post"></a>			
<a href="editpost.php?s=$session[sessionhash]&amp;action=editpost&amp;postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
			<a href="newreply.php?s=$session[sessionhash]&amp;action=newreply&amp;postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
			</smallfont></td>
		</tr>
		</table>
	</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
I attached an img of the postbit.... hope that helps :s

Thanx in advance
Reply With Quote
  #56  
Old 01-28-2004, 07:00 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

from what it looks like, its cause you have 0 hp and mp and such, so they dont show up.
i made this hack a long long long long time ago, so its hard to remember how to get those bars to go up, but try making some posts and such after its installed to see if that makes your stats go up... if not then its in the coding, not the postbit.
Reply With Quote
  #57  
Old 01-29-2004, 01:00 AM
MeTaL_oRgY MeTaL_oRgY is offline
 
Join Date: Jul 2003
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, I fixed some stuff around the php files... it´s fixed.. kinda.... the HP-MP wonb´t rise by themselves, I must add HP-MP manually.... but with the Inn hack it´s all fixed... so thnx a lot dude!! and great hack!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03966 seconds
  • Memory Usage 2,305KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete