Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lilou69

Pages: [1] 2
1
Programmer Mode / How to have a random number for script ?
« on: April 08, 2019, 10:41:02 am »
Hi all,
I would like to know if it's possible to have a random number for a script ?
I make like 2 000 script so if I win the script for exemple I want to open an other script by random.

Code: [Select]
bethigh=false
chance=66
base=0.00000100
nextbet=0.00000100
multiplierlose=1.3
multiplierwin=0.7
gain=0
currentstreak=0
encours=0
minscript=1
maxscript=1987

print ('-- Script1024')

function dobet()
gain = gain + currentprofit
encours = encours + currentprofit

if (!win) then
   nextbet=previousbet*multiplierlose
if encours-(previousbet*multiplierlose) < -0.00040000 then
stop()
end
   else
      nextbet=previousbet*multiplierwin
      if chance==66 then
       chance =29
       else
       chance = 66

end
end

if gain > 0.00000001 then
prscript = math.random(minscript*1, maxscript*1)/1
print(prscript)
[glow=red,2,300][color=green][color=green]Here I dont know how to do for open then new script with the random number the normal I writte dofile('script22.txt') but I want to open dofile('script"here then random number".txt') [/color][/color][/glow]
end


end

if nextbet < 0.00000040 then
nextbet = nextbet*2
end


end
end

Thanks in advance if someone can help me

2
Bugs and Suggestions / Re: I cant connect with bitsler ?
« on: February 27, 2019, 07:59:36 am »
Ok I hope soon :)
Thanks you

3
Bugs and Suggestions / I cant connect with bitsler ?
« on: February 26, 2019, 12:12:10 pm »
Hello
Please anyone have the same probleme today i can't connect with bitsler always the same message
Failed to log in to your account on Bitsler. Check the status bar for more information if available.

Are you having trouble logging in? Click the help button below to see the most common login problems and how to resolve them.

and the status bar : Disconnect
Thanks you

4
Programmer Mode / Re: It is possible to add stop before ?
« on: January 22, 2019, 08:11:46 am »
Yes you can execute new script after reaching specified profit or lose and this with alot of script ;) I try it alot and work well! I have 999 script for different methode work together after reaching specified profit ;)

In the end the code i used for my script work and it's exactly what I want! because if for exemple I have 1 losses at 10 000 so the nextbet will be 16500 if I win for 16500 I dont want the bot stop because the bot will decrease the nextbet but if I losse I will stop so the exactly code :

Code: [Select]
if (win) then
      gain = gain + currentprofit
      nextbet=previousbet*multiplierwin
   else
   gain = gain + currentprofit
nextbet=previousbet*multiplierlose
if encours-(previousbet*multiplierlose) < -0.00040000 then
stop()
end
end

5
Programmer Mode / Re: It is possible to add stop before ?
« on: January 21, 2019, 10:23:13 am »
I finally find how to do maybe this can help someone
Code: [Select]
bethigh=true
chance=80
base=0.00000100
nextbet=0.00000100
multiplierlose=1.65
multiplierwin=0.88
gain=0
encours=0
lowerlimit=-0.00000400



function dobet()

encours = encours + currentprofit
gain = gain + currentprofit



if (win) then
      nextbet=previousbet*multiplierwin
   else
nextbet=previousbet*multiplierlose
[color=green][b]if encours*multiplierlose < -0.00000500 then[/b][/color]
stop()
end
end


if encours > 0.00000050 then
    encours = 0
    nextbet=base
    actualbet=0.00000100
    end



if gain > 0.00005000 then
dofile('script815.txt')
end

end

6
Programmer Mode / Re: It is possible to add stop before ?
« on: January 21, 2019, 09:18:12 am »
Thanks I know it but it's not what I want because it's methode increase - decrease so the bet can to be anything before I lose the 400 000 satochis I can bet 165 if I win I will bet 150 if I lose I will bet 190 ... and the amount I lose will not be more than 400 000 satochis ... I really want the bot stop the bet before he know I will spend more than 400 000 satochis .... but maybe it's not possible ....

7
Programmer Mode / Re: It is possible to add stop before ?
« on: January 21, 2019, 08:41:01 am »
Thanks but still the same probleme ....
The total lost before the bot is stop is more than 0.004
I try the script with stop 0.00000400 and with chance 10
Betting 0.000001 at 10% chance to win, high
Betting 0.00000165 at 10% chance to win, high
Betting 0.0000027225 at 10% chance to win, high
So I lose
0.000001+0.00000165 +0.0000027225 = 0.00000537 and I dont want the total for the lose are more than 0.000004 in this exemple ...
I would like the bot stop after the bet for 165 and dont roll after because the total lose will be more than 400

8
Programmer Mode / It is possible to add stop before ?
« on: January 20, 2019, 08:44:41 pm »
Hi Seuntjie
I want to add stop before in my script but dont know if it's possible ?
I want the bot stop before he roll if the amount I spend will go more than 0.004 for exemple :
Code: [Select]
bethigh=true
chance=80
base=0.00000100
nextbet=0.00000100
multiplierlose=1.65
multiplierwin=0.88
gain=0
encours=0

function dobet()
encours = encours + currentprofit
gain = gain + currentprofit

if (win) then
      nextbet=previousbet*multiplierwin
   else
nextbet=previousbet*multiplierlose

end

if encours > 0.00000050 then
encours = 0
nextbet=base

end

if gain > 0.00005000 then
dofile('script815.txt')

end

[color=red][b]I want the bot stop and dont go more than 400 000 (total for all the bet before ...)
I try with
if encours < -0.00400000
stop()

but the bot roll and stop after the amount of - 0.00400000 I want he stop one roll before and dont roll for go more how to do please ?[/b][/color]
end

end
end

9
Programmer Mode / It's possible to roll faster ?
« on: April 20, 2018, 11:42:07 am »
Hi seuntjie,
Again me sorry for one laste questions.
I want to know if it's possible to roll faster in programer mode ? Actually I roll approximatly 1 roll/seconde ?
Thanks you

10
Programmer Mode / Re: loadscript
« on: April 18, 2018, 12:26:17 pm »
Thanks you very much seuntjie I finally find how to do it and it work good.
Before 2 week I dont hear about LUA your tutorial and videos help me too much.
Thanks again

11
Programmer Mode / Re: loadscript
« on: April 17, 2018, 08:40:09 pm »
Sorry seuntjie another question
It's possible or no to do for exemple
dofile('script70')
after 100 win
dofile('script40')
after 200 win
dofile('script80')
....
I think it's not possible but just to be sure ?
Thansk alot

12
Programmer Mode / Re: loadscript
« on: April 17, 2018, 02:31:42 pm »
Thanks you so much it's working juste i forgot the .txt before ....

13
Programmer Mode / Re: loadscript
« on: April 17, 2018, 11:43:54 am »
Thanks for the replu seuntjie, I look already all the video for some hours and really dont find where to keep the file!
In the video it's in dicebot.vshost.application and i dont have this file in dicebot ?
Like you can see in the attachement I dont have the same file in the programme like you so I dont know where to keep this file ?
Thanks if you can help me

14
Programmer Mode / loadscript
« on: April 16, 2018, 08:46:56 am »
Hi seuntjie
Please can you help me
I make a script in .lua
In dicebot i'm writting loadscript(nameofthescript) and I have LUA ERROR!!
[string "chunk"]:1: attempt to call global 'executefile' (a nil value)
But if i copy cut the script direct in dicebot it's work ?
Where I have to give the script for it work ?
I try all the function
doscript(....)
executscript(....)
And really dont know how to do for dicebot read my script ....
Thanks in advance

15
Programmer Mode / It is possible ?
« on: April 11, 2018, 11:27:49 am »
Hello
Please just I want to know if it's possible for example To make a script for exemple
1st bet : 50% chance multiplier 2,03 after 1 win go to bet 2 : 40% chance multiplier 1,68 after 1 win go to bet 3 : 70% chance multiplie 3,5 ...
The meanig is change the basebet the %chance and the multiplier always after 1 win.
I dont find how to go for 1 bet else for exemple :

chance=50
multiplier=2,03
base=0.00000001
function dobet()
if win then
nextbet=(I DONT KNOW WHAT TO WRITTE HERE FOR CONNECTE FOR THE SECONDE BET !!!!)
else
nextbet=previousbet*multiplier
end
end

Second bet
chance=40
multiplier=1,68
base=0.00000001
function dobet()
if win then
nextbet=(I DONT KNOW WHAT TO WRITTE HERE FOR CONNECTE FOR THE THIRD BET !!!!)
else
nextbet=previousbet*multiplier
end
end

Third bet
chance=70
multiplier=3,5
base=0.00000001
function dobet()
if win then
nextbet=(I DONT KNOW WHAT TO WRITTE HERE FOR COMEBACK FOR THE FIRST BET!!!!)
else
nextbet=previousbet*multiplier
end
end

If anyone can help me ?
Thanks in advance


Pages: [1] 2