Bitcoin Forum
September 19, 2021, 12:05:46 AM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 [194] 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 ... 273 »
  Print  
Author Topic: SatoshiDICE.com - The World's Most Popular Bitcoin Game  (Read 494622 times)
rmalvarez
Newbie
*
Offline Offline

Activity: 55
Merit: 0



View Profile WWW
May 05, 2016, 08:55:30 PM
 #3861


I use this code run 5 minutes and then blocked again

Code:

  $url = "https://session.satoshidice.com/userapi/login.php";
 
  $postdata = NULL;
  $postdata = array();
  $postdata['email'] = $config['satoshi_email'];
  $postdata['password'] = $config['satoshi_pass'];
 
  $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];

  $curl_header = NULL;
  $curl_header = array();
  $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version;
  $curl_header[] = "Referer: https://www.satoshidice.com";

  $curl = curl_init();
  curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  curl_setopt($curl,CURLOPT_HEADER,1);
  curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header);
  curl_setopt($curl,CURLOPT_URL,$url);
  curl_setopt($curl,CURLOPT_BINARYTRANSFER,true);
  curl_setopt($curl,CURLOPT_POST,true);
  curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata);
  curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
  curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
  curl_setopt($curl,CURLOPT_TIMEOUT,122);
  if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']);
  $response = curl_exec($curl);
 
  $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE);
  $header = substr($response,0,$response_header_size);
  $body = substr($response,$response_header_size);
  curl_close($curl);


Thank You.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1632009946
Hero Member
*
Offline Offline

Posts: 1632009946

View Profile Personal Message (Offline)

Ignore
1632009946
Reply with quote  #2

1632009946
Report to moderator
rmalvarez
Newbie
*
Offline Offline

Activity: 55
Merit: 0



View Profile WWW
May 05, 2016, 09:13:42 PM
 #3862


Apparently this working again.
We'll see how long.

Thank You.
fortuity
Member
**
Offline Offline

Activity: 89
Merit: 10


View Profile
May 06, 2016, 09:10:21 AM
 #3863

Hope they sorted out now, and that page remains for several more years.
coinspiracy
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
May 06, 2016, 11:52:26 AM
 #3864


The API work?
...



Yes and we have made updates to the API documentation. Please let us know if you have any problems using it.

Yes and the documentation is online
Randian Hero
Sr. Member
****
Offline Offline

Activity: 439
Merit: 250



View Profile
May 06, 2016, 01:40:31 PM
 #3865

is there a guide in detail on how the other game works

I just put up the how to play page.
Randian Hero
Sr. Member
****
Offline Offline

Activity: 439
Merit: 250



View Profile
May 06, 2016, 02:04:34 PM
 #3866


I use this code run 5 minutes and then blocked again

Code:

  $url = "https://session.satoshidice.com/userapi/login.php";
  
  $postdata = NULL;
  $postdata = array();
  $postdata['email'] = $config['satoshi_email'];
  $postdata['password'] = $config['satoshi_pass'];
  
  $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];

  $curl_header = NULL;
  $curl_header = array();
  $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version;
  $curl_header[] = "Referer: https://www.satoshidice.com";

  $curl = curl_init();
  curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  curl_setopt($curl,CURLOPT_HEADER,1);
  curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header);
  curl_setopt($curl,CURLOPT_URL,$url);
  curl_setopt($curl,CURLOPT_BINARYTRANSFER,true);
  curl_setopt($curl,CURLOPT_POST,true);
  curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata);
  curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
  curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
  curl_setopt($curl,CURLOPT_TIMEOUT,122);
  if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']);
  $response = curl_exec($curl);
  
  $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE);
  $header = substr($response,0,$response_header_size);
  $body = substr($response,$response_header_size);
  curl_close($curl);


Thank You.



Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response?
Randian Hero
Sr. Member
****
Offline Offline

Activity: 439
Merit: 250



View Profile
May 06, 2016, 03:30:20 PM
 #3867

I just corrected a glitch that made the API respond with invalid email on signups with email addresses using subdomains or TLD's with a dot in them (like .co.uk). Anyone that had this problem might need to sign up again.

Note: there is no longer any need for email confirmation. Once you sign up, you can just enter your email and password and login!
rmalvarez
Newbie
*
Offline Offline

Activity: 55
Merit: 0



View Profile WWW
May 06, 2016, 04:22:31 PM
 #3868


I use this code run 5 minutes and then blocked again

