Zaarrg / DropBot

Drop Bot. Automaticlly Farms every Drop available like Rust for ya and now also your Custom Channel's
396 stars 121 forks source link

Channel Points fail to collect and then program crashes #74

Open cyberofficial opened 1 year ago

cyberofficial commented 1 year ago

TTVDropBot-error.log TTVDropBot-out.log

PockySweet commented 1 year ago

Why do you think the error comes from claiming points? To me it looks like it didn't even get to pick a drop or streamer at all according to your logs; It seems to crash when trying to get the active campaings or after getting the campains:

2022-09-23 23:19:41: Getting all active Campaigns...
2022-09-23 23:20:02: Unhandled Rejection at: Promise {

I do have an issue with claiming points tho, mine is crashing when trying to claim them. We need a "ttvdropbot_farmpoints" environment variable for stuff like this, it's causing the bot to crash a lot.

GQL RESPONSE ERROR! ClaimCommunityPoints Request Failed... Retrying in 60 seconds... Try: 1/4
GQL RESPONSE ERROR! ClaimCommunityPoints Request Failed... Retrying in 60 seconds... Try: 2/4
GQL RESPONSE ERROR! ClaimCommunityPoints Request Failed... Retrying in 60 seconds... Try: 3/4
GQL RESPONSE ERROR! ClaimCommunityPoints Request Failed... Retrying in 60 seconds... Try: 4/4
Unhandled Rejection at: Promise { <rejected> '[{"message":"failed integrity check"}]' }
Unhandled Rejection Reason: [{"message":"failed integrity check"}]
Voltzy commented 1 year ago

Copy pasting my answer on other "issues"

The issue is with GraphQL (hence GQL RESPONSE ERROR) Zaarrg modifies it to make one that works for the bot. You'll just have to wait for him to update it. No need to continue listing your errors