Pages:
Author

Topic: Seuntjie' Dice bot programmers mode discussion. - page 51. (Read 125399 times)

newbie
Activity: 8
Merit: 0
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!



can you post your whole script and explain what your'e trying to do?

Thanks for replying!

This is the whole script - Pluscoup by chilly2k and grendel25 (I got it from your website).

Code:
basebet = 0.00001000
nextbet = basebet
roundprofit = 0
chance = 49.5
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
      end
      if balance         stop()
      end
      if balance>maxbal then
         stop()
      end
      if roundprofit > 0 then roundprofit = 0 end
   end
   if (!win) then
      nextbet = previousbet
      print ("LOSE")
      print(nextbet)
   end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end
end

What I am trying to do is this: when the profit (not whole account profit, just the session before resetstats) goes lower than 0.0005 for example, at fist I wanted the bot to stop and then restart but you told me it's not possible, so now I want it to reset the bet to basebet and also resetstats.

I tried with this:

Code:
if profit <= -0.0005 then
nextbet=basebet
resetstats();
end

... and it's not workin, it resets the stats but the bet doesn't go to basebet, it stays where it was.

Thanks for your time and I hope we figure it out!

Your not saying/showing where you put that code.  If you put it just before the last end statement, I think it should work.  
  If you were trying it at the top, nextbet would get reset further in the code.  


Just for educational purposes, the last end statement close the dobet() function.  
Hi, thanks for jumping in.

I tried placing the code at the end of the script, right before the last end that closes the dobet function and now it doesn't even resets the stats like it used to... it just keeps going like the code it's not even there.

This is my whole script exactly as I use it in the bot (the only things I added to it are the two IFs at the very end):

Code:
basebet = 0.000001000
nextbet = basebet
roundprofit = 0
chance = 50
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end
if balance   stop()
end
if balance>maxbal then
   stop()
end
if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end

if profit <= -0.0001000 then
nextbet=basebet
resetstats()
end

if profit >= 0.001 then
withdraw(profit,'BTC ADDRESS')
nextbet=basebet
resetstats()
end

end

Try this.  I think there were to many end statements.  I formatted it a little better to match up if's and ends.  I don't have the bot available on my new computer, otherwise I would have tested it out. 

Code:
basebet = 0.000001000
nextbet = basebet
roundprofit = 0
chance = 50
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
        print ("WIN")
print(nextbet)
      end
      if balance          stop()
      end
      if balance>maxbal then
         stop()
      end
      if roundprofit > 0 then roundprofit = 0 end
   end
      if (!win) then
         nextbet = previousbet
print ("LOSE")
print(nextbet)
      end
      if balance         stop()
      end
      if balance>maxbal then
         stop()
      end

if profit <= -0.0001000 then
nextbet=basebet
resetstats()
end

if profit >= 0.001 then
withdraw(profit,'BTC ADDRESS')
nextbet=basebet
resetstats()
end

end

Thank you very much mate!! That seems to be working just fine right now, thanks a lot again for your time!
legendary
Activity: 1007
Merit: 1000
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!



can you post your whole script and explain what your'e trying to do?

Thanks for replying!

This is the whole script - Pluscoup by chilly2k and grendel25 (I got it from your website).

Code:
basebet = 0.00001000
nextbet = basebet
roundprofit = 0
chance = 49.5
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
      end
      if balance         stop()
      end
      if balance>maxbal then
         stop()
      end
      if roundprofit > 0 then roundprofit = 0 end
   end
   if (!win) then
      nextbet = previousbet
      print ("LOSE")
      print(nextbet)
   end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end
end

What I am trying to do is this: when the profit (not whole account profit, just the session before resetstats) goes lower than 0.0005 for example, at fist I wanted the bot to stop and then restart but you told me it's not possible, so now I want it to reset the bet to basebet and also resetstats.

I tried with this:

Code:
if profit <= -0.0005 then
nextbet=basebet
resetstats();
end

