Author

Topic: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! - page 118. (Read 274841 times)

legendary
Activity: 1717
Merit: 1125
Yes you can, but not as you're hoping to use it.

You can set the whole list using setvaluestring('LabValues','your list of bets here separated by question marks')
for example: setvaluestring('LabValues','0.0001?0.0001?0.0002?0.0002?0.0002?0.0001?0.0001')
and getvalue('LabValues') will return your current labouchere list in the same way.

Note the the getvalue function will return your WHOLE list, NOT the one with extra/crossed out bets from the current streak.
Also, the setvalue function will only take effect after a reset has been triggered.

There is unfortunately no way of adding a single bet to the end or middle of the list while it's running. I suggest writing your own labouchere function with that kind of functionality in LUA.

You can however switch between using labouchere or not. For example, use the same logic you would to determine when to add a bet to the labouchere list, but instead use
nextbet=thebetyouwantedtoaddtothelist

that way, the labouchere list gets preserved, and you make the extra bet
newbie
Activity: 57
Merit: 0
Ok, it worked, I didn't add Bets at advanced tab.
Basic scrypt for tests:

Code:
chance=49.5
base=1
nextbet=base
bethigh=false

function dobet()

nextbet=labouchere(win)

end

And my another questions is:
Can i use setvalue to control/change/add/remove Bets of labouchere from programer mode ?
What's the valueint name for "Bets" in labouchere and whitch valueint function to use ? setvaluestring ?
legendary
Activity: 1717
Merit: 1125
Hi, again.
One more question, how to call built in function labouchere?
I found somewhere to use : nextbet=labouchere(win) ?
But i can not make this to work. Where i define the bets to be used in labouchere ?
Also i tried to use nextbet=martingale(win) for test it, and it doesent work too.
What can i change to make it work?

What doesn't work? Can you post your whole script? Do you get an error message and can you post it? Please be as specific as you can.

When you use the labouchere function, it uses the list of bets you set up in the advanced mode.
newbie
Activity: 57
Merit: 0
Hi, again.
One more question, how to call built in function labouchere?
I found somewhere to use : nextbet=labouchere(win) ?
But i can not make this to work. Where i define the bets to be used in labouchere ?
Also i tried to use nextbet=martingale(win) for test it, and it doesent work too.
What can i change to make it work?
newbie
Activity: 57
Merit: 0
Thank You very much, that what i was looking for, i hope Smiley
Getting to work.

legendary
Activity: 1717
Merit: 1125
Hi, does someone has a LUA script of labouchere strategy ?
I want to combine it with other strategy but i cant think how to write labouchere script....
Any ideas ?
THX


You can call the built in labouchere function using the function: labouchere(win:boolean)
This will return the result of the labouchere betting system as it is set up in you advanced mode.

Alternatively, here's my c# labouchere function that you can convert to LUA if you want.

Code:
void Labouchere(bool Win)
        {
            if (Win)
            {
                if (rdbLabEnable.Checked)
                {
                    if (chkReverseLab.Checked)
                    {
                        if (LabList.Count == 1)
                            LabList.Add(LabList[0]);
                        else
                            LabList.Add(LabList[0] + LabList[LabList.Count - 1]);
                    }
                    else if (LabList.Count > 1)
                    {
                        LabList.RemoveAt(0);
                        LabList.RemoveAt(LabList.Count - 1);
                        if (LabList.Count == 0)
                        {
                            if (rdbLabStop.Checked)
                            {
                                Stop("End of labouchere list reached");
                               
                            }
                            else
                            {
                                Reset();
                            }
                        }

                    }
                    else
                    {
                        if (rdbLabStop.Checked)
                        {
                            Stop("End of labouchere list reached");
                           
                        }
                        else
                        {
                            string[] ss = GetLabList();
                            LabList = new List();
                            foreach (string s in ss)
                            {
                                LabList.Add(dparse(s, ref convert));
                            }
                            if (LabList.Count == 1)
                                Lastbet = LabList[0];
                            else if (LabList.Count > 1)
                                Lastbet = LabList[0] + LabList[LabList.Count - 1];
                        }
                    }
                }

               
            }
            else
            {
                //do laboucghere logic
                if (rdbLabEnable.Checked)
                {
                    if (!chkReverseLab.Checked)
                    {
                        if (LabList.Count == 1)
                            LabList.Add(LabList[0]);
                        else
                            LabList.Add(LabList[0] + LabList[LabList.Count - 1]);
                    }
                    else
                    {
                        if (LabList.Count > 1)
                        {
                            LabList.RemoveAt(0);
                            LabList.RemoveAt(LabList.Count - 1);
                            if (LabList.Count == 0)
                            {
                                Stop("Stopping: End of labouchere list reached.");
                               
                            }
                        }
                        else
                        {
                            if (rdbLabStop.Checked)
                            {
                                Stop("Stopping: End of labouchere list reached.");
                               
                            }
                            else
                            {
                                string[] ss = GetLabList();
                                LabList = new List();
                                foreach (string s in ss)
                                {
                                    LabList.Add(dparse(s, ref convert));
                                }
                                if (LabList.Count == 1)
                                    Lastbet = LabList[0];
                                else if (LabList.Count > 1)
                                    Lastbet = LabList[0] + LabList[LabList.Count - 1];
                            }
                        }
                    }
                }


                //end labouchere logic
            }
           
                if (LabList.Count == 1)
                    Lastbet = LabList[0];
                else if (LabList.Count > 1)
                    Lastbet = LabList[0] + LabList[LabList.Count - 1];
                else
                {
                    if (rdbLabStop.Checked)
                    {
                        Stop("Stopping: End of labouchere list reached.");
                       
                    }
                    else
                    {
                        string[] ss = GetLabList();
                        LabList = new List();
                        foreach (string s in ss)
                        {
                            LabList.Add(dparse(s, ref convert));
                        }
                        if (LabList.Count == 1)
                            Lastbet = LabList[0];
                        else if (LabList.Count > 1)
                            Lastbet = LabList[0] + LabList[LabList.Count - 1];
                    }

               
            }

        }

If you want to view the full code (for finding out what the various variables are etc etc), see https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs#L1387
newbie
Activity: 57
Merit: 0
Hi, does someone has a LUA script of labouchere strategy ?
I want to combine it with other strategy but i cant think how to write labouchere script....
Any ideas ?
THX
newbie
Activity: 4
Merit: 0
Do you have plans for the bot with the resurrected MagicalDice?

That depends entirely on them. I told them I'd need beta access to have the bot ready on the launch of MD2 but i haven't heard anything yet.

I'm also aware that the bot doesn't work at PRC/betking anymore, since it became betking.
Also aware of the login problems at bitdice.

Also, I had a message from someone about adding a site to the bot, but i can't find the message nor remember the site, so if you recently asked me to add a site and I haven't responded, please just ask again here or send me a pm or something please.

Good to hear, thanks for the updates!
legendary
Activity: 1717
Merit: 1125
Do you have plans for the bot with the resurrected MagicalDice?

That depends entirely on them. I told them I'd need beta access to have the bot ready on the launch of MD2 but i haven't heard anything yet.

I'm also aware that the bot doesn't work at PRC/betking anymore, since it became betking.
Also aware of the login problems at bitdice.

Also, I had a message from someone about adding a site to the bot, but i can't find the message nor remember the site, so if you recently asked me to add a site and I haven't responded, please just ask again here or send me a pm or something please.

Edit: While I'm aware of these problems, I can't do much about them at this very moment. I have some personal things going on which leaves no time for the bot. Once the dust has settled, I'll get the bot up and running normally again.
newbie
Activity: 4
Merit: 0
Do you have plans for the bot with the resurrected MagicalDice?
legendary
Activity: 1717
Merit: 1125
I asked this question on your email, hope to get answer to it. Is there a support for win xp? I get that weird error not valid win32 application. I updated to 4.0 netframework but notthing..

I tried responding to your email but my phones internet wasn't working properly, so here's what i tried to say:

There is no version that supports xp. To compile one that does support xp you will need to set the project target framework to a version of .net that xp supports (4.0 is the latest vs supported by xp I think) and remove or change all functionality that requires .net 4.5. You can try compiling some older commit that depends less on .net 4.5.

