Bitcoin Forum
September 25, 2024, 01:01:33 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 17, 2016, 08:55:58 AM
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<minbal then
         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<minbal then
   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<minbal then
   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<minbal then
   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<minbal then
          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<minbal then
         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!
2  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 17, 2016, 02:43:58 AM
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<minbal then
         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<minbal then
   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<minbal then
   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<minbal then
   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
3  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 16, 2016, 10:54:50 PM
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<minbal then
   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<minbal then
   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!
4  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 16, 2016, 08:25:49 PM
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!

5  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: August 16, 2016, 05:46:44 PM
Hi, why is tipping not working on Rollin.io? Everytime I try to auto-tip (inside code) or manual tip (write myself in console) it says "Tipping amount to user" but my balance doesn't get smaller and the recipient doesn't receieve the tip?

It worked just 1 hour ago and now it's not working, why?


This is the code I am using:

Code:
tip("user",amount)
or
Code:
tip('user',amount)
. Neither works, how can we fix it? Thanks a lot!


EDIT:
Seems to be working now, I just restarted my PC and started working. Cheesy
6  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 16, 2016, 04:38:16 PM
Thanks a lot seuntjie, I figured it out finally.

I'm now just using resetstats() and nextbet=.
7  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 16, 2016, 01:59:49 PM
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!
8  Economy / Gambling / Can anyone help me with a small code for Seuntjie's DiceBot? on: August 15, 2016, 08:13:58 PM
Hi guys, is someone here good at coding a very little if function for Seuntjie's Dicebot? Please leave your BTC address and I'll make sure to be worth your time!

I tried to make it myself but I'm not good at all at coding and that's why I'm asking you guys for help.

I am using a simple basic martingale script that I got from Seuntjie's website... What I want to add to that script is this:


1. to  stop betting when my overral balance gets lower than a specific number that I put in at the beginning, after stopping, to reset seed and then start again. For example: my balance is 0.5 and if something goes bad and I start losing money, I want it to stop at 0.4, reset seed and start again.

I tried with:

if balance < mynumber then
stop()
resetseed();
start()
end

It stops, it resets the seed but it doesn't start again, how can I fix this?

2. to automatically withdraw my profit to my BTC address. For example: my profit starts at 0, when it gets to 0.00015 automatically withdraw it to my BTC address, reset the profit count to 0 and repeat the same process.


If you can help me in any way your input is welcomed, thanks in advance and also don't forget to put your BTC address!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!