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 - Blaksmith

Pages: [1]
1
Programmer Mode / Re: Autotip
« on: May 25, 2019, 05:50:58 am »
Put quotes around the receiver's name in the definition.

receiver = "Anakyl" --change it

the tip command is looking for a string, but without quotes around the name, receiver = NULL because Anakyl is not a defined variable.

2
Bugs and Suggestions / Re: Version 3.3.23
« on: January 21, 2019, 10:44:48 pm »
I'm suspecting that the disconnect is on their end.  I have already let them know. 
If it keeps betting it is fine.
If I stop, and then start betting within say 30 seconds, it is still fine
If I stop, and wait over 1 minute, it won't bet again until I log out and back in.
If it busts, and I wait over 1 minute, it won't bet again until I log out and back in.

3
Bugs and Suggestions / Re: Version 3.3.23
« on: January 20, 2019, 09:02:22 pm »
No, I am using my password, as the login text asked for "password". 
I did finally log in with my key, and my balance does show.  Thank you!

I guess I'll report another cosmetic bug that it should show "Access Token" instead of "Password", to ease up on any more confusion. :)

I finally got it to start betting, but I have a feeling there is an issue on their end with cloudflare on high, where it may hang and not bet, unless I log out and back in again.

Thanks again!
Blak

4
Bugs and Suggestions / Version 3.3.23
« on: January 20, 2019, 08:26:41 pm »
Hi there,
The download filename shows 3.2.23, while the contents show 3.3.23.  Just a minor cosmetic bug there.

Bit-EXO on the other hand, I can log in with either my username or email, but all my balances keep showing up zero.  They currently have their cloudflare settings on high, which takes many times in order to log in, but I can never get a balance.

When I do try to place a bet, even with a zero balance, I get the following error in the status window.
Status/Current Action: 42["invalid token",null]
 The number in the status line changes for every bet it attempts to do.

Blak

5
The reason I don't want to do it the way you are suggesting, is my output gives more info than just the database alone will in a single query.

Example of one of the outputs of a win.
Timestamp, rollID, rolls, betAmount, chance, spent, winProfit, runProfit, roll, high/low
2018-12-12 22:20:29, 3681034414, 532, 0.00000009, 0.41, 0.00001952, 0.00002166, 0.00000214, 99.6977, Betting High 

That last number before the actual roll itself, is the total amount of profit for the run since the last win.  Without querying all entries from win to win, it won't give me that info.  It's easier to just refresh a file than to write an sql to search for a range, then get the sum between the range, etc.



6
I use file reading/writing for doing logs of my wins, and here's a little excerpt from how I append to a file.

tempstr is the line of text to add to the file.

Code: [Select]
fin = assert(io.open(filename, "r"))
content = fin:read("*a")
fin:close()

fout = assert(io.open(tempfile, "w"))
fout:write(content)
fout:write(tempstr)

fout:close()
os.remove(filename)
os.rename(tempfile, filename)

Outline of what that code does is:
Read the whole file named in the variable filename.
Close that file
Open a new temporary file named in the variable tempfile
Write the contents of the previous file to the temporary file
Write the new output line(s)
Close the temporary file
Delete the original file
Rename the temporary file to the original filename

The reason that I have had to do it like this, rather than a straight append, is because for some reason, I think posted in a different thread, is that since the lua core that Seuntjie is using is old, and may not actually use the append feature.  I never could get it working.

7
DiceBot General Discussion / Re: Bitvest Added DOGE and BCH.
« on: November 29, 2018, 08:12:01 am »
Thank you for the quick update.

8
DiceBot General Discussion / Bitvest Added DOGE and BCH.
« on: November 28, 2018, 01:01:34 am »
Hi Seuntjie,
Would you mind adding BCH and DOGE for Bitvest?
Thanks

9
Bugs and Suggestions / Re: YoloDice and version 3.3.22
« on: November 05, 2018, 02:56:53 am »
It was not there on the day I reported it, and I have not updated it, but it is listed there now.  ???

10
Bugs and Suggestions / YoloDice and version 3.3.22
« on: November 02, 2018, 09:42:29 pm »
Two bugs so far with version 3.3.22
1) Doge is not listed in the pull-down for YoloDice's site.
2) Reported on the download page also by someone else, that it gives an error when minimizing.

Pages: [1]