Jarrrk / HighLife

Open source feature configuration and issue tracker for the FiveM server HighLife Roleplay
https://highliferoleplay.net
70 stars 46 forks source link

Lottery Winnings from only 2 Tickets #6347

Closed SoapySensei closed 5 months ago

SoapySensei commented 8 months ago

Describe the bug When playing the lottery winnings are only pulled from 2 tickets total. If the lotto is only paying out 2 tickets of the 15, which 2 tickets are they and why are not all 15 being paid out?

To Reproduce Steps to reproduce the behavior:

  1. Purchase 15 tickets
  2. When you win you will receive only 2 emails saying you won
  3. Payout will only be for 2 tickets instead of based on 15

Screenshot/Video Every week the notification comes thru that only 2 tickets MAX were winners.

https://cdn.discordapp.com/attachments/960658362066927676/1203367171007316008/image.png?ex=65d0d603&is=65be6103&hm=c321e56d1988b4bf804dcd352142b1769e8a1d61b1a64149f841b8fadffc8dfe&

https://cdn.discordapp.com/attachments/960658362066927676/1203367247985516544/image.png?ex=65d0d615&is=65be6115&hm=8478fd801d5086578cc467d725c10814c71c9f8a2fcd5c65d439718b23b74690&

https://cdn.discordapp.com/attachments/960658362066927676/1203367327589076992/image.png?ex=65d0d628&is=65be6128&hm=771f5412f9624cac6a73bb42cf866f89fcfdc7f5190ca5d052b5adfbbefd6499&

SoapySensei commented 6 months ago

Is this still being investigated because lotto still continues to payout only 2 winning tickets only no matter how many winners you actually have.

Jarrrk commented 5 months ago

I have made some adjustments on the payout handling logic that should resolve the issue you're facing.