Bitcoin Forum
November 04, 2024, 10:19:11 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 125384 times)
sree6020
Newbie
*
Offline Offline

Activity: 51
Merit: 0


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

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

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


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

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
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


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

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
Newbie
*
Offline Offline

Activity: 51
Merit: 0


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

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
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


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

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
*
Offline Offline

Activity: 1717
Merit: 1125



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

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
*
Offline Offline

Activity: 1717
Merit: 1125



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

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
Newbie
*
Offline Offline

Activity: 51
Merit: 0


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

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.
Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 06:02:21 PM
 #609

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?
satoshifaucet.wordpress.com

pls can u help me complete the codes am lost

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
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
June 05, 2017, 07:39:29 PM
 #610

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.
It creates precisely 1 random number and assigns it to magicNum until you explicitly change it. If you want magicNum to change, you need to do magicNum = math.random(10,15) when you want the value of magicNum to be a new random number in range 10-15.

For instance, if you want to do it when you reset to basebet...

Quote
basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(10,15)
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
    magicNum = math.random(10,15)
    count = 0
  end

end

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 08:19:26 PM
 #611

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.
It creates precisely 1 random number and assigns it to magicNum until you explicitly change it. If you want magicNum to change, you need to do magicNum = math.random(10,15) when you want the value of magicNum to be a new random number in range 10-15.

For instance, if you want to do it when you reset to basebet...

Quote
basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(10,15)
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
    magicNum = math.random(10,15)
    count = 0
  end

end

pls help me too sir..
i have a problem with my code cus i cant complete it

Code:
function dobet()

if win then

 nextbet=0.00000001

else

 nextbet=previousbet*2 -- i want this to bet @28.08 chance

end

if currentstreak==-15 then

 nextbet=basebet*50 -- i wnat 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 wnat the next bet to change to *9 of the 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..

end

end


pls sir help me i will really appriciate u thankx

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
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 05, 2017, 09:42:23 PM
 #612

here is the full explaination sir (thank u in advanced)

let say i bet
0.00000002 and i win,  i want it to go back to the basebet and bet 0.00000002
But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004
then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)

EXAMPLE

it will look like this when the lossing occurs
0.00000002
0.00000004
0.00000008
0.00000016
0.00000032
0.00000064
0.00000128
0.00000256
0.00000512
0.00001024
 till it reach 10losses but now lets assum its has reach 10losses

so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance
so if i in anycase win or loss THIS 90% 94% 95% CHANCES  i want it to go back to base bet and restart again


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
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 06, 2017, 04:32:13 AM
 #613

pls i created another script with same functions but am getting some error
like(LUA ERROR!!
'then' expected, got 'nextbet')

here is the code below

Code:
 wagered=0    
 wagered=wagered+previousbet
 chance=1.01
 bethigh=false
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10

  nextbet=0.00000020
 
if win then

 nextbet=baseBet

else
 
 nextbet=0.00000030

if win then

 nextbet=baseBet

else

 nextbet=0.00000050

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

this basically what i want the script to do , but i dont know how to set the chances, and set the bet high or low for each bet

here is the full explaination sir (thank u in advanced)

let say i bet
0.00000002 and i win,  i want it to go back to the basebet and bet 0.00000002
But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004
then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)

EXAMPLE

it will look like this when the lossing occurs
0.00000002
0.00000004
0.00000008
0.00000016
0.00000032
0.00000064
0.00000128
0.00000256
0.00000512
0.00001024
 till it reach 10losses but now lets assum its has reach 10losses

so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance
so if i in anycase win or loss THIS 90% 94% 95% CHANCES  i want it to go back to base bet and restart again


pls help me

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
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
June 06, 2017, 05:01:50 AM
Last edit: June 06, 2017, 05:13:18 AM by HCP
 #614

Triple posting effectively the same stuff over and over isn't going to get you any help...

https://bot.seuntjie.com/programmermode.aspx
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables
this basically what i want the script to do , but i dont know how to set the chances, and set the bet high or low for each bet

Did you read the programmer mode tutorials that Seuntjie linked to? He clearly put a lot of effort into making them...

Quote
chance, type: double, Permission: Read Write. The chance to win when betting. Defaults to value set in advanced settings if not set. Need to set this value to change the chance to win/payout when betting.

bethigh, type: bool, Permission: Read Write. whether to bet high/over (true) or low/under(false). Defaults to true (bet high/bet over)

chance = 90.4 -- sets chance to 90.4%
bethigh = true -- sets to roll High/Over