... and it's not workin, it resets the stats but the bet doesn't go to basebet, it stays where it was.

Thanks for your time and I hope we figure it out!

Your not saying/showing where you put that code.  If you put it just before the last end statement, I think it should work.  
  If you were trying it at the top, nextbet would get reset further in the code.  


Just for educational purposes, the last end statement close the dobet() function.  
Hi, thanks for jumping in.

I tried placing the code at the end of the script, right before the last end that closes the dobet function and now it doesn't even resets the stats like it used to... it just keeps going like the code it's not even there.

This is my whole script exactly as I use it in the bot (the only things I added to it are the two IFs at the very end):

Code:
basebet = 0.000001000
nextbet = basebet
roundprofit = 0
chance = 50
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end
if balance   stop()
end
if balance>maxbal then
   stop()
end
if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end

if profit <= -0.0001000 then
nextbet=basebet
resetstats()
end

if profit >= 0.001 then
withdraw(profit,'BTC ADDRESS')
nextbet=basebet
resetstats()
end

end

Try this.  I think there were to many end statements.  I formatted it a little better to match up if's and ends.  I don't have the bot available on my new computer, otherwise I would have tested it out. 

Code:
basebet = 0.000001000
nextbet = basebet
roundprofit = 0
chance = 50
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
        print ("WIN")
print(nextbet)
      end
      if balance          stop()
      end
      if balance>maxbal then
         stop()
      end
      if roundprofit > 0 then roundprofit = 0 end
   end
      if (!win) then
         nextbet = previousbet
print ("LOSE")
print(nextbet)
      end
      if balance         stop()
      end
      if balance>maxbal then
         stop()
      end

if profit <= -0.0001000 then
nextbet=basebet
resetstats()
end

if profit >= 0.001 then
withdraw(profit,'BTC ADDRESS')
nextbet=basebet
resetstats()
end

end
newbie
Activity: 8
Merit: 0
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!



can you post your whole script and explain what your'e trying to do?

Thanks for replying!

This is the whole script - Pluscoup by chilly2k and grendel25 (I got it from your website).

Code:
basebet = 0.00001000
nextbet = basebet
roundprofit = 0
chance = 49.5
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
      end
      if balance         stop()
      end
      if balance>maxbal then
         stop()
      end
      if roundprofit > 0 then roundprofit = 0 end
   end
   if (!win) then
      nextbet = previousbet
      print ("LOSE")
      print(nextbet)
   end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end
end

What I am trying to do is this: when the profit (not whole account profit, just the session before resetstats) goes lower than 0.0005 for example, at fist I wanted the bot to stop and then restart but you told me it's not possible, so now I want it to reset the bet to basebet and also resetstats.

I tried with this:

Code:
if profit <= -0.0005 then
nextbet=basebet
resetstats();
end

... and it's not workin, it resets the stats but the bet doesn't go to basebet, it stays where it was.

Thanks for your time and I hope we figure it out!

Your not saying/showing where you put that code.  If you put it just before the last end statement, I think it should work.  
  If you were trying it at the top, nextbet would get reset further in the code.  


Just for educational purposes, the last end statement close the dobet() function.  
Hi, thanks for jumping in.

I tried placing the code at the end of the script, right before the last end that closes the dobet function and now it doesn't even resets the stats like it used to... it just keeps going like the code it's not even there.

This is my whole script exactly as I use it in the bot (the only things I added to it are the two IFs at the very end):

Code:
basebet = 0.000001000
nextbet = basebet
roundprofit = 0
chance = 50
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end
if balance   stop()
end
if balance>maxbal then
   stop()
end
if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end

if profit <= -0.0001000 then
nextbet=basebet
resetstats()
end

if profit >= 0.001 then
withdraw(profit,'BTC ADDRESS')
nextbet=basebet
resetstats()
end

end
legendary
Activity: 1007
Merit: 1000
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!



can you post your whole script and explain what your'e trying to do?

Thanks for replying!

This is the whole script - Pluscoup by chilly2k and grendel25 (I got it from your website).

