vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   Lottery bug possible? (https://vborg.vbsupport.ru/showthread.php?t=121610)

BMamba 07-19-2006 06:20 PM

Lottery bug possible?
 
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

nascar1 07-20-2006 02:20 PM

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.

BMamba 07-20-2006 02:29 PM

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.

Derekclarke 07-30-2006 09:08 AM

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.

---MAD--- 07-31-2006 09:53 AM

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 :).

Derekclarke 08-02-2006 08:01 AM

Any solution for this please?

BMamba 08-07-2006 03:18 PM

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.


All times are GMT. The time now is 08:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01747 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete