Author

Topic: Just-Dice.com : now with added CLAMs : Play or Invest - page 113. (Read 454769 times)

legendary
Activity: 1717
Merit: 1125
An API's main benefit is NOT to reduce server load. The main benefit is the same as the main function. Allowing software to interact with other software.

a server side API will not reduce server load compared to this. The same internal functions will be executed on the server, regardless of how the client connects to the server. The same amount of data will be transferred between client and server (except for the initial connection from jdcapi).

This simply is not true. Typical API sends JSON to the client, which is incomparable to the complete HTML + CSS + JavaScript which are sent in this case. JSON is highly optimized without the bloat of the presentation layer. Added to that, there are usually several interfaces in the average API, so the only desired subset of data is sent to the client, not the whole unnecessary site.

Don't get me wrong, but my fear is that if we start calling this an API we would never ever get the proper one from dooglus.

did you even go through the code properly? ONLY the initial connection gets css and html, this initial connection is required to get the connection headers and cookies, and if the cloudflare protection is up, to get past that. EVERYTHING else is in json

I don't want to start (continue?) a flame war on this thread. So I'm not going to argue my point any further. I'm sure if Dooglus isn't happy with jdcapi he will still release his official api.

Edit: if you have a way to get those headers and cookies without pulling the site data with it, I'm open to suggestions. Improvement on my code is why I uploaded it to github in the first place. Feel free to PM me here with your suggestion, or on github, or whatever floats your boat
legendary
Activity: 1974
Merit: 1077
^ Will code for Bitcoins
An API's main benefit is NOT to reduce server load. The main benefit is the same as the main function. Allowing software to interact with other software.

a server side API will not reduce server load compared to this. The same internal functions will be executed on the server, regardless of how the client connects to the server. The same amount of data will be transferred between client and server (except for the initial connection from jdcapi).

This simply is not true. Typical API sends JSON to the client, which is incomparable to the complete HTML + CSS + JavaScript which are sent in this case. JSON is highly optimized without the bloat of the presentation layer. Added to that, there are usually several interfaces in the average API, so only desired subset of data is sent to the client, not the whole unnecessary site.

Don't get me wrong, but my fear is that if we start calling this an API we would never ever get the proper one from dooglus.
legendary
Activity: 1717
Merit: 1125
It can't be an API if server is not aware of it, see the definition in the first sentence:
http://en.wikipedia.org/wiki/Application_programming_interface
Server can't interact with something if it is not aware of that software component at all.

This formal definition would not be a problem if your software would bring the main benefit we expect from API: greatly reduce the load on the server. We can only guess how much all kinds of bots which constantly parse the site are increasing the load. With proper server side API the situation would be much different.

The first sentence:

Quote
An application programming interface (API) specifies how some software components should interact with each other.

jdcapi specifies how your program should interact with the server and how the server interacts with your program.

An API's main benefit is NOT to reduce server load. The main benefit is the same as the main function. Allowing software to interact with other software.

a server side API will not reduce server load compared to this. The same internal functions will be executed on the server, regardless of how the client connects to the server. The same amount of data will be transferred between client and server (except for the initial connection from jdcapi).

Also, how much an API (jdcapi or official server sdie) influences the server load is completely up to the programmer that is implementing it. If someone is constantly spamming bets, pings, name changes etc over the official API, it will obviously cause a higher server load than someone using a chat enhancement program running on jdcapi that only listens for and sends chat messages.

edit: added part about implementation
legendary
Activity: 1974
Merit: 1077
^ Will code for Bitcoins
an early version of Just-Dice Custom API has been uploaded to GitHub. This api will eventually allow you to do everything you can do on the site.

Most of it is already there, except the Google Auth stuff. I have not tested anything, like login with GA either.

https://github.com/seuntie900/jdcapi

The api will be ported to mono so you can use it on mac and linux as well

Pardon me, but API is not the software that parses the site for you. It has to be integrated on the server side so it interacts with the client.

It's still a piece of JD that is very much missed.

This is a misconception about APIs
.
API= Application Programming Interface.

Meaning, a piece of software that allows you to interact with another program, it does not mean it has to be hosted on the server or accessed through a url like api.just-dice.com or something like that. This software is, by definition, an API. Its not the official API (hence the Custom part in the name), but it's an API never the less.

It can't be an API if server is not aware of it, see the definition in the first sentence:
http://en.wikipedia.org/wiki/Application_programming_interface
Server can't interact with something if it is not aware of that software component at all.

