PDA

View Full Version : Add-On Releases - Reduce ibproArcade best scores of all time..


stangger5
08-20-2007, 10:00 PM
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...



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

Scarface Claw
07-01-2008, 11:32 PM
Anyone know if this will work on 3.7.x?

BigDog56
07-13-2008, 07:45 AM
Very nice! Thank you!

stangger5
07-13-2008, 10:52 AM
Anyone know if this will work on 3.7.x?

Yes...