Hello Guest

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
22
Good morning

Please I really want to change my client seed every time i want to.

How can i do it in the following website using dicebot (Wolf,Stake,Primedice,Bitsler...etc....)

If there is a command to do it what is it.

I'm patiently waiting for your reply.

Thanks
23
Programmer Mode / Programmer needed for a new Script
« Last post by LukeHa on May 03, 2021, 11:00:41 am »
Hello together

I made a new strategy for Dice on stake. Now i'm searching a developer to bring this settings to the dicebot.
If someone of you like to do it please PM me.

BR
24
Bugs and Suggestions / In simulate mode bot calculate always 1 roll less
« Last post by Tomy45 on May 01, 2021, 02:36:32 am »
Hi Seuntjie,

In simulate mode bot calculate always 1 roll less, look here:   https://postimg.cc/fJgthC4M
Could you fix it? I have described it in more detail here:   https://forum.seuntjie.com/index.php?topic=1805.0

Cheers
25
Programmer Mode / The code:
« Last post by Tomy45 on May 01, 2021, 02:09:09 am »
Code: [Select]
--  Stats analyzer

function Initial()
print ("=================================================================================================")
print("")
print ("INITIALIZING...")
print("")
StatusProgression = false
MaxRiskF = false
DisplayF = true
ChanceF = true
StopF = false
Display = 1      -- <<   1= Each roll    2= Every x roll and whole worst drawdown   3= Every x roll 
EveryxRoll = 8   -- <<   Set Every x roll
CountRoll = 0
HighestBalance = 0
StartingBalance = 0
LowestBalance = 0
CurrentProgression = 0
MaximumProgression = 0
CurrentDrawdown = 0
MaximumDrawdown = 0
MaxDrawd1Satoshi = 0
MaximumDrawdownP = 0
MaxDrawd1SatoshiP = 0
MaximumRisk = 0
MaximumRiskP = 0
MaxRisk1Satoshi = 0
MaxRisk1SatoshiP = 0
HighestProfit = 0
Profit = 0
LowestProfit = 0
ProfitP = 0
ProfitCurrentBet = 0
Profit1Satoshi = 0
TotalBets = 0
TotalWins = 0
TotalLosses = 0
WinStreak = 0
WinCount = 0
LoseStreak = 0   
LoseCount = 0
ProfitStreak = 0
ProfitStreakW = 0
ProfitStreakL = 0
Wins = 0
Losses = 0
Win = 0
Lose = 0
print("NEXTBET = "..(math.floor(nextbet*10^8)).."  Satoshis of  "..currency.."                 "..(string.format("%.8f",nextbet))) print("")
if nextbet > 0.00100000 then print ("ATTENTION !!! TO HIGH BASEBET") nextbet = 0.00000001 StopF = true end  -- <<   Setting the maximum starting bet
if nextbet == 0 then print("NEXTBET VALUE = 0  OR NOT FOUND!") print("") end
if chance == 0 then print("CHANCE VALUE = 0  OR NOT FOUND!") print("") end
if nextbet == 0 or chance == 0 then print ("INITIALIZED FAILED") end
RestofChance = 100
Chance = chance
RestofChance -= Chance
ChanceC = Chance/100
RestofChanceC = RestofChance/100
ExpectedWins = 0                       
OverUnderExpWins = 0
MaxUnderWins = 0
MaxOverWins = 0
if chance >0 and nextbet >0 then print ("INITIALIZED SUCCESFULL") end
BaseB = nextbet
HighestBet = 0
HighestBetP = 0
CurrentBet = nextbet
LowestBet = nextbet
WageredTotal = 0
WageredTotalP = 0
WageredWins = 0
WageredLosses = 0
WageredPerBet = 0   
WageredPerProfit = 0
ProfitPerWagered = 0
SystemEffectiveness = 0
SystemEffectivenessP = 0
Clock1 = os.clock()
Clock2 = os.clock()
SecCount1 = 0
SecCount2 = 0
Seconds = 0
Minutes = 0
Hours = 0
TypeofTest = 1     -- <<   1= Normal game   2= Simulate
SecSimulate = 2.37512    -- <<   Input seconds per bet from normal game
SecondsPerBet = 0
BetsPerSecond = 0
CryptoCourse = 24.28000000  -- <<   Set the cryptocurrency course for profit calculations
ProfitPerHour = 0
ProfitPerDay = 0
ProfitPerWeek = 0
ProfitPerMonth = 0
end
Initial()



function dobet()
     Analyzer()
  end 



function Analyzer()
  SecCount1 = os.clock()- Clock1 Seconds = string.format("%.0f",SecCount1) if TypeofTest == 1 then SecCount2 = os.clock()- Clock2 end
  if SecCount1 > 59 then Clock1 = os.clock() Seconds = 0 Minutes += 1 end if Minutes > 59 then Minutes = 0 Hours += 1 end
  if StopF == true then stop() end
  if StartingBalance == 0 then StartingBalance = balance-currentprofit HighestBalance = balance-currentprofit LowestBalance = balance-currentprofit end
  if Display == 2 or Display == 3 then DisplayF = true end
  Profit += currentprofit if previousbet > HighestBet then HighestBet = previousbet end if previousbet < LowestBet then LowestBet = previousbet end
  CurrentProgression += 1 TotalBets += 1 ProfitCurrentBet = (Profit / TotalBets)*10^8 Profit1Satoshi = (Profit/TotalBets)/(BaseB*10^8)*10^8
  if chance == Chance and ChanceF == true then ExpectedWins += ChanceC else ChanceF = false end
  WageredTotal += previousbet WageredPerBet = WageredTotal / TotalBets
  if Profit < 0.00000001 then WageredPerProfit = -1 ProfitPerWagered = -1 end
  if Profit >= 0.00000001 then WageredPerProfit = WageredTotal / Profit ProfitPerWagered = Profit / WageredTotal end
  ProfitP = (Profit/StartingBalance)*100 HighestBetP = (HighestBet/StartingBalance)*100 WageredTotalP = (WageredTotal/StartingBalance)*100
  if MaxRiskF == true then MaxRiskF = false
     MaximumRisk = MaximumDrawdown - previousbet MaximumRiskP = (MaximumRisk/(-StartingBalance))*100
     MaxRisk1Satoshi = MaximumRisk / BaseB       MaxRisk1SatoshiP = (MaxRisk1Satoshi/(-StartingBalance))*100 end

  if win
    then
      Win += 1 TotalWins += 1 OverUnderExpWins += RestofChanceC WageredWins += previousbet
      if OverUnderExpWins > MaxOverWins then MaxOverWins = OverUnderExpWins end
      if WinCount == 0 then ProfitStreak = currentprofit else ProfitStreak += currentprofit end
      WinCount += 1 LoseCount = 0
      if WinCount > WinStreak then WinStreak = WinCount ProfitStreakW = ProfitStreak end
      if WinCount == WinStreak and ProfitStreak > ProfitStreakW then ProfitStreakW = ProfitStreak end
      CurrentDrawdown += currentprofit
      if Profit <= HighestProfit and StatusProgression == true
        then
          MaximumProgression = CurrentProgression
          Wins = Win
        end
      if balance > HighestBalance then HighestBalance = balance end   
    end

  if !win
    then
      Lose += 1 TotalLosses += 1 OverUnderExpWins -= ChanceC WageredLosses += previousbet
      if OverUnderExpWins < MaxUnderWins then MaxUnderWins = OverUnderExpWins end
      if LoseCount == 0 then ProfitStreak = currentprofit else ProfitStreak += currentprofit end
  LoseCount += 1 WinCount = 0
      if LoseCount > LoseStreak then LoseStreak = LoseCount ProfitStreakL = ProfitStreak end
      if LoseCount == LoseStreak and ProfitStreak < ProfitStreakL then ProfitStreakL = ProfitStreak end
      CurrentDrawdown += currentprofit
      if CurrentDrawdown >= MaximumDrawdown and StatusProgression == true
        then
          MaximumProgression = CurrentProgression
          Losses = Lose
        end 
      if balance < LowestBalance then LowestBalance = balance end
      if CurrentDrawdown < MaximumDrawdown
        then
          StatusProgression = true MaxRiskF = true
          MaximumProgression = CurrentProgression
          MaximumDrawdown = CurrentDrawdown
          MaximumDrawdownP = (MaximumDrawdown/(-StartingBalance))*100
          MaxDrawd1Satoshi = MaximumDrawdown / BaseB
          MaxDrawd1SatoshiP = (MaxDrawd1Satoshi/(-StartingBalance))*100
          SystemEffectiveness = +MaximumDrawdown
          if HighestProfit >= SystemEffectiveness
            then SystemEffectiveness = ((HighestProfit+MaximumDrawdown)/HighestProfit)*100
              if MaximumDrawdown == 0 then SystemEffectivenessP = 0 else SystemEffectivenessP = ((HighestProfit+MaximumDrawdown)/+MaximumDrawdown)*100 end
            else SystemEffectiveness = ((HighestProfit+MaximumDrawdown)/ +MaximumDrawdown)*100
              if HighestProfit == 0 then SystemEffectivenessP = 0 else SystemEffectivenessP = ((HighestProfit+MaximumDrawdown)/-HighestProfit)*100 end end
          MaximumRisk = CurrentDrawdown
          MaxRisk1Satoshi = MaximumRisk / BaseB
          Wins = Win
          Losses = Lose
        end
    end
  if Profit < LowestProfit then LowestProfit = Profit end
  if Profit > HighestProfit
    then
      HighestProfit = Profit
      SystemEffectiveness = +MaximumDrawdown
      if HighestProfit >= SystemEffectiveness
        then SystemEffectiveness = ((HighestProfit+MaximumDrawdown)/HighestProfit)*100
          if MaximumDrawdown == 0 then SystemEffectivenessP = 0 else SystemEffectivenessP = ((HighestProfit+MaximumDrawdown)/+MaximumDrawdown)*100 end
        else SystemEffectiveness = ((HighestProfit+MaximumDrawdown)/ +MaximumDrawdown)*100
          if HighestProfit == 0 then SystemEffectivenessP = 0 else SystemEffectivenessP = ((HighestProfit+MaximumDrawdown)/-HighestProfit)*100 end end
      if StatusProgression == true
        then
          StatusProgression = false
          MaximumProgression = CurrentProgression
          CurrentProgression = 0
          CurrentDrawdown = 0
          Wins = Win
          Losses = Lose
          if Display == 2 then display() DisplayF = false end
        end
      CurrentProgression = 0
      CurrentDrawdown = 0
      Win = 0
      Lose = 0
    end
   
  if Display == 2 and StatusProgression == true then display() DisplayF = false end
  if Display == 2 or Display == 3
    then
      CountRoll += 1
      if CountRoll == EveryxRoll
        then
          CountRoll = 0
          if DisplayF == true then display() end
        end
    end
  if Display == 1 then display() end
end

function display()
    print("-----------------------------------------------------------------------------------------------------------------------------------------------------------")
    print("                                                                                                                                                          ▼")
    print("Current Currency:    "..currency.."\t\t\t\t         Time Running:  "..Hours.." h : "..Minutes.." m : "..Seconds.." s")
    print("Base Bet:    "..(BaseB*10^8).."  Satoshi                                 "..(string.format("%.8f",BaseB)))   
    if ChanceF == true then print("Chance:     Constant     "..chance.." %") else print("Chance:     Variable     "..chance.." %") end
    if TypeofTest == 2 then SecCount2 = TotalBets*SecSimulate end SecondsPerBet = (SecCount2/TotalBets) BetsPerSecond = (TotalBets/SecCount2)
    print("\t\t\t\t\t\t               Seconds Per Bet:  "..(string.format("%.5f",SecondsPerBet)))
    if win then print("This bet was:     WIN \t\t\t\t               Bets Per Second:  "..(string.format("%.1f",BetsPerSecond)))
           else print("This bet was:     LOSE \t\t\t\t               Bets Per Second:  "..(string.format("%.1f",BetsPerSecond))) end
    print("Total Bets:         "..TotalBets.."                                  Bet ID:  "..lastBet.Id)
    print("")
    print("Total Wins:             "..TotalWins.."                               Total Losses:   "..TotalLosses)
    if ChanceF == true then
    print("Expected Wins:      "..(math.floor(ExpectedWins*10)/10))
    if OverUnderExpWins >=0 then print("Over/Under Wins:  "..(math.floor(OverUnderExpWins*10)/10)) end
    if OverUnderExpWins <0 then print("Over/Under Wins:  "..(math.ceil(OverUnderExpWins*10)/10)) end
    print("Max. Over Wins:     "..(math.floor(MaxOverWins*10)/10).."\t\tMax. Under Wins:   "..(math.ceil(MaxUnderWins*10)/10)) end
    if ChanceF == false then
    print("Expected Wins:      Chance is changing. Cannot verify expectance.")
    print("Over/Under Wins:   ---")
    print("Max. Over Wins:      ---\t\tMax. Under Wins:    ---") end
    print("")
    if WinCount >0 then print("Current Streak:         "..WinCount.."         W/L:   "..(string.format("%.0f",ProfitStreak*10^8)).."           "..(string.format("%.8f",ProfitStreak)))
                   else print("Current Streak:        -"..LoseCount.."         W/L:   "..(string.format("%.0f",ProfitStreak*10^8)).."           "..(string.format("%.8f",ProfitStreak))) end
    print("Best Win Streak:      "..WinStreak.."         Won:   "..(string.format("%.0f",ProfitStreakW*10^8)).."           "..(string.format("%.8f",ProfitStreakW)))
    print("Worst Lose Streak:  -"..LoseStreak.."         Lost:   "..(string.format("%.0f",ProfitStreakL*10^8)).."           "..(string.format("%.8f",ProfitStreakL)))
    print("")
    print("Last Profit:           "..(math.floor(currentprofit*10^8+0.5)).."                                       "..(string.format("%.8f",currentprofit))) 
    print("Highest Profit:      "..(math.floor(HighestProfit*10^8+0.5)).."                                       "..(string.format("%.8f",HighestProfit))) 
    print("Current Profit:       "..(math.floor(Profit*10^8+0.5)).."                                       "..(string.format("%.8f",Profit)).."      = "..(string.format("%.6f",ProfitP)).."%  of  Starting Balance")   
    print("Lowest Profit:       "..(math.floor(LowestProfit*10^8+0.5)).."                                       "..(string.format("%.8f",LowestProfit))) 
    print("")
    print("Current Balance:    "..(string.format("%.8f",balance)).."                    Highest Balance:   "..(string.format("%.8f",HighestBalance)))
    print("Starting Balance:   "..(string.format("%.8f",StartingBalance)).."                    Lowest Balance:    "..(string.format("%.8f",LowestBalance)))
    print("---------------------------------------------------╗")
    print("Data of Largest Drawdown: ")
    print("")
    if StatusProgression == true then print("Current Worst Drawdown:    YES                Current Roll:     "..CurrentProgression.."                     Maximum Rolls:     "..MaximumProgression)
                                 else print("Current Worst Drawdown:    NO                  Current Roll:     "..CurrentProgression.."                     Maximum Rolls:     "..MaximumProgression) end 
    print("")
    print("Current Drawdown:         "..(math.floor(CurrentDrawdown*10^8+0.5)).."                            "..(string.format("%.8f",CurrentDrawdown))) 
    print("Maximum Drawdown:     "..(math.floor(MaximumDrawdown*10^8+0.5)).."                            "..(string.format("%.8f",MaximumDrawdown)).."      = "..(string.format("%.6f",MaximumDrawdownP)).."%  of  Starting Balance") 
    print("Maximum Risk:               "..(math.floor(MaximumRisk*10^8+0.5)).."                            "..(string.format("%.8f",MaximumRisk)).."      = "..(string.format("%.6f",MaximumRiskP)).."%  of  Starting Balance")
    print("")
    print("Max. Dr.d/Base 1 Sat:    "..(math.ceil(MaxDrawd1Satoshi*10)/10).."                            "..(string.format("%.8f",MaxDrawd1Satoshi/10^8)).."      = "..(string.format("%.6f",MaxDrawd1SatoshiP/10^8)).."%  of  Starting Balance")
    print("Max. Risk/Base 1 Sat:    "..(math.ceil(MaxRisk1Satoshi*10)/10).."                            "..(string.format("%.8f",MaxRisk1Satoshi/10^8)).."      = "..(string.format("%.6f",MaxRisk1SatoshiP/10^8)).."%  of  Starting Balance")
    print("Wins:   "..Wins.."      Losses:   "..Losses)
    print("---------------------------------------------------╝")
    print("Highest Bet:   "..(HighestBet*10^8).."                                             "..(string.format("%.8f",HighestBet)).."      = "..(string.format("%.6f",HighestBetP)).."%  of  Starting Balance")       
    print("Current Bet:    "..(previousbet*10^8).."                                             "..(string.format("%.8f",previousbet))) 
    print("Lowest Bet:    "..(LowestBet*10^8).."                                             "..(string.format("%.8f",LowestBet))) 
    print("")
    if ProfitCurrentBet >=0 then print("Profit/Bet at Current Basebet:      "..(math.floor(ProfitCurrentBet*10)/10).."                "..(string.format("%.8f",ProfitCurrentBet/10^8))) end
    if ProfitCurrentBet <0 then print("Profit/Bet at Current Basebet:      "..(math.ceil(ProfitCurrentBet*10)/10).."                "..(string.format("%.8f",ProfitCurrentBet/10^8))) end
    if Profit1Satoshi >=0 then print("Profit/Bet at Basebet 1 Satoshi:   "..(math.floor(Profit1Satoshi*100)/100).."                "..(string.format("%.8f",Profit1Satoshi/10^8))) end
    if Profit1Satoshi <0 then print("Profit/Bet at Basebet 1 Satoshi:   "..(math.ceil(Profit1Satoshi*100)/100).."                "..(string.format("%.8f",Profit1Satoshi/10^8))) end
    print("")
    print("Wagered Total:      "..(math.floor(WageredTotal*10^8+0.5)).."                                     "..(string.format("%.8f",WageredTotal)).."      = "..(string.format("%.6f",WageredTotalP)).."%  of  Starting Balance")
    print("Wagered Wins:      "..(WageredWins*10^8).."                                     "..(string.format("%.8f",WageredWins)))
    print("Wagered Losses:   "..(WageredLosses*10^8).."                                     "..(string.format("%.8f",WageredLosses)))
    print("")
    print("Wagered Per Bet:     "..(math.floor(WageredPerBet*10^9)/10).."                                 "..(string.format("%.8f",WageredPerBet)))
    if WageredPerProfit >0 then print("Wagered Per Profit:   "..(math.floor(WageredPerProfit*100)/100).."        = "..(string.format("%.2f",WageredPerProfit*100)).."%         "..(string.format("%.8f",WageredPerProfit/10^8))) end
    if WageredPerProfit <=0 then print("Wagered Per Profit:       No Profit") end
    if ProfitPerWagered >0 then print("Profit Per Wagered:   "..(math.floor(ProfitPerWagered*100)/100).."        = "..(string.format("%.2f",ProfitPerWagered*100)).."%         "..(string.format("%.8f",ProfitPerWagered/10^8))) end
    if ProfitPerWagered <=0 then print("Profit Per Wagered:       No Profit") end
    print("")
    if SystemEffectiveness >=0 then print("Strategy Effectiveness:  Profit vs Risk (Max. Drawd.)  = "..(string.format("%.0f",SystemEffectiveness)).."%         Profit is x"..(math.floor(SystemEffectivenessP/10+0.5)/10).."  "..(string.format("%.0f",SystemEffectivenessP)).."%  >  Max. Drawd.")
                               else print("Strategy Effectiveness:  Profit vs Risk (Max. Drawd.)  = "..(string.format("%.0f",SystemEffectiveness)).."%         Max. Drawd. is x"..(math.floor(SystemEffectivenessP/10+0.5)/10).."  "..(string.format("%.0f",SystemEffectivenessP)).."%  >  Profit") end
    print("")
    ProfitPerHour = (Profit/SecCount2)*3600 ProfitPerDay = ProfitPerHour*24 ProfitPerWeek = ProfitPerDay*7 ProfitPerMonth = ProfitPerDay*30
    print("Profit per   Hour: "..(string.format("%.8f",ProfitPerHour)).."    = "..(string.format("%.4f",(1/CryptoCourse)*ProfitPerHour)).." $                Week: "..(string.format("%.8f",ProfitPerWeek)).."    = "..(string.format("%.4f",(1/CryptoCourse)*ProfitPerWeek)).." $")
    print("                  Day: "..(string.format("%.8f",ProfitPerDay)).."    = "..(string.format("%.4f",(1/CryptoCourse)*ProfitPerDay)).." $                Month: "..(string.format("%.8f",ProfitPerMonth)).."    = "..(string.format("%.4f",(1/CryptoCourse)*ProfitPerMonth)).." $")
    print("                                                                                                                                                          ▲")
    print("-----------------------------------------------------------------------------------------------------------------------------------------------------------")
