Jump to content
mydicebot

★MyDiceBot★ - Windows/Mac/Linux/Android | PrimeDice/Stake | Lua

Recommended Posts

2 hours ago, mydicebot said:

MyDiceBot online simulator is ready now: 

https://simulator.mydicebot.com/

 

Hey. I tried the simulator and I had a question. When getting a roll, use the seed pair method or another random method? If the seed pair method is used then this is the ideal solution for the simulator. But if any other method is used, it will not give a result to predict the quality of the strategy.

Share this post


Link to post
Share on other sites
6 hours ago, AlphaStorm said:

Hey. I tried the simulator and I had a question. When getting a roll, use the seed pair method or another random method? If the seed pair method is used then this is the ideal solution for the simulator. But if any other method is used, it will not give a result to predict the quality of the strategy.

checkout the code in our simulator implementation, is that what your want? the seed pair method...

    async _simulatorBet(amount, target, condition, houseEdge ) {
        let betInfo = {};
        betInfo.id = 'MyDiceBot_'+Math.random().toString(16).substring(2).substr(0,10);
        betInfo.amount = parseFloat(amount);
        let serverSeed = Math.random().toString(36).substring(2);
        let clientSeed = Math.random().toString(36).substring(2);
        let cryptoHmac = crypto.createHmac('sha256', serverSeed);
        let resultSeed = cryptoHmac.update(`${clientSeed}`).digest('hex');
        let resultNumber = parseInt(resultSeed.substr(0, 10), 16);
        let diceRoll = (resultNumber % 1000000)+1;
        let factor = 1000000/(target+1);
        if(condition == 'over') {
            factor = 1000000/(999999-target+1);
        }
        let profit = (amount * factor) * (1 - houseEdge) - amount;
        console.log(amount,factor,betInfo.amount, houseEdge);
        betInfo.roll_number = diceRoll/10000;
        betInfo.win = false;
        if(condition == 'over') {
            if(target<diceRoll) {
                betInfo.win = true;
            }
        } else {
            if(target>diceRoll){
                betInfo.win = true;
            }
        }
        if(betInfo.win) {
            betInfo.payout = parseFloat((betInfo.amount+profit)).toFixed(8);
            betInfo.profit = parseFloat(profit).toFixed(8);
        } else {
            betInfo.payout = 0;
            betInfo.profit = parseFloat(-betInfo.amount).toFixed(8);
        }
        console.log(betInfo);
        return betInfo;
    }

 

Share this post


Link to post
Share on other sites
5 hours ago, PrimeDragon said:

HeyHey maybe u can add update botton to there, and maybe even search so we can find some bets , if some wanna check

search function has been already provided, see screenshot

Selection_136.thumb.png.0977c4a4f96c1b87ba85dfba65112a12.png

 

and what do you mean the 'update button'? for what purpose?

Youtube demo of manual/auto bet in MyDiceBot Online Simulator

 

 

 

 

Share this post


Link to post
Share on other sites
On 27/01/2019 at 00:42, mydicebot said:

checkout the code in our simulator implementation, is that what your want? the seed pair method...


    async _simulatorBet(amount, target, condition, houseEdge ) {
        let betInfo = {};
        betInfo.id = 'MyDiceBot_'+Math.random().toString(16).substring(2).substr(0,10);
        betInfo.amount = parseFloat(amount);
        let serverSeed = Math.random().toString(36).substring(2);
        let clientSeed = Math.random().toString(36).substring(2);
        let cryptoHmac = crypto.createHmac('sha256', serverSeed);
        let resultSeed = cryptoHmac.update(`${clientSeed}`).digest('hex');
        let resultNumber = parseInt(resultSeed.substr(0, 10), 16);
        let diceRoll = (resultNumber % 1000000)+1;
        let factor = 1000000/(target+1);
        if(condition == 'over') {
            factor = 1000000/(999999-target+1);
        }
        let profit = (amount * factor) * (1 - houseEdge) - amount;
        console.log(amount,factor,betInfo.amount, houseEdge);
        betInfo.roll_number = diceRoll/10000;
        betInfo.win = false;
        if(condition == 'over') {
            if(target<diceRoll) {
                betInfo.win = true;
            }
        } else {
            if(target>diceRoll){
                betInfo.win = true;
            }
        }
        if(betInfo.win) {
            betInfo.payout = parseFloat((betInfo.amount+profit)).toFixed(8);
            betInfo.profit = parseFloat(profit).toFixed(8);
        } else {
            betInfo.payout = 0;
            betInfo.profit = parseFloat(-betInfo.amount).toFixed(8);
        }
        console.log(betInfo);
        return betInfo;
    }

 

thanks for the sample. Yes, I think it looks like the original random system.

Share this post


Link to post
Share on other sites
11 hours ago, mydicebot said:

Yes, mobile edition is on the way...actually.

Youtube Demo of Script usage in MyDiceBot through Onine Simulator

 

https://simulator.mydicebot.com

 


 

Is it possible to increase the speed during the simulation? or make a speed choice? 1-100 per second

Share this post


Link to post
Share on other sites

it says undefined when i loaded my script from computer and pushed "run"

http://prntscr.com/meifix

soon after, later, i downloaded the desktop version, which opens in a browser, and loaded my script from hdd - can't make it run, says undefined :(

please, teach me how to use your app properly!

Edited by cryptomonkey
more tests failed

Share this post


Link to post
Share on other sites

Plan to integrate KeePass into MyDiceBot.

MyDiceBot


MyDiceBot Online Simulator


What is KeePass?

  • https://keepass.info
  • KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database. The databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish).



Why KeePass?

  • If you have many accounts for many dicing sites, then 'copy and paste' is a boring behavior when you begin your betting everyday.
  • If you have many accounts for one particular dicing site, then managing those accounts/password is also a tough situation.
  • KeePass is safe enough to handle all your passwords.
  • It's open source, and you could use any KeePass client to maintain all your dicing account/passwords.


The Most Important Reason

  • copy and paste account/password is not a convenient way when you're using mobile phone
  • It's a convenient way to choose pre-stored local account/password when you use MyDiceBot on mobile. 


So, stay tuned.

40 minutes ago, cryptomonkey said:

it says undefined when i loaded my script from computer and pushed "run"

http://prntscr.com/meifix

soon after, later, i downloaded the desktop version, which opens in a browser, and loaded my script from hdd - can't make it run, says undefined :(

please, teach me how to use your app properly!

will investigate your script, stay tuned.

Edited by mydicebot

Share this post


Link to post
Share on other sites
44 minutes ago, mydicebot said:

Is it slow at your side? I guess it's fast enough at this moment...

Yes, the speed is normal for testing strategies based on small X. then when testing for high X it takes considerable time. in essence, the graph is not so important, the statistics are important. 

 

Share this post


Link to post
Share on other sites

 

1 hour ago, cryptomonkey said:

it says undefined when i loaded my script from computer and pushed "run"

http://prntscr.com/meifix

soon after, later, i downloaded the desktop version, which opens in a browser, and loaded my script from hdd - can't make it run, says undefined :(

please, teach me how to use your app properly!

do you mind share your script? as we try our best to be compatible with Seuntjies script, but still there are some parts cannot be.

so it means there should be an minor adjustment of existing Seuntjies script to make it workable in MyDiceBot.

49 minutes ago, AlphaStorm said:

Yes, the speed is normal for testing strategies based on small X. then when testing for high X it takes considerable time. in essence, the graph is not so important, the statistics are important. 

 

OK, we will investigate the performance issue.

BTW,

* You could download local edition of MyDiceBot, it also provides simulator function. just choose 'Simulator' at login page.

* The purpose of MyDiceBot online edition if for demo, not for long time betting. as our server is low hardware and low performance, just for demo purpose. 

Share this post


Link to post
Share on other sites

 

this wagering software seems pretty satisfying ..

I would have it when I have a little money in my account ...

waiting ... good luck for its evolution to the performance and not the scam

Share this post


Link to post
Share on other sites
22 hours ago, cryptomonkey said:

next question: why does my balance turn to NaN when i loaded a simple script and started in simulator?

http://prntscr.com/mf7tjb

I investigate some of the script by users on online simulator, it looks like their scripts are missing basebet at the initialization part. then cause the NaN balance issue.

there are some scripts created by users are working well in online simulator:

https://simulator.mydicebot.com/

Selection_141.thumb.png.51e4338b8b8dd8c5f169ed13a786d91c.png

Share this post


Link to post
Share on other sites

MyDiceBot - 190212 is released.

 

# Feature Update

* KeePass is supported, so you can store username/password/api-key/token in KeePass, to avoid input them again and again and again and again...
mydicebot-login-keepass.png

 


* KeePass is stored locally on your own machine, so it's safe.
mydicebot-login-keepass-on.png

 

* More sample scripts are provided.
Selection_150.png

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×