PHP File for Displaying Bad Beat Jackpot

For discussion of the Poker Mavens server module and other administration topics
Post Reply
CanadaWest
Posts: 107
Joined: Wed May 06, 2009 12:59 pm
Contact:

PHP File for Displaying Bad Beat Jackpot

Post by CanadaWest »

Here is another PHP file.

The attached zip has a file I use to display 1/2 of the value of our Ring Game rake account and update it every 5 minutes. Haven't built a script to identify and pay a Bad Beat, but they should be validated by live support anyway.

ReadMe.txt file included.

Hope sombody finds it useful

Don't bug Kent with any questions. PM me and I will help if I can.
Attachments
BadBeatPot.zip
(958 Bytes) Downloaded 563 times
Last edited by CanadaWest on Tue Sep 15, 2009 6:33 pm, edited 1 time in total.
George
(CanadaWest)
www.playersclub.ca
AliuM
Posts: 10
Joined: Sat Sep 12, 2009 9:42 pm

Re: PHP File for Displaying Bad Beat Jackpot

Post by AliuM »

it looks great,
but it will be better, if a integrated checking system,
fires up the message of winning the jackpot.

because, if live support checks the jackpot, they
should go through each hand played...

just an idea...
CanadaWest
Posts: 107
Joined: Wed May 06, 2009 12:59 pm
Contact:

Re: PHP File for Displaying Bad Beat Jackpot

Post by CanadaWest »

AliuM wrote: it will be better, if a integrated checking system,
fires up the message of winning the jackpot.

because, if live support checks the jackpot, they
should go through each hand played...
I thought about that, but there is no way to automate checking the chat for collusion. Besides, support only has to check one hand. The one that a player reports as a bad beat. Bad beats are rare so its not a huge burden.

See how we set up the rules at http://playersclub.ca/BadBeatRules.php? ... nKey=guest

Cheers!
George
(CanadaWest)
www.playersclub.ca
pzero
Posts: 20
Joined: Thu Nov 26, 2009 3:59 am
Location: Australia
Contact:

Re: PHP File for Displaying Bad Beat Jackpot

Post by pzero »

Love the concept George. Can you repost the code as the file attachment is broken on the forum
pzero
Posts: 20
Joined: Thu Nov 26, 2009 3:59 am
Location: Australia
Contact:

Re: PHP File for Displaying Bad Beat Jackpot

Post by pzero »

Im using the rake as a jackpot if you hit a straight flush on my site. This is the code that I used.

<?php
include "api.php"; // API $url and $pw values set here
$params = "Password=" . $pw . "&Command=systemrakeget";
$api = Poker_API($url,$params,true);
$result = $api["Result"];
if ($result == "Error") die("Error: " . $api["Error"]);
$balance = $api["Balance"];


echo $balance;

?>
Post Reply