Twitch-Channel-Points-Miner-v2 icon indicating copy to clipboard operation
Twitch-Channel-Points-Miner-v2 copied to clipboard

Wrong calculation for betting points

Open bttfw opened this issue 2 years ago • 1 comments

21/03 02:34:55 - ⏰ Place the bet after: 14.99s for: EventPrediction: pokegeodude (11.67k points) - throrm????

21/03 02:35:10 - 🍀 Going to complete bet for EventPrediction: pokegeodude (11.67k points) - throrm????

21/03 02:35:10 - 🍀 Bet won't be placed as the amount -2 is less than the minimum required 10

I have it set to 50% how does it get -2 from 11k channel points ? :-)

bet=BetSettings(
            strategy=Strategy.SMART,            # Choose you strategy!
            percentage=50,                       # Place the x% of your channel points
            percentage_gap=20,                  # Gap difference between outcomesA and outcomesB (for SMART strategy)
            max_points=50000,                   # If the x percentage of your channel points is gt bet_max_points set this value
            stealth_mode=True,                  # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points Issue #33
            delay_mode=DelayMode.FROM_END,      # When placing a bet, we will wait until `delay` seconds before the end of the timer
            delay=15,
            minimum_points=100,               # Place the bet only if we have at least 20k points. Issue #113
            filter_condition=FilterCondition(
                by=OutcomeKeys.TOTAL_USERS,     # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS]
                where=Condition.LTE,            # 'by' must be [GT, LT, GTE, LTE] than value
                value=800
            )

bttfw avatar Mar 21 '22 01:03 bttfw

It's bug/feature. When you have stealth mode enabled and no one bet on outcome you (script) choose then script takes 0 points as max bet and subtract from 1 to 5 points turning it to negative points bet. So if you want be true stealth then it's feature, if not then it's bug.

1v avatar Apr 15 '22 07:04 1v