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

Reply
 
Thread Tools
Rpg Stats vB3 Details »»
Rpg Stats vB3
Version: 1.00, by Zachery Zachery is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-04-2004 Last Update: 06-19-2005 Installs: 28
Template Edits
Code Changes  
No support by the author.

Original Thanks to Knoman for the hack

I updated the stats instructions, they should work right now. there was a slight error in my txt file


Also updated the html abit and made it look atad nicer..

Show Your Support

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

Comments
  #42  
Old 05-21-2004, 07:41 PM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats because the image paths are wrong for the exp....they should be images\rpg\imagename.gif and not images\bar\imagename.gif. Check your template code.
Reply With Quote
  #43  
Old 06-03-2004, 02:24 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code for this hack is really....really bad, no offence to whoever wrote it and using the arithmatic functions currently used to get stats is CPU% intensive :/
Reply With Quote
  #44  
Old 06-03-2004, 03:17 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O.o what? i dont see how they could be, what kind of processor is causing this bit of math to cause problems?
Reply With Quote
  #45  
Old 06-03-2004, 05:04 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The use of log10 / pow times 50+ post per page, with several hundred online does not work good on server load.

Not only that the, the code usage is eh..not so good for instance

PHP Code:
if ($hpmulti 1.5) {
$hpmulti 1.5;
}
if (
$hpmulti 1) {
$hpmulti 1;

Why not just use an elseif, instead of a Whole other If structure, thats inefficient (now we have to remember we're doing this in 50+post per page), excessive usage of floor() etc.. the declaration of so many variables is pointless, would be a lot more straightforward and efficient to just use an array of such ie.

PHP Code:
Instead of This:

$rpglvl
$level
$ep
$showlevel
$hpmulti

Use:
$rpg_stats['rpglvl']
$rpg_stats['level']
$rpg_stats['ep']
$rpg_stats['showlevel']
$rpg_stats['hpmulti'
Not only all of the aformentioned log10 and pow's, lots and lots of * and /, its not mearly a 'bit' of math, considering your having to do this for every post shown on a page. Now this may be fine on a small forum, but on a very busy forum processing all of this math takes cpu cycles.

I suggest making a heavier mod to the user table, and updating the stats when they make a new thread or post, thus saving overhead and processing time on every page load.

Of course I doubt you wanna bother with that, so I may release my own hack shortly to combat this problem... It may seem insignificant to many, but to me speed is everything.

Thats just my take and observation of the code provided, no pun is intended whatsoever.
Reply With Quote
  #46  
Old 06-19-2004, 05:38 PM
zenmasteril zenmasteril is offline
 
Join Date: Jul 2003
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does the measuring achieved (In each on) ??
Please tell me that i could explain my members... :nervous:
Reply With Quote
  #47  
Old 08-08-2004, 03:21 AM
fiber1's Avatar
fiber1 fiber1 is offline
 
Join Date: Jun 2004
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Must be overlooking something here but I don't see "images/rpg"

I have the "/images" but no "rpg"?

Fiber
Reply With Quote
  #48  
Old 10-09-2004, 03:46 AM
Knoman's Avatar
Knoman Knoman is offline
 
Join Date: Oct 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work Zach =)
As for not replying earlier, I've pretty much done with vB hacking. Hell, I dont even have a subscription anymore :P
I just came to visit and was suprise people still talking about this system.
Reply With Quote
  #49  
Old 10-09-2004, 04:43 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Knoman
Good work Zach =)
As for not replying earlier, I've pretty much done with vB hacking. Hell, I dont even have a subscription anymore :P
I just came to visit and was suprise people still talking about this system.
Good to see you alive if youve got some free time can i contact you on msn?
Reply With Quote
  #50  
Old 10-10-2004, 04:30 AM
Knoman's Avatar
Knoman Knoman is offline
 
Join Date: Oct 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont mind at all. However, I havent coded anything in the longest time and I tend to forget languages quickly (like Spanish) :P
So, I dont know if I'll be any use to you.
Reply With Quote
  #51  
Old 10-12-2004, 06:57 PM
Shadow Blaze's Avatar
Shadow Blaze Shadow Blaze is offline
 
Join Date: Oct 2004
Location: Ohio
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make this thing so there like more to it O.o like for roleplaying like adidng sections and what not
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 09:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04601 seconds
  • Memory Usage 2,309KB
  • 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
  • (2)bbcode_php
  • (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
  • (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