MyDiceBot v2.0.0 is out - supporting YoloDice with BTC/LTC/ETH/DOGE NOW!
MyDiceBot v2.0.0 is out - supporting YoloDice with BTC/LTC/ETH/DOGE NOW!
Download
- Binaries: https://github.com/mydicebot/mydicebot.github.io/releases
- Source Code: https://github.com/mydicebot/mydicebot.github.io
MyDiceBot
- https://mydicebot.github.io
- MyDiceBot is a cross-platform automated dicing bot for cryptocurrency dice-sites.
- Similar to the bot pioneer Seuntjies DiceBot.
- Multiple platforms are supported, including Windows, Mac, Linux, and Web.
- Multiple programming languages are supported such as Lua. JavaScript and Python are coming soon.
Commit
Code Changes
- src/api/models/yolo.js
- src/public/js/YoloDice/info.js
- src/views/login.pug
- src/views/info.pug
New Features
- YoloDice Login
- YoloDice Currencies: BTC/ETH/BCH/DOGE
- YoloDice Manual Bet
- YoloDice Auto Bet
- YoloDice Script Bet - Compatible with the variables and functions of Seuntjie DiceBot's Lua script
Internal Variables
- Single Bet Info
Variable | Type | Permission | Purpose |
---|---|---|---|
basebet | double | Read Write | Shows the amount of the first bet. Only set for first bet. |
previousbet | double | Read Only | Shows the amount of the previous bet. Only set after first bet. |
nextbet | double | Read Write | The amount to bet in the next bet. You need to assign a value to this variable to change the amount bet. Defaults to previousbet after first bet. Needs to be set before betting can start. |
chance | double | Read Write | The chance to win when betting. Defaults to value set in advanced settings if not set. Need to set this value to change the chance to win/payout when betting. |
bethigh | bool | Read Write | Whether to bet high/over (true) or low/under(false). Defaults to true (bet high/bet over) |
win | bool | Read Only | Indicates whether the last bet you made was a winning bet (true) or a losing bet (false). |
currentprofit | double | Read Only | Shows the profit for the last bet made. This is not the amount returned. betting 1 unit at x2 payout, when winning, currentprofit will show 0.00000001 (returned =0.00000002), when losing, profit will show -0.00000001 |
- Current Session Info
Variable | Type | Permission | Purpose |
---|---|---|---|
balance | double | Read Only | Lists your balance at the site you're logged in to. |
bets | int | Read Only | Shows the number of bets for the current session. |
wins | int | Read Only | Shows the number of wins for the current session. |
losses | int | Read Only | Shows the number of losses for the current session. |
profit | double | Read Only | Shows your session profit. Session is defined as the time since opening the current instance of bot or the last time you reset your stats in the bot. |
currentstreak | double | Read Only | Shows the current winning or losing streak. When positive (>0), it's a winning streak. When negative (<0) it's a losing streak. Can never be 0. Only set after first bet. |
Internal Functions
Function | Purpose |
---|---|
dobet() | The loop of bets |
stop() | Stop the bet |
Sample Code
- Strategy: Basic Martingale
chance = 49.5
multiplier = 2
basebet = 0.00000010
function dobet()
if profit >= 0.1 then
stop()
end
if win then
nextbet = basebet
else
nextbet = previousbet * multiplier
end
end
Report Issue
License
- GPL-3.0
Thank you for your contribution.
checkParams
.checkParams
, you also console.log - which is not very good practice.isError
could be just one line of code - you could define as a function prototype.setDatatable
you are directly setting HTML with CSS - which is mixing the presentation with logics - that is not recommended.. Try to use some JS frameworks e.g. Vue, React or, Angular.Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @justyy! Keep up the good work!
Congratulations @mydicebot! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Do not miss the last post from @steemitboard:
Hi @mydicebot!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Congratulations @mydicebot! You have received a personal award!
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
Hey, @mydicebot!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!