Joomla Gaming

The Gaming extensions for Joomla!

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest
Username Password: Remember me

points bug
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: points bug

points bug 2 years ago #1396

  • TNQ
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Points: 10000
Hello

Im using JG casino pro.

One of my users recently discovered that the banker dosnt 'like' negative points.

as he discribes it, he simply put in -200000000 and withdrawed. Apperently he got 2000000000 in the wallet.
im going to speak more to him tonight, so i will give a more detailed/correct instruction.

Re: points bug 2 years ago #1397

  • Tinker
  • OFFLINE
  • Moderator
  • Posts: 404
  • Points: 36126
  • Casino Medal
I just tried this. Gained the points in my wallet but did lose them from my account and lost the amount from my total points.

J1.0x using Karama point system.

Re: points bug 2 years ago #1398

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
Yes, this is critical bug!

Thank You


Here is quick fix. At the beginning of function transfer in banker.php file (after '{' ) add the following code:

 
if ($value <= 0) {
echo "<span class='alert'>Value is not accepted!</span>";
return;
}
 
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: points bug 2 years ago #1399

  • Tinker
  • OFFLINE
  • Moderator
  • Posts: 404
  • Points: 36126
  • Casino Medal
Fix works! Thank you

Re: points bug 2 years ago #1400

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
I was updated JG Casino Pro installation file in download section with this fix now.
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!
  • Page:
  • 1
Moderators: Tinker
Time to create page: 0.60 seconds