Hello Guest

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Bugs and Suggestions / Re: login issue with bitsler
« Last post by Seuntjie on June 28, 2020, 05:46:23 pm »
It's probably not something I can fix.

My gut says it's something to do with your IP/region/DNS settings. Try changing your DNS to googles or cloudflares DNS, or flush you DNS. You could try restarting your router as well.
12
Bugs and Suggestions / login issue with bitsler
« Last post by PMG on June 28, 2020, 01:24:53 pm »




i can't login from home wifi but with mobile connexion it's ok. Any idea what is the problem there?
13
Programmer Mode / Re: Reset Script
« Last post by svenjatzu on June 26, 2020, 03:54:37 pm »
is it also possible to add a sleeptimer like wait 30-60 sec before reset the script?
14
Thanks mr mod : )
15
Take a look at the tutorials on https://forum.seuntjie.com/index.php?topic=2.0, specifically
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables (look specifically at the variables wins, losses and currentstreak) and https://forum.seuntjie.com/index.php?topic=2.msg2086#msg2086. Give the other tutorials a read as well, the steemit and forum tutorials are aimed at beginner programmers and will help you the basics of programming. The youtube tutorials assume you have some coding knowledge and are more an overview of how the bot specific features.
16
Hey
im new in this scriptingworld and i cant make that work what id like to make work.
could you please have a look at this i guess simple code?
its gonna help me understand the basics.

Code: [Select]
rchance   = 75
basebet   = .00000001
nextbet   = basebet
bethigh   = true
losecount = 0
totallose = 0
klobet    = basebet / 500
riskbetbb = basebet * 10
maxchance = 31
minchance = 27
more      = basebet / 3
bet       = rchance / 3


function dobet()
x = math.random(0,10000)

if (win) then
 resetseed();
 bethigh = false
 nextbet = riskbetbb
 chance  = math.random(minchance*100, maxchance*100)/100
  else
   resetseed();
  bethigh = true
 nextbet = riskbetbb
 chance  = rchance
 end
    end
  end
end
   

this is where i cam up to and here im stocking.

id like to add 2 or 3 little elements like, ive added them in text to the code

i dont understand how to make this counter like on first lose do xxx on second lose do xxx and on third lose do xxxx and so on

have a look on how id like to get this code working

Code: [Select]
rchance   = 90
basebet   = .00000001
nextbet   = basebet
bethigh   = true
losecount = 0
totallose = 0
klobet    = basebet / 500
riskbetbb = basebet * 10
maxchance = 50
minchance = 60
more      = basebet / 3
bet       = rchance / 3


function dobet()
x = math.random(0,10000)

if (win) then
      bethigh = true
      nextbet = basebet
      chance  = rchance
      resetseed();
  else
    resetseed();
    bethigh = false
    nextbet = riskbetbb
    chance  = math.random(minchance*100, maxchance*100)/100
-- on the first loose id like to change seed and set highlo to lo,
-- the chance should be random between 50 and 60,  (eg this is nonce 277 and former times loss was on (nonce 263 (profit 300 satoshi)))
-- for betsize on this first bet id like to set the profit from the last hit (nonce 263) min-max-chance 50-60
-- at the second loose id like to take the profit from betsice from (nonce 263) min-max-chance 50-60 and multi it x3
-- at the third loose id like to set the min-max-chance to 40-50 and betsice from (nonce 263) and multi it x10 / 3,71
-- if all three dont hit id like run 6 times the bet chance 0.01 betsice 0
-- and after this just switch back to nextbet = basebet, chance = rchance
      end
    end
  end
end
   

 
17
Programmer Mode / Re: Reset Script
« Last post by Seuntjie on June 24, 2020, 02:08:59 pm »
To reset a script, you need to reset your own variables. You can do that by just setting them to their original values or using a function to do it.

I made a tutorial about a resumable script but you can use the initialize function to reset if you implement it correctly: https://forum.seuntjie.com/index.php?topic=2.msg2195#msg2195
18
Programmer Mode / Reset Script
« Last post by Jessjxx19 on June 24, 2020, 11:44:27 am »
Hello! I am currently building a script but i need some help.
I want to include a function that stops my script and start it again ( like a reset ) at line 28

if (!win) then
   losecount += 1
   if losecount >= 5 then
       -- I NEED A RESET FUNCTION HERE
   end
into this script :

Code: [Select]
chnc           = 75
chance         = chnc
basebet        = 1
nextbet        = basebet
bethigh        = true
losecount      = 0
enablesrc      = true
rnd            = 0
resetseedonbet = 2000
stoponwin      = 10
function dobet()
rnd += 1
if profit > stoponwin then
    stop()
end
    if (win) then
        if rnd > resetseedonbet then
        rnd = 0
        resetseed()
        end
    chance = chnc
   nextbet = basebet
   losecount = 0
end
if (!win) then
   losecount += 1
   if losecount >= 5 then
       -- I NEED A RESET FUNCTION HERE
   end
   if (losecount > 1) then
      nextbet = previousbet*2
   chance = (1/(((nextbet+(nextbet-basebet))/nextbet)))*100
   if chance < 49.5 then
   chance = 49.5 end
   bethigh = !bethigh
      print ("LOSE")
   print(nextbet)
   print(chance)
   print(profit)
   print(bets)
   else
      nextbet = previousbet*2
   chance = (1/(((basebet+nextbet))/nextbet))*100
      if chance<49.5 then
   chance=49.5 end
   bethigh = !bethigh
   print ("LOSE")
   print(nextbet)
   print(chance)
   print(profit)
   print(bets)
end
end
end

Thanks for your help!
19
Bugs and Suggestions / Add NanoGames.io
« Last post by hagelslag on June 24, 2020, 07:56:43 am »
Hello,
Is it possible to add this site ?
https://nanogames.io/crash
Thanks for your site
20
Programmer Mode / Re: I need help to transfer my setting in dicebot
« Last post by aishte05 on June 21, 2020, 12:57:13 pm »
random of 11 - 33, can you help transfer it to dicebot? I'm having a hard to transfer it
Pages: 1 [2] 3 4 ... 10