Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbBux / vbPlaza
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Lottery bug possible? Details »»
Lottery bug possible?
Version: , by BMamba BMamba is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-19-2006 Last Update: Never Installs: 0
 
No support by the author.

Hello,
I have problems with the daily lottery.

Lottery should take a winner each 24 hours, right?
Well, my users won the same lottery few times, within 24 hours: (I replaced original logins with user1, user2, etc.)

21 Daily Lottery user1 132 07-19-2006, 08:30 PM
20 Daily Lottery user1 126 07-19-2006, 05:30 PM
19 Daily Lottery user1 126 07-19-2006, 02:30 PM
18 Daily Lottery user1 126 07-19-2006, 01:30 PM
17 Daily Lottery user1 126 07-19-2006, 12:30 PM
16 Daily Lottery user2 105 07-19-2006, 02:31 AM
15 Daily Lottery user3 130 07-19-2006, 01:30 AM
14 Daily Lottery user2 126 07-18-2006, 11:30 PM
13 Daily Lottery user2 105 07-18-2006, 10:30 PM
12 Daily Lottery user2 132 07-18-2006, 09:30 PM
11 Daily Lottery user1 126 07-18-2006, 08:30 PM
10 Daily Lottery user2 132 07-18-2006, 05:30 PM
9 Daily Lottery user4 105 07-18-2006, 03:30 PM
8 Daily Lottery user2 105 07-18-2006, 02:30 PM
7 Daily Lottery user1 126 07-18-2006, 12:30 PM

How is it possible?
My "Time Active" for daily lottery is 86400 ofc.
vbBux Lottery Processing is every 30 minuts (Scheduled Task Manager)

btw How to use ribbons? Where to put their cost?

Regards,
BMamba

Show Your Support

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

Comments
  #2  
Old 07-20-2006, 03:20 PM
nascar1 nascar1 is offline
 
Join Date: Nov 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have/had the same problem. I 'fixed' it by changing the CRON to only run once a day. Problem is, it doesn't seem to know the difference between the daily and weekly lottery and runs them both daily even with the correct settings in the 'second' field.
Reply With Quote
  #3  
Old 07-20-2006, 03:29 PM
BMamba's Avatar
BMamba BMamba is offline
 
Join Date: Jun 2006
Location: Poland
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nascar1
I have/had the same problem. I 'fixed' it by changing the CRON to only run once a day. Problem is, it doesn't seem to know the difference between the daily and weekly lottery and runs them both daily even with the correct settings in the 'second' field.
Tahnk you! I hope this will work

So this mean I cannot run both, daily and weekly lottery?

Edit:
Lotteries works fine now.
If your lottery ends at 19.55, you should set cron to 20.00.
Reply With Quote
  #4  
Old 07-30-2006, 10:08 AM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem Guys.

However i have found the cause. I do not know how to fix it, so if someone can help it would be apreciated.

The date for the lottery is extremly wrong. when i installed it a few days ago, the lottery date showed ending in april it is now into May. so in fact my lottery, is ending as soon as a member puts it on, they are all winners because they are the only ones to put it on before the lottery ends.

I have disabled the lottery on my board as users had worked it out and were using this to their advantage to gain points.
Reply With Quote
  #5  
Old 07-31-2006, 10:53 AM
---MAD--- ---MAD--- is offline
 
Join Date: Jun 2005
Location: Earth
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Derekclarke
I have the same problem Guys.

However i have found the cause. I do not know how to fix it, so if someone can help it would be apreciated.

The date for the lottery is extremly wrong. when i installed it a few days ago, the lottery date showed ending in april it is now into May. so in fact my lottery, is ending as soon as a member puts it on, they are all winners because they are the only ones to put it on before the lottery ends.

I have disabled the lottery on my board as users had worked it out and were using this to their advantage to gain points.
same here .
Reply With Quote
  #6  
Old 08-02-2006, 09:01 AM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any solution for this please?
Reply With Quote
  #7  
Old 08-07-2006, 04:18 PM
BMamba's Avatar
BMamba BMamba is offline
 
Join Date: Jun 2006
Location: Poland
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Derekclarke
I have the same problem Guys.

However i have found the cause. I do not know how to fix it, so if someone can help it would be apreciated.

The date for the lottery is extremly wrong. when i installed it a few days ago, the lottery date showed ending in april it is now into May. so in fact my lottery, is ending as soon as a member puts it on, they are all winners because they are the only ones to put it on before the lottery ends.

I have disabled the lottery on my board as users had worked it out and were using this to their advantage to gain points.
I had this problem too, I resolved it.

Go to vbPlaza Lottery -> Manage Lotteries -> Click on "Weekly Lottery" or other lottery you have.

Change Ending Time, that's all.

You can try but most probably you will have the same bug as me:
The first one who buy ticket in a lottery, allways win this lottery.
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 09:16 AM.


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.04106 seconds
  • Memory Usage 2,260KB
  • Queries Executed 20 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete