Closed vancitysekhon closed 5 months ago
i just hit the bug myself
i would think of something like
def queue (): if onscreen("./captures/tft logo.png"): click_to("./captures/find match ready.png") starttime_queue=time.time() starttime_queue=starttime_queue+(10x60s) while not onscreen("./captures/loading.png"): time.sleep(1) click_to("./captures/accept.png") if time.time > starttime_queue: click_to X end_match() global starttimer starttimer = time.time() print("Loading!") loading()
testing will take "quite" some time till you see the bug in action
def queue():
starttime_queue = time.time()
print("Starttime-Queue",starttime_queue)
starttime_queue = starttime_queue + 300
print("Abborttime-Queue",starttime_queue)
if onscreen("./captures/tft logo.png"):
click_to("./captures/find match ready.png")
while not onscreen("./captures/loading.png"):
time.sleep(1)
click_to("./captures/accept.png")
if time.time > starttime_queue:
click_to("./captures/x_lobby.png")
end_match()
global starttimer
starttimer = time.time()
print("Loading!")
loading()
put in brings in the problem:
Bot started, queuing up! Starttime-Queue 1680261516.5826116 Abborttime-Queue 1680261816.5826116 Traceback (most recent call last): File "tft.py", line 463, in <module> queue() File "tft.py", line 82, in queue if time.time > starttime_queue: **TypeError: '>' not supported between instances of 'builtin_function_or_method' and 'float**'
this is the error i am stuck for at now while trying to build a workaround
could you confirm if this problem is still in 13.7 i have not hit the prior bugs which stopped me before
After a bunch of games I get stuck here. No specific amount of games but it always does end up happening.