Hello Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
Bugs and Suggestions / Re: FlashBet Feature
« Last post by Seuntjie on August 04, 2020, 08:04:13 am »
No, it can't.
2
Bugs and Suggestions / Re: FlashBet Feature
« Last post by bot5000 on August 03, 2020, 03:34:40 pm »
The bot will send the API requests for flashbet, Not to be used with the bot settings, just sending the api request for flashbetting.
3
Programmer Mode / Re: Round a variables value
« Last post by Seuntjie on August 01, 2020, 01:34:11 pm »
For one thing, the syntax is math.floor, not mathfloor. The dot is important.

Secondly, floor rounds DOWN to the closest INTEGER. in other words math.floor(0.999999) will return 0. math.floor(100.99999999) will return 100. So it is doing exactly what it should, just not what you need.

Doing a web search for simply 'lua round' provided this result that seems like a pretty resource: http://lua-users.org/wiki/SimpleRound
4
Programmer Mode / Re: I need a little help with my script
« Last post by Voodoohack on August 01, 2020, 01:42:55 am »
5
I don't think this will work well, I don't even think it'll give you any green for a long time...
6
Programmer Mode / Round a variables value
« Last post by Voodoohack on August 01, 2020, 01:36:49 am »
I've tried nextbet = mathfloor(Var, 0.000005) but it doesn't work for some reason :(( help?
7
Bugs and Suggestions / Re: Optimize Dicebot DB File
« Last post by Seuntjie on July 29, 2020, 07:26:29 am »
That's called disabling, not optimizing.

I'm not adding features to v3 at the moment.

Running multiple bots is at the same time is not officially supported, so issues like these are expected. Running multiple instances from the same folder is an especially bad idea for exactly this reason. SQLite is not the best database to use for concurrent access.
8
Bugs and Suggestions / Optimize Dicebot DB File
« Last post by bot5000 on July 28, 2020, 10:01:42 pm »
Hey there Seuntjie,

Will it be possible to add an option to disable saving of bet history of the bot or auto purge the database when it reaches a certain capacity?

I noticed while I have multiple bots running on my server the file is growing alot and there is alot of disk writes, which slows down the server over time and eats up disk space. Will be great if this file was optimized.

Thanks seuntjie, really enjoy the bot so far
9
Bugs and Suggestions / Re: FlashBet Feature
« Last post by bot5000 on July 27, 2020, 06:01:10 pm »
You can't. Think about it, what's the point of setting your strategy in the bot and then having duckdice bet 1000 bets that doesn't follow the strategy.

If you're thinking of using the flash bets while still using the bots settings, that's not possible. The bot needs to make a descision after every bet to determine what the next bet will be. So it needs to see the result of every bet before placing the next one. That's normal betting. With flash betting, the duck dice server just places the set amount of bets on the server itself. Even if the results are sent to the client, 10s, if not hundreds of bets has been placed by the time the client gets the result of the first one.

From https://forum.seuntjie.com/index.php?topic=1386.msg2440#msg2440

Like is the bot able to send API request to initiate a flashbet? Thats what I want it to do.
10
Bugs and Suggestions / Re: FlashBet Feature
« Last post by Seuntjie on July 26, 2020, 06:17:16 pm »
You can't. Think about it, what's the point of setting your strategy in the bot and then having duckdice bet 1000 bets that doesn't follow the strategy.

If you're thinking of using the flash bets while still using the bots settings, that's not possible. The bot needs to make a descision after every bet to determine what the next bet will be. So it needs to see the result of every bet before placing the next one. That's normal betting. With flash betting, the duck dice server just places the set amount of bets on the server itself. Even if the results are sent to the client, 10s, if not hundreds of bets has been placed by the time the client gets the result of the first one.

From https://forum.seuntjie.com/index.php?topic=1386.msg2440#msg2440
Pages: [1] 2 3 ... 10