Or just update your windows. Xp has reached end of life long ago, you're putting yourself at risk by using such an old OS.
newbie
Activity: 2
Merit: 0
I asked this question on your email, hope to get answer to it. Is there a support for win xp? I get that weird error not valid win32 application. I updated to 4.0 netframework but notthing..
legendary
Activity: 1717
Merit: 1125
Are you ever going to make a PD bot? We could use a reliable bot, they're much needed over autobet
I think that their API is very limited in requests and their API is also limited. Their autobet is also pretty good and I would be fine in keeping it (no reason to pay for another bot). PD works perfect for martingale and it has been very profitable for me.

Like i said, The alpha version of v3 already supports primedice. Stunna was generous enough to pay for the bot, so you all can get it for free. Latest download link is just on the previous page

please help set up a bot !!

See this page:
If you have questions after that, see this: http://bot.seuntjie.com/FAQs.aspx
And if you still have questions after that, ask them here.

if you're from the US:
if you are connecting from within the US, I know of the problem. Otherwise, I'll need some more info.

...
PrimeDice doesn't allow depositing from North-American IP's, this is probably what causes the problem as the bot gets the deposit address when it logs in. I'll make some changes so the bot successfully logs in even when it fails to get the deposit address.
....
newbie
Activity: 1
Merit: 0
Are you ever going to make a PD bot? We could use a reliable bot, they're much needed over autobet
I think that their API is very limited in requests and their API is also limited. Their autobet is also pretty good and I would be fine in keeping it (no reason to pay for another bot). PD works perfect for martingale and it has been very profitable for me.

Like i said, The alpha version of v3 already supports primedice. Stunna was generous enough to pay for the bot, so you all can get it for free. Latest download link is just on the previous page

please help set up a bot !!
legendary
Activity: 1717
Merit: 1125
Could you add two functions?
reset after _____ cumulative profit
reset after ____ cumulative loss
For example, -1. -2. -3. +4. +3, cumulative profit =1
                   -1, -2.  -3 -4 -5, cumulative loss =15
Thanks.


....
It already has reset after xxx profit and reset after xxx loss. See the stop conditions tab in the advanced betting mode:
Reset after _______ Btc Loss
Reset after _______ Btc Profit
It doesn't convert from whichever currency you're betting in to btc for the reset things. If you bet in doge and you set those values to 0.0001, it will reset after 0.0001 doge loss or profit. The btc part is there only to differentiate between currency loss and lost bets.
....
newbie
Activity: 14
Merit: 0
Could you add two functions?
reset after _____ cumulative profit
reset after ____ cumulative loss
For example, -1. -2. -3. +4. +3, cumulative profit =1
                   -1, -2.  -3 -4 -5, cumulative loss =15
Thanks.
newbie
Activity: 33
Merit: 0
Yes, what are you looking for?

Is here anybody who can code custom lua strategies  for reward _?

For example i want to change bets size based on percentage not multiplier. Also set some custom conditions when cycle will reset, like if profit in cycle is higher than x btc, than reset to base bet and start new cycle
legendary
Activity: 1717
Merit: 1125
Is here anybody who can code custom lua strategies  for reward _?

Try this thread: https://bitcointalksearch.org/topic/seuntjie-dice-bot-programmers-mode-discussion-1114503

seuntjie, I'm having trouble connecting to primedice. It gives a failed error on 2 different computers. Works for just-dice fine.

if you are connecting from within the US, I know of the problem. Otherwise, I'll need some more info.

...
PrimeDice doesn't allow depositing from North-American IP's, this is probably what causes the problem as the bot gets the deposit address when it logs in. I'll make some changes so the bot successfully logs in even when it fails to get the deposit address.
....
sr. member
Activity: 319
Merit: 250
seuntjie, I'm having trouble connecting to primedice. It gives a failed error on 2 different computers. Works for just-dice fine.
sr. member
Activity: 319
Merit: 250
Yes, what are you looking for?

Is here anybody who can code custom lua strategies  for reward _?
Jump to: