tag:blogger.com,1999:blog-1585105787473796476.post8613775985952105430..comments2024-03-27T11:13:25.958+00:00Comments on keyliner.blogspot.com: PrizeSelect Raffle Program - downloadabletraywolfhttp://www.blogger.com/profile/06205565591880314520noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-1585105787473796476.post-28294014960664657092017-06-30T11:31:10.538+01:002017-06-30T11:31:10.538+01:00Hi bro, your program was great and useful and Inte...Hi bro, your program was great and useful and Interesting, I was wondering what method you use behind for the chances in this selection. Hoping for your reply :)Anonymoushttps://www.blogger.com/profile/02359353272025884333noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-21159729909820775932017-03-01T06:26:17.979+00:002017-03-01T06:26:17.979+00:00Download link fixedDownload link fixedtraywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-54893326386199149922016-10-09T11:10:54.574+01:002016-10-09T11:10:54.574+01:00Dear Tim,
The slot machine effect is great. Howev...Dear Tim,<br /><br />The slot machine effect is great. However, it is very easy to predict the winner within the first few letters getting locked. <br /><br />Would it be possible for the whole name to be shuffled with the other eligible winners before it gets locked. That would make it much more exciting!<br /><br />Thanks & Kind Regards,Anonymoushttps://www.blogger.com/profile/00433115790460596157noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-31763975348917453132016-09-12T03:22:05.967+01:002016-09-12T03:22:05.967+01:00I'm sorry, but I am not distributing the sourc...I'm sorry, but I am not distributing the source. I keep pondering about ways to variablize the objects on the screen but have not succeeded yet. Thank you for asking.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-76377064277740512192016-09-10T08:54:12.478+01:002016-09-10T08:54:12.478+01:00Hi Tim,
Can I request for a copy of the source co...Hi Tim,<br /><br />Can I request for a copy of the source code? I want to change the text size of the winner and probably increase the duration of the slot machine effect. Also reposition the image display.<br /><br />Thank you!KJChengnoreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-91161072213574746412016-05-19T11:48:00.539+01:002016-05-19T11:48:00.539+01:00Wow thanks! I had a custom scale of 175% and that ...Wow thanks! I had a custom scale of 175% and that was the problem. The first image I sent wasn't maximized, just cropped. When I did maximize it, the buttons at least appeared but they were all over the place. I would have never figured out the scaling.Cuneyt Barishttp://www.godawg.xyznoreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-47225971346810335722016-05-18T04:46:23.156+01:002016-05-18T04:46:23.156+01:00C.Bari's wrote, commenting where some of the g...C.Bari's wrote, commenting where some of the graphic elements were.not visible on the screen (next prize arrow keys, etc.).<br /><br />My initial response:<br /><br />I think I see the problem. The screen is maximized and the missing elements positioned themselves, below your task-bar. In the upper-right corner (the program's title bar), click the center resize. Restore button.<br /><br />I happened to see similar problem on my new Lenovo laptop, where the screen resolution is set to 3200 pixels. And windows display control panel is set to magnify 250%.<br /><br />The wallpaper does not scale. You could simply draw another wallpaper at the larger pixel size.<br /><br />Could you confirm my observation?<br /><br />Temporary work around is to run in a window, not maximized.<br /><br />I will have to revisit my scaling logic, inlight of a non 100% scaling.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-37812342312180793242016-05-18T04:45:37.493+01:002016-05-18T04:45:37.493+01:00C.Bari's wrote, commenting where some of the g...C.Bari's wrote, commenting where some of the graphic elements were.not visible on the screen (next prize arrow keys, etc.).<br /><br />My initial response:<br /><br />I think I see the problem. The screen is maximized and the missing elements positioned themselves, below your task-bar. In the upper-right corner (the program's title bar), click the center resize. Restore button.<br /><br />I happened to see similar problem on my new Lenovo laptop, where the screen resolution is set to 3200 pixels. And windows display control panel is set to magnify 250%.<br /><br />The wallpaper does not scale. You could simply draw another wallpaper at the larger pixel size.<br /><br />Could you confirm my observation?<br /><br />Temporary work around is to run in a window, not maximized.<br /><br />I will have to revisit my scaling logic, inlight of a non 100% scaling.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-2350652269783719392015-12-22T04:45:33.700+00:002015-12-22T04:45:33.700+00:00Your request is interesting, but it exceeds the go...Your request is interesting, but it exceeds the goal of my program. Adding a feature like this would complicate the logic and configuration, and even you would admit, for a limited audience.<br /><br />You might consider the Prize Orama spreadsheet this post references. I wonder if the spreadsheet could be coaxed into doing this. <br /><br />Imagine 3 columns where the name is being drawn. If all three columns show the same name, you would have a winner. Take a peek at that.<br /><br /><br />traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-81914270332769054942015-12-21T08:04:21.988+00:002015-12-21T08:04:21.988+00:00Hi Tim,
I appreciate your feedback, and your will...Hi Tim,<br /><br />I appreciate your feedback, and your willingness to accommodate me! <br />My situation is a bit different from your run-of-the-mill prize drawing in the sense that, the "tickets" in the contest drawing are more like "points", where they are not purchased, but instead awarded to each participant for their hard work (e.g. 2 tickets or points per sale)<br />Because of this, I do not want to limit or reduce the chance of those with a lot of tickets to win again, as I want to reward those who have done the most activity, over those who have done very little.<br />This is the reason why I need the program to pick a name three times before they are considered a winner, so that it reduces the chance for someone with very low sales activity to win a prize over someone with a lot of sales activity.<br />Also, I would need the program to keep track of all of the names that were drawn, not just consecutive back-to-back winners, as the first 10 people to have their name picked three times would be the 10 winners.<br />Again, it's not your average situation, but I appreciate any help you can give me!Anonymoushttps://www.blogger.com/profile/00024798793307247103noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-468689566666444752015-12-21T07:31:15.273+00:002015-12-21T07:31:15.273+00:00Please re-test with version 1.07. I made changes ...Please re-test with version 1.07. I made changes to the retry algorithm to more closely match what I said above. <br /><br />I would still entertain that new switch. What do you think? Or, is my routine now more understandable?<br />traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-41879745287575749352015-12-21T06:58:26.588+00:002015-12-21T06:58:26.588+00:00I will look at this in a few days, but my initial ...I will look at this in a few days, but my initial thinking is this: <br /><br />Not well documented is a prize-select feature that on a random draw, if the new winner is the same name as the immediate previous winner, the program serreptitiously draws another name (rather than let the same person win twice in a row). If on the second (secret draw), the same person wins again, the program rolls the dice and gives something like a 30% chance they lose (with a 70% chance it will accept the win). If the same person wins on a third draw, they win the prize.<br /><br />(Noted: Obviously, you have unchecked the "OnlyAllowOneWin" option -- allowing a previous prize winner to win another prize.)<br /><br />Thus, in an unbalanced load, my routine would look mathematically squirrelly. <br /><br />Imagine 9 contestants, each with one ticket and then a 10th contestant with 5000 tickets. PrizeSelect would attempt 3 times on each draw to find another person, trying moderately hard to not award the second prize to that greedy 10th person. <br /><br />Similarly, if you have "OnlyAllowOneWin" (which you don't) and that person had 5000 chances, the program would try 100 times to find a new name (having been forced to not re-use/re-win that person). On the 100th attempt, it would display an error "Could not find a winner. Try again."<br /><br />? Would it help if we had a switch called "DisableRetryEvents" (essentially: Enable a pure random draw)? This would be easy to implement. <br /><br />I don't want to give the impression that the program is not random - it really is, but I admit I cheat a smidge when the same person wins twice in a row. <br /><br />I've seen too many audiences complain when someone wins too often.<br /><br />* In need to study your most recent reply before I can answer definitively. I've run out of time this week. Documenting took most of the day today.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-45442622942272222702015-12-21T03:34:15.050+00:002015-12-21T03:34:15.050+00:00PrizeSelect Version 1.07 released!PrizeSelect Version 1.07 released!traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-15602533039863827412015-12-21T03:33:41.987+00:002015-12-21T03:33:41.987+00:00Version 1.07 has been released. Support for x5 en...Version 1.07 has been released. Support for x5 entries in INI files. Support for user-defined wallpapers. New feature allowing prize-by-prize changes to "OnlyAllowOneWin" per contestant. <br /><br />Fabulous new documentation.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-57509317877490264602015-12-18T07:36:57.832+00:002015-12-18T07:36:57.832+00:00Yes. Version 1.07 will be released in a few days....Yes. Version 1.07 will be released in a few days. Adding a much-requested feature for user-defined wallpapers. Adding better support for x5-style names in INI and INI-files.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-81366811755755284672015-12-18T07:29:32.398+00:002015-12-18T07:29:32.398+00:00Version 1.06 added a delay and flip A-z, adding ex...Version 1.06 added a delay and flip A-z, adding excitement. I call this a slot machine effect. <br /><br />Variable wallpaper is being added in version 1.07. I still cannot figure out how to make full-screen work without a lot of coding and object movement.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-61624665175160680512015-12-18T06:02:27.804+00:002015-12-18T06:02:27.804+00:00So to help you understand it, most of the contesta...So to help you understand it, most of the contestants would not have just one ticket in my scenario. If the total tickets were 50, then maybe there would be 4 or 5 people in the drawing total. <br />Closer to my reality would be maybe 35 participants with the least amount of tickets per participant being 2 or 3. Let's say the participant with the most amount of tickets has 20, with the total amount of tickets being 115.<br />Once a name is drawn it is not discarded but rather mixed in again, and the first 10 names to be drawn 3x will be the winners of the contest. This way even if a participant has less than three tickets entered, they still have a chance to win if their name gets drawn 3x.<br />Does this make sense to you, and if so, do you think it's better than your current setup? I'm asking your opinion because this request isn't from myself, rather it was requested that I find a way to make it happen as such. What is your opinion of this method? <br />Thanks in advance. Anonymoushttps://www.blogger.com/profile/00024798793307247103noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-90685579451299398952015-12-18T04:55:08.428+00:002015-12-18T04:55:08.428+00:00I don't see how the math on this would work. ...I don't see how the math on this would work. Imagine a pool of 50 people, each with one ticket. With 10 prizes offered, the odds of any one person getting three draws would be zero. Perhaps I do not understand your request. You imply the randomization is not good, but I disagree. After many many tests, I am satisfied the randomness is very good.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-55209727691110878442015-12-17T13:57:57.852+00:002015-12-17T13:57:57.852+00:00Tim,
Also when I put x5 after a person's name ...Tim,<br />Also when I put x5 after a person's name in the .ini file, the program displays the name as "name x5" in only one entry, instead of outputting that name 5 times subsequently, as it does in the ad-hoc option.Anonymoushttps://www.blogger.com/profile/00024798793307247103noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-92074406911695372702015-12-17T13:12:46.400+00:002015-12-17T13:12:46.400+00:00Hi Tim,
If it's not too much trouble, can you ...Hi Tim,<br />If it's not too much trouble, can you add an option for requiring a name to be drawn 3 times to qualify for winning a prize? e.g. each contestant has multiple entries, and upon each drawing, that entry isnt discarded but instead shuffled back into the mix, and another name is drawn, until 10 people who have been drawn 3x each have been picked...So the winners would be the first 10 people to have their names drawn 3x...Do you think that is a more effective way to randomize the winners than your current set up? If you don't think it is, please let me know!<br /><br />I appreciate your feedback! =)Anonymoushttps://www.blogger.com/profile/00024798793307247103noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-61253868095376458222015-12-03T05:36:35.927+00:002015-12-03T05:36:35.927+00:00In the settings / control screen is a list of all ...In the settings / control screen is a list of all winners. Not pretty, but it is there. Additionally, each winner is written to an ascii text file in the same directory as the program's default folder. You could easily write a program to display them. <br /><br />I have another version of the program, which can award the same prize to xx number of people, but it has not made it to production and I do not have an easy way to switch from the original design to this one. In other words, I am not pleased with my first attempt.traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-17251369235560816772015-12-03T05:26:59.723+00:002015-12-03T05:26:59.723+00:00Hi Tim,
Is there any way that the previous winner...Hi Tim,<br /><br />Is there any way that the previous winners can be seen/ shown to the audience after all the raffle has been done?<br />And for consolation prizes, like GCs which will be given to 10 to 20 persons, can this be also done in a one prize to 10 winners ratio?<br /><br /><br />Many thanks! Anonymoushttps://www.blogger.com/profile/09279799658605145982noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-68586529367684749512015-10-29T16:05:34.048+00:002015-10-29T16:05:34.048+00:00Hello! Just wondering if this program is still bei...Hello! Just wondering if this program is still being updated? Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-54731500904727923542013-07-09T17:10:16.489+01:002013-07-09T17:10:16.489+01:00Andy, More on this
(These scenerios all assumed a...Andy, More on this<br /><br />(These scenerios all assumed a named drawing "Bob Smith x20")<br /><br />Assume a more normal drawing, where you have 500 people. Say most of the 500 people bought one ticket each, but 10 bought 20 tickets each, for a total of 690 tickets. [x]Allow one win was selected.<br /><br />You should find a nice random spread, where the 10 people with multiple tickets have a slightly-better chance of winning. But once they won (say Bob Smith wins), they immediately fall out of any future drawings and they will not affect the odds for the other non-winners. <br /><br />Even though they have a (combined 200 additional tickets), the drawing would continue, as-if they were not in the pool (assuming all 10 ultimately won prizes).<br /><br />Technically the winning people remain in the pool. The program randomly draws a number, looks at the winner's list, finding "Bob Smith"; discards the draw and draws again, up to 100 times, until it finds a non-winner.<br /><br />In practice, this process works very well in pools of 10 to thousands of people. traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.comtag:blogger.com,1999:blog-1585105787473796476.post-35972345750928974602013-07-09T17:00:09.324+01:002013-07-09T17:00:09.324+01:00Andy,
(Comment: The program will not work with on...Andy, <br />(Comment: The program will not work with only one person in the prize list and I believe I trap for this error.)<br /><br />Help me understand your test. Are you suggesting one person bought one ticket and two others each bought 4000 tickets? If [x]Allow only one win is checked, the odds of the program finding the remaining person are slim - one out of 8001 tickets. <br /><br />The program is cognizant of this possiblity. It works like this: It draws a name and will likely find one-of-4000/8000. It then looks in the winner's list and says, "I already found him; Look again". It will look up to 100 more times, and then would give up, reporting "an entry was not found in a reasonable time, re-run the draw". (assuming [x] Allow only one win was selected). <br /><br />This keeps the program from getting in an infinite loop when there are hugely-unbalanced entries, as you are suggesting.<br /><br />If [ ]Allow one win is not selected, the two people with 4000 tickets each will likely win all prizes. Again, the odds of randomly arriving at the single-ticket-holder are slim to none.<br /><br />In a more normal draw, where entries are more balanced, I think you will find the program works perfectly. <br /> <br />Statisticians, if they look hard enough, will find a slight non-randomness for the immediate-past winner, especially in small pools. If [ ]Allow one win is unchecked, and the pool is small, say under 100 people, the immediate-past winner has a smaller-chance than normal of winning two prizes in a row. The program sees they won the last draw and it seriptiously discards the second win and draws again. That person, if miracously drawn a third-time in a row would win, but the odds are very slim.<br /><br />traywolfhttps://www.blogger.com/profile/06205565591880314520noreply@blogger.com