Bitcoin Forum
May 26, 2024, 12:17:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 15, 2019, 02:40:03 PM
Unfortunate. Is that something that could be implemented in future releases or is it just not possible?

not saying no, but not saying yes either. There's a lot of other development that needs to be done before I will consider nicetohaves like that.

Gotcha. If you don't mind me asking, what are you looking to further develop in upcoming releases?
2  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 14, 2019, 08:01:31 PM
How can I print colors in the console?

If I want this...

Code:
print("Session Profit - "..profit)

to output this

Session Profit - 999999

What do I need to add to the print command?

You can't

Unfortunate. Is that something that could be implemented in future releases or is it just not possible?
3  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 14, 2019, 03:30:24 PM
How can I print colors in the console?

If I want this...

Code:
print("Session Profit - "..profit)

to output this

Session Profit - 999999

What do I need to add to the print command?
4  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: October 02, 2019, 03:09:34 PM
I'm playing with the idea of incrementally increasing my bet based on my balance and as the balance increases the increment of the bet gets smaller. In the code below I have this working, but I'm thinking that there must be an easier or shorter way to do this with variables. If anyone has any suggestions I'd appreciate it.

Code:
basebet=.00000001

if balance>.00025000 and balance<.00150000 then
    basebet = balance/25000
end

if balance>=.00150000 and balance<.00300000 then
    basebet = (balance/50000)+.00000003
end

if balance>=.00300000 and balance<.00600000 then
    basebet = (balance/100000)+.00000006
end

if balance>=.00600000 and balance<.01000000 then
    basebet = (balance/200000)+.00000009
end

if balance>=.01000000 then
    basebet = (balance/500000)+.00000012
end

5  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 20, 2019, 05:49:44 PM
Is there any way to round numbers off easily? For instance if I have the following code...

Code:
basebet=.00000001
chance=89
function dobet()

if win then
   chance=chance/2
   nextbet=basebet
end

Since the chance on a win will be split in half then the chance would be 44.5. What if I wanted to round the chance to the next higher whole chance being 46? is there a simple way to do this?
6  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 01, 2019, 12:04:09 PM
Quote
Not sure about the probability, my stats isn't that good.

How to calculate the next bet to ensure you break even: You will need to track your streak profit. to do this, have a variable that you add your losses to when you lose and reset when you win.
Then you can use the formulas payout=(100-edge)/chance and profit=(betamount*payout)-betamount to calculate what your bet amount should be

so if you've had 30 losses in a row and you have, say, -35 profit for the losing streak, you can calculate your next bet to break even using

-(streakprofit) = (x * ((100- site.edge)/chance))-x
refactors to
x= -(streakprofit)/payout
(this assumes streakprofit is negative)


I kind of understand this, but am unsure of how I can fit this into my code so that it works correctly. So does the x variable represent my next bet? Sorry for my programming logic ignorance. I'll try my best at wrapping my head around it for now.
7  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: July 31, 2019, 04:47:31 PM
How can I calculate the probability of rolls if I start at chance=1 and keep increasing the chance by 1 on each loss? What would be the probability that it would reach chance=90? also, how would I increase each bet on loss so that it would stay in profit or at least break even? In my code below I'm toying with using exponents, but I'm just throwing random numbers at it to see what sticks so far.
Code:
basebet=1
nextbet=basebet
chance=1
function dobet()

if win then
nextbet=basebet
chance=1
end

if !win then
chance=chance+1
nextbet=previousbet*1.165^1.75
end
8  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: 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

Code:
if condition A exists then run script A
else
run script B
9  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: February 22, 2019, 05:55:54 PM
Is there an easy way to change bets based on luck percentage?

such as..

Code:
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?
10  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: February 07, 2019, 06:20:22 PM
Aha, very nice. I'll have to do this. Thanks.
11  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: 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.
12  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: 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?
13  Economy / Gambling / Re: ★MyDiceBot★ - 190124 | Win/Mac/Linux | STEEM on: January 31, 2019, 06:42:36 PM
Quote
which new coin is bitsler added?

It's simply called Bitsler Coin. They removed their faucet so now they have daily/weekly challenges playing with their own coin. Users get a certain amount per day based on their level.
14  Economy / Gambling / Re: ★MyDiceBot★ - 190124 | Win/Mac/Linux | STEEM on: January 31, 2019, 03:02:56 AM
Just discovered mydicebot and really like it for osx. Any way to support the new bitsler coin?
15  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: 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.
16  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: January 30, 2019, 12:32:05 AM
That code will work for my purposes for now, but eventually I'd like to create something that can calculate the probabilities of wins or losses based on number of wins and also based on what numbers have come up. Then I'd adjust my multiplier and/or basebet based on the probabilities. I'm looking at the bet history functions and they're a bit over my head, but I am at least learning more as I go along.
17  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: January 29, 2019, 07:01:18 PM
Now I've got another new idea unrelated to my previous one. Lets say I want to analyze a group of bets, 100 for instance, and I want to be able to bet a multiplier based on whether or not a certain profit has happened. So in 100 bets if there is 50 or more units of profit then nextbet=basebet otherwise nextbet=previousbet*multiplier for another 100 bets. Rinse and repeat.
18  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: January 28, 2019, 08:17:15 PM
Nice. That's super elegant and works well. It's easy to modify too. Thanks again, you rock dude.
19  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: January 28, 2019, 01:53:29 PM
Works great! Thanks HCP. Ok, so for some more fun could we add a condition where it will reset to base after a WLLW and a WLLLW situation at the same time that the WLW condition is also running? My mind is having trouble deciphering the logic here. I'm guessing there needs to be a previousResult3 and previousResult4 in there, but don't know how to place it correctly.
20  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: January 27, 2019, 01:19:57 AM
Looks nice. I wont be able to run it until Monday, but I'll let you know how it works out when I do.
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!