chance = 94 -- sets chance to 94%
bethigh = false -- sets to roll Low/Under

Honestly, looking at your script, it is fairly obvious that you have zero (or close to zero) programming knowledge and lack the understanding of the basic fundamentals to be able to make this work. I highly recommend that you at least work through the tutorials that Seuntjie put together to at least build up some knowledge of the very basics and learn how the bot actually processes the script. There is a nifty flow chart that explains the "flow" of the bot and how it processes the script.

I'm happy to provide tips on how to add certain features to a script... little code snippets... but if you want a script generated from scratch... I'm happy to offer my services for a fee... Wink

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 06, 2017, 07:41:54 AM
 #615

Triple posting effectively the same stuff over and over isn't going to get you any help...

https://bot.seuntjie.com/programmermode.aspx
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables
this basically what i want the script to do , but i dont know how to set the chances, and set the bet high or low for each bet

Did you read the programmer mode tutorials that Seuntjie linked to? He clearly put a lot of effort into making them...

Quote
chance, type: double, Permission: Read Write. The chance to win when betting. Defaults to value set in advanced settings if not set. Need to set this value to change the chance to win/payout when betting.

bethigh, type: bool, Permission: Read Write. whether to bet high/over (true) or low/under(false). Defaults to true (bet high/bet over)

chance = 90.4 -- sets chance to 90.4%
bethigh = true -- sets to roll High/Over


chance = 94 -- sets chance to 94%
bethigh = false -- sets to roll Low/Under

Honestly, looking at your script, it is fairly obvious that you have zero (or close to zero) programming knowledge and lack the understanding of the basic fundamentals to be able to make this work. I highly recommend that you at least work through the tutorials that Seuntjie put together to at least build up some knowledge of the very basics and learn how the bot actually processes the script. There is a nifty flow chart that explains the "flow" of the bot and how it processes the script.

I'm happy to provide tips on how to add certain features to a script... little code snippets... but if you want a script generated from scratch... I'm happy to offer my services for a fee... Wink


thanks alot for replying me bro ....
hv been dieing since for someone to reply me.
about the tutorial thta seuntji posted,

bro i read every thing from a_z , but the liltle i understand there was the one i use in creating this script sir

i have created it following the tutorial that seunj posted cus i wouldnt hv been able to create a script like dis if not for the tutorial, pluse i have no NO KNOWLEDGE
of programming thats why i need ur help to let me know where my mistakes are ..........

sir i SWEAR TO GOD

I READ SEUNJ TUTORIAL UP TO 30TIMES but thats the little i could understand.

am so sorry seunj if u are mad at me but bro am a novice so i  think u should hv undertabd beta how we learn..............