This formal definition would not be a problem if your software would bring the main benefit we expect from API: greatly reduce the load on the server. We can only guess how much all kinds of bots which constantly parse the site are increasing the load. With proper server side API the situation would be much different.
legendary
Activity: 1717
Merit: 1125
an early version of Just-Dice Custom API has been uploaded to GitHub. This api will eventually allow you to do everything you can do on the site.

Most of it is already there, except the Google Auth stuff. I have not tested anything, like login with GA either.

https://github.com/seuntie900/jdcapi

The api will be ported to mono so you can use it on mac and linux as well

Pardon me, but API is not the software that parses the site for you. It has to be integrated on the server side so it interacts with the client.

It's still a piece of JD that is very much missed.

This is a misconception about APIs
.
API= Application Programming Interface.

Meaning, a piece of software that allows you to interact with another program, it does not mean it has to be hosted on the server or accessed through a url like api.just-dice.com or something like that. This software is, by definition, an API. Its not the official API (hence the Custom part in the name), but it's an API never the less.

legendary
Activity: 1974
Merit: 1077
^ Will code for Bitcoins
an early version of Just-Dice Custom API has been uploaded to GitHub. This api will eventually allow you to do everything you can do on the site.

Most of it is already there, except the Google Auth stuff. I have not tested anything, like login with GA either.

https://github.com/seuntie900/jdcapi

The api will be ported to mono so you can use it on mac and linux as well

Pardon me, but API is not the software that parses the site for you. It has to be integrated on the server side so it interacts with the client.

It's still a piece of JD that is very much missed.
sr. member
Activity: 252
Merit: 250
an early version of Just-Dice Custom API has been uploaded to GitHub. This api will eventually allow you to do everything you can do on the site.

Most of it is already there, except the Google Auth stuff. I have not tested anything, like login with GA either.

https://github.com/seuntie900/jdcapi

The api will be ported to mono so you can use it on mac and linux as well
Will try to use it with my algos! Thanks bro!
legendary
Activity: 1717
Merit: 1125
an early version of Just-Dice Custom API has been uploaded to GitHub. This api will eventually allow you to do everything you can do on the site.

Most of it is already there, except the Google Auth stuff. I have not tested anything, like login with GA either.

https://github.com/seuntie900/jdcapi

The api will be ported to mono so you can use it on mac and linux as well
newbie
Activity: 13
Merit: 0
+1 for API cannot wait for it to be out  Grin
hero member
Activity: 658
Merit: 503
Monero Core Team
Hi dooug,

After successfully winning 0.4 bitcoins and 25k dogecoins (I am talking net gain), I decided to invest it all in just-dice and doge-dice. A sort of return of favour.


Tell me, is there a way to check account and evolution of it without having to manually go to the pages, report the value on a spreadsheet and run simulation?
I heard you talked about an API.
legendary
Activity: 2940
Merit: 1333
To be fair, I think Satoshi dice implemented offchain rolls quite some time ago.

They did, but it didn't work very well, and they took it down again shortly afterwards.

I think they plan to relaunch it some time.  And maybe already have for all I know - I don't tend to spend much time there any more.  Smiley

Even if they do manage to get their implementation of off-chain play working, their edge is still almost double that of Just-Dice, and their max profit per bet is a small fraction of JD's.  Except (as I remember) for their 1-in-65k shot, which is probably high enough to bankrupt them.  Smiley
hero member
Activity: 784
Merit: 1000
0xFB0D8D1534241423
Tried this site, it's very cool! istant rolls, you can choose odds of winning, no need to do a transaction for every bet...it's much better than Satoshi dice Grin
To be fair, I think Satoshi dice implemented offchain rolls quite some time ago.
member
Activity: 112
Merit: 10
Tried this site, it's very cool! istant rolls, you can choose odds of winning, no need to do a transaction for every bet...it's much better than Satoshi dice Grin
member
Activity: 112
Merit: 10
you need to send me the Bitcoin you owe me,,,Your site is a scam / mixing service I'm surprised they haven't kicked your door in! *Lucky Ducky!*

;-)

you ready to dance?

I'm sorry, but I don't know who you are.  Why do you think I owe you coins?

You keep fearlessly slaying those trolls, dooglus. This one is remarkable in the way he manages to come off as a murderous crazy person. I do really like the line "you ready to dance?" though; is that from a movie?

Have you ever danced with the devil in the pale moonlight, dooglus? Cheesy
hero member
Activity: 784
Merit: 1000
0xFB0D8D1534241423
you need to send me the Bitcoin you owe me,,,Your site is a scam / mixing service I'm surprised they haven't kicked your door in! *Lucky Ducky!*

;-)

you ready to dance?

I'm sorry, but I don't know who you are.  Why do you think I owe you coins?

You keep fearlessly slaying those trolls, dooglus. This one is remarkable in the way he manages to come off as a murderous crazy person. I do really like the line "you ready to dance?" though; is that from a movie?
member
Activity: 98
Merit: 10
You should ALWAYS double check your bet amount / win %.

Just Dice cannot and should not be held responsible for your own error.

It's understandable people can get upset when they lose and might possibly try to lie to get the coins back. There is always 'sore losers' but you just need to accept the fact you lost and hope for better luck next time.
sr. member
Activity: 364
Merit: 250
Same thing happen with me on dogedice,  I got no help with it, I dont think he will give your money back,  he will call this an error on your part Like he did to me.  Im sure PD would have done the same.
I don't believe PrimeDice would do the same... They fix their mistakes, and note the errors for the user.

sorry to say I got screwed from a bet that they said I lied on, and that I am a scammer.  so yeah OPS no matter who will use anything against you to protect themselves.   Its the way people are, its only a small bet anyway, like mine was.
legendary
Activity: 2940
Merit: 1333
So first off, you aren't responding to what I said, which is a red flag.  But you are bringing up something that you aren't showing screenshots of.  Do you have a picture where it says "1.41x" in the payout field, but your roll was at a 5x payout?

He could probably make you one in his photo editing software.

The site's client-side javascript is pretty clear on this.

When you bet, it does this:

Code:
    var chance = $("#pct_chance").val();
    var bet = $("#pct_bet").val();

    socket.emit('bet', csrf, {chance: chance, bet: tidy(bet), which: which});

ie. it pulls the values form the 'chance' and 'bet' fields and sends them to the server.  Not much scope for error there.
legendary
Activity: 2940
Merit: 1333
Same thing happen with me on dogedice,  I got no help with it, I dont think he will give your money back,  he will call this an error on your part Like he did to me.  Im sure PD would have done the same.

As I remember it in your case, you set the "chance" field to a value of your choosing, then placed some bets.  They were placed at the value you selected and you wanted a refund because that was "unfair".

Is that an accurate summary?  And then, when questioned further, you said something like:

"But on PrimeDice the chance resets to 49.5% sometimes so I thought it did on Just-Dice too.  In fact I don't like that behaviour which is why I stopped playing there".

Sigh.

We don't refund bets unless there was an error on the site.
legendary
Activity: 2940
Merit: 1333
What used to be my favorite site is now getting to be my least favorite... All boils down to greed!

https://i.imgur.com/yqfE7JA.png

First image here shows that I contacted support over the fact that I came to delay my bet to 32400 seconds like I used to, so I didn't bet away my coins... Turns out it also didn't come to my attention that the bet size was my balance??... Hmm Weird

You set your bet size to a large amount relative to your balance, and then were "surprised" when betting caused you to bet the amount you had typed into the stake field and asked for a refund.

The week before you made a fake screenshot by pasting an old balance onto a more recent screenshot and tried to scam the site that way.  Now today it's something else, claiming that the site somehow picked a different 'chance' than you typed.

I'm sick of your pathetic attempts at scamming and would quite frankly prefer you to just stop playing than continuing to waste you time and mine on this nonsense.

Now onto my next image

I had another issue where if you look in the screenshot provided in the ticket, I had it set to 1.41x Payout and I was playing manually, and in the turn side, my payout was at 5x Payout?... I set it to 1.41x Payout by hand.. And that's what I was playing on before with no problem...

https://i.imgur.com/zvNOWKq.png

And they make it seem like I'm afraid to lose my coins... I'm not here to come get a refund because I lost, I come to get a refund as I lost my coins unfairly, at an unfair scale... (5x Payout, when I was playing on 1.41x Payout, then I get called a Photoshopper.... Then I don't get a refund because I didn't GLANCE at the bet size, even though I don't remember having my balance in the bet size, just to come back to just-dice.com and set the timer, which then caused me to bet my balance, and lose not at my discretion)..


BEWARE: Greedy Administration... If this was them, or one of their mods, they would have given a full refund no doubt about it.

So you weren't using a bot, but were "just about to" use it to bet at 5x and somehow the site started treating your bets as if they were at 5x?  How did that happen if you neither used the bot nor set the multiplier to 5x?  Is it some kind of telepathy?

I don't think you're afraid to lose your coins.  I think you're prepared to cheat and lie to scam coins any way you can, and I don't think you're very good at it.
Jump to: