Closed SiIason closed 3 years ago
In Italy the use of all Twitch functionality is not diffused, and also I am not an expert.
Can you provide also a screenshot for this drop reward/button etc? Maybe this can help me understand ...
Anyway, I want to reduce the usage of Selenium, currently is required only for the Bet, and I've also written a POC for do only with API. We should implement also this 'Drop collection function' with API if It's possible
Inventory During: https://prnt.sc/xq5n15 Inventory Ready: https://prnt.sc/xq5me4
Sorry bro but I don't know what are you talking about 😂
Any steps to reproduce so I can try by myself? Maybe it's related to the watch increasing-time in based on chat, like the issue at this link
https://github.com/gottagofaster236/Twitch-Channel-Points-Miner/issues/16
Also I don't know If we have a different endpoints or xpath buttons for each games. I think the drops are game related, right?
To me it looks similar to https://www.twitch.tv/drops/campaigns
Yes this is partially the same issue.
The screenshots I posted as from "https://www.twitch.tv/drops/inventory" showing one from a collection of drops partially rewarded and then the second image shows it finished where the claim button appears. This needs clicking for the next drop to start unlocking, its not automatic.
OK, so for testing I should link my Twitch account on one of games with drops enable. The problem:
https://www.protondb.com/app/1049590
But happy to test :)
Do you think It's possible to register and account on this game, linked on Twitch and claim the bonus without install or play the game? :laughing: Really, I've too much problem with my PC. First I've not enough space, I should format everything and change SSD, but I want to complete my University thesis first.
For increase the watching-time we could integrate one of the following projects:
If someone wants to try.
I tried using Chatterino today to see if joining chat increased watch time reward status but it didn't. I'll test the above repos you've linked for results and feedback.
Guys the view-count for drops It's not chat-related. I've done just now multiple test and analysis. I think I found a way to do that.
This is a proof, every minute the value on currentMinutesWatched
It's increased
The only update we should to do Is to add the game name in the requested with event: minute-watched
.
Some references:
event_properties = {
"channel_id": 123456,
"broadcast_id": 123456,
"player": "site",
"user_id": 123456,
"game": "Eternal Return: Black Survival",
}
minute_watched = [{"event": "minute-watched", "properties": event_properties}]
json_event = json.dumps(minute_watched, separators=(",", ":"))
payload = {"data": (b64encode(json_event.encode("utf-8"))).decode("utf-8")}
response = requests.post('https://spade-url', headers=headers, data=payload)
This is the CURL request for check if the counter is increased:
curl 'https://gql.twitch.tv/gql' \
-H 'Connection: keep-alive' \
-H 'Pragma: no-cache' \
-H 'Cache-Control: no-cache' \
-H 'Authorization: OAuth <write-your-token-here>' \
-H 'DNT: 1' \
-H 'Accept-Language: it-IT' \
-H 'Client-Id: kimne78kx3ncx6brgo4mv6wki5h1ko' \
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36' \
-H 'X-Device-Id: 0433ffc66c638dde' \
-H 'Content-Type: text/plain;charset=UTF-8' \
-H 'Accept: */*' \
-H 'Origin: https://www.twitch.tv' \
-H 'Sec-Fetch-Site: same-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: https://www.twitch.tv/drops/inventory' \
--data-raw '{"operationName":"DropCurrentSessionContext","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"2e4b3630b91552eb05b76a94b6850eb25fe42263b7cf6d06bee6d156dd247c1c"}}}' \
--compressed
Anyway, I think I'll do initially a new branch just for test the increase time. After that we can work on drops collection. I've already analysed some API for manage the inventory.
Wow, that's fantastic work. Can't wait to see this in practice.
Guys, I need some testers please! Someone can try this branch on latest commit? :pray: @SiIason ? https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/tree/drops-watchtime
I need also If it's possible a collection of all message starting with: Drop update
28/01 23:45:04 - Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'xxxx-yyyy-zzzz', 'channel_id': '123456', 'current_progress_min': 24, 'required_progress_min': 60}}
Working great... Checked with Twitch and the reward counter is increasing.
29/01/21 01:20:49 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'cfd9a6de-13af-44dc-a85a-8e78695d9483', 'channel_id': '77314997', 'current_progress_min': 27, 'required_progress_min': 60}}
29/01/21 01:21:51 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'cfd9a6de-13af-44dc-a85a-8e78695d9483', 'channel_id': '77314997', 'current_progress_min': 28, 'required_progress_min': 60}}
Working great... Checked with Twitch and the reward counter is increasing.
29/01/21 01:20:49 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'cfd9a6de-13af-44dc-a85a-8e78695d9483', 'channel_id': '77314997', 'current_progress_min': 27, 'required_progress_min': 60}} 29/01/21 01:21:51 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'cfd9a6de-13af-44dc-a85a-8e78695d9483', 'channel_id': '77314997', 'current_progress_min': 28, 'required_progress_min': 60}}
Thanks for your time.
Have you other logs? Because currently we have only the type: "drop-progress"
.
And I would other type for continue the implementation of this. For example I could check every update if current_progress_min
is equal to required_progress_min
but I'd like that Twitch give use other messages type, something like: drop-complete and/or drop-claimed
Seems like it works for some drops but not all?
Like for now on Rainbow Six streams, drops are activated (eg: https://www.twitch.tv/kinggeorge).
This line is fireing well and I see the game in the logs https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/commit/a72a327756c5eb2327ddfebe49ed57faf6bf7975#diff-72bedccfed7f2e53b7585026f3c3ba3daf715d0f7acd3504553cb281bb649c61R62
Though the drops are not detected as this line doesn't fire https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/commit/a72a327756c5eb2327ddfebe49ed57faf6bf7975#diff-72bedccfed7f2e53b7585026f3c3ba3daf715d0f7acd3504553cb281bb649c61R67
Now maybe a difference is that these drops doesn't appear in the page https://www.twitch.tv/drops/campaigns .
For the moment I've enabled the increase counters only for the streams with "Drop enable" tag.
Missing here. I seen that the drops are enabled only in the title and in the chat, with stream elements and command !drops
I don't know if this drops type are developed by third part, and not directly form Twitch 🤔 This is only an Idea but It's possibile that If this drop are developed not from Twitch the counter Is chat based, test with chatterino if the counter increase. About the counter I'm not sure that you have a counter, because the drops event Is not in Inventory page. I want to repeat again, maybe It's something developed by Ubisoft in this case.
Test chatterino, If you notice some differences report here and we can try to find a solution. For sure we can't claim the drop for you.
They are drops from Ubisoft, and probably require the Ubisoft account to be linked to Twitch in order to show up the drops.
I'll try connecting through IRC to the chat and see if it works that way.
Oh! wait :cry: @RakSrinaNa I was from mobile device and I had not read really well your comment.
You can try also to edit the following line and remove the If that search for id: c2542d6d-cd10-4532-919b-3d19f30a768b
if 1==1 or "c2542d6d-cd10-4532-919b-3d19f30a768b" in [tag['id'] for tag in streamer_info['stream']['tags']]:
For understand as well who is chat-related and not you can try the pop up mode for player and for chat. Leave open for x minutes of the chat and see if something change, do the same test for the player
For now I'm running this script while sending the game everytime (with 1==1) to see if it does anything. But this will be quite hard to tell as there's no "progress bar" or anything. You only know when you get the drop itself. Probably that Ubisoft gets a list of watched time or something and decides by themselves when giving the drop? Often seems like the processing of the watch times are done at night, so I'll know tomorrow.
I'll let it on through the day and try not to add too much time to it through Twitch.
Though looking a bit through Twitch's requests, I can see this response passing by:
{
"data": {
"user": {
"id": "194258396",
"login": "fastanne",
"displayName": "FastAnne",
"lastBroadcast": {
"id": "40909281340",
"game": {
"id": "460630",
"self": {
"isDropsLinked": true,
"__typename": "GameSelfConnection"
},
"activeDropCampaigns": [
{
"id": "fff3dad0-0efe-4048-ae4e-02ae33e79678",
"connectionURL": "https://drops-register.ubi.com/",
"applicableChannels": [],
"isAvailableToAllChannels": true,
"__typename": "DropCampaign"
}
],
"__typename": "Game"
},
"__typename": "Broadcast"
},
"stream": {
"id": "40909281340",
"isStreamDropsEnabled": true,
"type": "live",
"__typename": "Stream"
},
"__typename": "User"
}
},
"extensions": {
"durationMilliseconds": 59,
"operationName": "Drops_ChannelDrops_User",
"requestID": "01EX6VGJ6R9R87M1TDS2QJPENC"
}
}
data.user.stream.isStreamDropsEnabled
gives the indication that there's drops to be obtained.
If sending the game works maybe this value can be used to know when to send the game info.
Request:
{
"operationName": "Drops_ChannelDrops_User",
"variables": {
"login": "fastanne",
"isLoggedIn": true
},
"extensions": {
"persistedQuery": {
"version": 1,
"sha256Hash": "f309b1d517d288074d50d96512059857cc67d8905d1379e414d70f7b981f2618"
}
}
}
Probably that Ubisoft gets a list of watched time or something and decides by themselves when giving the drop?
Or just check who are online in chat and share randomly the drop :thinking:
About sending the game info we can do it every time, It's not a problem. For the moment I've inserted the If condition base on Drop Tag only for help us to debug and reduce the data sent.
The strangest thing here If you use the same request Drops_ChannelDrops_User
with one of the users founded in https://www.twitch.tv/drops/inventory all the values are different :disappointed:
{
"data": {
"user": {
"id": "00000",
"login": "streamer",
"displayName": "streamer",
"lastBroadcast": {
"id": "00000",
"game": {
"id": "00000",
"self": {
"isDropsLinked": false,
"__typename": "GameSelfConnection"
},
"activeDropCampaigns": [],
"__typename": "Game"
},
"__typename": "Broadcast"
},
"stream": {
"id": "00000",
"isStreamDropsEnabled": false,
"type": "live",
"__typename": "Stream"
},
"__typename": "User"
}
},
"extensions": {
"durationMilliseconds": 58,
"operationName": "Drops_ChannelDrops_User",
"requestID": "01EX6ZWKPAGB5C6P11NPCTN3R3"
}
}
On R6 you doesn't needed to claim reward, it claims automatically
On R6 you doesn't needed to claim reward, it claims automatically
Excuse my ignorance, R6 stand for Rainbow Six? Do you think It's the same for all Ubisoft Drops?
There's apparently two "kinds" of drops.
The one that was originally opened by this issue and that needs manual claiming of the loot => https://help.twitch.tv/s/article/mission-based-drops?language=en_US
The one that I get for R6 and that is automatic when game account is linked (with the green "Drops enable" under the stream name) => https://help.twitch.tv/s/article/how-to-earn-drops?language=en_US
Maybe this issue should be only for the first kind. Maybe I can try to figure out a bit how the second one works, if it is through chat, the game that is sent etc. And if anything seem to work maybe address that in a separate issue.
On R6 you doesn't needed to claim reward, it claims automatically
Excuse my ignorance, R6 stand for Rainbow Six? Do you think It's the same for all Ubisoft Drops?
yes, it is check comment from RakSrinaNa
Fuller INFO log of the time just before and after a timed reward. (I have debug if you need anything specific) You can see the drop updates stop increasing at 60 And around 29/01/21 11:54:09 I collected the reward The log after this collection shows no drop updates because I maxed my daily drops.
29/01/21 11:32:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Game: Eternal Return: Black Survival
29/01/21 11:32:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:32:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Drops are enabled for this stream!
29/01/21 11:32:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:32:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Game: Eternal Return: Black Survival
29/01/21 11:32:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:32:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Drops are enabled for this stream!
29/01/21 11:33:01 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259', 'current_progress_min': 58, 'required_progress_min': 60}}
29/01/21 11:33:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:33:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Game: Eternal Return: Black Survival
29/01/21 11:33:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:33:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Drops are enabled for this stream!
29/01/21 11:33:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:33:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Game: Eternal Return: Black Survival
29/01/21 11:33:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:33:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=730) - Drops are enabled for this stream!
29/01/21 11:34:01 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259', 'current_progress_min': 59, 'required_progress_min': 60}}
29/01/21 11:34:01 - INFO - [on_message]: +10 --> Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Reason: WATCH.
29/01/21 11:34:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:34:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Game: Eternal Return: Black Survival
29/01/21 11:34:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:34:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Drops are enabled for this stream!
29/01/21 11:34:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:34:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Game: Eternal Return: Black Survival
29/01/21 11:34:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:34:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Drops are enabled for this stream!
29/01/21 11:35:01 - INFO - [on_message]: Drop update: {'type': 'drop-claim', 'data': {'drop_instance_id': '5a5adcac-b7d6-45e7-9c5b-1a3d9e7961c2', 'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259'}}
29/01/21 11:35:01 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259', 'current_progress_min': 60, 'required_progress_min': 60}}
29/01/21 11:35:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:35:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Game: Eternal Return: Black Survival
29/01/21 11:35:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:35:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Drops are enabled for this stream!
29/01/21 11:35:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:35:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Game: Eternal Return: Black Survival
29/01/21 11:35:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Views: 281, Tags ['English', 'Drops Enabled']
29/01/21 11:35:40 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=740) - Drops are enabled for this stream!
29/01/21 11:36:02 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259', 'current_progress_min': 60, 'required_progress_min': 60}}
...
29/01/21 11:53:01 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259', 'current_progress_min': 60, 'required_progress_min': 60}}
29/01/21 11:53:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:53:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Game: Eternal Return: Black Survival
29/01/21 11:53:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Views: 269, Tags ['English', 'Drops Enabled']
29/01/21 11:53:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Drops are enabled for this stream!
29/01/21 11:53:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:53:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Game: Eternal Return: Black Survival
29/01/21 11:53:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Views: 269, Tags ['English', 'Drops Enabled']
29/01/21 11:53:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=820) - Drops are enabled for this stream!
29/01/21 11:54:02 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'b57c99b5-fae2-46f1-8cb2-a2cb47e09022', 'channel_id': '104613259', 'current_progress_min': 60, 'required_progress_min': 60}}
29/01/21 11:54:02 - INFO - [on_message]: +10 --> Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Reason: WATCH.
29/01/21 11:54:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:54:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Game: Eternal Return: Black Survival
29/01/21 11:54:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Views: 269, Tags ['English', 'Drops Enabled']
29/01/21 11:54:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Drops are enabled for this stream!
29/01/21 11:54:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:54:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Game: Eternal Return: Black Survival
29/01/21 11:54:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Views: 269, Tags ['English', 'Drops Enabled']
29/01/21 11:54:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Drops are enabled for this stream!
29/01/21 11:55:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:55:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Game: Eternal Return: Black Survival
29/01/21 11:55:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Views: 269, Tags ['English', 'Drops Enabled']
29/01/21 11:55:09 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Drops are enabled for this stream!
29/01/21 11:55:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Title: ERCS 1ST PLACE CHAMPION TAKES TO NEW HEIGHTS (DS YUKI)
29/01/21 11:55:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Game: Eternal Return: Black Survival
29/01/21 11:55:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Views: 269, Tags ['English', 'Drops Enabled']
29/01/21 11:55:39 - INFO - [update_payload_minute_watched_event_request]: Streamer(username=homecomingna, channel_id=104613259, channel_points=830) - Drops are enabled for this stream!
29/01/21 11:55:42 - INFO - [end]: CTRL+C Detected! Please wait just a moment!s```
Here the auto-claim :partying_face: https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/commit/3bf73f4ea0ccafd58da12e510829ca5eafadc5c1
Can test in about 2 hours ...
Gah, forgot this game doesn't do drops Fri-Sun.
Will try and test with another game, if available.
I'm currently test all of these campaigns :smile_cat: https://www.twitch.tv/drops/campaigns
UPDATE: OK found another game that's running timed drops. Waited for completion and I don't know what happened but now I see this: https://prnt.sc/xtjgh2 I do have one drop claimed but its not showing as claimed as you can see...
Check at the end of the page
Yes, I have the same, one claimed. But It should say 'Claimed' on the claimed drop not carry on counting.
Also: Looks like only drops from one game are collecting. When I have a streamer from each running.
But It should say 'Claimed' on the claimed drop not carry on counting.
It's possible that Sector's Edge It's different from Eternal Return? I think we can claim at least 3 of this +50% Proton Boost https://www.twitch.tv/drops/campaigns?dropID=c30f52c2-77b8-49eb-9ebb-0479590a4aa8
Also: Looks like only drops from one game are collecting.
About this I don't understand. Sorry
It looks stuck now. Looks like this https://prnt.sc/xtkknh
29/01/21 16:47:56 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': '4ff2f5fc-abea-4ce6-ab5c-a55d0832ef28', 'channel_id': '174675703', 'current_progress_min': 14, 'required_progress_min': 15}}
29/01/21 16:49:17 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': '4ff2f5fc-abea-4ce6-ab5c-a55d0832ef28', 'channel_id': '174675703', 'current_progress_min': 15, 'required_progress_min': 15}}
29/01/21 16:49:25 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': '798c72d3-c4e8-4ac8-ad45-17737cbb35d9', 'channel_id': '522172972', 'current_progress_min': 0, 'required_progress_min': 45}}
29/01/21 16:49:55 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'c18b3229-200b-4362-a561-5c7dd55c0695', 'channel_id': '174675703', 'current_progress_min': 15, 'required_progress_min': 15}}
29/01/21 16:50:57 - INFO - [on_message]: Drop update: {'type': 'drop-progress', 'data': {'drop_id': 'c18b3229-200b-4362-a561-5c7dd55c0695', 'channel_id': '174675703', 'current_progress_min': 15, 'required_progress_min': 15}}
About this I don't understand. Sorry
I only get "Drop update" messages from the second campaign/game when then first campaign doesn't check for drops
Checking again Twitch now says I've clamed two rewards (at the bottom of the page) even though the second looks unclaimed as you can see from previous screenshot and the "Drop update" log message is still stuck reporting 15/15
If you can please do a git pull
and test the latest version. With the latest version you should also update you run.py
Also save the file log with DEBUG level file_level=logging.DEBUG
New pull Initial Observations: I had 2 unclaimed rewards showing, I started the script and it collected one. The second reward remained uncollected and no new time was being recorded. I manually collected the second reward and time started to be recorded. However its showing as recording two rewards again: https://prnt.sc/xtli8a
However its showing as recording two rewards again: https://prnt.sc/xtli8a
Yes It's correct. Also, if you use Twitch you will see the same reward multiple times. +50% Proton Boost x3 , +50% XP Boost x3 , +100% Proton Boost x2 https://www.twitch.tv/drops/campaigns?dropID=c30f52c2-77b8-49eb-9ebb-0479590a4aa8
Your right but that's not what I was referring to. I meant that it was showing two separate rewards going up at the same time.
OK, you are right. There is something wrong here :rofl:
Stuck again now : https://prnt.sc/xtmwf6 Restarting the script did not collect anything this time.
Will wait for you to update before continuing.
@SiIason . New commit ready for test :fire:
Ermmm: https://prnt.sc/xtqci5 I don't know if this is as expected?
Had to manually collect the two outstanding drops before anything happened. When I collected the first it started the timer again, which I think is right. When I collected the second, it started two times as you see in the screenshot.
I'm going to watch normally to see if I can get them back to normal.
I think this time It's correct.
Weird they aren't queued up on each other though, its like double/triple rewards for time watched. I'm currently building up 1x 100% reward and 1x 200% reward for the same time watched.
Down to 1 timer on the 200% reward. Maybe it was all as planned? Maybe the initial script set something wonky? Maybe... your beating the system ;p
Current repo implementation does not count viewing time towards timed Drop rewards.
The example I looked at needs to be claimed (button clicked) every hour to continue earning towards watched time. So simply going afk only ever builds up time for 1 drop. You can Claim via a popup message box in chat (same as channel points) or via the inventory page, you could have multiple claim buttons here. I've included code for both buttons should they require css descriptors.
twitchchatclaimbutton.txt twitchinventoryclaimbutton.txt
I assume this also means other types of Drop reward are not able to be collected?
Solution could be to keep the channel stream open, which I don't believe currently happens, clicking the claim button when it appears. Most pages have the "drops enabled" tag so wouldn't need to happen if no drops enabled. Or a periodic check of your inventory for available items to be claimed could be a simpler catch-all (assuming watch progress starts to be recorded).