I have e-gold game scripts that I am trying to set up on my website. I got one to work for the most part but I can't get it to pay the players when they win or pay the referrer's their percentage. I have tested and tested it and it won't do it. Why is it not doing it? When I bought it I thought that it was supposed to automatically do this. I put in all the information in the settings as they told me to and of course you don't get any help from the sellers once you buy it.
How do I make it work properly. I want to set my site up to offer many online egold games, honest games. They have to pay the players as they say they do or it is not worth my even doing. Now I am paying for hosting and fees to test the sites and can't get them working. Please help. You can email me with additional help at jhavener1@twcny.rr.com or admin@ultimatemoneygames.com Thank you
Andrea
Scripts not working need help
You need to give more information about your paid for scripts, like did you properly set it up, does the script require PHP and MySQL and if it requires a database which it probably does is it set up and populated properly. Not knowing what you have or even an install guide for anone to look at it is difficult...no impossible to try and help you.
Please leave more information about this program and the requirements for the install, and if your server can provide them and what databases or tables you have set up to meet those requirements.
I have three games I am trying to set up. Lucky 7, Bird Hunter and Number Guess. Lucky 7 I have just about working. They originally did not send any information on set up till I asked for it. Then they said I had to set up an SQL database of which I did with my host. They had me fill in all the information in the settings which included.
$db_host = "I have my dbhost name here"; //database host, usually localhost - but it would not work without my host name mysql##.secureserver.net example
$db_name = "Lucky7"; //database name - I have my database name here
$db_user = "Lucky7"; //database username - I have my username here
$db_pass = "password"; //database password - My database password is here
$acct = "#######"; //egold account - I put in my egold account #
$acct_pass = "passphrase"; //egold passphrase - I put in my passphrase
$acct_alt_pass = "altpassphrase"; //egold alternate passphrase
$spendmemo = "Play Lucky7"; //default spend memo
$refmemo = "Lucky7 Referral Bonus"; //defaut referral memo
$paymemo = "Lucky7 Winning Payment"; //defaut payment memo
$email = "admin@ultimatemoneygames.com"; //admin email address
$siteurl = "http://ultimatemoneygames.com/lucky7/"; //site complete url, must end with '/'
$sitetitle = "Ultimate Money Games / Lucky7 Game"; //default site title
$id = "dice"; //game id - Not sure what this is left what was there
$ref_profit = 3; //ref profit (%)
$history = 15; //number of last game shown in history
$win1 = 125; //total seven winning rate
$win2 = 250; //Double dice winning rate
It has this information after this that says not to change???
$dbh = mysql_connect($db_host,$db_user,$db_pass) or die("Cannot connect database");
mysql_select_db($db_name) or die( "Unable to select database");
$_acct_alt_hash = md5($_acct_alt_pass);
function _MakeSpend($from, $frompass, $to, $amount, $memo) {
$memo = str_replace(" ","%20",$memo);
$addr = "https://www.e-gold.com/acct/confirm.asp?AccountID=" . $from . "&PassPhrase=" . $frompass . "&Payee_Account=" . $to . "&Amount=". $amount ."&PAY_IN=1&WORTH_OF=Gold&Memo=". $memo . "&IGNORE_RATE_CHANGE=y&PAYMENT_ID=1";
$ch = curl_init($addr);
curl_setopt($ch, CURLOPT_USERAGENT,"Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,0);
curl_setopt($ch, CURLOPT_HEADER, 0);
$fp = tmpfile();
curl_setopt ($ch, CURLOPT_FILE, $fp);
$result = curl_exec($ch);
curl_close($ch);
fseek($fp,0,SEEK_SET);
while(!feof($fp)) $result.=fread($fp,1024);
fclose($fp);
$result = strtolower($result);
$result = strstr($result,"your batch number for confirmation is ");
$result = substr($result,51,8);
return $result;
}
?>
I put all the information in correctly I am wondering if there isn't something in another part of the script that I need to be changing. The site works all the way through. It will log the wins but won't pay the referrer if there is one automatically from my e-gold account nor will it pay the winner automatically from my e-gold. I have tested it time and time again. Now I have the other two games I am going to try to set up. Number guess I tried once and it worked right up to after the payment it goes to an error page. But it takes the egold from the player??? I want to offer dozens of games like this but I will not put them out there if they are not paying like they are supposed to. That is unfair and I like to play fair.
Hope this helps you to help me.
Thank you
Andrea
Is there an Administration Control Panel where you set up your board, it is possible that you will have to log in as administrator and then go to your ACP and set the board up, since I don't know much else about yur sofware I am kind of guessing, but there would have to be a method of handling such matters and the ACP would be the first place to look, also if there is a manual for the sofware then download and read it, also if there is a forum on the site that you downloaded the sofware from go there and have a look around, also there might be a FAQ page at the site where you downloaded the software which will give you some clues.
Without seeing the code it is hard to tell you how to fix your problem.