Bitcoin Forum
October 20, 2017, 07:43:54 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 40 41 42 43 44 45 46 47 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 48357 times)
Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 03, 2017, 10:15:29 PM
 #641

Right... so you want a guaranteed 10% return per day with no risk? Roll Eyes

That just isn't going to happen. With a bankroll of 0.01BTC, at 2x payout (~49.x chance) and 1 satoshi basebet, you can only survive maybe 18 losses... as crazy as it sounds, losses of 20+ aren't unheard of at that chance of winning.

Have you looked for any of the scripts that have been promoted around this subforum? or on Seuntjie's site?
hello bro pls can u create a script for me?
useing this gambling strategy below

1324 system

The 1-3-2-4 system is a gambling strategy devised by Fortune Palace in 2006, which works well on bets which are close to evens chance (i.e. 50/50, like a coin toss) - particularly in Baccarat and Roulette.

It's based on the popular 1-3-2-6 system, but is designed to reduce the win/loss variance by only betting 4 units on the fourth bet, thereby preserving an overall win, even if the last bet loses. In the 1-3-2-6, you could accrue a profit of six units by winning the first three bets (1, 3 and 2) and then gamble all of that on the last bet. In the 1-3-2-4, you keep back two units from the six already won.

In Baccarat, this is important as the vigorish (commission) makes the Banker bet a less than even chance (see below for a full discussion of the 1-3-2-4 in Baccarat)

In the 1-3-2-4 gambling system, the sequence of winning bets is simply

1, 3, 2, 4.

If a bet wins, you progress to the next bet in the sequence.
If a bet loses, you go back to the start.
If you win all four bets and complete the sequence, you go back to the start, having made 10 units profit!


thankx in advanced

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
1508485434
Hero Member
*
Offline Offline

Posts: 1508485434

View Profile Personal Message (Offline)

Ignore
1508485434
Reply with quote  #2

1508485434
Report to moderator
1508485434
Hero Member
*
Offline Offline

Posts: 1508485434

View Profile Personal Message (Offline)

Ignore
1508485434
Reply with quote  #2

1508485434
Report to moderator
1508485434
Hero Member
*
Offline Offline

Posts: 1508485434

View Profile Personal Message (Offline)

Ignore
1508485434
Reply with quote  #2

1508485434
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
HCP
Sr. Member
****
Offline Offline

Activity: 392

<insert witty quote here>


View Profile
June 04, 2017, 12:22:43 PM
 #642

Can you please help .I want to write a program performing the following functions in dicebot.

There is an initial bet.After 'N' number of bets the bet amount must be equal to balance.And the nextbet reverses to initial bet .And again after N bets the bet gets equal to balance.and so on.....

for example: Suppose I have a base bet =0.00000001. Let N=13.Then the 14th bet is equal to balance.And the 15th bet is again 0.00000001.And again after 13 bets the process continues.

That seems pretty easy...

Code:
basebet = 0.00000001
magicNum = 13
count = 0
nextbet = basebet

chance = ????? -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end

It also seems like an easy way to lose all your balance... buy hey... your coins Tongue

sree6020
Jr. Member
*
Offline Offline

Activity: 30


View Profile
June 04, 2017, 12:51:12 PM
 #643

Can you please help .I want to write a program performing the following functions in dicebot.

There is an initial bet.After 'N' number of bets the bet amount must be equal to balance.And the nextbet reverses to initial bet .And again after N bets the bet gets equal to balance.and so on.....

for example: Suppose I have a base bet =0.00000001. Let N=13.Then the 14th bet is equal to balance.And the 15th bet is again 0.00000001.And again after 13 bets the process continues.

That seems pretty easy...

Code:
basebet = 0.00000001
magicNum = 13
count = 0
nextbet = basebet

chance = ????? -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end

It also seems like an easy way to lose all your balance... buy hey... your coins Tongue


Is there a way to choose the magicNum randomly between a set range.

Anyway THANKS FOR HELPING ME with the code .
HCP
Sr. Member
****
Offline Offline

Activity: 392

<insert witty quote here>


View Profile
June 04, 2017, 01:58:00 PM
 #644

Is there a way to choose the magicNum randomly between a set range.

Anyway THANKS FOR HELPING ME with the code .

Apparently "math.random(lower, upper)" generates 'random' integer in the range between 'lower' and 'upper' INCLUSIVE

so something like:

math.randomseed( os.time() )
magicNum = math.random(10,15)

should randomly generate a number from (10,11,12,13,14,15)

... you're welcome

