New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No bets placed anymore #250
Comments
In the logs search for lines that contains |
No result for "MakePrediction" :/ |
What is the end of that line ? If the points are less than 10 then it is normal that the bet isn't placed. |
$amer(username=oxxx, channel_id=28868xxx, channel_points=31.23k), title=Überlexxxx?) |
I thought it'd show the points it tries to bet. You can try #251 maybe i'll show a bit better what happens. |
I'll try that, thanks! Just modified my twitch.py and wait for the next bet event |
didn't took long 14/08/21 16:53:01 - INFO - [make_predictions]: Going to complete bet for EventPrediction(event_id=326471d5-7a30-4819-8c57-0008a7fa736d, streamer=Streamer(username=worldofwarships, channel_id=182565961, channel_points=2.67k), title=Who will Win on Strait?) |
Maybe because of the stealth mode? Like if no bets were placed by anyone maybe the lowest bet is interpreted as |
To me the amount can only be negative if stealth is on. Else it'd be 0. If you add |
In this specific case the highest bet was 36684/30000 and 5% of my points would have been like 133. Seems something is wrong with this function. I'll add this line too and see what happens. |
14/08/21 19:54:00 - INFO - [on_message]: Place the bet after: 0.78s for: EventPrediction(event_id=05e646ff-c350-420d-8012-da627161ab8f, streamer=Streamer(username=worldofwarships, channel_id=182565961, channel_points=3.63k), title=Who will win on Ring?) but again, there where enough people betting |
That issue is quite weird. Especially if the value was 181 almost near the end of the function. |
If you know a bit python and can use a debugger that'd be your best option to see what's happening. Seems like it's in one of these blocks (based on the log you put on L277 and showed value was right there): Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/entities/Bet.py Lines 277 to 287 in 809c4c9
Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/Twitch.py Lines 408 to 419 in 809c4c9
(The weird part is that only |
Well yeah I guess it'd be that You place the bet way too early, there's no top better at this point. Either put a higher delay so that people have time to place their bets, or don't use the stealth mode. |
Man you rock, and I feel so stupid wasting your time. |
There are several channels where the script used to place bets in the past, and it doesnt work anymore. Runtime of the bets is always arround 2 minutes. There are less then 400 people in the channels and only a handful of them place a bet.
For each bet I see the similar two lines in my log, but no bet is placed for many many days now. There is no other entry before or after these two lines in regards to this bet event.
I tired to modify the delay to no avail.
Any Idea what I'm doing wrong or is going wrong?
LOG:
12/08/21 16:56:12 - DEBUG - TwitchChannelPointsMiner.classes.WebSocketsPool - [on_message]: #0 - Received: {"type":"MESSAGE","data":{"topic":"predictions-channel-v1.28868142","message":"{$
12/08/21 16:56:12 - INFO - TwitchChannelPointsMiner.classes.WebSocketsPool - [on_message]: Place the bet after: 0.78s for: EventPrediction(event_id=e0fe55fd-e30e-4e3d-b6f5-b65ec861c3ec, s$
12/08/21 16:56:13 - INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Going to complete bet for EventPrediction(event_id=e0fe55fd-e30e-4e3d-b6f5-b65ec861c3ec, streamer=$
12/08/21 16:56:13 - DEBUG - TwitchChannelPointsMiner.classes.TwitchWebSocket - [send]: #0 - Send: {"type":"PING"}
CONFIG:
streamer_settings=StreamerSettings(
make_predictions=True, # If you want to Bet / Make prediction
follow_raid=True, # Follow raid to obtain more points
claim_drops=True, # We can't filter rewards base on stream. Set to False for skip viewing counter increase and you will never obtain a drop reward from this script. Is$ watch_streak=True, # If a streamer go online change the priotiry of streamers array and catch the watch screak. Issue #11
join_chat=True, # Join irc chat to increase watch-time
bet=BetSettings(
strategy=Strategy.SMART, # Choose you strategy!
percentage=5, # Place the x% of your channel points
percentage_gap=20, # Gap difference between outcomesA and outcomesB (for SMART stragegy)
max_points=5000, # 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 #33
delay_mode=DelayMode.FROM_START,
delay=0.8,
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
)
)
)
The text was updated successfully, but these errors were encountered: