FreeReddCoin
Newbie
Offline
Activity: 22
Merit: 0
|
|
March 15, 2014, 08:34:50 AM |
|
Im curious how would you set up the wallet for something like this? any step by step guides around?
|
|
|
|
Dogemogul
Newbie
Offline
Activity: 32
Merit: 0
|
|
March 16, 2014, 03:18:02 AM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
|
|
|
|
johny1976 (OP)
Legendary
Offline
Activity: 1135
Merit: 1002
Developer
|
|
March 16, 2014, 03:22:57 PM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
3.0 fixes the issue only if you have better performanced server.
|
|
|
|
CrashX
|
|
March 16, 2014, 11:55:19 PM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
3.0 fixes the issue only if you have better performanced server. How hard is to change the design? template? Also you said it needs a wallet? Which one do you recommend and why? Also notice that demo runs a bit slow, will this be a problem?
|
|
|
|
johny1976 (OP)
Legendary
Offline
Activity: 1135
Merit: 1002
Developer
|
|
March 17, 2014, 12:28:03 AM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
3.0 fixes the issue only if you have better performanced server. How hard is to change the design? template? Also you said it needs a wallet? Which one do you recommend and why? Also notice that demo runs a bit slow, will this be a problem? 1) It's clean css work, so you'll need just some basic coding. 2) it must be original wallet of the coin you're going to implement (daemon) 3) That's due to our server, we feels that it's not necessary to run the demos on better performanced server as far as it's enough for the demo purposes.
|
|
|
|
zephyrphyre
Newbie
Offline
Activity: 1
Merit: 0
|
|
March 17, 2014, 03:04:12 AM |
|
Hello, I'm interested in your script. Can you pm me or email me at zephyrphyre@gmail.com. Thanks
|
|
|
|
CrashX
|
|
March 17, 2014, 03:09:06 AM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
3.0 fixes the issue only if you have better performanced server. How hard is to change the design? template? Also you said it needs a wallet? Which one do you recommend and why? Also notice that demo runs a bit slow, will this be a problem? 1) It's clean css work, so you'll need just some basic coding. 2) it must be original wallet of the coin you're going to implement (daemon) 3) That's due to our server, we feels that it's not necessary to run the demos on better performanced server as far as it's enough for the demo purposes. Will any server do? or Do I required a dedicated server to run a daemon?
|
|
|
|
johny1976 (OP)
Legendary
Offline
Activity: 1135
Merit: 1002
Developer
|
|
March 17, 2014, 08:31:02 AM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
3.0 fixes the issue only if you have better performanced server. How hard is to change the design? template? Also you said it needs a wallet? Which one do you recommend and why? Also notice that demo runs a bit slow, will this be a problem? 1) It's clean css work, so you'll need just some basic coding. 2) it must be original wallet of the coin you're going to implement (daemon) 3) That's due to our server, we feels that it's not necessary to run the demos on better performanced server as far as it's enough for the demo purposes. Will any server do? or Do I required a dedicated server to run a daemon? You can use any server (even VPS).
|
|
|
|
CrashX
|
|
March 17, 2014, 11:36:39 PM |
|
Also, in 2.0 your check_deposits script run in corn every minute and takes way longer than 1 minute to run completely through with anyone with a semi-decent player list. Does 3.0 fix this issue?
3.0 fixes the issue only if you have better performanced server. How hard is to change the design? template? Also you said it needs a wallet? Which one do you recommend and why? Also notice that demo runs a bit slow, will this be a problem? 1) It's clean css work, so you'll need just some basic coding. 2) it must be original wallet of the coin you're going to implement (daemon) 3) That's due to our server, we feels that it's not necessary to run the demos on better performanced server as far as it's enough for the demo purposes. Will any server do? or Do I required a dedicated server to run a daemon? You can use any server (even VPS). Im using a shared server, I asked them about it, they told me they might be able to install it, but they'll need to review it or something. Do you have the url for the daemon?
|
|
|
|
wpstudio
|
|
March 18, 2014, 01:39:00 AM |
|
You have to compile your own daemon from the source code of the coin.
|
|
|
|
btc-mike
|
|
March 18, 2014, 01:39:59 AM |
|
Im using a shared server, I asked them about it, they told me they might be able to install it, but they'll need to review it or something.
Do you have the url for the daemon?
I would agree with that. Shared server may work - depends on host. What coin? Every coin has its own daemon.
|
|
|
|
BenAnh
|
|
March 18, 2014, 02:55:54 AM |
|
What's the diff with PD? Any other outstanding features plus pros and cons?
|
|
|
|
johny1976 (OP)
Legendary
Offline
Activity: 1135
Merit: 1002
Developer
|
|
March 18, 2014, 07:17:33 AM |
|
What's the diff with PD? Any other outstanding features plus pros and cons?
All changes are described here: https://bitcointalk.org/index.php?topic=507515.0Nothing else changed. Thanks for question.
|
|
|
|
CrashX
|
|
March 18, 2014, 07:49:57 AM |
|
Im using a shared server, I asked them about it, they told me they might be able to install it, but they'll need to review it or something.
Do you have the url for the daemon?
I would agree with that. Shared server may work - depends on host. What coin? Every coin has its own daemon. BTC Is their a compile daemon for Linux servers?
|
|
|
|
johny1976 (OP)
Legendary
Offline
Activity: 1135
Merit: 1002
Developer
|
|
March 18, 2014, 08:38:01 AM |
|
Im using a shared server, I asked them about it, they told me they might be able to install it, but they'll need to review it or something.
Do you have the url for the daemon?
I would agree with that. Shared server may work - depends on host. What coin? Every coin has its own daemon. BTC Is their a compile daemon for Linux servers? Yes. And if you'll have trouble with it, our support helps you.
|
|
|
|
CrashX
|
|
March 18, 2014, 08:40:11 AM |
|
Im using a shared server, I asked them about it, they told me they might be able to install it, but they'll need to review it or something.
Do you have the url for the daemon?
I would agree with that. Shared server may work - depends on host. What coin? Every coin has its own daemon. BTC Is their a compile daemon for Linux servers? Yes. And if you'll have trouble with it, our support helps you. So a shared server will work? please verified. But thinking on purchasing this a script for a while now
|
|
|
|
johny1976 (OP)
Legendary
Offline
Activity: 1135
Merit: 1002
Developer
|
|
March 18, 2014, 09:48:45 AM |
|
Im using a shared server, I asked them about it, they told me they might be able to install it, but they'll need to review it or something.
Do you have the url for the daemon?
I would agree with that. Shared server may work - depends on host. What coin? Every coin has its own daemon. BTC Is their a compile daemon for Linux servers? Yes. And if you'll have trouble with it, our support helps you. So a shared server will work? please verified. But thinking on purchasing this a script for a while now It depends. It will work 100% on VPS, but on some shared servers it works and on other it does not so it depends on what your provider permit you to do. Do you have any other questions?
|
|
|
|
Dogemogul
Newbie
Offline
Activity: 32
Merit: 0
|
|
March 18, 2014, 10:32:00 PM |
|
I don't understand.. You told that guy his code he submitted was a way to fix the double deposit error, but you guys corrected it a different way.... But in fact the coindice 3.0 check_deposit script clearly has his way implemented in it. <?php /* * © CoinDice * Demo: http://www.btcircle.com/dice * Please do not copy or redistribute. * More licences we sell, more products we develop in the future. */
// CRON must be running every minute! $included=true; include '../../inc/db-conf.php'; include '../../inc/wallet_driver.php'; $wallet=new jsonRPCClient($driver_login); include '../../inc/functions.php';
$deposits=mysql_query("SELECT * FROM `deposits`"); while ($dp=mysql_fetch_array($deposits)) { $received=0; $txid=''; $txs=$wallet->listtransactions('',2000); $txs=array_reverse($txs); foreach ($txs as $tx) { if ($tx['category']!='receive') continue; if ($tx['confirmations']<1) continue; if ($tx['address']!=$dp['address']) continue; $received=$tx['amount']; $txid=$tx['txid']; break; } if ($received<0.00000001) continue; $txid=($txid=='')?'[unknown]':$txid; if ($dp['received']==1) { mysql_query("UPDATE `deposits` SET `confirmations`=`confirmations`+1 WHERE `id`=$dp[id] LIMIT 1"); if (++$dp['confirmations']>=6) { $delExed=false; do { $delExed=mysql_query("DELETE FROM `deposits` WHERE `id`=$dp[id] LIMIT 1"); } while ($delExed==false); if ($delExed==true) { mysql_query("UPDATE `players` SET `balance`=TRUNCATE(ROUND((`balance`+$received),9),8) WHERE `id`=$dp[player_id] LIMIT 1"); mysql_query("INSERT INTO `transactions` (`player_id`,`amount`,`txid`) VALUES ($dp[player_id],$dp[amount],'$dp[txid]')"); } } continue; } mysql_query("UPDATE `deposits` SET `received`=1,`amount`=$received,`txid`='$txid' WHERE `id`=$dp[id] LIMIT 1"); } mysql_query("DELETE FROM `deposits` WHERE `time_generated`<NOW()-INTERVAL 7 DAY");
?> Your 3.0 check deposit's is exactly the same plus his modifications.. I think you owe him some credit. Quote from: johny1976 on March 11, 2014, 03:35:50 PM Quote from: hasan666 on March 11, 2014, 02:08:56 PM This is a patch for double deposit bug. Johny said his script is bugs free. No it is not.
/var/www/content/cron/check_deposits.php
Code: if ($delExed==true) { + if (mysql_query("SELECT COUNT(*) FROM transactions WHERE txid = '$dp[txid]'") >= 1) { + echo "TXID already exists!"; + } + else { mysql_query("UPDATE `players` SET `balance`=TRUNCATE(ROUND((`balance`+$received),9),8) WHERE `id`=$dp[player_id] LIMIT 1"); mysql_query("INSERT INTO `transactions` (`player_id`,`amount`,`txid`) VALUES ($dp[player_id],$dp[amount],'$dp[txid]')"); + }
The fact that we have not used your fix does not mean that we haven't solved it other way.
The script is secure even without this edit. Smiley
This thread is unactualized, please use thread for version 3.
|
|
|
|
Groc
Sr. Member
Offline
Activity: 560
Merit: 250
Bounty manager (https://t.me/Gudwinn)
|
|
March 19, 2014, 01:12:02 AM |
|
I can't try these in free mode since they both say "Invalid captcha!" when claiming btc. Are they working for you guys? And obviously you cant bet zero, but betting nothing would be a nice feature.
|
|
|
|
btc-mike
|
|
March 19, 2014, 03:03:59 AM |
|
I can't try these in free mode since they both say "Invalid captcha!" when claiming btc. Are they working for you guys? And obviously you cant bet zero, but betting nothing would be a nice feature. You can bet zero. His daemon died. The site is dead until he restarts it. Maybe that should be an update. Watchdog for the daemon.
|
|
|
|
|