end
26
Programmer Mode / Stats Analyzer
« Last post by Tomy45 on May 01, 2021, 02:04:32 am »
Hi. This is not strategy/system but just only the Stats analyzer. It displays in console: Current Currency, Time Running, Base Bet,Chance: Constant or Variable (depends of the strategy) + %, Seconds Per Bet, Status:  WIN/LOS, Bets Per Second, Total Bets, Bet ID, Total Wins, Total Losses, Expected Wins, Over/Under Wins, Maximum Over Wins, Maximum Under Wins, Current Streak, Best Win Streak, Worst Lose Streak, Last Profit,  Highest Profit, Current Profit, Lowest Profit, Current Balance, Highest Balance, Starting Balance, Lowest Balance, Status of Current Worst Drawdown: YES/NO, Current Roll, Maximum Rolls, Current Drawdown, Maximum Drawdown, Maximum Risk, Maximum Drawdown per Basebet 1 Satoshi, Maximum Risk per Basebet 1 Satoshi, Wins and Losses in Maximum Drawdown, Highest Bet, Current Bet, Lowest Bet, Profit per Bet at Current Basebet, Profit per Bet at Basebet 1 Satoshi, Wagered Total, Wagered Wins, Wagered Losses, Wagered Per Bet, Wagered Per Profit, Profit Per Wagered, Strategy Effectiveness - Profit vs Risk (Max. Drawdown) and multiplication bigger advantage, Profit per Hour/Day/Week/Month in crypto and $.

How it works:
Displays full statistics of strategy. The Stats analyzer is completely independent of the strategy. It only collects informations and calculates everything in own, separate block. Does not infringe and affect the strategy in any way, does not modify or alter the settings, placing of bets, chance etc. Doesn't change anything at all.

What for is it:
As you know or not, many strategies contains "resetstats()" command for reset nextbets when reached new profit or after x rolls. After this all stats in the bot stats window are reseting. The statistics in the simulate window are also reseting. You loosing all data and can not verify effectiveness of strategy, look here:   https://postimg.cc/dZyRTfcm
I designed this analyzer for two main reasons:
1. This stats analyzer NEVER reset even if the strategy uses the "resetstats()" command and resets the stats in the bot.
2. For more useful statistics.

I recommend to open and edit analyzer (and any other strategies) in Notepad++ for three main reasons:
1. In DiceBot writing the comparison sign == is a pain. All the time is spliting on two equals = =. Just try to change value in:  if nextbet   == 2.  Seuntjie, if You could fix it it would be great. Cheers
2. In Notepad++ you can easy cut/copy/paste using mouse.
3. Much much more useful functions.

The analyzer contains three blocks:
1. function Initial()
2. function Analyzer()
3. function display()

Now, all what you have to do it's implement this stats analyzer to your strategy:
1. Copy everything from line 3 to line 96 and paste it in your strategy just above line function dobet().
2. Copy line 101 and paste it in strategy just below line function dobet().
3. Copy everything from line 106 to line 290 and paste it in strategy below, beyond function dobet().
If anyone have the problem with find end of the function dobet() in strategy, then just click on the line function dobet() at begin. In Notepad++ you will see red line on the left side. Follow the line until you see its end.

In block/function Initial() we have 6 settings.
1. line 13: "Display".  If you put here value 1 then analyzer will display statistics in each roll. If value will be set on 2 then analyzer will display statistics in every x roll that is set below in line 14 and will display additionally whole worst drawdown. Value 3 = displays only x roll that is set below in line 14. Value 1 is recommend for checking and control of strategy at each roll in real game. Value 3 is recommend for fastest testing of strategy e.g. in simulation. Example: If you want to run simulate of strategy for 10000 rolls then set 3 in line 13 and set 10000 in line 14. Analyzer will display results only at roll 10000. You don't need to slow down the bot and kill the CPU. Note! Currently in simulate mode the bot counting always 1 roll less than should, so in example above bot will do 9999 rolls so will not display roll No. 10000. For display roll No. 10000 you need to set in Simulate window Amount of bets: 10001.
This is a bug and I'll report this asap, look here:   https://postimg.cc/fJgthC4M
2. line 14: If you set lets say 100 then analyzer will display results at every 100 roll. Active only if is set value 2 or 3 in line 13.
3. line 51: "if nextbet > 0.00100000"   << here you set your max starting basebet you can place in any strategy. This option is to prevent loss your money when basebet of strategy is higher than you can place, but you forgot to check or set it before run. If basebet of strategy is higher than is set here then analyzer automatically will reduce basebet to 1 satoshi = 0,00000001 and will stop the bot.
4. line 86: "Type of Test" If value here is 1 then analyzer using clock of CPU to calculates Profit per Hour/Day/Week/Month. Set 1 when you play a strategy normally. If value is 2 then analyzer using value of line 87 "SecSimulate"  to calculates Profit per Hour/Day/Week/Month. Set 2 only when you Simulate strategy.
Example: Now we want to play normally but later also to simulate strategy:
We set value to 1 and play. In console we see on the bottom real profit per Hour...Month, and also in the upper right corner seconds per bet.
After x rolls we stop the bot and want to Simulate strategy.
Now we set value to 2 in line 86 "Type of Test". In line 87 "SecSimulate" we putting value of seconds per bet from real previous game from console. Open the window Simulate and run strategy simulation. Analyzer will use seconds from real game to correctly calculations profit per Hour...Month.
5. line 87: Input seconds per bet from normal game if you want to simulate strategy. Only used then if is set value 2 in line 86.
6. line 90: "CryptoCourse" Set the cryptocurrency course for calculations "Profit per Hour/Day/Week/Month".

Explaination some statistics:
Maximum Rolls - Is counted from previous highest profit to the last highest profit cointains largest drawdown, look here:   https://postimg.cc/3y3HfMLN
Maximum Drawdown - Is calculated of last highest profit to the lowest drawdown, look here:   https://postimg.cc/1ng7JJZ4
Maximum Risk =  (Maximum Drawdown + nextbet)  = our worst moment. Maximum Drawdown and Maximum Risk is useful stats to evaluate the risk of strategy. I brought this stats from Roulette Xtreme, look here:   https://postimg.cc/gxQgr3hW   
Strategy Effectiveness - Profit vs Risk (Max. Drawdown). This is not compare current profit vs maximum drawdown but compare highest profit vs maximum drawdown within whole session. This option is helpfull to compare effectiveness your strategy vs effectiveness of others strategies and between them, look here:   https://postimg.cc/WtYg2TgR
In the calculations:   if larger Profit:   ( ( HighestProfit + MaximumDrawdown ) / HighestProfit ) * 100    if larger Max. Drawdown:   ( ( HighestProfit + MaximumDrawdown ) / + MaximumDrawdown ) * 100
Example: Lets say that our profit = 100 and MaximumDrawdown = -80.   ( ( 100 + -80 ) / 100 ) * 100 = 20%.     Now our profit = 80 and MaximumDrawdown = -100.   ( ( 80 + -100 ) / 100 ) * 100 = -20%.
Profit is x...  ...%  >  Max. Drawd.  or   Max. Drawd. is x...  ..%  >  Profit    Comparison as above so Highest profit vs maximum drawdown within whole session.
Example: Our profit = 350 and MaximumDrawdown = -100  then  Profit is x2.5  250%  >  Max. Drawd.
                Our profit = 100 and MaximumDrawdown = -500  then  Max. Drawd. is x4  400%  >  Profit 

Speed of the bot using the analyzer:
Used simplest strategy for test, cryptocurrency: doge, site 999dice:

base    = 0.00000001   nextbet = base   chance  = 49.5   HighProfit = 0
function dobet()
  if win then nextbet += 0.00000001
         else nextbet += 0.00000001
  end
  if profit > HighProfit then nextbet = base HighProfit = profit end
  end 

1. Normal run (speed was tested on 30 rolls, average CPU usage was tested over 100+):
Just a strategy: 01m:08s  = 100% of speed,   Average CPU usage:  0,47%
Strategy + analyzer, display at 30 roll: 01m:08s  = 100% of speed,   Average CPU usage:  0,48%
Strategy + analyzer, display each roll: 01:12s  = 94% of speed,   Average CPU usage:  1,14%

2. Simulate run (speed was tested on 1000 rolls, average CPU usage was tested over 5000+):
Just a strategy: 00m:14s  = 100% of speed,   Average CPU usage:  0%
Strategy + analyzer, display at 1000 roll: 00m:15s  = 93% of speed,   Average CPU usage:  0%
Strategy + analyzer, display each roll: 02:03s  = 11% of speed,   Average CPU usage:  10,98%    - not recommended for use, kills your time and CPU!

That's all. I designed analyzer for myself and also share here for you guys.
The code is in next post. Enjoy and good luck.


27
Bugs and Suggestions / Re: DuckDice gets stuck after some bets
« Last post by Seuntjie on April 27, 2021, 10:20:15 am »
Have you checked the status bar in the bottom of the screen? It sounds like a setting or a stop condition in your script. I've had no other reports about problems at duckdice. Try resetting your bot and check your script for stop conditions if you're using one.
https://bot.seuntjie.com/faqs.aspx#faq18
28
Bugs and Suggestions / Re: DuckDice gets stuck after some bets
« Last post by GodAscorbin on April 25, 2021, 10:55:22 am »
so i guess duckdice is dead ;/ ?
29
Bugs and Suggestions / Re: dice bot closes, no errors
« Last post by dimon121 on April 25, 2021, 08:02:19 am »
unfortunately this doesn't provide any useful info.

If it happens again, please check your event viewer -> Application log for any errors from dicebot and post it/them.

What site are you playing at?

  - Provider

   [ Name]  Windows Error Reporting
 
  - EventID 1001

   [ Qualifiers]  0
 
   Level 4
 
   Task 0
 
   Keywords 0x80000000000000
 
  - TimeCreated

   [ SystemTime]  2021-04-21T07:22:31.737565500Z
 
   EventRecordID 8103
 
   Channel Application
 
   Computer DESKTOP-I6T1URP
 
   Security
 

- EventData

   1286602250946382658
   5
   CLR20r3
   Нет данных
   0
   DiceBot.exe
   3.4.14.0
   5fe8dd0f
   System
   4.8.4001.0
   5d37b3ae
   2098
   13
   System.AggregateException
   
   \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9C1F.tmp.dmp \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9E34.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9E54.tmp.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9E52.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9E91.tmp.txt
   \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_DiceBot.exe_cb429d86db4feea8d82a94f13787cbfc59ea62_46ef5fa7_c54304cd-4809-46ef-8efd-0635d83708ae
   
   0
   38923262-421c-4df6-902d-aec25d55bf1e
   268435456
   165b331b6565e0b9c1daedee36e08b42
   0
Modify message
30
DiceBot General Discussion / Bet stoped
« Last post by arendt on April 23, 2021, 02:16:26 pm »
I get an error always,
When i Use stake API
and advanced, it tells me to slow down after few seconds?
I tried to set dicebot real time but still have problems?
I see another person where it runs flawless
Pages: 1 2 [3] 4 5 ... 10