Author Topic: Raffle starts over when DeepBot closes?  (Read 2320 times)

0 Members and 2 Guests are viewing this topic.

itsSarcaZ

  • Youngling
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
  • Twitch Name: itsSarcaZ
Raffle starts over when DeepBot closes?
« on: July 13, 2014, 11:17:17 AM »
Is there a way to stop the raffle from starting over when DeepBot closes?

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Raffle starts over when DeepBot closes?
« Reply #1 on: July 15, 2014, 12:19:16 AM »
Can you please describe the issue further?

itsSarcaZ

  • Youngling
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
  • Twitch Name: itsSarcaZ
Re: Raffle starts over when DeepBot closes?
« Reply #2 on: July 15, 2014, 07:53:06 AM »
If I start a raffle... whenever DeepBot gets closed out (computer restarts for example).. when I open DeepBot again the raffle has to be restarted. Everyone who previously entered is no longer entered after the restart.

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Raffle starts over when DeepBot closes?
« Reply #3 on: July 15, 2014, 05:43:18 PM »
I believe the raffle entrants are not saved to a text file or a database but instead in an internal variable. If Deepbot is restarted this variable gets restored to its initial state as if no one entered. This basically means entrants will not get carried over between Deepbot restarts.

Sorry,
Dante557
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

itsSarcaZ

  • Youngling
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
  • Twitch Name: itsSarcaZ
Re: Raffle starts over when DeepBot closes?
« Reply #4 on: July 16, 2014, 07:26:44 AM »
So theres no way around it? Could it be a possible fix in the future?

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Raffle starts over when DeepBot closes?
« Reply #5 on: July 16, 2014, 02:43:30 PM »
Currently, I'm afraid there's no way around it. If you do continue to use Deepbot for raffles I would recommend holding the raffle at the end of the week, say Friday. Have a timed command saying that "Running a raffle on this date. So many points to enter per ticket. Come back for a chance to win blah blah". Apart from that though, that's about all I can say.

As far as adding the ability to carry raffle entries between restarts why not make a request in the Feature Request forum? Experts tends to add features quicker based on community feedback I find.

Thanks,
Dante557
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556