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

Pages: [1] 2 3 ... 32
1
Bugs and Suggestions / Re: Wolf.bet doesn't work anymore :/
« on: July 10, 2020, 10:17:41 pm »
Seems to be working fine for me:


Maybe something in your script is creating an invalid bet, for example under the minimum bet for the currency you're using or an invalid chance etc. Do you mind posting your script?

2
Probably the part at the top where it says:

basebet    = (balance/multyplier^maxbet)*(multyplier-1.00001)

3
Bugs and Suggestions / Re: login issue with bitsler
« on: June 29, 2020, 08:24:53 am »
They might be blocking your local IP or ISP or put a geoblock in place. Your ISP might be blocking one of their IPs or domains, or there was a server/IP change on their side and the DNS on your machine/router/isp didn't update. Any of these would explain why it works from your mobile network but not your wifi.

4
Bugs and Suggestions / Re: login issue with bitsler
« on: June 28, 2020, 05:46:23 pm »
It's probably not something I can fix.

My gut says it's something to do with your IP/region/DNS settings. Try changing your DNS to googles or cloudflares DNS, or flush you DNS. You could try restarting your router as well.

5
Take a look at the tutorials on https://forum.seuntjie.com/index.php?topic=2.0, specifically
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables (look specifically at the variables wins, losses and currentstreak) and https://forum.seuntjie.com/index.php?topic=2.msg2086#msg2086. Give the other tutorials a read as well, the steemit and forum tutorials are aimed at beginner programmers and will help you the basics of programming. The youtube tutorials assume you have some coding knowledge and are more an overview of how the bot specific features.

6
Programmer Mode / Re: Reset Script
« on: June 24, 2020, 02:08:59 pm »
To reset a script, you need to reset your own variables. You can do that by just setting them to their original values or using a function to do it.

I made a tutorial about a resumable script but you can use the initialize function to reset if you implement it correctly: https://forum.seuntjie.com/index.php?topic=2.msg2195#msg2195

7
Programmer Mode / Re: I need help to transfer my setting in dicebot
« on: June 21, 2020, 12:54:02 pm »
how does the 11-33% chance work? does it pick a random chance for every bet? or increase it gradually, increase it on a win and decrease it on a loss?

8
Programmer Mode / Re: I need help to transfer my setting in dicebot
« on: June 21, 2020, 11:41:44 am »
Have you tried reading through the advance mode settings? You don't need to use the programmer mode to use DiceBot.

9
Programmer Mode / Re: I need a little help with my script
« on: June 20, 2020, 02:44:03 pm »
Have you worked through the tutorials on https://forum.seuntjie.com/index.php?topic=2.0? Specifically the steemit ones?

From https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-03-martingale
Quote
In programming, we don't use = to check whether values are equal to each other, we use ==. A single equals sign is used to assign values, a double is to compare values.

So x=3 sets the value of x to 3. x==3 checks whether x is equal to 3

Also, every time you use an if, you MUST use an and afterwards.
Quote
if (conditions) then
your code
end

or

if (conditions) then
your code
else
your other code
end

10
Programmer Mode / Re: Thank you Seuntjie
« on: June 19, 2020, 02:28:01 pm »
I hope everyone goes through the cycle of "Somethings Changed! The world is ending" to "Oh it's not as bad as I thought" to "this is awesome" as quickly as you did.

11
Try using Print

12
An important note here is that KryGamesBot is still in ALPHA, it's not been officially launched, it's just available for testing. as such, there's still a lot of features missing and a lot of thing doesn't work properly or hasn't been tested thoroughly yet. Use at your own risk even more than usual. Also, once it does actually launch , there will be more material available to help understand the new API to guide you in converting your script.

Now to your question. The language didn't change, it's still LUA, just a newer version of it. The format of the script didn't change by much and the process of the script is still the same. You click start, the script is loaded,your initial bet is received from the script, a bet is placed and after every bet, the dodicebet function is called.

There's only 1 thing that's changed that really needs a mind shift, the rest of the stuff just moved around or got renamed.

The thing that changed is the inclusion of the ResetDice function. This function is called in between loading the script and placing the first bet and it dictates what your first bet should be using the parameters (it's also called when a reset condition is met, but we'll talk about that when you're more comfortable with the new programmer mode). So instead of setting the nextbet, chance and bethigh variables at the top of your script, you set NextBet.Amount, NextBet.Chance and NextBet.High inside of the ResetDice function.

Now for the rest of the stuff that moved around:
inside DoDiceBet you have 3 parameters, PreviousBet (which is akin to the lastBet object from DiceBot), Win (which is the same as win in DiceBot) and NextBet (Which is a combination of nextbet, chance and bethigh into 1 object). In addition to these parameters, there's some variables available to you: Stats (this contains all stats in the Session Stats window), SiteDetails (contains the site name, available currencies, house edge etc), SiteStats (Contains the stats user stats window) and Balance.

To put it simply:
Instead of nextbet, use NextBet.Amount
Instead of chance, use NextBet.Chance
instead of bethigh, use NextBet.High
instead of wins, use Stats.Wins
instead of currentstreak, use Stats.CurrentStreak
instead of profit, use Stats.Profit
instead of previousbet, use PreviousBet.TotalAmount
instead of currentprofit, use PreviousBet.Profit

Here's the sample/template that's included with the bot to illustrate how little has changed. It's just a basic martingale
Code: [Select]
base = 0.00000001
function DoDiceBet(PreviousBet, Win, NextBet)
if Win then
NextBet.Amount=base -- In v3, this would just be nextbet=base
NextBet.High=NextBet.High
else
NextBet.Amount=PreviousBet.TotalAmount*2 -- in v3, this would be nextbet=previousbet*2
end
end

function ResetDice(NextBet)
NextBet.Amount=base
NextBet.Chance=49.5
NextBet.High=true
end

Be sure to read through the "DiceBot Programmer mode.docx" file and the ReadMe.txt file included with KryGamesBot, it has an explanation of how the new system works, the available variables and what properties each one has available.

If you have more specific questions than "I'm lost", I'd probably be happy to answer them. The more specific, the better. And including code samples where possible also helps.

13
There isn't a built in way to export it to excel. I suggest you use something like sqlitebrowser to open the bets database (dicebot.db) and then export your bets from there.

This is the method that calculates luck: https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs#L1412

Basically 100% luck means you've won exactly as many bets as your win% says. For example if you're playing at 50% chance to win, you've made 100 bets, won 50, lost 50, your luck will be 100%. If you've won 60 and lost 40%, your luck will be above 100 and if you've lost 60 and won 40, your luck will be below 100%.

14
Bugs and Suggestions / Re: Programmer mode got a bug!?
« on: June 04, 2020, 09:47:12 am »
Can you post examples of what it was vs what it is now? Since the script uses your balance and other stats for calculations, maybe include what they were for each example as well.

Are you sure you didn't change the script?

15
Programmer Mode / Re: help with my first script
« on: June 01, 2020, 04:01:55 pm »
You're not launching a challenge, you're asking for help. I think people are more inclined to help if you phrase it that way.

Pages: [1] 2 3 ... 32