vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Reduce ibproArcade best scores of all time.. (https://vborg.vbsupport.ru/showthread.php?t=155838)

stangger5 08-20-2007 10:00 PM

Reduce ibproArcade best scores of all time..
 
ibProArcade reduce best Score of all Time to keep arcade competitive..

All the ranks are kept in tact but the best Score of all Time are achievable again.

I made this add-on from bairy`s v3arcade version..
Thanks goes to him for the main code !!!!!

It's all done by a single cron job.

Upload reduce_best_scores.php to /includes/cron
Set a new scheduled task.

This one runs on the first of each month:

Varname: reduce_best_scores

Title: Reduce Best Scores of all Time.

Day of week: *
Day of month: 1
Hour: 0
Minute: 4

Active: Yes
Log: up to you
Filename: ./includes/cron/reduce_best_scores.php

Product: ibProAcade for vBulletin
Save

By default the scores are reduced by 10%.
If you want to change this percentage, change the 10 to whatever you like on line 9..
$scorechange = 10;

Important note: This script will reduce the scores by 10% each time you run it, manually or on cron.

If you want to delete all (best scores of all time),, set the $scorechange to 100;

Enjoy !!
stangger5

ShawneyJ 08-21-2007 11:39 AM

sweet man, well done :)

yahoooh 08-21-2007 12:57 PM

i get error but i think it is from my side

stangger5 08-21-2007 01:08 PM

What did the error say ??

lazydesis 08-22-2007 12:43 AM

wudnt the person who got the best score of all time be p*ssed off if ONLY his score is reduced and some other person is at the top ? Or did I not understand this properly?

stangger5 08-22-2007 03:21 AM

This should explain the idea of just reducing...

Quote:

Originally Posted by bairy (Post 1117448)

1. Never reset high scores. That means people get scores that can't be beaten and others just give up trying.
2. You prune high scores every so often. This means people who worked hard to get them just lose them without any record.
3. Prune just the top x scorers. Means other people have a chance of getting on top, but not fair on those who worked for the highest spots to just have them removed without record.
4. Compromise: Keep the scores but reduce them, thus keeping them there and the rankings (1st, 2nd, 3rd etc) stay in tact.

The fourth option that mine and stangger's hacks execute means:
a) they can be more easily beaten by others, and
b) people have to keep going back to "top up" their own reduced high scores.
Both of which increase arcade activity.


Zia 08-22-2007 05:37 AM

Quote:

ibProArcade Crowns in Profile version 1.0,,
are u gonna relase it at vb.org ?

alyster4k 05-27-2008 11:20 PM

Is this the improved version of this one? https://vborg.vbsupport.ru/showthread.php?t=131417

Curious about a fix for the games that require the lowest score to win like Minesweeper...?

alyster4k 06-09-2008 01:46 AM

I had a v3a version of this (https://vborg.vbsupport.ru/showthread.php?t=124879) that worked with reverse-scoring (lowest is best) too. Any plans to fix this ipB version?

beanymonster 06-23-2008 03:43 PM

excellent - thank you


All times are GMT. The time now is 11:14 PM.

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.01028 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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