charlesbel / Microsoft-Rewards-Farmer

A simple bot that uses selenium to farm Microsoft Rewards written in Python
MIT License
975 stars 261 forks source link

[BUG] Chrome dose not close after the farm #362

Open ahmadjerjawi opened 12 months ago

ahmadjerjawi commented 12 months ago

Before submitting a bug report...

Title

Describe the bug

After installation, I ran a couple of tests. Initially, everything seemed to work fine (I got stuck in login, but I fixed it because my account was logged in using GitHub). The command prompt closed without any issues. However, when I tried running it again, my PC's performance deteriorated significantly, eventually leading to a system crash. To investigate the problem, I opened the task manager and was surprised to find around 20 instances of Chrome running, each with a significant number of active tasks. I'm not sure if this issue is related to a recent update, as this is my first time downloading this software.

Copy and paste your error

C:\Users\Admin\Tools\Microsoft-Rewards-Farmer-master> python autoupdate_main.py -g IT -d https://discord.com/{channged} Starting... ←[38;5;39m2023-09-24 00:23:09,396 [INFO] ****{Email@changed.com}***←[0m ←[38;5;39m2023-09-24 00:23:12,674 [INFO] Using default request storage←[0m ←[38;5;39m2023-09-24 00:23:12,684 [INFO] Created proxy listening on {198.2.9.1:52263}←[0m] ←[38;5;39m2023-09-24 00:23:12,685 [INFO] Using undetected_chromedriver←[0m ←[38;5;39m2023-09-24 00:23:19,850 [INFO] patching driver executable C:\Users\Admin\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe←[0m] ←[38;5;39m2023-09-24 00:23:22,142 [INFO] Screen size: 1801x1065←[0m] ←[38;5;39m2023-09-24 00:23:22,172 [INFO] Device size: 1746x914←[0m] ←[38;5;39m2023-09-24 00:23:22,245 [INFO] [LOGIN] Logging-in...←[0m] ←[38;5;39m2023-09-24 00:23:34,471 [INFO] [LOGIN] Logged-in !←[0m] ←[38;5;39m2023-09-24 00:23:38,481 [INFO] [LOGIN] Logged-in successfully !←[0m] ←[38;5;39m2023-09-24 00:23:38,482 [INFO] [POINTS] You have 950.00 points on your account !←[0m] ←[38;5;39m2023-09-24 00:23:38,482 [INFO] [DAILY SET] Trying to complete the Daily Set...←[0m] ←[38;5;39m2023-09-24 00:23:41,339 [INFO] [DAILY SET] Completed the Daily Set successfully !←[0m] ←[38;5;39m2023-09-24 00:23:41,340 [INFO] [PUNCH CARDS] Trying to complete the Punch Cards...←[0m] ←[38;5;39m2023-09-24 00:23:41,370 [INFO] [PUNCH CARDS] Completed the Punch Cards successfully !←[0m] ←[38;5;39m2023-09-24 00:23:47,982 [INFO] [MORE PROMO] Trying to complete More Promotions...←[0m] ←[38;5;39m2023-09-24 00:23:48,086 [INFO] [MORE PROMO] Completed More Promotions successfully !←[0m] ←[38;5;39m2023-09-24 00:23:48,099 [INFO] [POINTS] You have earned 0.00 points today !←[0m] ←[38;5;39m2023-09-24 00:23:48,099 [INFO] [POINTS] You are now at 950.00 points ![0m]

C:\Users\Admin\Tools\Microsoft-Rewards-Farmer-master>

Screenshots

None I can't take screenshots because my system lag so much I can't do anything exept emergancy shutdown/reset/log out session

Value of dashboard variable

none

ChiIIerr commented 12 months ago

Also seeing this as well. Have been having to kill all chrome processes after each run.

russelammen commented 11 months ago

just add a line that kills all chrome.exe easy

ahmadjerjawi commented 11 months ago

just add a line that kills all chrome.exe easy

bruh moment it's not my job to fix it and i dont use this anymore L i use the gui one it's better and faster and user frindly and it's not dead

MartijnW29 commented 11 months ago

What gui one?

naughty00shortie commented 11 months ago

It looks like this is fixed by editing /src/utils.py

change self.webdriver.close() to self.webdriver.quit() on line 73

mgrimace commented 11 months ago

just add a line that kills all chrome.exe easy

bruh moment it's not my job to fix it and i dont use this anymore L i use the gui one it's better and faster and user frindly and it's not dead

Which GUI one? https://github.com/thearyadev/MSRF has a great one (and dockerized too), but hasn't fixed the 'eligible account was not found' bug yet

bruno-lambreht commented 10 months ago

It looks like this is fixed by editing /src/utils.py

change self.webdriver.close() to self.webdriver.quit() on line 73

Bro, is it really worked? I tried and...no success

Sunny-Shani commented 7 months ago

just add a line that kills all chrome.exe easy

bruh moment it's not my job to fix it and i dont use this anymore L i use the gui one it's better and faster and user frindly and it's not dead

Which GUI one? Can you give me the link?

Sunny-Shani commented 7 months ago

Facing the same problem :(

ahmadjerjawi commented 6 months ago

Facing the same problem :(

oh didnt relize it but i stoped even farming microsoft rewards after i cashed some cash i started invisting like in some companys it's not huge but something for starting point sorry i dont have the Link

Sunny-Shani commented 6 months ago

Facing the same problem :(

oh didnt relize it but i stoped even farming microsoft rewards after i cashed some cash i started invisting like in some companys it's not huge but something for starting point sorry i dont have the Link

Well, Microsoft has implemented a new cool-down feature; it will only give points for 3 searches every 15 minutes. I am not able to farm all the points anymore looks like I might quit for good.

naughty00shortie commented 6 months ago

Facing the same problem :(

oh didnt relize it but i stoped even farming microsoft rewards after i cashed some cash i started invisting like in some companys it's not huge but something for starting point sorry i dont have the Link

Well, Microsoft has implemented a new cool-down feature; it will only give points for 3 searches every 15 minutes. I am not able to farm all the points anymore looks like I might quit for good.

If you want to, you can check out my fork of this, I fixed the Chrome not closing problem and also changed it so that it only search 3 times every 15 minutes while still supporting multiple accounts. https://github.com/naughty00shortie/Microsoft-Rewards-Farmer

Sunny-Shani commented 6 months ago

Facing the same problem :(

oh didnt relize it but i stoped even farming microsoft rewards after i cashed some cash i started invisting like in some companys it's not huge but something for starting point sorry i dont have the Link

Well, Microsoft has implemented a new cool-down feature; it will only give points for 3 searches every 15 minutes. I am not able to farm all the points anymore looks like I might quit for good.

If you want to, you can check out my fork of this, I fixed the Chrome not closing problem and also changed it so that it only search 3 times every 15 minutes while still supporting multiple accounts. https://github.com/naughty00shortie/Microsoft-Rewards-Farmer

Wow, thanks I will definitely try this

Sunny-Shani commented 6 months ago

It looks like this is fixed by editing /src/utils.py

change self.webdriver.close() to self.webdriver.quit() on line 73

Not working for me

Sunny-Shani commented 6 months ago

It looks like this is fixed by editing /src/utils.py change self.webdriver.close() to self.webdriver.quit() on line 73

Bro, is it really worked? I tried and...no success

Did you find any solution for this problem?