Code:
basebet = 0.00001000
nextbet = basebet
roundprofit = 0
chance = 49.5
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
      end
      if balance         stop()
      end
      if balance>maxbal then
         stop()
      end
      if roundprofit > 0 then roundprofit = 0 end
   end
   if (!win) then
      nextbet = previousbet
      print ("LOSE")
      print(nextbet)
   end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end
end

What I am trying to do is this: when the profit (not whole account profit, just the session before resetstats) goes lower than 0.0005 for example, at fist I wanted the bot to stop and then restart but you told me it's not possible, so now I want it to reset the bet to basebet and also resetstats.

I tried with this:

Code:
if profit <= -0.0005 then
nextbet=basebet
resetstats();
end

... and it's not workin, it resets the stats but the bet doesn't go to basebet, it stays where it was.

Thanks for your time and I hope we figure it out!

Your not saying/showing where you put that code.  If you put it just before the last end statement, I think it should work. 
  If you were trying it at the top, nextbet would get reset further in the code. 


Just for educational purposes, the last end statement close the dobet() function. 
newbie
Activity: 8
Merit: 0
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!



can you post your whole script and explain what your'e trying to do?

Thanks for replying!

This is the whole script - Pluscoup by chilly2k and grendel25 (I got it from your website).

Code:
basebet = 0.00001000
nextbet = basebet
roundprofit = 0
chance = 49.5
minbal=balance-0.0300000
maxbal=balance+0.01500000

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end
if balance   stop()
end
if balance>maxbal then
   stop()
end
if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
if balance   stop()
end
if balance>maxbal then
   stop()
end
end
end

What I am trying to do is this: when the profit (not whole account profit, just the session before resetstats) goes lower than 0.0005 for example, at fist I wanted the bot to stop and then restart but you told me it's not possible, so now I want it to reset the bet to basebet and also resetstats.

I tried with this:

Code:
if profit <= -0.0005 then
nextbet=basebet
resetstats();
end

... and it's not workin, it resets the stats but the bet doesn't go to basebet, it stays where it was.

Thanks for your time and I hope we figure it out!
legendary
Activity: 1717
Merit: 1125
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!



can you post your whole script and explain what your'e trying to do?
newbie
Activity: 8
Merit: 0
Update, still not working.

I tried this

Code:
if profit <= -0.000500 then
nextbet=basebet
resetstats();
resetseed();
end

It resets the stats but it keeps going with the same bet, the nextbet doesn't return to basebet. (I have basebet variable determined)

Please help me out, thanks!

newbie
Activity: 8
Merit: 0
Thanks a lot seuntjie, I figured it out finally.

I'm now just using resetstats() and nextbet=.
legendary
Activity: 1717
Merit: 1125
Hi guys, I've been trying the entire day to get this script going I can't make it work, maybe someone here who is good at coding can help me out, I'd really appreciate it.

 What I want to do is when my balance is 3% percent lower that what it was at the beginning, the bot has to stop and then start again, and I want that balance to be updated everytime I loose, so if I have 5 balance, I want to stop when I loose 3% of 5, after I lose 3% of five, I want it to stop after I loose 3% of 4.85 and so on... Can you please help me?

I tried with

Code:
balancepercent = balance*(97/100)

if balance < balancepercent then
stop()
resetstats()
start()

It stops betting, but it doesn't start again.

Also, I tried with sleep(5000) but the balance doesn't update and after I loose 3% of my balance, it sleeps for 5 seconds, makes another bet, sleeps again for 5 seconds, makes another bet and so on...

Please help me out if you know how, thank you very much!

You never need to stop and restart the bot. Functions like resetstats are executed in series, meaning the script will wait at that point for the function to finish before continuing.
The start function isn't available from within the script for a few reasons.

Take a look at these articles:
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-01-overview
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-02-process  <- especially this one
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-03-martingale
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-04-martingale-and-mini-if-tutorial  <- this one handles local and global variables, will also help with your problem
newbie
Activity: 8
Merit: 0
Hi guys, I've been trying the entire day to get this script going I can't make it work, maybe someone here who is good at coding can help me out, I'd really appreciate it.

 What I want to do is when my balance is 3% percent lower that what it was at the beginning, the bot has to stop and then start again, and I want that balance to be updated everytime I loose, so if I have 5 balance, I want to stop when I loose 3% of 5, after I lose 3% of five, I want it to stop after I loose 3% of 4.85 and so on... Can you please help me?

I tried with

Code:
balancepercent = balance*(97/100)

if balance < balancepercent then
stop()
resetstats()
start()

It stops betting, but it doesn't start again.

Also, I tried with sleep(5000) but the balance doesn't update and after I loose 3% of my balance, it sleeps for 5 seconds, makes another bet, sleeps again for 5 seconds, makes another bet and so on...

Please help me out if you know how, thank you very much!
hero member
Activity: 924
Merit: 501
CryptoTalk.Org - Get Paid for every Post!
im a newb, how can i start script?

i just past the code, and now? how i start the bets?

just type start() in the console and hit enter.  stop() stops the script.     
I found it .

Thx, and thx for ur script too, working good!
Cya
legendary
Activity: 1007
Merit: 1000
im a newb, how can i start script?

i just past the code, and now? how i start the bets?

just type start() in the console and hit enter.  stop() stops the script.     
hero member
Activity: 924
Merit: 501
CryptoTalk.Org - Get Paid for every Post!
im a newb, how can i start script?

i just past the code, and now? how i start the bets?
newbie
Activity: 17
Merit: 0
Hi, can somebody help me out to extend the script of chilly2k.
I have tried it and tried it but none of my changes work. I'm not a programmer :/

What i want to change in this script is as follows.

What this script do is if the first loss streak comes in it will keep betting on basebet, after 1 win it wil try to bet with a high value to get losses back like previousbet * 10, when it fails it wil betting the same again but and will wait till wins come in, then again after the losses and 1 win it wil bet much bigger bet size to get all previous losses back including the 1st time. If this is keep going you will loose everything.
The change what i'm looking for is when the 1st loss strike comes in it will behave as original and doing basebets till first win and then it will do the bigbet like previousbet * 10. The when it wins turn to basebet but when it fails then do martingale till win and then return to basebet.

Hope my discription is clear and someone can help me out.
Sorry for the bad english Smiley

Many thanks.

Here is the original script:

chance = 39.6
martimulti = 40
basebet = .00000001
startbalance = balance
nextbet = basebet
savefactor = 1.25
target = .01
targetbalance = balance + target
bethigh = true
low = 0
high = 0
losecount = 0
stopnow = false
totallose = 0
wincount = 0
nextwinbet = basebet * martimulti
go = false
set = false


function dobet()

if (lastBet.roll < chance) then
  low += 1
end
if (lastBet.roll > (100 - chance)) then
  high += 1
end

if (win) then
   wincount += 1
   totallose = 0
   newbalance = balance
   if (high > low) then
     bethigh = true
    else
      bethigh = false
    end
  if (wincount == 1 and go) then
     nextbet = nextwinbet
     go = false
      set = false
  else
      nextbet = basebet
  end
   if (wincount == 2 and previousbet != basebet) then
      if (stopnow) then stop() end
        martimulti = 40
        nextwinbet = basebet * martimulti   
        set = true
       losecount = 0
      if (balance > targetbalance) then
         invest((balance - targetbalance)+target)
         targetbalance = targetbalance + target
         newbalance = targetbalance
      end
      if (newbalance > startbalance * savefactor) then
          invest(balance-startbalance)
          targetbalance = startbalance + target
          startbalance = startbalance * savefactor
      end
   end
    if (wincount == 2) then go = true end
 else
   if (wincount == 1 and previousbet != basebet ) then
      nextwinbet = previousbet * martimulti
      martimulti = martimulti / 2
      if (martimulti < 1.85) then martimulti = 1.85 end
      losecount += 1
      print(losecount)
   else
     
   end
   wincount = 0
   totallose = totallose + 1
   if (totallose == 2) then go = true end
   nextbet = basebet
 end
 
end
legendary
Activity: 1717
Merit: 1125
Hello Programmer..

could you please help me to make script for this betting sequence?

double every lose until it hit 2 green streaks,,

exp:

case 1

roll1 : 10 lose
roll2 : 20 lose
roll3 : 40 win
roll4 : 40 win

back to base

case 2

roll 1: 10 lose
roll 2: 20 lose
roll 3: 40 win
roll 4: 40 lose
roll 5: 80 win
roll 6: 80 win

back to base

it will double for every lose and back if win

thanks

You don't need a script to do this, it can be done in the advanced mode.

I'll post the exact settings as bit later as I'm about to go into a meeting
member
Activity: 99
Merit: 10
Hello Programmer..

could you please help me to make script for this betting sequence?

double every lose until it hit 2 green streaks,,

exp:

case 1

roll1 : 10 lose
roll2 : 20 lose
roll3 : 40 win
roll4 : 40 win

back to base

case 2

roll 1: 10 lose
roll 2: 20 lose
roll 3: 40 win
roll 4: 40 lose
roll 5: 80 win
roll 6: 80 win

back to base

it will double for every lose and back if win

thanks
legendary
Activity: 1007
Merit: 1000
Can you post your script? and at which site are you betting at? This doesn't look like a programmer mode problem, but the bot doesn't use XML anywhere either, so I'm not sure what's causing your problem.

as for the other questions:
bot does it on its own after 30 seconds then again every 2 minutes if the bot can get a connection again
where possible, the bot already tries to reconnect. bitdice, betking and fortunejack should be the only ones that doesn't reconnect automatically
the bot already does that
i'm testing elmobet66 strategy
Code:
-- Set Win Chance
chance= 66.0

-- Set BaseBet
base=0.00000005

nextbet = base 
initbalance=balance
first = true
second = false
secondwin = false
third = false

betcount = 100
resetstats();

-- Before you START, check your Stop Conditions and ZigZag Settings in the Advance Mode

-- Set Stop Conditions and Zigzag Settings  Enabled = true Disabled=false

enablezz = false
enablesrc = false

-- set profit target here
profittarget= 999.00100000

function dobet()

if betcount == 100 then
  betcount=0
  resetseed();
else
  betcount=betcount+1
end

if (balance) >= profittarget then
  stop();
  print(balance)
  print("TARGET ACHIEVED!!!")
  print("You Won")
  print(profit)
  print("for this Session")
end

done = false

--Randomizer
r=math.random(2)

if r == 1 then
     bethigh=true
else
     bethigh=false
end
   
if win then
         
         if(first) then
            nextbet = base           
         end
 
         if(second) then
            secondwin = true
            second = false
            third = true
            done = true
         end

         if(third and !done) then

            if (secondwin) then
               nextbet = base
            else           
               nextbet = previousbet * 7
            end

             third = false
             first = true

         end
 
else

      if(first and !done) then

          first = false
          second = true
          done = true

       end

       if(second and !done) then

           secondwin = false
           second = false
           third = true
           done = true

       end

       if(third and !done) then

            third = false
            first = true
            print("GOING 4 THE WIN!!!")

            if (secondwin) then
                nextbet = previousbet * 7
            else
                nextbet = previousbet * 12
             end

            done = true

       end
 
   end

   if (initbalance)/2 < (nextbet) then
      stop();
      print(balance)
      print("Emergency Stop")
      print("Large Bet Amount Occurred!")
   end

end

yes seuntjie, it's really great, but if it can be set lower that 2 mins it will be greater
if not, it's ok, because it's my personal problem, vps i rent always disconnected,

thank you very much

   For the error posted above try changing

   if (initbalance)/2 < (nextbet) then

to

   if ((initbalance)/2 < (nextbet)) then

   The parens might be messing with the parser.  Just my wild ass guess...   
