Show Posts
|
Pages: [1] 2 »
|
Error reset Chart Version 3.3.3 
|
|
|
Using strategy "Preset List" Stop Condition: 0.00010000 Limit Enabled But betting stop on win 0.00001000  so it must close the application and execute again how to keep it running for win more than 0.00001000 ? i using version 3.3.3 Go to the stop conditions tab and disable the "stop after x profit" setting. thank
|
|
|
Using strategy "Preset List" Stop Condition: 0.00010000 Limit Enabled But betting stop on win 0.00001000  so it must close the application and execute again how to keep it running for win more than 0.00001000 ? i using version 3.3.3
|
|
|
Using strategy "Preset List" Stop Condition: 0.00010000 Limit Enabled But betting stop on win 0.00001000  so it must close the application and execute again how to keep it running for win more than 0.00001000 ?
|
|
|
In Programming Mode :
i want record rolll in file, i use
file=io.open("rec1.txt","a") io.output(file) io.write("text test") io.close(file)
LUAR ERROR!! [string"chunk"]:4: bad argument #1 to 'close (FILE * expected, got nil)
but the code runs well on console lua text1.txt
Why do you want to record the roll in the file? All bets are stored in a sqlite DB called dicebot.db. You can view previous bets using the bet history form (view->bet history) or by using like sqlitebrowser to query the file directly You're probably trying to close the file while it's still writing, or opening the file too many times in too quick succession, or something. Try opening the file once when you start the script and then write to the file without closing it, and only close the file when you stop the bot. (do this manually using the console) I want to record a particular roll with the formula that I created, to be analyzed in a spreadsheet. I tried the file access code: [1] fl = io.open ("c: \ test1.txt", "a") [2] print(fl) result : no output *nilcode line [1] does not create a new file "c:\test1.txt" Also although I made manully file " c:\test1.txt" but file can not be access with io.open method. * I tried in fedora console using lua filename, io.open can run well * Dicebot applications run on VPS Windows 2008 R2
|
|
|
In Programming Mode :
i want record rolll in file, i use
file=io.open("rec1.txt","a") io.output(file) io.write("text test") io.close(file)
LUAR ERROR!! [string"chunk"]:4: bad argument #1 to 'close (FILE * expected, got nil)
but the code runs well on console lua text1.txt
|
|
|
I want to run this on more then two sites at the same time. Is that possible?
I'm right now running two instances, one on bitsler and one on primedice but want to add more... However this seems not possible? It doesn't let me login on any other site.
Copy the whole folder and run each instance in its own folder. Tried that, doesn't work! It stops working after two folders aka two instances which I ran from one folder without a problem. I get https://gyazo.com/6a71e1b711beee9fa8837a17cc4a7258i run 4 instance with diffrent folder name and diffrencet dicebot app name rename folder rename dicebot.exe
|
|
|
How to copy text on bet History ?
thank
|
|
|
how can i get lucky number of the lastbet?
lastBet.Roll
|
|
|
how to disable text output (roll status) at console tab ?
|
|
|
You can do something like this I think. --init variable test=0 nextbet=0.0000001 -- set the base bet
-- this my function function rnd1(param) -- this should be enough to declare the function if param==1 then bethigh=true else bethigh=false end end
function dobet() if !win then test=test+1 print("test = " .. test) -- use .. to concatenate rnd1(1) -- just type the function name like so else for i=1,5 do print(test) end end end
On a side note, @Seuntjie , I think the runsim() function is broken at the moment. I attempted to use it to test some code and it would crash the program regardless of the code in the box. You don't need to login to a site to use the runsim() function, correct? problem solvedprint for next create function  Thank you a lot
|
|
|
Hi,
In Programmer Mode
please provide examples of looping code: eg for next
how the conversion code like this : test = 1 print ("test =",test)
how to create a new function
Thank
I recommend you check out the tutorials at https://bot.seuntjie.com/ProgrammerMode.aspxThis describes how to create functions and provides many examples. Check it out and if you still have a question on how to do something specifically, let us know. I have been to these links ( https://bot.seuntjie.com/ProgrammerMode.aspx ), but could not find the above Can you please describe in more detail what you are attempting to code? Programmer Mode uses the function dobet() by default and this function is executed each time the next bet is required. Its where the looping occurs. For example, simple martingale script looks like this: function dobet() if win then nextbet=0.00000001 else nextbet=previousbet*2 end end Provide a more detailed explanation of what you are trying to accomplish if you need more help. --init variable test=0 -- this my function function rnd1(param) -- i don't know how to declare this function if param==1 then bethigh=true else bethigh=false end end function dobet() if !win then test=test+1 print("test = ",test) -- error call rnd1(1) -- how to run rnd1 else for i=1 to 5 -- i dont know for next in this bot print(test) next end end
|
|
|
Hi,
In Programmer Mode
please provide examples of looping code: eg for next
how the conversion code like this : test = 1 print ("test =",test)
how to create a new function
Thank
I recommend you check out the tutorials at https://bot.seuntjie.com/ProgrammerMode.aspxThis describes how to create functions and provides many examples. Check it out and if you still have a question on how to do something specifically, let us know. I have been to these links ( https://bot.seuntjie.com/ProgrammerMode.aspx ), but could not find the above
|
|
|
Hi,
In Programmer Mode
please provide examples of looping code: eg for next
how the conversion code like this : test = 1 print ("test =",test)
how to create a new function
Thank
|
|
|
|