vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Yet another Stats/Level Hack (https://vborg.vbsupport.ru/showthread.php?t=31775)

sctsnipe 12-02-2001 12:18 AM

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.

fonzerelli_79 12-02-2001 05:41 PM

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

212rikanmofo 12-02-2001 11:47 PM

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...

Logtenberg 12-06-2001 01:49 AM

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.

Sinecure 12-06-2001 02:21 PM

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

*Click instal link :D*

Bimma Boy 12-12-2001 05:56 AM

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

Knoman 12-14-2001 03:48 AM

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

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.

Bedhead 12-15-2001 03:10 AM

Awesome hack.

Loving it!

Thanks EH!

NUTNDUN 12-22-2001 10:46 AM

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.

Edgar 12-27-2001 03:04 PM

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.


All times are GMT. The time now is 10:04 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.01270 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete