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
Details »»

Version: , by Knoman Knoman is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-29-2001 Last Update: Never Installs: 237
 
No support by the author.

After my rantings in the other thread about people posting my codes, I've decided to forget everything that happen and post my version of the EXP/HP/MP hack. Most people will not need this hack because it will only apply to gaming forums; specifically RPG forums.

This hack works in such a way that:

HP drops and rises according to the members activeness.
MP determins how long a user has been with the forums, and how active they are.
EXP determins how close a user is to reaching the next level.

EDIT: To prevent non-legit vb owners from installing this hack, I have removed it from this post. Instead, just scroll down to Neo's post in this thread and download the file.

Show Your Support

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

Comments
  #82  
Old 12-02-2001, 12:18 AM
sctsnipe's Avatar
sctsnipe sctsnipe is offline
 
Join Date: Nov 2001
Location: Coral Springs
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha nevermind i got it. i had to go to functions.php, not showthread, i fixedit, good.

BTW awsome code, really great, ill use this forever.
Reply With Quote
  #83  
Old 12-02-2001, 05:41 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its weird

my mp isn't right

its either 0/0 or 1/1 or 7/7

never 6/7 or 2/7 or whatever

what do you think is wrong

have a look here

any ideas
Reply With Quote
  #84  
Old 12-02-2001, 11:47 PM
212rikanmofo 212rikanmofo is offline
 
Join Date: Nov 2001
Location: paris
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone help me please, im running vbulletin 2.2.0 and i installed the hack but the format messedup my tables and everything... can someone post there postbit template for me here... thanks...
Reply With Quote
  #85  
Old 12-06-2001, 01:49 AM
Logtenberg Logtenberg is offline
 
Join Date: Nov 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by 212rikanmofo
can someone help me please, im running vbulletin 2.2.0 and i installed the hack but the format messedup my tables and everything... can someone post there postbit template for me here... thanks...

just close the table in the code you inserted in your postbit. The hack forgot to close the table.
Reply With Quote
  #86  
Old 12-06-2001, 02:21 PM
Sinecure's Avatar
Sinecure Sinecure is offline
 
Join Date: Oct 2001
Location: Victoria, BC, Canada
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can see what I did with this at http://board.pixeljunction.com
I think it turned out well

*Click instal link *
Reply With Quote
  #87  
Old 12-12-2001, 05:56 AM
Bimma Boy Bimma Boy is offline
 
Join Date: Dec 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is very good and my members love it but a proper explanation to it would be the finishing touch!

It would be nice if some one can post a clear conscise explanation to each bar and how the maths to all of this work, Im sure myself and others alike will be very grateful.

All i know is when exp reached 100% u level up! but what drives this exp to increase in the first place? I also know if you dont make 10 posts a day your HP will fall, but how does this increase? or decrease if it does..?

HP - Whats this? in plain english? Im showing as 91/419 - what are these numbers?

MP - This is what I saw on another forum about this

MP get loose if you didnt post for a day...you should at least post once...but that will always drop down your HP...about loosing MP...


sorry, I just cant get my head round that, pls can u explain this in detail = I thought you had to make 10 posts a day?

Thanks in advance!

ps: I do read all the posts here, The above explanation by the hack writer is very technical to understand, plain english please so my members can make sense of it all! thanks
Reply With Quote
  #88  
Old 12-14-2001, 03:48 AM
Knoman's Avatar
Knoman Knoman is offline
 
Join Date: Oct 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow... i've thought i have made this hack very clear, but i guess plain english isnt good enough

like i've mentioned earlier, this hack was spun off of role playing games (i.e. final fantasy). hp stands for health points. the more your points, well.... the better your health is. mp stands for magic points, your ability to cast certain spells and such. and, well... you know what experience is.

now, what drives this entire system is this one code:
$level = pow (log10 ($post[posts]), 3);

what that code does is set the standard at when a member is able to level up, and how much hp/mp s/he should recieve. a low level member is able to reach the next level very easily (only requiring a handful of posts). those at the high end levels would require a whole lot more posts to achieve the next level.

the rise and fall of the hp meter is determine by this variable $postperday. what that does is take the total number of posts and devide it by the total number of days the person has been registered. the quotient is then taken and divided even further by the max hp... by doing so, it gives me a percentage that changes constantly.

i've feel that i've explained everything the best way that i could. any further would be me teaching you how to read and understand php... or any programming language for the matter. none of this is technical, it's mostly multiplication and division. this was my very first project with php. i knew nothing about it. but what i did was open a math book and headed to php.net.

you give a man a fish, he feeds for a day.
you teach a man to fish, he feeds for life.
Reply With Quote
  #89  
Old 12-15-2001, 03:10 AM
Bedhead Bedhead is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack.

Loving it!

Thanks EH!
Reply With Quote
  #90  
Old 12-22-2001, 10:46 AM
NUTNDUN NUTNDUN is offline
 
Join Date: Nov 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if anyone could help me out with why the level hack works fine for members already registered, but wit members that have just registered and made a potst the text for each stat is messed up, it is saying
Level: 1.#QNAN
Member ID: 26
Activity: 1.#QNAN / 1.#QNAN
Popularity: 1.#QNAN / 1.#QNAN
Experience: 1.#QNAN%

I love this hack, I just wish I could get this bug worked out.

I still haven't gotten this to work, I thought I did because it works when I view the board from my machine, but when anyone else views it or if I view it from one of the other two machines it doesn't work either. I even tried it from a non-hacked install of 2.2.1 and still got the same output. Hopefully someone can help me with this.
Reply With Quote
  #91  
Old 12-27-2001, 03:04 PM
Edgar Edgar is offline
 
Join Date: Dec 2001
Location: Belgium
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all,congrats with this magnificent hack.
Though I have one small problem.

Everything works expect the bars won't fill up,they stay empty.
I uploaded the images to my images folder,which is right?

The url is http://www.avalancheonline.net/forums/index.php

Thanks in advance.
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 10:38 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.05060 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
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_quote
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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