Formatting.
This commit is contained in:
parent
f9b121c96b
commit
93ee2bb257
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -166,3 +166,4 @@ cython_debug/
|
||||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
|
|
@ -6,12 +6,15 @@ from pynput.keyboard import Key
|
||||||
bot = SuperBot()
|
bot = SuperBot()
|
||||||
timer = hours(8)
|
timer = hours(8)
|
||||||
|
|
||||||
|
|
||||||
def press_overload():
|
def press_overload():
|
||||||
bot.press_key('7')
|
bot.press_key('7')
|
||||||
|
|
||||||
|
|
||||||
def press_loot():
|
def press_loot():
|
||||||
bot.press_key(' ')
|
bot.press_key(' ')
|
||||||
|
|
||||||
|
|
||||||
overload = Interval(timedelta(seconds=330), press_overload)
|
overload = Interval(timedelta(seconds=330), press_overload)
|
||||||
loot = Interval(timedelta(seconds=70), press_loot)
|
loot = Interval(timedelta(seconds=70), press_loot)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,7 @@ bar = ChargingBar(max=inventories)
|
||||||
|
|
||||||
for inventory in range(inventories):
|
for inventory in range(inventories):
|
||||||
progress = (inventory + 1) * 100 / inventories
|
progress = (inventory + 1) * 100 / inventories
|
||||||
print(
|
print(f"{datetime.now()}: Inventory {inventory + 1}")
|
||||||
f"{datetime.now()}: Inventory {inventory + 1}"
|
|
||||||
)
|
|
||||||
bar.next()
|
bar.next()
|
||||||
print()
|
print()
|
||||||
print()
|
print()
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ from super_bot import SuperBot
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from progress.bar import ChargingBar
|
from progress.bar import ChargingBar
|
||||||
|
|
||||||
|
|
||||||
bot = SuperBot()
|
bot = SuperBot()
|
||||||
|
|
||||||
bot.random_sleep(5000, 6000)
|
bot.random_sleep(5000, 6000)
|
||||||
|
|
@ -14,9 +13,7 @@ bar = ChargingBar(max=inventories)
|
||||||
|
|
||||||
for inventory in range(inventories):
|
for inventory in range(inventories):
|
||||||
progress = (inventory + 1) * 100 / inventories
|
progress = (inventory + 1) * 100 / inventories
|
||||||
print(
|
print(f"{datetime.now()}: Inventory {inventory + 1}")
|
||||||
f"{datetime.now()}: Inventory {inventory + 1}"
|
|
||||||
)
|
|
||||||
bar.next()
|
bar.next()
|
||||||
print()
|
print()
|
||||||
print()
|
print()
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
from super_bot import SuperBot
|
from super_bot import SuperBot
|
||||||
from super_bot.timer import hours
|
from super_bot.timer import hours
|
||||||
|
|
||||||
|
|
||||||
bot = SuperBot()
|
bot = SuperBot()
|
||||||
timer = hours(4)
|
timer = hours(4)
|
||||||
bot.random_sleep(1000, 2000)
|
bot.random_sleep(1000, 2000)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue