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