HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
January 30, 2019, 02:52:45 AM |
|
Personally, I believe that is somewhat flawed logic (basing your decisions on past results) and getting into "gamblers fallacy" territory... given that each roll is independent, the probabilities are (should be?) exactly what you choose for your "chance" (minus the house edge, of course). To make the most of those bet history functions, you're going to need an understanding of SQL queries (especially for getHistoryByQuery()) and/or the Dicebot Database schema. A SQLite DB browser like this one will let you look through the database structure to get an idea of the data that is stored. As for SQL queries, there are plenty of tutorials available online to explain how "SELECT" statements work.
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
January 30, 2019, 06:41:28 AM |
|
Personally, I believe that is somewhat flawed logic (basing your decisions on past results) and getting into "gamblers fallacy" territory... given that each roll is independent, the probabilities are (should be?) exactly what you choose for your "chance" (minus the house edge, of course). To make the most of those bet history functions, you're going to need an understanding of SQL queries (especially for getHistoryByQuery()) and/or the Dicebot Database schema. A SQLite DB browser like this one will let you look through the database structure to get an idea of the data that is stored. As for SQL queries, there are plenty of tutorials available online to explain how "SELECT" statements work. +1 +1 +1
|
|
|
|
sleepyeyed
Newbie
Offline
Activity: 23
Merit: 1
|
|
January 30, 2019, 12:57:30 PM |
|
I understand where you're coming from in regards to the gambler's fallacy. I would say however that there is something to be said about a certain equilibrium being maintained within a certain set of numbers when also taking standard deviation into account. In no way would I say that previous results dictate future ones, but I would say that betting with probabilities would more likely be beneficial rather than betting against them. Could be flawed logic on my part, but it's still interesting and fun to explore. I'm not out to create a bulletproof script, just one that maximizes the chances for survival based on statistical analysis. I do appreciate your input and the help you've given me with my code and will continue to learn more about LUA scripting. I'm not trying to set the world on fire or anything, it's just a fun rabbit hole I've recently discovered that seems to have no bottom.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
January 31, 2019, 01:39:22 AM |
|
question.bet on DiceBot . the result would be the same. if you would bet on the site
The short, very generalised, answer would be "Yes". The long answer would be it depends on the website and how it implements client seeds and/or your ability to change/specify them. But, generally speaking, if you're using the same seed and/or nonce in the bot as on the website, then yes the results would (should) be identical regardless of whether or not you used bot or web browser.
|
|
|
|
sleepyeyed
Newbie
Offline
Activity: 23
Merit: 1
|
|
February 06, 2019, 02:08:29 PM |
|
Anyone know if in the console there's a command to stop on a win when running a script or is stop() the only way to stop it?
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
February 06, 2019, 07:11:30 PM |
|
As far as I know, there is no stoponwin() function or anything like that... You have to code that into your script yourself. if <insert some condition> then stop() end
I've used a boolean flag before, to "stop on next win" etc... ... stoponwin = false ... function dobet() ... if (win) then if (stoponwin) then stop() end ... end ... if (profit > 0.001) then stoponwin = true end ... end
|
|
|
|
sleepyeyed
Newbie
Offline
Activity: 23
Merit: 1
|
|
February 06, 2019, 07:43:17 PM |
|
Thanks. Might be useful, but I was hoping for a single command to type while my script was going. I find it odd that there's stop on win button available for the advanced mode, but not programmer mode.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
February 06, 2019, 07:55:54 PM |
|
Well, technically that could also be used as "a single command to type while [your] script was going"... If you were to type: on the console when the script is running... then on the next win, the script will stop. In fact, that is how I generally use it. You don't even need the "if (profit)" check or anything other condition to set stoponwin for that matter... just the: if (win) then if (stoponwin) then stop() end end
|
|
|
|
sleepyeyed
Newbie
Offline
Activity: 23
Merit: 1
|
|
February 07, 2019, 06:20:22 PM |
|
Aha, very nice. I'll have to do this. Thanks.
|
|
|
|
sleepyeyed
Newbie
Offline
Activity: 23
Merit: 1
|
|
February 22, 2019, 05:55:54 PM |
|
Is there an easy way to change bets based on luck percentage? such as.. if luck<=100% then nextbet=basebet*multiplier else nextbet=basebet
If not then what's an easy way to calculate the luck percentage and apply the above code?
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
February 23, 2019, 07:18:43 PM |
|
Is there an easy way to change bets based on luck percentage? such as.. if luck<=100% then nextbet=basebet*multiplier else nextbet=basebet
If not then what's an easy way to calculate the luck percentage and apply the above code? iirc there is no luck variable available in the programmer mode. You can see the method DiceBot uses to calculate luck at https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs#L1392. Do with that what you want
|
|
|
|
Victorycoin
|
|
April 19, 2019, 02:42:54 PM |
|
No update about more than a month about about the bot on this discussion board. Programmers stopped the discussion or they just left the topic or will start asap just a break.
|
|
|
|
dimondimon
Member
Offline
Activity: 270
Merit: 10
|
|
April 20, 2019, 03:50:09 AM |
|
No update about more than a month about about the bot on this discussion board. Programmers stopped the discussion or they just left the topic or will start asap just a break.
is the main forum for the bot , maybe they're out there , I'm always there to ask
|
|
|
|
Victorycoin
|
|
April 21, 2019, 12:45:30 PM |
|
No update about more than a month about about the bot on this discussion board. Programmers stopped the discussion or they just left the topic or will start asap just a break.
is the main forum for the bot , maybe they're out there , I'm always there to ask I think they are out if they weren't out then they could reply to you. There are no moderation, no reply or nothing else for what it seems they are still alive. All of the aspects prove they are gone.
|
|
|
|
ShooterXD
|
|
April 21, 2019, 01:16:01 PM |
|
No update about more than a month about about the bot on this discussion board. Programmers stopped the discussion or they just left the topic or will start asap just a break.
is the main forum for the bot , maybe they're out there , I'm always there to ask I think they are out if they weren't out then they could reply to you. There are no moderation, no reply or nothing else for what it seems they are still alive. All of the aspects prove they are gone. BTW, you can find All info needed in The official website. There are many usefull links for you my friend. Take a look
|
|
|
|
Mcolo99
Newbie
Offline
Activity: 11
Merit: 0
|
|
April 24, 2019, 09:49:39 AM |
|
Hello all!! Grin Grin Im a quite useless scripter or developer in any way, that is since i am a mechanic and not engineer. I would like to ask anyone who is experienced and can make lua scripts for seuntjie dicebot. I know how i want the script or function to work but just dont know how to make a script out of it, i have tried but it always end with headache. So this i know chance = 90 base= 0.00000010 resetseed(10000) risk=20% Stake= balance*risk if losestreak 1 followed by 1 win > bet 10*base 1 time > reset to base (only beign executed if past 20 rolls includes max 1 loss) if losestreak 1 followed by 4 win > bet 10*base 1 time > reset to base (only beign executed if past 20 rolls includes max 2 loss) if losestreak 2 followed by 3 win > bet 20*base 1 time > reset to base if losestreak 3 followed by 2 win > bet 30*base 1 time > reset to base if losestreak 4 followed by 5 win > bet 40*base 1 time > reset to base if losestreak 5 followed by 1 win > bet stake 5 times > reset to base if 5 losestreak with in 20 rolls > continue base til winstreak 15 Thanks in advice and ofcourse if someone take the time to do it and maby improve my idea i might send some $$$
|
|
|
|
|
Victorycoin
|
|
May 10, 2019, 12:14:00 PM |
|
No update about more than a month about about the bot on this discussion board. Programmers stopped the discussion or they just left the topic or will start asap just a break.
is the main forum for the bot , maybe they're out there , I'm always there to ask I think they are out if they weren't out then they could reply to you. There are no moderation, no reply or nothing else for what it seems they are still alive. All of the aspects prove they are gone. BTW, you can find All info needed in The official website. There are many usefull links for you my friend. Take a look Okay, but I do not mean that I mean the are out from the topic moderation on bitcointalk. Are they active on bitcointalk,you can see that they are not, have you got my point?
|
|
|
|
sleepyeyed
Newbie
Offline
Activity: 23
Merit: 1
|
|
May 31, 2019, 02:43:19 PM |
|
I have a couple scripts that work pretty well, but I'd like to change from one to the other within the same script. So simply put I'd like something that goes if condition A exists then run script A else run script B
|
|
|
|
|
|