Jump to content

PHP/Json project Dicing


DignityOnline

Recommended Posts

My friend has been helping me to develop a script for automatic dicing. We have been using json and PHP.

We just finally finished it and this is the end result.

The script is 61X2 dicing.

 

3d82f0c8e9add2dceca862bb82b95f85.png3c03f39fd262b8a2c780a3e630775a44.gif7a5a28f61026457915cb539cf63cb45c.gif

 

 

Error testing

3d0da7cb05de0d8999f0251728f66c3d.png

 

 

Rand strings

    	if(empty($m)){
    		$r=rand(1,100);
	    	if($r <= 60){
	    		$params = array("Command" => "AccountsDecBalance", "Player" => $player, "Amount" => $bet);
	    		$m = 3;
	    	} else if ($r > 60){
	    		$params = array("Command" => "AccountsIncBalance", "Player" => $player, "Amount" => $bet);
	    		$m = 4;
	    	}
Edited by DignityOnline
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...