sree6020
Jr. Member
*
Offline Offline

Activity: 30


View Profile
June 04, 2017, 02:22:02 PM
 #645

I have tried the code like this:

basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(2,8)
count =0
nextbet = basebet

chance = XX -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end







but it places the initial max bet after 7 bets.Then it always places a maxbet after 8 bets.
Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 04, 2017, 05:16:22 PM
 #646

Is there a way to choose the magicNum randomly between a set range.

Anyway THANKS FOR HELPING ME with the code .

Apparently "math.random(lower, upper)" generates 'random' integer in the range between 'lower' and 'upper' INCLUSIVE

so something like:

math.randomseed( os.time() )
magicNum = math.random(10,15)

should randomly generate a number from (10,11,12,13,14,15)

... you're welcome
pls also help me out to i wanna learn how to create my own script for dicebot but i dont know which programming language to learn , and also i dont understand what they mean by converting a script lua

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
chilly2k
Legendary
*
Offline Offline

Activity: 920


View Profile
June 04, 2017, 05:41:02 PM
 #647

Is there a way to choose the magicNum randomly between a set range.

Anyway THANKS FOR HELPING ME with the code .

Apparently "math.random(lower, upper)" generates 'random' integer in the range between 'lower' and 'upper' INCLUSIVE

so something like:

math.randomseed( os.time() )
magicNum = math.random(10,15)

should randomly generate a number from (10,11,12,13,14,15)

... you're welcome
pls also help me out to i wanna learn how to create my own script for dicebot but i dont know which programming language to learn , and also i dont understand what they mean by converting a script lua

The script is written in LUA.  If you look at the first several posts I tried to guide you through creating a simple script.  If you have any specific questions about codeing or how the script is running, this is the correct thread to ask them in. 

Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 04, 2017, 07:23:14 PM
 #648

Code:
heloo thanks alot for the reply bro

i tried creating ba script but i dont know what am doing wrong there i keept getting error (LUA ERROR!!
'end' expected, got)


chance1=8.9109      -->11.11X payout
chance2=9.8020      -->10.10X payout
chance3=14.1400    -->7.77X Payout
chance4=17.8378    -->5.55X Payout
chance5=29.7297    -->3.33X Payout

m1=1.119            --> All multipliers are at 20% More Profit
m2=1.132
m3=1.178
m4=1.264
m5=1.515

target=0.00100000        --> Set your Target Profit here

betfactor=0.00001               --> "Safest" for 0.001 BTC and 0.1 Eth Bankroll
basebet=balance*betfactor --> 1 satoshi basebet for 0.001 BTC and 100 Ethoshis for 0.1 Eth Bankroll
nextbet=basebet
chance=chance1
bethigh=false
betcount=0
session=0

wincount=0
lostchance=0
losecount=0
low=0
high=0
counter=0

resetseed()
resetstats()

function dobet()

betroll()
rstseed()
viewstats()
betcount+=1

if win then

if profit>target then
stop()
print("TARGET REACHED!")
end

hilo()
basebet=balance*betfactor

    if basebet<0.00000001 then
basebet=0.00000001
nextbet=basebet
end

nextbet=basebet
wincount+=1
losecount=0
if wincount>0 then
chance=chance1
lostchance=1
end

if wincount>4 then
chance=chance2
lostchance=2
end

if wincount>14 then
chance=chance3
lostchance=3
end

if wincount>29 then
chance=chance4
lostchance=4
end

if wincount>49 then
chance=chance5
lostchance=5
end

if wincount>75 then
chance=chance1
lostchance=1
wincount=0
session+=1
low=0
high=0
end

else
nextbet=previousbet*m1
losecount+=1

if lostchance==1 then
if chance==chance1 then
nextbet=previousbet*m1
else
chance=chance1
nextbet=previousbet*m1
end
end

if lostchance==2 then
if chance==chance2 then
nextbet=previousbet*m2
else
chance=chance1
nextbet=previousbet*m2
end
end

if lostchance==3 then
if chance==chance3 then
nextbet=previousbet*m3
else
chance=chance1
nextbet=previousbet*m3
end
end

if lostchance==4 then
if chance==chance4 then
nextbet=previousbet*m4
else
chance=chance1
nextbet=previousbet*m4
end
end

if lostchance==5 then
if chance==chance5 then
nextbet=previousbet*m5
else
chance=chance1
nextbet=previousbet*m5
end
end

end

end

function hilo()

        if high > low then
bethigh=true
        else
bethigh=false
        end

        if (high-low) > 15 then
bethigh=false
        end

        if (low-high)> 15 then
bethigh=true
        end
end

function betroll()

if (lastBet.roll < chance) then
low += 1
end

if (lastBet.roll > (99.99 - chance)) then
high += 1
end

end

function rstseed()

if counter==500 then

resetseed()
counter=0
low=0
high=0
else

counter+=1

end
end

function viewstats()
print(" ")
print("Total Bet : "..betcount)
print("Current Streak Loss : "..losecount)
print("Session Win : "..wincount)
print("Total Sessions : "..session)
print("Current Profit : "..string.format("%.8f",profit))
print("Target Profit : "..string.format("%.8f",target))
print("Current Balance : "..string.format("%.8f",balance))
print("High :"..high.." / ".."Low :"..low)
print(" ")
end

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
HCP
Sr. Member
****
Offline Offline

Activity: 392

<insert witty quote here>


View Profile
June 05, 2017, 01:43:29 AM
 #649

heloo thanks alot for the reply bro

i tried creating ba script but i dont know what am doing wrong there i keept getting error (LUA ERROR!!
'end' expected, got)
What version of the bot are you using? Are you using the latest 3.3.4? I can't get that error... I copied and pasted the below code and it seems to be fine... at least, using runsim(0.1,1000) from the console works... and I don't see any obvious syntax errors like missing 'end' statements.

Is this code exactly what you have in your bot or did you edit it in anyway?

Code:
chance1=8.9109      -->11.11X payout
chance2=9.8020      -->10.10X payout
chance3=14.1400    -->7.77X Payout
chance4=17.8378    -->5.55X Payout
chance5=29.7297    -->3.33X Payout

m1=1.119            --> All multipliers are at 20% More Profit
m2=1.132
m3=1.178
m4=1.264
m5=1.515

target=0.00100000        --> Set your Target Profit here

betfactor=0.00001               --> "Safest" for 0.001 BTC and 0.1 Eth Bankroll
basebet=balance*betfactor --> 1 satoshi basebet for 0.001 BTC and 100 Ethoshis for 0.1 Eth Bankroll
nextbet=basebet
chance=chance1
bethigh=false
betcount=0
session=0

wincount=0
lostchance=0
losecount=0
low=0
high=0
counter=0

resetseed()
resetstats()

function dobet()

betroll()
rstseed()
viewstats()
betcount+=1

if win then

if profit>target then
stop()
print("TARGET REACHED!")
end

hilo()
basebet=balance*betfactor

    if basebet<0.00000001 then
basebet=0.00000001
nextbet=basebet
end

nextbet=basebet
wincount+=1
losecount=0
if wincount>0 then
chance=chance1
lostchance=1
end

if wincount>4 then
chance=chance2
lostchance=2
end

if wincount>14 then
chance=chance3
lostchance=3
end

if wincount>29 then
chance=chance4
lostchance=4
end

if wincount>49 then
chance=chance5
lostchance=5
end

if wincount>75 then
chance=chance1
lostchance=1
wincount=0
session+=1
low=0
high=0
end

else
nextbet=previousbet*m1
losecount+=1

if lostchance==1 then
if chance==chance1 then
nextbet=previousbet*m1
else
chance=chance1
nextbet=previousbet*m1
end
end

if lostchance==2 then
if chance==chance2 then
nextbet=previousbet*m2
else
chance=chance1
nextbet=previousbet*m2
end
end

if lostchance==3 then
if chance==chance3 then
nextbet=previousbet*m3
else
chance=chance1
nextbet=previousbet*m3
end
end

if lostchance==4 then
if chance==chance4 then
nextbet=previousbet*m4
else
chance=chance1
nextbet=previousbet*m4
end
end

if lostchance==5 then
if chance==chance5 then
nextbet=previousbet*m5
else
chance=chance1
nextbet=previousbet*m5
end
end

end

end

function hilo()

        if high > low then
bethigh=true
        else
bethigh=false
        end

        if (high-low) > 15 then
bethigh=false
        end

        if (low-high)> 15 then
bethigh=true
        end
end

function betroll()

if (lastBet.roll < chance) then
low += 1
end

if (lastBet.roll > (99.99 - chance)) then
high += 1
end

end

function rstseed()

if counter==500 then

resetseed()
counter=0
low=0
high=0
else

counter+=1

end
end