Code:

  $url = "https://session.satoshidice.com/userapi/login.php";
 
  $postdata = NULL;
  $postdata = array();
  $postdata['email'] = $config['satoshi_email'];
  $postdata['password'] = $config['satoshi_pass'];
 
  $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];

  $curl_header = NULL;
  $curl_header = array();
  $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version;
  $curl_header[] = "Referer: https://www.satoshidice.com";

  $curl = curl_init();
  curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  curl_setopt($curl,CURLOPT_HEADER,1);
  curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header);
  curl_setopt($curl,CURLOPT_URL,$url);
  curl_setopt($curl,CURLOPT_BINARYTRANSFER,true);
  curl_setopt($curl,CURLOPT_POST,true);
  curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata);
  curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
  curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
  curl_setopt($curl,CURLOPT_TIMEOUT,122);
  if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']);
  $response = curl_exec($curl);
 
  $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE);
  $header = substr($response,0,$response_header_size);
  $body = substr($response,$response_header_size);
  curl_close($curl);


Thank You.



Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response?

No response, is waiting for a response to the timeout

Thank you.

lite
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009


View Profile
May 06, 2016, 05:07:53 PM
 #3869


I use this code run 5 minutes and then blocked again

Code:

  $url = "https://session.satoshidice.com/userapi/login.php";
 
  $postdata = NULL;
  $postdata = array();
  $postdata['email'] = $config['satoshi_email'];
  $postdata['password'] = $config['satoshi_pass'];
 
  $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];

  $curl_header = NULL;
  $curl_header = array();
  $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version;
  $curl_header[] = "Referer: https://www.satoshidice.com";

  $curl = curl_init();
  curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  curl_setopt($curl,CURLOPT_HEADER,1);
  curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header);
  curl_setopt($curl,CURLOPT_URL,$url);
  curl_setopt($curl,CURLOPT_BINARYTRANSFER,true);
  curl_setopt($curl,CURLOPT_POST,true);
  curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata);
  curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
  curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
  curl_setopt($curl,CURLOPT_TIMEOUT,122);
  if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']);
  $response = curl_exec($curl);
 
  $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE);
  $header = substr($response,0,$response_header_size);
  $body = substr($response,$response_header_size);
  curl_close($curl);


Thank You.



Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response?

No response, is waiting for a response to the timeout

Thank you.


Just a suggestion you should add function to store cookie? i've seen lot of curl script have it.(i'm no expert)
rmalvarez
Newbie
*
Offline Offline

Activity: 55
Merit: 0



View Profile WWW
May 06, 2016, 05:35:25 PM
 #3870

Quote
Just a suggestion you should add function to store cookie? i've seen lot of curl script have it.(i'm no expert)

That I have implemented, I put here just a part of the code to be more readable.

Thank You.
rmalvarez
Newbie
*
Offline Offline

Activity: 55
Merit: 0



View Profile WWW
May 06, 2016, 05:47:22 PM
 #3871


Quote
Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response?

If I use this header

Code:
$curl_header[] = "Referer: https://www.satoshidice.com";

The api works until it locks and does not give more answer. ( timeout )

Without this header the api not works, I am receiving this response

Code:
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Thu, 05 May 2016 16:13:11 GMT
Server: SatoshiDICE Webserver
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
access-control-allow-origin: https://www.satoshidice.com
Access-Control-Allow-Credentials: true
Content-Length: 58
Content-Type: application/json

{
    "message": "Password is wrong.",
    "status": "1"
}

Thank you.





hatshepsut93
Legendary
*
Online Online

Activity: 2002
Merit: 1584



View Profile
May 06, 2016, 06:59:12 PM
 #3872

Anyone else can't connect? DDOS maybe?





.
.




░██████████████████░
████████████████████
█████████▀░░░███████
█████████░░▄████████
███████▀▀░░▀▀███████
███████▄▄░░▄▄███████
█████████░░█████████

█████████░░█████████

█████████▄▄█████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████▀▀▀█▀███
███░▀█████▀░░░░░▀███
███▌░░░▀▀▀░░░░░░████
████▄░░░░░░░░░░░████
█████▀░░░░░░░░░█████

██████▄░░░░░▄▄██████

█████▄▄▄▄███████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████████████
███████████▀▀░░▐████
███████▀▀░░░░░█████
████▀░░░▄█▀░░░▐█████
█████▄▄█▀░░░░░██████

███████▌▄▄▄▐██████

████████████████████

████████████████████

░██████████████████░
Randian Hero
Sr. Member
****
Offline Offline

Activity: 439
Merit: 250



View Profile
May 06, 2016, 11:14:44 PM
Last edit: May 07, 2016, 01:39:10 AM by Randian Hero
 #3873

Anyone else can't connect? DDOS maybe?

It was login, signup and password recovery calls that died early because of an emergency code update that expected "equal" instead of "identical" operator, and this triggered a site wide user access lock down. Then a process lagged one of the servers. It was not a DDoS.

I have corrected the error now. Sorry about causing this glitch. Assumptions are the root of all evil.

rmalvarez
Newbie
*
Offline Offline

Activity: 55
Merit: 0



View Profile WWW
May 07, 2016, 04:51:04 AM
 #3874


Now the API is not working for me,
no response ( timeout )

Thank You.
BayAreaCoins
Legendary
*
Offline Offline

Activity: 2996
Merit: 1205


FreeBitcoins.com's Secretary.


View Profile WWW
May 07, 2016, 10:32:13 PM
 #3875

Sad to see such a cool site go down hill so much Sad


▄▄███████████▄▄
▄████▀▀`````````▀▀████▄
███▀```````````````````▀███
███`````````````````````````███
██```````````██``██````````````██
██````````▄▄▄▄██▄▄██▄▄▄▄`````````██
██`````````▀██████████████▄````````██
██`````````````███`````▀████`````````██
▐█▌`````````````███`````▄███▀`````````▐█▌
▐█▌`````````````███████████▄``````````▐█▌
▐█▌`````````````███▀▀▀▀▀▀████▄````````▐█▌
▐█▌`````````````███```````████````````▐█▌
██`````````````███`````▄▄████````````██
██`````````▄██████████████▀````````██
██````````▀▀▀▀██▀▀██▀▀▀▀`````````██
██```````````██``██````````````██
███`````````````````````````███
███▄```````````````````▄███
▀████▄▄`````````▄▄████▀
▀▀███████████▀▀
FREE
BITCOINS.com





















`````````▄
````````▄█▄
``````▄█████▄
`````█████████
```▄███████████▄
``███████████████
`█████████████████
███████████████████
███████████████████
██▌▀███████████████
`██``▀████████████
``██▄```▀████████
```▀███▄▄`█████▀
``````▀▀▀▀▀▀▀

FAUCET
▀▀▀▀▀▀▀▀▀



``````````````````▄▄▄▄▄▄
``````````````````██████
``````````````````██████
``````````````````██████
``````````██████``██████
``````````██████``██████
``██████``██████``██████
``██████``██████``██████
``██████``██████``██████
``██████``██████``██████
``██████``██████``██████

██████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

XCHANGE
▀▀▀▀▀▀▀▀▀



```````````▄
`````````▄██
```````▄████
`````▄██████████▄
`````▀███████████▄
```````▀████``▀████
█``````▄`▀██````▀██
██▄````██▄`▀``````█
████▄``████▄
`▀███████████▄
``▀██████████▀
```````████▀
```````██▀
```````▀

SWAP
▀▀▀▀▀▀▀▀▀
Dabs
Legendary
*
Offline Offline

Activity: 3080
Merit: 1731


The Concierge of Crypto


View Profile
May 08, 2016, 02:36:20 AM
 #3876

Sad to see such a cool site go down hill so much Sad
Yeah. So many sites going down hill. ... SD isn't so much in trouble I think though, they still have a professional team handling it. (psst, someone buy mine?)

coinspiracy
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
May 08, 2016, 08:50:21 PM
 #3877

Sad to see such a cool site go down hill so much Sad
Yeah. So many sites going down hill. ... SD isn't so much in trouble I think though, they still have a professional team handling it. (psst, someone buy mine?)

Personally, I believe that they will sort this page out.
tolega
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
May 08, 2016, 08:58:57 PM
 #3878

I have searched all over the site but I cannot find the withdraw button. I am logged in. Please help.

Randian Hero
Sr. Member
****
Offline Offline

Activity: 439
Merit: 250



View Profile
May 08, 2016, 09:47:44 PM
Last edit: May 09, 2016, 01:08:46 AM by Randian Hero
 #3879

I have searched all over the site but I cannot find the withdraw button. I am logged in. Please help.



Click the Cashout tab and there is a button with the text "CASHOUT". If you are not logged in, the button is not visible.

UPDATE: we're now aware of tabs not showing properly on android phones. We're fixing it.
tolega
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
May 09, 2016, 12:02:24 AM
 #3880

Radian Hero is helping me via email. Thank you
Pages: « 1 ... 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 [194] 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 ... 273 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!