Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
March 15, 2016, 04:20:16 PM |
|
It's not only whether the connection is reliable and fast or not. reCaptcha actually tries to guess the "riskiness" of handling current user. If for example (totally made up values, just to show the point) you solved one reCaptcha yesterday and haven't failed any in 3 days, then reCatpcha assumes you're good to go and won't show you images. However if in the past hour you've solved 10 captchas, then that's something unusual, so it'll show you these images with checkboxes to solve.
So it's more about what reCaptcha currently thinks about you.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Racey
Legendary
Offline
Activity: 1134
Merit: 1000
Soon, I have to go away.
|
|
March 15, 2016, 04:59:58 PM |
|
It's not only whether the connection is reliable and fast or not. reCaptcha actually tries to guess the "riskiness" of handling current user. If for example (totally made up values, just to show the point) you solved one reCaptcha yesterday and haven't failed any in 3 days, then reCatpcha assumes you're good to go and won't show you images. However if in the past hour you've solved 10 captchas, then that's something unusual, so it'll show you these images with checkboxes to solve.
So it's more about what reCaptcha currently thinks about you.
Well that is hilarious, thanks for that. So they try things to make it a little tougher, like those impossible to read captchas. I got the hang of those types now, as my eyesight has worsened I can see them better.
|
And its gone.
|
|
|
Holdaaja
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
March 15, 2016, 06:25:07 PM |
|
It's not only whether the connection is reliable and fast or not. reCaptcha actually tries to guess the "riskiness" of handling current user. If for example (totally made up values, just to show the point) you solved one reCaptcha yesterday and haven't failed any in 3 days, then reCatpcha assumes you're good to go and won't show you images. However if in the past hour you've solved 10 captchas, then that's something unusual, so it'll show you these images with checkboxes to solve.
So it's more about what reCaptcha currently thinks about you.
I have sometimes solved over hundred reCaptchas in day without getting any of the slow connection/no js captchas. Only thing I have noticed when they think I am suspicious (doing many captcahs) is that I need to solve the (normal) captcha 2-4 times correctly before they trust me. But I have never got no js captcha for that. Also google says that it should only show when "your browser environment doesn't support the reCAPTCHA checkbox widget."
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
March 15, 2016, 07:52:41 PM |
|
It's not only whether the connection is reliable and fast or not. reCaptcha actually tries to guess the "riskiness" of handling current user. If for example (totally made up values, just to show the point) you solved one reCaptcha yesterday and haven't failed any in 3 days, then reCatpcha assumes you're good to go and won't show you images. However if in the past hour you've solved 10 captchas, then that's something unusual, so it'll show you these images with checkboxes to solve.
So it's more about what reCaptcha currently thinks about you.
I have sometimes solved over hundred reCaptchas in day without getting any of the slow connection/no js captchas. Only thing I have noticed when they think I am suspicious (doing many captcahs) is that I need to solve the (normal) captcha 2-4 times correctly before they trust me. But I have never got no js captcha for that. Also google says that it should only show when "your browser environment doesn't support the reCAPTCHA checkbox widget." But they still require you to select images. The "standard" mode of reCaptcha is that you just click "I'm a human" checkbox and that's all.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Holdaaja
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
March 15, 2016, 08:23:02 PM |
|
But they still require you to select images. The "standard" mode of reCaptcha is that you just click "I'm a human" checkbox and that's all.
But we were talking about the captcha where "You have to put a tick/ checkmark in a little box then copy some code to make a claim." And it should only show when browser environment doesn't support the reCAPTCHA checkbox widget.
|
|
|
|
hoop
Legendary
Offline
Activity: 1524
Merit: 1001
NOBT - WNOBT your saving bank◕◡◕
|
|
March 15, 2016, 09:37:44 PM |
|
I though that happen due slow internet connections.
|
|
|
|
Holdaaja
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
March 15, 2016, 09:41:43 PM |
|
I though that happen due slow internet connections.
Btw I just tried it with dev tools using 50kbs speed. Took 1 minutes 20 seconds to load the page but captcha worked normally.
|
|
|
|
alfaboy23
|
|
March 16, 2016, 01:47:03 AM |
|
I though that happen due slow internet connections.
Btw I just tried it with dev tools using 50kbs speed. Took 1 minutes 20 seconds to load the page but captcha worked normally. It doesn't frequently appear even if I have unstable connection. Sometimes it appears when I open the site for the first time in a day. But when it appears, I just refresh the browser and then the recpatcha is normal again.
|
|
|
|
CrimBit
|
|
March 16, 2016, 02:15:23 AM |
|
It's not only whether the connection is reliable and fast or not. reCaptcha actually tries to guess the "riskiness" of handling current user. If for example (totally made up values, just to show the point) you solved one reCaptcha yesterday and haven't failed any in 3 days, then reCatpcha assumes you're good to go and won't show you images. However if in the past hour you've solved 10 captchas, then that's something unusual, so it'll show you these images with checkboxes to solve.
So it's more about what reCaptcha currently thinks about you.
I have sometimes solved over hundred reCaptchas in day without getting any of the slow connection/no js captchas. Only thing I have noticed when they think I am suspicious (doing many captcahs) is that I need to solve the (normal) captcha 2-4 times correctly before they trust me. But I have never got no js captcha for that. Also google says that it should only show when "your browser environment doesn't support the reCAPTCHA checkbox widget." recapta is the bad captcha for me, i get some issue like you get. i think better to use fun captcha service than use recaptcha.
|
|
|
|
Superhitech
Legendary
Offline
Activity: 1064
Merit: 1000
|
|
March 17, 2016, 05:32:08 AM |
|
Google has updated their captcha system, do we continue to use the old keys, or do we have to integrate anything new in the faucetbox script?
I am sure google will notify you if you must change your keys. But what is the update about? I haven't heard about it yet. I actually haven't read what the update does yet, but today I logged into my recaptcha account and instead of giving me a public key, it gave me some code. The old keys still work for now, but I'm wondering if faucetbox will update to accommodate this. I just checked my recaptcha admin page and I didn't see anything new. Did the code look like this? <script src=' https://www.google.com/recaptcha/api.js'></script> <div class="g-recaptcha" data-sitekey="6LcP2hGFSKGGGGMjzciDw0rFuFGH679fjajRJ_dduX"></div> I'm not sure if I missed something, but I checked and recaptcha only displayed a private key, not a public one. (I'm still using my old public key though) It's possible that I missed something, I'll go over it again.
|
|
|
|
Holdaaja
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
March 17, 2016, 11:45:52 AM |
|
I just checked my recaptcha admin page and I didn't see anything new. Did the code look like this? <script src=' https://www.google.com/recaptcha/api.js'></script> <div class="g-recaptcha" data-sitekey="6LcP2hGFSKGGGGMjzciDw0rFuFGH679fjajRJ_dduX"></div> I'm not sure if I missed something, but I checked and recaptcha only displayed a private key, not a public one. (I'm still using my old public key though) It's possible that I missed something, I'll go over it again. Seems like you just had "Step 2: Server side integration" tab open instead of "Keys" So you just need to click "Keys" under "Adding reCAPTCHA to your site" and you will see both keys.
|
|
|
|
LyQaN
|
|
March 24, 2016, 07:33:28 PM |
|
Thank you very much, and for example for that reward is see on the web? I mean that if someone comes from a country you see the reward that will win
Oops, I forgot about that. In order to have it display them properly you would need to move some things around, but it still isn't that difficult. So, at line 2218 on your index.php we're going to get the user's country and such. Put this code there: //This code determines the reward $countryCode = json_decode(file_get_contents('http://freegeoip.net/json/' . getIP()))->country_code;
$rewardMultiplier = 1;
if($countryCode == 'GB'){ $rewardMultiplier = 1.1; }
Rather than times everything individually, we're going to create a multiplier variable to times everything by. Also, I noticed that I used 0.1 rather than 1.1 in my previous example. This would give 10% of the expected reward rather than 110%, so unless you want to decrease the reward the multiplier should always be greater than 1. After this, at line 2232 (before if(count($rewards) > 1) {) add this code: foreach($rewards as $rW){ $rW *= $rewardMultiplier; $newRewards[] = $rW; } $rewards = $newRewards;
If I am right this will get every reward from the array and times it by the multiplier (therefore 1.1 (110%) if the user is in GB). I would appreciate if someone else could check this first before anyone puts it into any live code though, since I am prone to making mistakes when coding directly into BitcoinTalk. After this, be sure to revert the changes at line 2310 to this:} else { $ret = $fb->send($address, $reward); }
Else the user will get the amount multiplied by more than you want, costing you money. My apologies for not getting the code right the first time, I hope it didn't cause you any issues. Hi Sir i tried this code & get following errors if you please take a look at them and modify the code. Notice: Trying to get property of non-object in /home/lyqan/public_html/index.php on line 2219
Fatal error: Unsupported operand types in /home/lyqan/public_html/index.php on line 2240 In my index.php code at line 2219 $countryCode = json_decode(file_get_contents('http://freegeoip.net/json/' . getIP()))->country_code; & at line 2240 $rW *= $rewardMultiplier; Thanks.
|
. ▄▄▄▓▓▓▓▓▓▓▓▓▓▄▄ ▄▄▓▓▀░░░░░░░░░░░░░░▓▓▓▓ ▄▓▓░░░░░▄▄████████▄▄░░░░░░▓▓ ▄▓▀░░░░██████████████████▄░░░▓▓▌ ▓▓░░░▄██████████████████████▄░░░▓▓▄ ▓░░░░███████████▓██████████████░░░░▓▄ ▓▓░░░████████████████████████████▌░░░▓ ▐▓░░░▓████████████░░░░░████████████░░░▓▓ ▓▓░░░█████████████▓████▓███████████▌░░▐▓ ▓▓░░░█████████████▓████████████████▌░░▐▓ ▐▓░░░▓████████████▓░██░████████████░░░▓█ ▓▓░░░████████████▓░██████████████▌░░░▓▌ ▓▓░░░███████████▓██████████████▀░░░█▌ ▓▓░░░░█████████▓░▄███████████░░░░█▀ ▓▓░░░░░██████████████████▀░░░░▓█ ▓▓░░░░░░▀██████████▀▀░░░░░▓█▀ ▀▓▓░░░░░░░░░░░░░░░░░░▓█▀ ▀▓▓▓▓▓▓▓▓▓▓▓██▀▀▀ | | ██ ██ ██ ██ ██ ██ ██ | | ██ ██ ██ ██ ██ ██ ██ | |
|
|
|
mavenraven
|
|
March 24, 2016, 07:55:43 PM |
|
Notice: Trying to get property of non-object in /home/lyqan/public_html/index.php on line 2219
Fatal error: Unsupported operand types in /home/lyqan/public_html/index.php on line 2240 In my index.php code at line 2219 $countryCode = json_decode(file_get_contents('http://freegeoip.net/json/' . getIP()))->country_code; & at line 2240 $rW *= $rewardMultiplier; Thanks. not that guy, but I would assume a) freegeoip.net is not returning expected json b) no idea, looks like $rW or $rewardMultiplier is of wrong type (NULL? array?) for first problem you can debug like this: echo "User's ip: ". getIP() . "\n"; echo "Raw JSON: ". file_get_contents('http://freegeoip.net/json/' . getIP()) . "\n"; echo "decoded JSON: ". var_dump( json_decode(file_get_contents('http://freegeoip.net/json/' . getIP())). "\n";
first line should show user's ip, second should show json (something like "{ ... country_code: "GB" ... }"), third line should show object.
|
|
|
|
minifrij
Legendary
Offline
Activity: 2352
Merit: 1268
In Memory of Zepher
|
|
March 24, 2016, 08:32:22 PM |
|
Hi Sir i tried this code & get following errors if you please take a look at them and modify the code. Notice: Trying to get property of non-object in /home/lyqan/public_html/index.php on line 2219 ... In my index.php code at line 2219 $countryCode = json_decode(file_get_contents('http://freegeoip.net/json/' . getIP()))->country_code; This is due to Freegeoip being slow today. It does load, but your code probably times out the connection before the webpage returns something causing the error. You can do a check for it with this: $countryCodeJson = file_get_contents('http://freegeoip.net/json/' . getIP());
if(!$countryCodeJson){ $rewardsMultiplier = 1; }else{ $countryCode = $countryCodeJson->country_code; }
It will set the rewards to the default if the Freegeoip fails. Fatal error: Unsupported operand types in /home/lyqan/public_html/index.php on line 2240 ... & at line 2240 $rW *= $rewardMultiplier; This one no one is really too sure about. Kazuldur tried to solve it here but didn't have much of an idea. Try this instead, just to make sure we're multiplying numbers: if(ctype_digit($rw)){ $rW *= $rewardMultiplier; }
Otherwise I don't have much of an idea.
|
|
|
|
YoonYeonghwa
|
|
March 24, 2016, 08:40:24 PM |
|
I like faucetbox, it's very good for creating new faucets and managing them, and because it's so widely used it is good to have 1 stable base for all the faucets.
|
|
|
|
ShowOff
Legendary
Offline
Activity: 2786
Merit: 1197
|
|
March 25, 2016, 04:47:23 AM |
|
I like faucetbox, it's very good for creating new faucets and managing them, and because it's so widely used it is good to have 1 stable base for all the faucets.
for now, faucetbox still be favorite for faucet owner, i still choose faucetbox Because it is simple, easy to use and always updates. but see the problems mentioned above, since first I never like to use recaptcha
|
|
|
|
Freddynic159
|
|
March 26, 2016, 04:32:49 PM |
|
faucetbox is very good but I don't like to not have an option to remove the faucets that you create.
|
|
|
|
Salmen
Legendary
Offline
Activity: 1059
Merit: 1020
|
|
March 26, 2016, 06:26:22 PM |
|
faucetbox is very good but I don't like to not have an option to remove the faucets that you create.
Yep. Adding faucet is possible but not removing faucet. I added faucet that doesn't exist longer and this is a good idea. Cheers Salmen
|
Young Developer amidst Europe. Specialized in Web Programming and Creating Telegram Bots. Looking for a developer? Feel free to drop a mail to me. Running JaguarBitcoin - Your Place For Scripts
|
|
|
|
minifrij
Legendary
Offline
Activity: 2352
Merit: 1268
In Memory of Zepher
|
|
March 26, 2016, 08:53:54 PM |
|
It doesn't seem like there has been any update on the dev's twitter about it. For now, you can use this instead (I should think): $countryCode = json_decode(file_get_contents('http://geoip.nekudo.com/api/' . getIP()))->country->code;
|
|
|
|
|