PHP File for Displaying Bad Beat Jackpot

For discussion of the Poker Mavens server module and other administration topics

PHP File for Displaying Bad Beat Jackpot

Postby CanadaWest » Sun Sep 13, 2009 2:49 pm

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 246 times
Last edited by CanadaWest on Tue Sep 15, 2009 6:33 pm, edited 1 time in total.
George
(CanadaWest)
www.playersclub.ca
CanadaWest
 
Posts: 107
Joined: Wed May 06, 2009 12:59 pm

Re: PHP File for Displaying Bad Beat Jackpot

Postby AliuM » Tue Sep 15, 2009 6:09 am

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...
AliuM
 
Posts: 10
Joined: Sat Sep 12, 2009 9:42 pm

Re: PHP File for Displaying Bad Beat Jackpot

Postby CanadaWest » Tue Sep 15, 2009 6:05 pm

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
CanadaWest
 
Posts: 107
Joined: Wed May 06, 2009 12:59 pm

Re: PHP File for Displaying Bad Beat Jackpot

Postby pzero » Sun Nov 29, 2009 11:24 pm

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

Re: PHP File for Displaying Bad Beat Jackpot

Postby pzero » Fri Dec 04, 2009 7:00 pm

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;

?>
pzero
 
Posts: 20
Joined: Thu Nov 26, 2009 3:59 am
Location: Australia


Return to Site Administration

Who is online

Users browsing this forum: No registered users and 8 guests

cron