Joomla Gaming

The Gaming extensions for Joomla!

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

Accept the challenge?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Accept the challenge?

Accept the challenge? 2 years ago #1504

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
Blackjack and RPS :


Use AUP


Do not have enough money but still be able to accept the challenge?


If there is not enough points will not be reduced after losing points.


Account is 0 lost without pay????
Last Edit: 2 years ago by barret.

Re: Accept the challenge? 2 years ago #1506

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
No, when You have'nt points or have lesser than bet, You can't accept challenge.
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: Accept the challenge? 2 years ago #1507

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
Vanama wrote:
No, when You have'nt points or have lesser than bet, You can't accept challenge.



Create challenges===>Have to judge sentences

Accept challenge====>NO


Account is 0 can still accept the challenge.

And lost no pay.


You can give it a try

I could not find whether it can accept the challenge code.
Last Edit: 2 years ago by barret.

Re: Accept the challenge? 2 years ago #1508

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
Ok, I was try it and really I can accept a challenge when I have'nt points.

I was look to code and found a bug.

Here is quick fix.

Find the following code in rps.html.php and blackjack.html.php

 
if (($mystats->points < $game->bet) && !$game->bet) {
echo "<span class='alert'>".RPS_NO_POINTS."</span></div>";
return;
}
 


and change it to

 
if (($mystats->points < $game->bet) && $game->bet) {
echo "<span class='alert'>".RPS_NO_POINTS."</span></div>";
return;
}
 


It will be fixed in new release.
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: Accept the challenge? 2 years ago #1510

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
Vanama wrote:
Ok, I was try it and really I can accept a challenge when I have'nt points.

I was look to code and found a bug.

Here is quick fix.

Find the following code in rps.html.php and blackjack.html.php

 
if (($mystats->points < $game->bet) && !$game->bet) {
echo "<span class='alert'>".RPS_NO_POINTS."</span></div>";
return;
}
 


and change it to

 
if (($mystats->points < $game->bet) && $game->bet) {
echo "<span class='alert'>".RPS_NO_POINTS."</span></div>";
return;
}
 


It will be fixed in new release.



It's OK!

No problem.


Language file is not defined:(RPS_NO_POINTS)or BANK_NO_POINTS

DEFINE("RPS_NO_POINTS", "XXXXXXXXXXXXXXX");


another :

DEFINE("RPS_NEED_LOGIN", "XXXXXXXXX!");


Thank you for your reply.
Last Edit: 2 years ago by barret.
  • Page:
  • 1
Moderators: Tinker
Time to create page: 0.72 seconds