function viewstats()
print(" ")
print("Total Bet : "..betcount)
print("Current Streak Loss : "..losecount)
print("Session Win : "..wincount)
print("Total Sessions : "..session)
print("Current Profit : "..string.format("%.8f",profit))
print("Target Profit : "..string.format("%.8f",target))
print("Current Balance : "..string.format("%.8f",balance))
print("High :"..high.." / ".."Low :"..low)
print(" ")
end

Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 02:16:44 AM
 #650

heloo thanks alot for the reply bro

i tried creating ba script but i dont know what am doing wrong there i keept getting error (LUA ERROR!!
'end' expected, got)
What version of the bot are you using? Are you using the latest 3.3.4? I can't get that error... I copied and pasted the below code and it seems to be fine... at least, using runsim(0.1,1000) from the console works... and I don't see any obvious syntax errors like missing 'end' statements.

Is this code exactly what you have in your bot or did you edit it in anyway?

Code:
chance1=8.9109      -->11.11X payout
chance2=9.8020      -->10.10X payout
chance3=14.1400    -->7.77X Payout
chance4=17.8378    -->5.55X Payout
chance5=29.7297    -->3.33X Payout

m1=1.119            --> All multipliers are at 20% More Profit
m2=1.132
m3=1.178
m4=1.264
m5=1.515

target=0.00100000        --> Set your Target Profit here

betfactor=0.00001               --> "Safest" for 0.001 BTC and 0.1 Eth Bankroll
basebet=balance*betfactor --> 1 satoshi basebet for 0.001 BTC and 100 Ethoshis for 0.1 Eth Bankroll
nextbet=basebet
chance=chance1
bethigh=false
betcount=0
session=0

wincount=0
lostchance=0
losecount=0
low=0
high=0
counter=0

resetseed()
resetstats()

function dobet()

betroll()
rstseed()
viewstats()
betcount+=1

if win then

if profit>target then
stop()
print("TARGET REACHED!")
end

hilo()
basebet=balance*betfactor

    if basebet<0.00000001 then
basebet=0.00000001
nextbet=basebet
end

nextbet=basebet
wincount+=1
losecount=0
if wincount>0 then
chance=chance1
lostchance=1
end

if wincount>4 then
chance=chance2
lostchance=2
end

if wincount>14 then
chance=chance3
lostchance=3
end

if wincount>29 then
chance=chance4
lostchance=4
end

if wincount>49 then
chance=chance5
lostchance=5
end

if wincount>75 then
chance=chance1
lostchance=1
wincount=0
session+=1
low=0
high=0
end

else
nextbet=previousbet*m1
losecount+=1

if lostchance==1 then
if chance==chance1 then
nextbet=previousbet*m1
else
chance=chance1
nextbet=previousbet*m1
end
end

if lostchance==2 then
if chance==chance2 then
nextbet=previousbet*m2
else
chance=chance1
nextbet=previousbet*m2
end
end

if lostchance==3 then
if chance==chance3 then
nextbet=previousbet*m3
else
chance=chance1
nextbet=previousbet*m3
end
end

if lostchance==4 then
if chance==chance4 then
nextbet=previousbet*m4
else
chance=chance1
nextbet=previousbet*m4
end
end

if lostchance==5 then
if chance==chance5 then
nextbet=previousbet*m5
else
chance=chance1
nextbet=previousbet*m5
end
end

end

end

function hilo()

        if high > low then
bethigh=true
        else
bethigh=false
        end

        if (high-low) > 15 then
bethigh=false
        end

        if (low-high)> 15 then
bethigh=true
        end
end

function betroll()

if (lastBet.roll < chance) then
low += 1
end

if (lastBet.roll > (99.99 - chance)) then
high += 1
end

end

function rstseed()

if counter==500 then

resetseed()
counter=0
low=0
high=0
else

counter+=1

end
end

function viewstats()
print(" ")
print("Total Bet : "..betcount)
print("Current Streak Loss : "..losecount)
print("Session Win : "..wincount)
print("Total Sessions : "..session)
print("Current Profit : "..string.format("%.8f",profit))
print("Target Profit : "..string.format("%.8f",target))
print("Current Balance : "..string.format("%.8f",balance))
print("High :"..high.." / ".."Low :"..low)
print(" ")
end


its what i downloaded from a dicebot fan site (yes i use dicebot v3.3.4) pls which one do u prefer i use ,, and why is the script still not working on my dicebot

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 02:24:06 AM
 #651

heloo thanks alot for the reply bro

i tried creating ba script but i dont know what am doing wrong there i keept getting error (LUA ERROR!!
'end' expected, got)
What version of the bot are you using? Are you using the latest 3.3.4? I can't get that error... I copied and pasted the below code and it seems to be fine... at least, using runsim(0.1,1000) from the console works... and I don't see any obvious syntax errors like missing 'end' statements.

