![]() |
Quote:
I edited it after posting the incorrect code. The code I posted the first time is for a private version of Raffles. Sorry. |
PERFECT!!! That time it worked! Thank you VERY much!
|
MAJOR BUG finally found and fixed. I suggest EVERYONE update to v1.2.3.
Oh how I hate when the problem was staring me in the face all this time, but I couldn't see the forest through the trees. :( |
Just installed v1.2.3. uploaded all files, imported plugin (with overwrite).
Made a new raffle with 5 prizes (multiple wins is set to no). Only 1 ticket per member, 5 members took part in the raffle. This means everyone should win 1 prize but (Ticket #103) still won 3 prizes. I am curious who did or did not encounter the same problem when creating the same raffle (with the latest version of this mod). I run VB 4.1.4. Thanks for the update though, I am sorry to ruin your celebration lol. |
Quote:
In reality, the draw scheduled task would go into an infinite loop if it couldn't find a different winner. That's why the unique entry count check is in the routine. As a matter of fact I just ran a 10 prize/10 entry raffle on my site and not one duplicate happened. You'll need to register to see the results... http://www.snogssite.com/showthread....Raffle-Winners You could try one more thing, that's download version 1.2.4 which is on my server now. However, it really doesn't change the core operation of the raffle system and that's why it's not uploaded here, but hey.. you've got a problem that needs to be solved. |
For those still having trouble with multiple wins, please download and install v1.2.5 and then enable debug mode in raffle settings.
This will put a detailed log of the actions taken by the raffle draw scheduled task into the scheduled task log. When you have a problem, upload a copy or screenshot of the full log for the problem draw. |
Just made a new raffle, 7 prizes and 7 different winners :D
Dont know what did the trick, the debug setting was on. I will perform some more tests to make sure everything is all right. Thanks! |
Once you're certain all is working the way it should, turn off debug. Otherwise your scheduled task log will grow substantially in size.
|
Quote:
Quote:
Quote:
|
Quote:
I've decided to take a different approach. From this point forward anything other than fixes or core program changes will be in the form of an add-on to the raffle system. That way people can pick and choose what they want to add into the system. |
All times are GMT. The time now is 09:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|