Bitcoin Forum
December 08, 2016, 10:04:53 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 [4] 5 »  All
  Print  
Author Topic: MyriadCoins.com - Make the bet you want  (Read 7069 times)
notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 04:37:49 AM
 #61

Mine is a little newer, but shouldn't be majorly different:
18.0.1025.168 (Developer Build 134367 Linux) Built on Ubuntu 11.10, running on LinuxMint 12

Thanks again for all the effort, I'll probably hang around long enough to see how your new experiment turns out before calling it a night.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
1481191493
Hero Member
*
Offline Offline

Posts: 1481191493

View Profile Personal Message (Offline)

Ignore
1481191493
Reply with quote  #2

1481191493
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 04:38:52 AM
 #62

so I'll post this, restart chromium, test, and report back

The bug still happens without squid.

The packets now contain gzipped responses, but I'll email you them anyway.

I'll also try in firefox.

FreeMoney
Legendary
*
Offline Offline

Activity: 1246


Strength in numbers


View Profile WWW
June 13, 2012, 04:43:50 AM
 #63


Can you reproduce the "tampered" error freemoney?


I got it like 3 times in a row earlier (emailed you about it) while reusing an address and then didn't get it when I tried a new address. Now I can't make it happen.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 04:56:06 AM
 #64


Can you reproduce the "tampered" error freemoney?


I got it like 3 times in a row earlier (emailed you about it) while reusing an address and then didn't get it when I tried a new address. Now I can't make it happen.

I use the same address every time, and currently see the error almost every time.  I'd guess 6 out of the last 7 times I tried, I saw it.

For the record, I saw the error in chromium without squid, and in firefox without squid.

I'm not sure what other browsers I have.  I don't want to install all the Qt stuff I'll need to get Konqueror working.  Maybe 'epiphany' (the basic GNOME browser) will work - I'll try it.

[time passes]

The 'tampered' error showed up in epiphany too.  I notice that in addition to the two 'create game' POSTS, there's also a 'null' one:

Code:
POST /create_game.php HTTP/1.1
POST /null.php HTTP/1.1
POST /create_game.php HTTP/1.1

Is that something you know about and expect to see?

notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 04:58:02 AM
 #65


Can you reproduce the "tampered" error freemoney?


I got it like 3 times in a row earlier (emailed you about it) while reusing an address and then didn't get it when I tried a new address. Now I can't make it happen.

Right, I fixed a bug earlier that was causing what you saw.  I have no clue what could be causing the issue for dooglus unless his keyboard is stuttering and sending two enters.  I can reproduce if I hit enter twice quickly.  Double clicking could also trigger it.  If that's the case, shame on you dooglus, never double click on the internet Tongue.  I'll leave it alone for now in case you guys want to play with it more, but i have a patch for the javascript that will ignore the second response that I'll upload in the morning.  It needs put in place anyway since double clicking and double enters will cause the behavior.  In fact, I should be able to rework it a little to prevent the second request from being made, and still ignoring extra responses in case a duplicate request somehow gets made.

As for a workaround if you guys or anyone else sees this tonight and wants to play, if you hit refresh the game will be perfectly fine to play.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:02:51 AM
 #66

unless his keyboard is stuttering and sending two enters.  I can reproduce if I hit enter twice quickly.  Double clicking could also trigger it.  If that's the case, shame on you dooglus, never double click on the internet Tongue.

I'm clicking.  Once.

notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 05:03:54 AM
 #67


Can you reproduce the "tampered" error freemoney?


I got it like 3 times in a row earlier (emailed you about it) while reusing an address and then didn't get it when I tried a new address. Now I can't make it happen.

I use the same address every time, and currently see the error almost every time.  I'd guess 6 out of the last 7 times I tried, I saw it.

For the record, I saw the error in chromium without squid, and in firefox without squid.

I'm not sure what other browsers I have.  I don't want to install all the Qt stuff I'll need to get Konqueror working.  Maybe 'epiphany' (the basic GNOME browser) will work - I'll try it.

[time passes]

The 'tampered' error showed up in epiphany too.  I notice that in addition to the two 'create game' POSTS, there's also a 'null' one:

Code:
POST /create_game.php HTTP/1.1
POST /null.php HTTP/1.1
POST /create_game.php HTTP/1.1

Is that something you know about and expect to see?

Yes, the null.php is fine.  The actual form is hooked up to load that in a hidden iframe, whereas the actual submission is handled by javascript (it needs to clean up a few things).  I had to make it actually submit the form the old fashion way to get it to remember the autocomplete values.  It seems browsers only save them on a regular form submission, not an ajax submission, so null.php just ignores it's parameters and prints "Okay".  Not the most efficient way to do things, but sometimes the standards box you in.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:05:28 AM
 #68

unless his keyboard is stuttering and sending two enters.  I can reproduce if I hit enter twice quickly.  Double clicking could also trigger it.  If that's the case, shame on you dooglus, never double click on the internet Tongue.

I'm clicking.  Once.

I just tried tabbing to the button and hitting the space bar instead of clicking it.  I got the error again, but also the 'too many' message, even though I just paid & lost:

Code:
An error has occurred:
Hash or timestamp has been tampered with.
Too many outstanding games from your IP address. Please pay for a game or wait for one to time out

notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 05:06:25 AM
 #69

unless his keyboard is stuttering and sending two enters.  I can reproduce if I hit enter twice quickly.  Double clicking could also trigger it.  If that's the case, shame on you dooglus, never double click on the internet Tongue.

I'm clicking.  Once.

Thanks... I only bring up the double clicking because I've seen it too many times.  Facepalm.

Heck, I'm going to go ahead and patch up the javascript to prevent the extra submission.  I'll let you now when it is uploaded.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:09:34 AM
 #70

It's odd that the "Too many outstanding games from your IP address. Please pay for a game or wait for one to time out" message also goes away when I refresh.  Is it the 2nd POST that's getting that message, because it's trying to make a 2nd game?

I just got the "tampered" and "too many" messages, hit refresh and got a payment address, sent BTC to that address, and won.  So it seems like both messages can be ignored.

notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 05:13:02 AM
 #71

unless his keyboard is stuttering and sending two enters.  I can reproduce if I hit enter twice quickly.  Double clicking could also trigger it.  If that's the case, shame on you dooglus, never double click on the internet Tongue.

I'm clicking.  Once.

I just tried tabbing to the button and hitting the space bar instead of clicking it.  I got the error again, but also the 'too many' message, even though I just paid & lost:

Code:
An error has occurred:
Hash or timestamp has been tampered with.
Too many outstanding games from your IP address. Please pay for a game or wait for one to time out

Cleared you IP records again.  Since the first request creates the game, the second request sees that game as well.  Anyway, I'm off to javascript land, be back soon.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 05:20:31 AM
 #72

Make sure you refresh to get the latest javascript, but it should prevent duplicate submissions now.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:25:19 AM
 #73

Make sure you refresh to get the latest javascript, but it should prevent duplicate submissions now.

Looks fine from the one trial I did.  Good job!  Smiley

You know I'll let you know if I see the error again...

notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
June 13, 2012, 05:32:53 AM
 #74

Make sure you refresh to get the latest javascript, but it should prevent duplicate submissions now.

Looks fine from the one trial I did.  Good job!  Smiley

You know I'll let you know if I see the error again...

Awesome... now I can sleep.  I still wish I knew why your system wanted to send two requests, but at least we stopped it.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 06:13:22 AM
 #75

Make sure you refresh to get the latest javascript, but it should prevent duplicate submissions now.

Looks fine from the one trial I did.  Good job!  Smiley

You know I'll let you know if I see the error again...

Awesome... now I can sleep.  I still wish I knew why your system wanted to send two requests, but at least we stopped it.

I have Windows 7 on this laptop still I think - I could try it there.  I also have a machine with the previous Ubuntu (11.10) on it.

I can't think what it might be though - I tried 3 completely different browsers and got the same result from all 3.

Can you think of anything I can run here that would help diagnose why it's sending duplicate requests?

dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:13:16 PM
 #76

I tried showing the site to a friend.  Got this comment:

"so it doesnt change anything when i play with the numbers, that i can see"

She was editing the bet amount, but not tabbing or clicking out of the box.  The percentage only updates when you leave the box.  How about having it update on each keystroke (onkeyup) rather than waiting for me to leave the box?

dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:23:28 PM
 #77

I tried showing the site to a friend.  Got this comment:

"so it doesnt change anything when i play with the numbers, that i can see"

She was editing the bet amount, but not tabbing or clicking out of the box.  The percentage only updates when you leave the box.  How about having it update on each keystroke (onkeyup) rather than waiting for me to leave the box?

It turns out the percentage chance isn't updating even if she does tab between boxes.  I don't know why that would be - she'll not have javascript disabled.

And another problem:  she tried betting 0.01 to win the maximum, and got an error:

> it says win amt must be between 0.05 and 3.9179
Chris: and was it?
> I put 3.92 cuz thats what it said on the side

So it's reporting the max bet as 3.92 when it's really 3.9179, and rejecting 3.92 when you submit the bet.

dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:34:19 PM
 #78

She's thinking now that the reason it wasn't updating was because it was saying "double check your amounts" because the numbers were too high...

She's made her first bet, 0.01 to win the max, with a 0.24% chance of winning.  Not surprisingly she lost.

She guessed 6942, and would like her free dime please, and is a newbie so can't post here.  Should she post in the newbie forum, or is my word good enough?

I think she plans to make the same bet 9 more times now...  Smiley

dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:39:36 PM
 #79

I asked for comments on the site:

> i could be able to put in a bunch of small ones at one time on the same page
> like have 5 boxes instead of 1
> and play em all at once

I realise there's only 1 pre-selected number, but thought I'd pass on the suggestion.  She wants to make lots of small bets with a single payment instead of the repeating the multi-step betting process over and over.

dooglus
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 13, 2012, 05:53:16 PM
 #80

After she made and lost 10 0.01 BTC bets:

> i found it tedious and not much fun, tbh
> not sure if that would have changed had i won though
> its too much work putting the numbers in over and over
> i mean, it saves the wallet to deposit into and u only have to type first number and it remembers
> but always a diff wallet to pay it

Pages: « 1 2 3 [4] 5 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!