Is this code exactly what you have in your bot or did you edit it in anyway?

Code:
chance1=8.9109      -->11.11X payout
chance2=9.8020      -->10.10X payout
chance3=14.1400    -->7.77X Payout
chance4=17.8378    -->5.55X Payout
chance5=29.7297    -->3.33X Payout

m1=1.119            --> All multipliers are at 20% More Profit
m2=1.132
m3=1.178
m4=1.264
m5=1.515

target=0.00100000        --> Set your Target Profit here

betfactor=0.00001               --> "Safest" for 0.001 BTC and 0.1 Eth Bankroll
basebet=balance*betfactor --> 1 satoshi basebet for 0.001 BTC and 100 Ethoshis for 0.1 Eth Bankroll
nextbet=basebet
chance=chance1
bethigh=false
betcount=0
session=0

wincount=0
lostchance=0
losecount=0
low=0
high=0
counter=0

resetseed()
resetstats()

function dobet()

betroll()
rstseed()
viewstats()
betcount+=1

if win then

if profit>target then
stop()
print("TARGET REACHED!")
end

hilo()
basebet=balance*betfactor

    if basebet<0.00000001 then
basebet=0.00000001
nextbet=basebet
end

nextbet=basebet
wincount+=1
losecount=0
if wincount>0 then
chance=chance1
lostchance=1
end

if wincount>4 then
chance=chance2
lostchance=2
end

if wincount>14 then
chance=chance3
lostchance=3
end

if wincount>29 then
chance=chance4
lostchance=4
end

if wincount>49 then
chance=chance5
lostchance=5
end

if wincount>75 then
chance=chance1
lostchance=1
wincount=0
session+=1
low=0
high=0
end

else
nextbet=previousbet*m1
losecount+=1

if lostchance==1 then
if chance==chance1 then
nextbet=previousbet*m1
else
chance=chance1
nextbet=previousbet*m1
end
end

if lostchance==2 then
if chance==chance2 then
nextbet=previousbet*m2
else
chance=chance1
nextbet=previousbet*m2
end
end

if lostchance==3 then
if chance==chance3 then
nextbet=previousbet*m3
else
chance=chance1
nextbet=previousbet*m3
end
end

if lostchance==4 then
if chance==chance4 then
nextbet=previousbet*m4
else
chance=chance1
nextbet=previousbet*m4
end
end

if lostchance==5 then
if chance==chance5 then
nextbet=previousbet*m5
else
chance=chance1
nextbet=previousbet*m5
end
end

end

end

function hilo()

        if high > low then
bethigh=true
        else
bethigh=false
        end

        if (high-low) > 15 then
bethigh=false
        end

        if (low-high)> 15 then
bethigh=true
        end
end

function betroll()

if (lastBet.roll < chance) then
low += 1
end

if (lastBet.roll > (99.99 - chance)) then
high += 1
end

end

function rstseed()

if counter==500 then

resetseed()
counter=0
low=0
high=0
else

counter+=1

end
end

function viewstats()
print(" ")
print("Total Bet : "..betcount)
print("Current Streak Loss : "..losecount)
print("Session Win : "..wincount)
print("Total Sessions : "..session)
print("Current Profit : "..string.format("%.8f",profit))
print("Target Profit : "..string.format("%.8f",target))
print("Current Balance : "..string.format("%.8f",balance))
print("High :"..high.." / ".."Low :"..low)
print(" ")
end




this is the msg i get when i use the script u just past

Code:
Starting Dicebot 3.3.4
start()
Resetting Seed!
LUA ERROR!!
System.FormatException: String was not recognized as a valid TimeSpan.
   at System.Globalization.TimeSpanParse.TimeSpanResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName)
   at System.Globalization.TimeSpanParse.TryParseTimeSpan(String input, TimeSpanStandardStyles style, IFormatProvider formatProvider, TimeSpanResult& result)
   at System.Globalization.TimeSpanParse.Parse(String input, IFormatProvider formatProvider)
   at System.TimeSpan.Parse(String s)
   at DiceBot.cDiceBot.UpdateStats()
   at DiceBot.cDiceBot.resetstats()

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
HCP
Sr. Member
****
Offline Offline

Activity: 392

<insert witty quote here>


View Profile
June 05, 2017, 06:37:02 AM
 #652

maybe just remove the resetstats() line. It seems that the bot doesnt recognise your timezone/locality or something?