still on my script so bro pls where is my error
i have tried retyping it but it still bring the same error (even the chance i dont know hwere to place them on the scrip..

help me bro and i promise to share u some tip after my earnings

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
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
June 06, 2017, 09:01:20 AM
 #616

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.
It creates precisely 1 random number and assigns it to magicNum until you explicitly change it. If you want magicNum to change, you need to do magicNum = math.random(10,15) when you want the value of magicNum to be a new random number in range 10-15.

For instance, if you want to do it when you reset to basebet...

Quote
basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(10,15)
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
    magicNum = math.random(10,15)
    count = 0
  end

end




Thanks HCP.....That completed my code.Thanks again for your help.
Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 06, 2017, 09:20:02 AM
 #617

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.
It creates precisely 1 random number and assigns it to magicNum until you explicitly change it. If you want magicNum to change, you need to do magicNum = math.random(10,15) when you want the value of magicNum to be a new random number in range 10-15.

For instance, if you want to do it when you reset to basebet...

Quote
basebet = 0.00000001
math.randomseed( os.time() )
magicNum = math.random(10,15)
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
    magicNum = math.random(10,15)
    count = 0
  end

end




Thanks HCP.....That completed my code.Thanks again for your help.
congratulations bro............ if only i could just complete mine too but am stock i just pray i see someone to help me soon

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
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 06, 2017, 06:26:15 PM
 #618

guys help me with the code below pls

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 (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
June 06, 2017, 06:47:59 PM
 #619

pls i created another script with same functions but am getting some error
like(LUA ERROR!!
'then' expected, got 'nextbet')

here is the code below

Code:
 wagered=0    
 wagered=wagered+previousbet
 chance=1.01
 bethigh=false
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10

  nextbet=0.00000020
 
if win then

 nextbet=baseBet

else
 
 nextbet=0.00000030

if win then

 nextbet=baseBet

else

 nextbet=0.00000050

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

this basically what i want the script to do , but i dont know how to set the chances, and set the bet high or low for each bet

here is the full explaination sir (thank u in advanced)

let say i bet
0.00000002 and i win,  i want it to go back to the basebet and bet 0.00000002
But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004
then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)

EXAMPLE

it will look like this when the lossing occurs
0.00000002
0.00000004
0.00000008
0.00000016
0.00000032
0.00000064
0.00000128
0.00000256
0.00000512
0.00001024
 till it reach 10losses but now lets assum its has reach 10losses

so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance
so if i in anycase win or loss THIS 90% 94% 95% CHANCES  i want it to go back to base bet and restart again


pls help me

   Did you fix your error?  LUA is looking for a "then".  The syntax is
if ... then
...
else
...
end 

Do you see where you have an if statement, and a check, and then you try to set nextbet? 

Then....   Your script above is set up to do

 nextbet=previousbet+baseBet

for a losing bet.  do you think that is the same as

"But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004"

Hint: it's not the same...   + is addition and * is multiplication... 

Next take all of the "if win then" clauses out.   Your just going to do the last one, because every one is going to process for every roll. 

And your code is already checking for a loss streak at -10 change the nextbet and chance right there. HCP explained about setting the chance. Then if you want to do something if you lose another (-11 streak) add another check..  and so on. 

 And your not paying us enough to complain.  Smiley  You have to make some effort and explain what you've tried and we might be a little quicker to lend a hand.  I tend to just ignore posts that start with I want a script that does this....  Show us what you've tried and we can sometimes make some suggestions. 


Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 06:58:21 AM
 #620

pls i created another script with same functions but am getting some error
like(LUA ERROR!!
'then' expected, got 'nextbet')

here is the code below

Code:
 wagered=0    
 wagered=wagered+previousbet
 chance=1.01
 bethigh=false
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10

  nextbet=0.00000020
 
if win then

 nextbet=baseBet

else
 
 nextbet=0.00000030

if win then

 nextbet=baseBet

else

 nextbet=0.00000050

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

this basically what i want the script to do , but i dont know how to set the chances, and set the bet high or low for each bet

here is the full explaination sir (thank u in advanced)

let say i bet
0.00000002 and i win,  i want it to go back to the basebet and bet 0.00000002
But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004
then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)

EXAMPLE

it will look like this when the lossing occurs
0.00000002
0.00000004
0.00000008
0.00000016
0.00000032
0.00000064
0.00000128
0.00000256
0.00000512
0.00001024
 till it reach 10losses but now lets assum its has reach 10losses

so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance
so if i in anycase win or loss THIS 90% 94% 95% CHANCES  i want it to go back to base bet and restart again


pls help me

   Did you fix your error?  LUA is looking for a "then".  The syntax is
if ... then
...
else
...
end 

Do you see where you have an if statement, and a check, and then you try to set nextbet? 

Then....   Your script above is set up to do

 nextbet=previousbet+baseBet

for a losing bet.  do you think that is the same as

"But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004"

Hint: it's not the same...   + is addition and * is multiplication... 

Next take all of the "if win then" clauses out.   Your just going to do the last one, because every one is going to process for every roll. 

And your code is already checking for a loss streak at -10 change the nextbet and chance right there. HCP explained about setting the chance. Then if you want to do something if you lose another (-11 streak) add another check..  and so on. 

 And your not paying us enough to complain.  Smiley  You have to make some effort and explain what you've tried and we might be a little quicker to lend a hand.  I tend to just ignore posts that start with I want a script that does this....  Show us what you've tried and we can sometimes make some suggestions. 




thankx alot for replying bro...

here is the script i created my self (at least i did something sir)
but its still not active .. am getting (LUA ERROR 'then' expected, got 'chance'

this the codes below plus i did what u asked me to do.

Code:
 wagered=0    
 wagered=wagered+previousbet
 chance1=28.08
 bethigh=false
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance=chance1

 baseBet=0.00000001

end

if win>0.00000001 then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10

chance = 90.4 -- sets chance to 90.4%  Done this that HCP said
bethigh = true -- sets to roll High/Ove Done this too

  nextbet=0.00000020
 
if win then

 nextbet=baseBet

else
 
 nextbet=0.00000030

chance = 94  -- done this too
bethigh = false --done this too

if win then

 nextbet=baseBet

else

chance = 95
betlow = true

 nextbet=0.00000050

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

pls what am i doing wronge

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
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!