PDA

View Full Version : Add-On Releases - ibProArcade reduce scores to keep arcade competitive.


stangger5
11-12-2006, 10:00 PM
ibProArcade reduce scores to keep arcade competitive..Version 1.0

Reduce the scores. All the ranks are kept in tact but the high scores 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 ibproarcade_reduce_scores.php to /includes/cron
Set a new scheduled task. This one runs on the first of each month:

Varname: Reduce_ibProArcade_Scores

Title: Reduce ibProArcade Scores

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

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

Product: ibProAcade for vBulletin
Save

Last : Go to Admincp >> Arcade >> Score Tools and Update Highscores...

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

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

Enjoy !!
stangger5

Shazz
11-13-2006, 02:06 AM
Very Interesting...
I think it ruins the point of getting high scores but -.-

stangger5
11-13-2006, 06:46 AM
This gives you anther option instead of Auto Pruning..

I`ve seen a few requests for it..

bairy
11-14-2006, 09:21 PM
Shazz, the reason I created the v3arcade version was because the way I saw it there were 4 options:

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.

G_Man
11-14-2006, 11:34 PM
Shazz, the reason I created the v3arcade version was because the way I saw it there were 4 options:

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.
Oh my!!! Here it is!!!

Thanks man!! This is such a fine compromise as you say!!!


And Mucho Gracias to Stangger5 for putting it together!!!

*runs off to install*

ranj
11-15-2006, 12:44 AM
nice one

bluesteel
12-01-2006, 10:27 PM
Thanks for this. I use to use the v3 one when I had their arcade.

This hack has the same problem though. It doesn't take into account whether the game is a high or low score game. eg golf games, where the lowest score wins.

Any chance of this being added?

TIA Alan

ninjamaster
12-01-2006, 10:39 PM
cheers nice work

wes_517
12-07-2006, 12:21 PM
does this also lower the all time score, or just the current top scores?

G_Man
12-11-2006, 04:34 AM
does this also lower the all time score, or just the current top scores?


It doesn't effect the all time score.

Which I'd like it too... even better a seperate variable so it can lower that one at a slightly lower rate.

What do you think Stangger5?

stangger5
12-11-2006, 11:18 AM
It doesn't effect the all time score.

Which I'd like it too... even better a seperate variable so it can lower that one at a slightly lower rate.

What do you think Stangger5?

I just got done with,,reduce best scores..

Testing it now..:D

G_Man
12-11-2006, 06:46 PM
Are you combining it with this, or are you releasing a seperate add-on/Mod ??

stangger5
01-31-2007, 10:37 AM
It will be seperate..

I see you found it tho....;)

Raydar
02-04-2007, 05:10 AM
Hi Guys and Gals,

I have my ib-pro arcade set up to send PM's and emails when a high score is beaten. If I reduce the highscores, will people get these emails? Because one of my members has like 40 high scores.

Thanks

Reg

stangger5
02-04-2007, 06:22 AM
This reduces everyones scores...Nobodys score gets bet by doing this...

The only way it will send a email is if someone beats anthers high score after doing this..

Raydar
02-04-2007, 12:12 PM
Thanks for the reply mate.

I have uploaded the php file to the cron folder. I did it manually through my FTP program, not by importing through the adminCP. Is this right?

I can't see a reduce score option yet in the arcade settings.

I'm not sure where to set the new scheduled task though?

And what does Varname mean please?

Thanks

Reggie.

stangger5
02-04-2007, 04:56 PM
This doesnt make a option in the arcade menu..

You need go to:
admincp >> Scheduled Tasks >> Add New Scheduled Task..
Thats where you put Varname and the rest of the info..

Raydar
02-05-2007, 04:26 AM
Thanks Stangger. I have it all setup and ready to roll tonight.

With the minute setting, there is like 6 drop down menu's. What are all the other menu's for please?

Regards

Reggie

stangger5
02-05-2007, 11:30 AM
min,sec,10,100,1000,10000

droid101
02-20-2008, 07:18 PM
Hey can someone who has this installed answer a quick question?

If you have games where the LOWEST score is actually the best (like golf or a timed game), does it "reduce" those correctly (by raising the score)?

Let me know, I have a few games like that, and if those scores start dropping we'll have a problem.

Foxsake
03-17-2008, 12:27 PM
Hey can someone who has this installed answer a quick question?

If you have games where the LOWEST score is actually the best (like golf or a timed game), does it "reduce" those correctly (by raising the score)?

Let me know, I have a few games like that, and if those scores start dropping we'll have a problem.


Yes, this does alter the Lowest Scores! - and makes them impossible to beat

is there any way to either change this? It needs to ADD 15% to these games.

can i change them manually for now? or will i have to completley scrub these scores back to zero?

Help anyone?

Cheers

Mum
05-07-2008, 06:52 PM
I'd love this for 3.7.0 - are you thinking of bringing it out?

MissKalunji
05-12-2008, 08:48 PM
yeah i get an error i wonder if its zero page that changed something it i doubt it has to do with 3.7.0

stangger5
05-12-2008, 09:38 PM
I'd love this for 3.7.0 - are you thinking of bringing it out?

Works fine with vb3.7.0

yeah i get an error i wonder if its zero page that changed something it i doubt it has to do with 3.7.0

You must have missed a step in the install..

MissKalunji
05-15-2008, 06:51 PM
Works fine with vb3.7.0



You must have missed a step in the install..

i feel quite dumb lol i never uploaded teh php file *hides face*

ade5675
07-22-2008, 11:06 PM
***nice mod***


I have a funny situation though. I have the vBCredits mod working the ibProArcade so when I run this mod, it reduces the scores on all pages page except the "best Score of all Time" of each game in the arcade homepage so I have two scores now - the "best Score of all Time" (which still has the old high score) and the "actual Highscore Champion" (which has the reduced score).

I ran the Update User Names, Update Highscores and the Update the Best Results in the arcade admincp. Still same problem.


It is getting confusing for my members. I need to do to correct this, so what do I do?

edytwinky
08-02-2008, 07:05 AM
does this lower the trophy scores or the Best Score of All Time?

stangger5
08-02-2008, 03:12 PM
The actual highscore and best score have different data base tables..

The mod in this thread reduces the actual highscore..

To reduce the best scores,,use this mod: Reduce ibproArcade best scores of all time.. (https://vborg.vbsupport.ru/showthread.php?t=155838)

edytwinky
08-04-2008, 03:59 PM
The actual highscore and best score have different data base tables..

The mod in this thread reduces the actual highscore..

To reduce the best scores,,use this mod: Reduce ibproArcade best scores of all time.. (https://vborg.vbsupport.ru/showthread.php?t=155838)

Thank you for the response. This is the actual mod I would need then. Does it just reduce the top score for each game or all scores for eac game?

edytwinky
08-06-2008, 04:59 PM
Anybody?

dannyb2100
02-11-2009, 11:33 AM
Hey can someone who has this installed answer a quick question?

If you have games where the LOWEST score is actually the best (like golf or a timed game), does it "reduce" those correctly (by raising the score)?

Let me know, I have a few games like that, and if those scores start dropping we'll have a problem.

I have same problem, Is there a solution yet >

SnakeV
07-09-2009, 03:05 AM
Does this works in ibProArcade 2.6.8?

Hannes
04-11-2010, 05:03 PM
Hey can someone who has this installed answer a quick question?

If you have games where the LOWEST score is actually the best (like golf or a timed game), does it "reduce" those correctly (by raising the score)?

Hello! Are there any news about this bug?

Best regards

GONUMBER6
08-24-2010, 08:57 PM
Is this mod compatible with newer versions of vbulletin (4.0+)?

Hippy
08-24-2010, 09:23 PM
yes just tested on vb4.0.6 with ibProArcade v2.7.0+
it works.. but it does not remove the best Score of all Time..
Just actual Highscore Champion
be sure to run Update Highscores in arcade/ score tools..

GONUMBER6
08-24-2010, 11:53 PM
yes just tested on vb4.0.6 with ibProArcade v2.7.0+
it works.. but it does not remove the best Score of all Time..
Just actual Highscore Champion
be sure to run Update Highscores in arcade/ score tools..

Awesome thanks Hippy!!!!!

GONUMBER6
01-09-2011, 03:26 PM
I had this set at 10% but decided to reduce it to 5%. However, after changing the ./includes/cron/ibproarcade_reduce_scores.php to read:

$scorechange = 5;

it still reduced it by 10%. Did I forget or miss a step? Or should I have put 05 instead of 5?

Thanks

***EDIT, I realized I ran the update high scores manually for an arcade fix, so it seemed like 10% but it was actually 5% done twice.