sree6020
Jr. Member
*
Offline Offline

Activity: 30


View Profile
June 05, 2017, 06:56:02 AM
 #653

Hi HCP,
     Can you check the script I pasted above and rectify the error please.
Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 08:47:36 AM
 #654

I have tried the code like this:

basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(2,8)
count =0
nextbet = basebet

chance = XX -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end







but it places the initial max bet after 7 bets.Then it always places a maxbet after 8 bets.


i think this should help u

Code:
basebet = 0.00000001
math.random = (1,1000)
magicNum = math.random(2,8)
count =0
nextbet = basebet

chance = XX -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end



visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 09:23:26 AM
 #655

Is there a way to choose the magicNum randomly between a set range.

Anyway THANKS FOR HELPING ME with the code .

Apparently "math.random(lower, upper)" generates 'random' integer in the range between 'lower' and 'upper' INCLUSIVE

so something like:

math.randomseed( os.time() )
magicNum = math.random(10,15)

should randomly generate a number from (10,11,12,13,14,15)

... you're welcome
thatks for replyning bro , permite me to say this but what type of programming language are we using to program here cus am just using my head to code but i do not know what type of language am typing

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
sree6020
Jr. Member
*
Offline Offline

Activity: 30


View Profile
June 05, 2017, 09:28:49 AM
 #656

I have tried the code like this:

basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(2,8)
count =0
nextbet = basebet

chance = XX -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end







but it places the initial max bet after 7 bets.Then it always places a maxbet after 8 bets.


i think this should help u

Code:
basebet = 0.00000001
math.random = (1,1000)
magicNum = math.random(2,8)
count =0
nextbet = basebet

chance = XX -- You need to set this!
bethigh = true -- or false depending if you want high or low

function dobet()

  count = count + 1

  if count == magicNum then
    -- Time for MAX bet
    nextbet = balance
  elseif count > magicNum then
    -- Time to reset
    nextbet = basebet
    count = 0
  end

end







No the code you made gives this error:LUA ERROR!!
')' expected, got ','
Phyzyprogrammer
Jr. Member
*
Offline Offline

Activity: 56

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 09:51:38 AM
 #657

pls help me ....

i created this but i dont know how to complete the program


Code:
function dobet()

if win then

 nextbet=0.00000001

else

 nextbet=previousbet*2 -- i want this to bet @28.08 chance and it should keep on betting with the same basebet untill it reaches 15bet then it should switch to the orther bet below but if at any case i win b4 it completes the 15bets then i want it to reset to the base bet back and repeat the steps again

end

if currentstreak==-15 then

 nextbet=basebet*50 -- i wantt this nextbet to bet at 90%chance

 end -- now i want it to repeat the same process again

 

--but i dont know how to give it chance to bet with
-- i want the firstbet to bet with 28.08% then after 15losses i want the bet chance to change to 90%chance then if i win , i want it to change to basebet back and bet with the 28.08% chance, but if i loss the 90%chance, i want the the next bet to be  *3 of the 90%chance i loss b4 and i still want it to play at that 90%chance, if i loss it again, i wantt the next bet to change to *9 of the 90%chance basebet  and it should still bet at 90%chance, but if i still lose it then i want it to reset to the base bet and start again, but if i in anycase win , i want it to reset back to base bet.. and start again

end

end

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
seuntjie
Legendary
*
Online Online

Activity: 1414



View Profile WWW
June 05, 2017, 04:57:24 PM
 #658

its what i downloaded from a dicebot fan site (yes i use dicebot v3.3.4) pls which one do u prefer i use ,, and why is the script still not working on my dicebot

What's this fan site you speak of?

seuntjie
Legendary
*
Online Online

Activity: 1414



View Profile WWW
June 05, 2017, 04:59:44 PM
 #659

To everyone asking for help, have you tried looking at https://bot.seuntjie.com/programmermode.aspx and the tutorials that's linked there? Especially the steemit tutorials. they are aimed at beginner programmers and I try to explain how variables and functions work and have basic code examples to explain how things work as well.

sree6020
Jr. Member
*
Offline Offline

Activity: 30


View Profile
June 05, 2017, 05:35:12 PM
 #660

I have a problem that these two commands: math.randomseed( os.time() )              are not creating random numbers for the code I mentioned above.
                                                             magicNum = math.random(10,15)


I WANT THE magicNum to be a random number between 10 and 15 as in this case or any other range that I set.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 40 41 42 43 44 45 46 47 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!