mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	vraiment chelou cette affaire, a la main, il n'y a pas de problèmes
This commit is contained in:
		
							
								
								
									
										3
									
								
								V6.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								V6.py
									
									
									
									
									
								
							@@ -363,6 +363,7 @@ def try_play(nom="inconnu"):
 | 
				
			|||||||
            printf("There is an error. rqAnswerOption present in page but no action to do. skipping.")
 | 
					            printf("There is an error. rqAnswerOption present in page but no action to do. skipping.")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if "pas connecté à Microsoft Rewards" in driver.page_source:
 | 
					    if "pas connecté à Microsoft Rewards" in driver.page_source:
 | 
				
			||||||
 | 
					        custom_sleep(5)
 | 
				
			||||||
        driver.find_element(By.CSS_SELECTOR, '[onclick="setsrchusr()"]').click()
 | 
					        driver.find_element(By.CSS_SELECTOR, '[onclick="setsrchusr()"]').click()
 | 
				
			||||||
        custom_sleep(5)
 | 
					        custom_sleep(5)
 | 
				
			||||||
        printf("not connected, fixed")
 | 
					        printf("not connected, fixed")
 | 
				
			||||||
@@ -835,7 +836,7 @@ if g.dev :
 | 
				
			|||||||
    driver = firefox_driver()
 | 
					    driver = firefox_driver()
 | 
				
			||||||
    input("kill ?")
 | 
					    input("kill ?")
 | 
				
			||||||
    driver.quit()
 | 
					    driver.quit()
 | 
				
			||||||
if g.custom_start:
 | 
					elif g.custom_start:
 | 
				
			||||||
    CustomStart()
 | 
					    CustomStart()
 | 
				
			||||||
elif g.unban:
 | 
					elif g.unban:
 | 
				
			||||||
    g._mail, g._password  = select_accounts(False)[0]
 | 
					    g._mail, g._password  = select_accounts(False)[0]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@ unban = False
 | 
				
			|||||||
log =  False
 | 
					log =  False
 | 
				
			||||||
full_log = False
 | 
					full_log = False
 | 
				
			||||||
vnc_enabled = False
 | 
					vnc_enabled = False
 | 
				
			||||||
vnc_port = 0
 | 
					vnc_port = 2345
 | 
				
			||||||
points_file = "/"
 | 
					points_file = "/"
 | 
				
			||||||
update_version = False
 | 
					update_version = False
 | 
				
			||||||
islinux = True
 | 
					islinux = True
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user