Hello Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
Programmer Mode / https://bot.seuntjie.com/scripts.aspx?id=5253
« Last post by ak47 on December 05, 2018, 03:19:15 pm »
   
[string "chunk"]:83: attempt to perform arithmetic on global 'roll' (a nil value)
2
Programmer Mode / Re: help with stop/start in script
« Last post by ak47 on December 05, 2018, 03:18:24 pm »
CREATE START/STOP BUTTON IN NEW UPDATE PLEASE IT'S ANNOYING TYPING EVERYTIME!  :-\
3
DiceBot General Discussion / Re: Reset seed
« Last post by Krypton on December 03, 2018, 11:57:21 am »
-- The following example will reset seed only once during the whole game play
resetseed()
function dobet()
      {DO SOMETHING}
end

-- The following example will reset seed after each and every winning bet only
function dobet()
  if win then
      resetseed()
      {DO SOMETHING}
  end
end

-- The following example will reset seed after each and every loosing bet only
function dobet()
  if !win then
      resetseed()
      {DO SOMETHING}
  end
end

-- The following example will reset seed after each and every bet
function dobet()
      resetseed()
      {DO SOMETHING}
end
4
Bugs and Suggestions / Re: BitDice [Version 3.3.22]
« Last post by Seuntjie on December 02, 2018, 10:42:21 am »
BitDice is running on a completely new backend. I've already talked with Alex about it. I'm just waiting for them to finish the public API to start fixing the site. Once he's let me know that it's done and gives me the documentation, I will fix the site.
5
Bugs and Suggestions / BitDice [Version 3.3.22]
« Last post by mageslays on November 30, 2018, 09:28:27 pm »
I think BitDice changed something in their API recently (by guess of their twitter posts) and DiceBot is unable to log in to their site.


Wasn't sure if this was addressed yet, but here it is in case.
6
Bugs and Suggestions / Re: Nonce numbering
« Last post by Krypton on November 29, 2018, 08:25:18 am »
YoloDices API is a tcp socket, instead of a rest API like most other sites.
.
.
.
To be clear, sockets are usually much faster than REST APIs, you don't need to wait for the call to connect and the person to answer with every request. I will look into a way to prevent this from happening in the future without causing other issues.

Thank you so much for taking so much time in writing a detailed answer ... This adds to our knowledge too ...
Warm Regards
7
DiceBot General Discussion / Re: Bitvest Added DOGE and BCH.
« Last post by Blaksmith on November 29, 2018, 08:12:01 am »
Thank you for the quick update.
8
You can look into http://lua-users.org/wiki/IoLibraryTutorial

Why do you need to save variables to a text file though?
9
DiceBot General Discussion / Re: Bitvest Added DOGE and BCH.
« Last post by Seuntjie on November 29, 2018, 08:08:12 am »
The changes have been made be available in the next update
10
DiceBot General Discussion / Writing text to a file and loading data from that file
« Last post by Keiichi4444 on November 29, 2018, 01:55:19 am »
Hi all!

Can someone help me with function to use a separate file (i.e. dicelog.txt) to put some text there like i do it with "print" command and save it.
And if that's possible, can i somehow open that file take some info to var's in the working script?

i.e.

logfile = loadfile('dicelog.txt')
logfile:write(basebet = 0.00000010)
nextbet = logfile:read(basebet)
logfile:close()

Or smth like that) I just took this commands from my head, to show what i want to do.

Will appreciate ur help.

Ty.
Pages: [1] 2 3 ... 10