Pages:
Author

Topic: [Free Script] Untitled Dice - Run your own bitcoin dice site (no server needed) - page 12. (Read 64524 times)

elm
legendary
Activity: 1050
Merit: 1000

Is there an affilate system for your dice site or for moneypot?

No. Moneypot doesn't have API support for a referral system, so it currently can't be done with a client-side script like untitled-dice.

is it on MP to do list? and if not what you are saying is that the only solution is to add a server side to the client side? I am asking because I would like to have a referral program if I would do a game app.

dan
newbie
Activity: 50
Merit: 0
When the commands for the chat come out, do we have to update any files in the script?

The chatbox already supports "/mute foobar 40" (40 minutes) and "/unmute foobar", but I will have to update the script when I add more commands.

Ideally, you use Git to keep your script in sync with my script. For example, when I make a change, you can just run "git pull" to get my changes.

Is there an affilate system for your dice site or for moneypot?

No. Moneypot doesn't have API support for a referral system, so it currently can't be done with a client-side script like untitled-dice.
elm
legendary
Activity: 1050
Merit: 1000
Is there an affilate system for your dice site or for moneypot?

very good question I am also very interested to see the answer
legendary
Activity: 1851
Merit: 1020
Get Rekt
Is there an affilate system for your dice site or for moneypot?
member
Activity: 70
Merit: 10
When the commands for the chat come out, do we have to update any files in the script?
dan
newbie
Activity: 50
Merit: 0
A little question, how does a user become a mod in the site?
I've seen that Moneypot Staff have a tag of "MP Staff" and there's another tag "Mod"

Moneypot doesn't currently let you appoint mods for your app or co-owners, but that will change soon. (So far it's just one owner per app)

Once that update lands, then you'll be able to go to your "edit app" page on Moneypot and add/remove moderators, and they'll show up in chat with the "Mod" medallion next to their name.

Also, someone reminded me in PM, but I need to add a chat command cheatsheet beneath the chatbox. For example, as an owner, you can "/mute foobar 10" to mute someone named foobar for 10 minutes. And you can unmute them with "/unmute foobar".
sr. member
Activity: 322
Merit: 250
Sound Engineer for Hire
EDIT:

Was testing it with the faucet. I ran out of bits and it said "CANNOT_AFFORD_WAGER"
on the bet button. Is this changeable in the code or is it basically a bug?

It's not a bug, I just neglected to translate the errors into more user-friendly messages like "You cannot afford this wager". Once I do that, it will be trivial to just ctrl-f and replace with customized messages.

I'll improve it in v0.0.6. Cheesy

Okay, just addressed this and released v0.0.6 (minor release). Bet validation errors are now translated into human-friendly messages.

For example:


(It used to say "CANNOT_AFFORD_WAGER")

You can edit the messages here: https://github.com/untitled-dice/untitled-dice.github.io/blob/4def9cc1222cb998792ccae1149ce87828f07166/app.js#L1316-L1323

Thanks for the feedback, SirLolicon. Smiley

Sure, I love your project, and there's no way I can help but try it out and maybe bring this out of the dark and release
a version of this to the public ((:

EDIT:

A little question, how does a user become a mod in the site?
I've seen that Moneypot Staff have a tag of "MP Staff" and there's another tag "Mod"
dan
newbie
Activity: 50
Merit: 0
EDIT:

Was testing it with the faucet. I ran out of bits and it said "CANNOT_AFFORD_WAGER"
on the bet button. Is this changeable in the code or is it basically a bug?

It's not a bug, I just neglected to translate the errors into more user-friendly messages like "You cannot afford this wager". Once I do that, it will be trivial to just ctrl-f and replace with customized messages.

I'll improve it in v0.0.6. Cheesy

Okay, just addressed this and released v0.0.6 (minor release). Bet validation errors are now translated into human-friendly messages.

For example:

https://i.imgur.com/M1jC5yR.png
(It used to say "CANNOT_AFFORD_WAGER")

You can edit the messages here: https://github.com/untitled-dice/untitled-dice.github.io/blob/4def9cc1222cb998792ccae1149ce87828f07166/app.js#L1316-L1323

Thanks for the feedback, SirLolicon. Smiley
dan
newbie
Activity: 50
Merit: 0
I tried forking it to play around, the login to moneypot button always uses the redirect uri of untitled-dice
and not the one you provide in the app.js

EDIT:
Nevermind, I honestly don't know what happened but after a few minutes it started working.
Didn't have to commit any changes

Not sure if this was your issue, but it looks like Github tells your browser to cache files for up to 10 minutes so try busting your cache (forced reload) if it happens again.
sr. member
Activity: 322
Merit: 250
Sound Engineer for Hire
EDIT:

Was testing it with the faucet. I ran out of bits and it said "CANNOT_AFFORD_WAGER"
on the bet button. Is this changeable in the code or is it basically a bug?

It's not a bug, I just neglected to translate the errors into more user-friendly messages like "You cannot afford this wager". Once I do that, it will be trivial to just ctrl-f and replace with customized messages.

I'll improve it in v0.0.6. Cheesy

I tried forking it to play around, the login to moneypot button always uses the redirect uri of untitled-dice
and not the one you provide in the app.js

EDIT:
Nevermind, I honestly don't know what happened but after a few minutes it started working.
Didn't have to commit any changes
dan
newbie
Activity: 50
Merit: 0
EDIT:

Was testing it with the faucet. I ran out of bits and it said "CANNOT_AFFORD_WAGER"
on the bet button. Is this changeable in the code or is it basically a bug?

It's not a bug, I just neglected to translate the errors into more user-friendly messages like "You cannot afford this wager". Once I do that, it will be trivial to just ctrl-f and replace with customized messages.

I'll improve it in v0.0.6. Cheesy
sr. member
Activity: 322
Merit: 250
Sound Engineer for Hire
how do you make a profit if you don't provide your own bankroll?

At a high level, the Moneypot API is a bet server that accepts any bet that's profitable to its investors (the house).

  • If the player loses the bet, the investors take the minimal amount of profit that makes it worthwhile for them, and then you (app owner) split the rest of the profit with Moneypot.
  • If the player wins the bet, then the investors float the entire wager.

Why do the investors split their profit with you? Because they're rewarding you for driving +EV volume against their bankroll.

Does that make sense? Smiley

So basically all you have to do is spice up the site and market it well and you don't need to
provide any bankroll? Just pure profit?

That's cool.

EDIT:

Was testing it with the faucet. I ran out of bits and it said "CANNOT_AFFORD_WAGER"
on the bet button. Is this changeable in the code or is it basically a bug?
dan
newbie
Activity: 50
Merit: 0
how do you make a profit if you don't provide your own bankroll?

At a high level, the Moneypot API is a bet server that accepts any bet that's profitable to its investors (the house).

  • If the player loses the bet, the investors take the minimal amount of profit that makes it worthwhile for them, and then you (app owner) split the rest of the profit with Moneypot.
  • If the player wins the bet, then the investors float the entire wager.

Why do the investors split their profit with you? Because they're rewarding you for driving +EV volume against their bankroll.

Does that make sense? Smiley

Also, I just released untitled-dice v0.0.5 which adds Deposit/Withdraw dialog buttons to the navbar:

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

You can read more about dialogs here: https://www.moneypot.com/api-docs#dialogs - Their purpose is so that users can manage their balance on your app without visiting Moneypot.
sr. member
Activity: 322
Merit: 250
Sound Engineer for Hire
how do you make a profit if you don't provide your own bankroll?
dan
newbie
Activity: 50
Merit: 0
Wait so.. you still provide the bankroll right? It just uses Moneypot to manage users and deposits?

This script uses Moneypot's bankroll which is why it's "risk-free profit".

Currently, Moneypot's provably-fair API only operates on its own bankroll, but RHavar (owner) has expressed that he's working on extending the API so that you can BYOB (bring your own bankroll Smiley)

Yes, beyond the bankroll, Moneypot also handles the user-management and bitcoin-management.
sr. member
Activity: 322
Merit: 250
Sound Engineer for Hire
Wait so.. you still provide the bankroll right? It just uses Moneypot to manage users and deposits?
elm
legendary
Activity: 1050
Merit: 1000
This is a major step forward for anyone who wants to start their own dice site! It sounds very easy to build and owner do not need to fund his own bankroll. The commissions of moneypot is difficult to understand. If someone can work it out, I think small profits can be made.

why would some one want to own another dice site? moneypot is a great idea and very helpful but IMO for other games than dice.

Dice site is a general term for a simple gambling game. You can put a twist on it to make it interesting. Dice sites are very popular. It's easy to understand the game and play. There will always be investors who want to own a dice site. It's a starting point for a full casino.

sorry but I can't agree with you. dice sites are very popular = yes there are  a few well established dice sites like JD and PD. now that MP is making it easy for more dice sites to hit the market that doesnt mean those sites will attract many players. there could be 20 or more dice sites on MP.....so what they will have no chance to make any coins if they will not have any special effect or idea added to the game.  but good luck to all who are trying and to MP
hero member
Activity: 672
Merit: 500
This is a major step forward for anyone who wants to start their own dice site! It sounds very easy to build and owner do not need to fund his own bankroll. The commissions of moneypot is difficult to understand. If someone can work it out, I think small profits can be made.

why would some one want to own another dice site? moneypot is a great idea and very helpful but IMO for other games than dice.

Dice site is a general term for a simple gambling game. You can put a twist on it to make it interesting. Dice sites are very popular. It's easy to understand the game and play. There will always be investors who want to own a dice site. It's a starting point for a full casino.
member
Activity: 113
Merit: 10
Dan, im thinking on make some betting site with ur system, just i dont know is it the same like a real money gambling site, i mean i need to buy license in my country and pay tax after it or because its bitcoin i can avoid it?

u pay any money for tax/lincese after moneypot or any gamblingsite u made?
dan
newbie
Activity: 50
Merit: 0
Released v0.0.4 to fix a bug where betting high had a 1.02% house edge instead of a 1.00% house edge.

If you can't merge in the change or you just want to patch it yourself, here's the line of code in app.js that was updated: https://github.com/untitled-dice/untitled-dice.github.io/blob/1beabd04d13dd0d619498dc198b165c3a5c6b0d3/app.js#L67
Pages:
Jump to: