Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ibProArcade reduce scores to keep arcade competitive. Details »»
ibProArcade reduce scores to keep arcade competitive.
Version: 1.0, by stangger5 stangger5 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.7 Rating:
Released: 11-12-2006 Last Update: Never Installs: 74
Supported
Additional Files  

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

Show Your Support

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

Comments
  #12  
Old 12-11-2006, 11:18 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by G_Man View Post
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..
Reply With Quote
  #13  
Old 12-11-2006, 06:46 PM
G_Man G_Man is offline
 
Join Date: Feb 2006
Location: Washington State
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you combining it with this, or are you releasing a seperate add-on/Mod ??
Reply With Quote
  #14  
Old 01-31-2007, 10:37 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will be seperate..

I see you found it tho....
Reply With Quote
  #15  
Old 02-04-2007, 05:10 AM
Raydar Raydar is offline
 
Join Date: Dec 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 02-04-2007, 06:22 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #17  
Old 02-04-2007, 12:12 PM
Raydar Raydar is offline
 
Join Date: Dec 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 02-04-2007, 04:56 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #19  
Old 02-05-2007, 04:26 AM
Raydar Raydar is offline
 
Join Date: Dec 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 02-05-2007, 11:30 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

min,sec,10,100,1000,10000
Reply With Quote
  #21  
Old 02-20-2008, 07:18 PM
droid101 droid101 is offline
 
Join Date: Jan 2008
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 06:33 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.09544 seconds
  • Memory Usage 2,307KB
  • 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
  • (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
  • (3)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