newbie
Activity: 11
Merit: 0
Can you post your script? and at which site are you betting at? This doesn't look like a programmer mode problem, but the bot doesn't use XML anywhere either, so I'm not sure what's causing your problem.

as for the other questions:
bot does it on its own after 30 seconds then again every 2 minutes if the bot can get a connection again
where possible, the bot already tries to reconnect. bitdice, betking and fortunejack should be the only ones that doesn't reconnect automatically
the bot already does that
i'm testing elmobet66 strategy
Code:
-- Set Win Chance
chance= 66.0

-- Set BaseBet
base=0.00000005

nextbet = base 
initbalance=balance
first = true
second = false
secondwin = false
third = false

betcount = 100
resetstats();

-- Before you START, check your Stop Conditions and ZigZag Settings in the Advance Mode

-- Set Stop Conditions and Zigzag Settings  Enabled = true Disabled=false

enablezz = false
enablesrc = false

-- set profit target here
profittarget= 999.00100000

function dobet()

if betcount == 100 then
  betcount=0
  resetseed();
else
  betcount=betcount+1
end

if (balance) >= profittarget then
  stop();
  print(balance)
  print("TARGET ACHIEVED!!!")
  print("You Won")
  print(profit)
  print("for this Session")
end

done = false

--Randomizer
r=math.random(2)

if r == 1 then
     bethigh=true
else
     bethigh=false
end
   
if win then
         
         if(first) then
            nextbet = base           
         end
 
         if(second) then
            secondwin = true
            second = false
            third = true
            done = true
         end

         if(third and !done) then

            if (secondwin) then
               nextbet = base
            else           
               nextbet = previousbet * 7
            end

             third = false
             first = true

         end
 
else

      if(first and !done) then

          first = false
          second = true
          done = true

       end

       if(second and !done) then

           secondwin = false
           second = false
           third = true
           done = true

       end

       if(third and !done) then

            third = false
            first = true
            print("GOING 4 THE WIN!!!")

            if (secondwin) then
                nextbet = previousbet * 7
            else
                nextbet = previousbet * 12
             end

            done = true

       end
 
   end

   if (initbalance)/2 < (nextbet) then
      stop();
      print(balance)
      print("Emergency Stop")
      print("Large Bet Amount Occurred!")
   end

end

yes seuntjie, it's really great, but if it can be set lower that 2 mins it will be greater
if not, it's ok, because it's my personal problem, vps i rent always disconnected,

thank you very much
legendary
Activity: 1717
Merit: 1125
Can you post your script? and at which site are you betting at? This doesn't look like a programmer mode problem, but the bot doesn't use XML anywhere either, so I'm not sure what's causing your problem.

as for the other questions:
bot does it on its own after 30 seconds then again every 2 minutes if the bot can get a connection again
where possible, the bot already tries to reconnect. bitdice, betking and fortunejack should be the only ones that doesn't reconnect automatically
the bot already does that
newbie
Activity: 11
Merit: 0
when running progammer mode i got this error :
Code:
System.Xml.XmlException: Encountered unexpected character '<'.
   at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception)
   at System.Runtime.Serialization.Json.XmlJsonReader.ReadAttributes()
   at System.Runtime.Serialization.Json.XmlJsonReader.ReadNonExistentElementName(StringHandleConstStringType elementName)
   at System.Runtime.Serialization.Json.XmlJsonReader.Read()
   at System.Xml.XmlBaseReader.IsStartElement()
   at System.Xml.XmlBaseReader.IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
   at System.Runtime.Serialization.XmlReaderDelegator.IsStartElement(XmlDictionaryString localname, XmlDictionaryString ns)
   at System.Runtime.Serialization.XmlObjectSerializer.IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalIsStartObject(XmlReaderDelegator reader)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.InternalReadObject(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)

btw in progammer mode / dice bot is this one possible :

- restart
- reconnect after timeout setting
- scan current hash on site

thank you
Pages:
Jump to: