diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..8ba8350 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..ef90055 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/osrs_basic_botting_functions.iml b/.idea/osrs_basic_botting_functions.iml new file mode 100644 index 0000000..b7d4b78 --- /dev/null +++ b/.idea/osrs_basic_botting_functions.iml @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/17084.png b/17084.png new file mode 100644 index 0000000..ac21bda Binary files /dev/null and b/17084.png differ diff --git a/17320.png b/17320.png new file mode 100644 index 0000000..4a2dabe Binary files /dev/null and b/17320.png differ diff --git a/2004.png b/2004.png new file mode 100644 index 0000000..689bc95 Binary files /dev/null and b/2004.png differ diff --git a/22092.png b/22092.png new file mode 100644 index 0000000..4a2dabe Binary files /dev/null and b/22092.png differ diff --git a/22424.png b/22424.png new file mode 100644 index 0000000..4a2dabe Binary files /dev/null and b/22424.png differ diff --git a/22924.png b/22924.png new file mode 100644 index 0000000..689bc95 Binary files /dev/null and b/22924.png differ diff --git a/23072.png b/23072.png new file mode 100644 index 0000000..4a2dabe Binary files /dev/null and b/23072.png differ diff --git a/__pycache__/config_generator.cpython-37.pyc b/__pycache__/config_generator.cpython-37.pyc new file mode 100644 index 0000000..90e1d0d Binary files /dev/null and b/__pycache__/config_generator.cpython-37.pyc differ diff --git a/__pycache__/core.cpython-37.pyc b/__pycache__/core.cpython-37.pyc new file mode 100644 index 0000000..e4b5ad7 Binary files /dev/null and b/__pycache__/core.cpython-37.pyc differ diff --git a/__pycache__/functions.cpython-37.pyc b/__pycache__/functions.cpython-37.pyc new file mode 100644 index 0000000..9580da6 Binary files /dev/null and b/__pycache__/functions.cpython-37.pyc differ diff --git a/__pycache__/slyautomation_title.cpython-37.pyc b/__pycache__/slyautomation_title.cpython-37.pyc new file mode 100644 index 0000000..bfda8d7 Binary files /dev/null and b/__pycache__/slyautomation_title.cpython-37.pyc differ diff --git a/images/gem_icon3.PNG b/images/gem_icon3.PNG new file mode 100644 index 0000000..f60aa2e Binary files /dev/null and b/images/gem_icon3.PNG differ diff --git a/images/inventshot.png b/images/inventshot.png new file mode 100644 index 0000000..93da2d1 Binary files /dev/null and b/images/inventshot.png differ diff --git a/images/miner_img.png b/images/miner_img.png new file mode 100644 index 0000000..b975f2a Binary files /dev/null and b/images/miner_img.png differ diff --git a/images/screen.png b/images/screen.png new file mode 100644 index 0000000..caa8743 Binary files /dev/null and b/images/screen.png differ diff --git a/images/screen_resize.png b/images/screen_resize.png new file mode 100644 index 0000000..479b274 Binary files /dev/null and b/images/screen_resize.png differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..4cbc34c Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/textshot.png b/images/textshot.png new file mode 100644 index 0000000..439b518 Binary files /dev/null and b/images/textshot.png differ diff --git a/miner.py b/miner.py index fe07473..3bed12a 100644 --- a/miner.py +++ b/miner.py @@ -102,7 +102,11 @@ def drop_ore(): image_Rec_clicker(r'coal_ore.png', 'dropping item', threshold=0.8, playarea=False) image_Rec_clicker(r'iron_ore.png', 'dropping item', threshold=0.8, playarea=False) image_Rec_clicker(r'tin_ore.png', 'dropping item', threshold=0.8, playarea=False) + image_Rec_clicker(r'gem_icon.png', 'dropping item', threshold=0.8, playarea=False) + image_Rec_clicker(r'gem_icon2.png', 'dropping item', threshold=0.8, playarea=False) + image_Rec_clicker(r'gem_icon3.png', 'dropping item', threshold=0.8, playarea=False) release_drop_item() + time.sleep(3) #print("dropping ore done") return "drop ore done" @@ -161,6 +165,9 @@ def count_geo(): def count_gems2(): return Image_count('gem_icon2.png') +def count_gems3(): + return Image_count('gem_icon3.png') + def inv_count(name): return Image_count(name + '_ore.png') @@ -180,7 +187,7 @@ def count_items(): t_end = time.time() + (60 * 60 * Run_Duration_hours) while time.time() < t_end: global ore, powerlist, ore_count, mined_text, gem_count, clue_count - gem_count = int(count_gems() + count_gems2()) + gem_count = int(count_gems() + count_gems2() + count_gems3()) ore_count = int(inv_count(powerlist[ore])) clue_count = int(count_geo()) time.sleep(0.1) @@ -274,9 +281,9 @@ def powerminer_text(ore, num, Take_Human_Break=False, Run_Duration_hours=5): amber = 8 # --------- CHANGE TO RUN FOR AMOUNT OF HOURS ---------------- - Run_Duration_hours = 0.1 + Run_Duration_hours = 10 # | ore | marker color | take break | how long to run for in hours - powerminer_text(copper, red, Take_Human_Break=True, Run_Duration_hours=Run_Duration_hours) + powerminer_text(iron, red, Take_Human_Break=False, Run_Duration_hours=Run_Duration_hours) #os.system('shutdown -s -f') diff --git a/pybot-config.yaml b/pybot-config.yaml index a76a7ef..ecfe6b5 100644 --- a/pybot-config.yaml +++ b/pybot-config.yaml @@ -1,6 +1,6 @@ - Config: client_title: Runelite file_path_to_client: \.runelite\ - pc_profile: C:\Users\MMH - tesseract_path: C:\Program Files\Tesseract-OCR\ - enable_on_start: true + pc_profile: C:\Users\ + tesseract_path: C:\Program Files (x86)\Tesseract-OCR\ + enable_on_start: false diff --git a/woodcutting.py b/woodcutting.py index ad55bd4..38f4e36 100644 --- a/woodcutting.py +++ b/woodcutting.py @@ -456,6 +456,6 @@ def powercutter(color=0, type='wood', firemaking=False, bank_items=True, spot='' firespots = ['firespot_varrock_wood', 'firespot_draynor_willow', 'firespot_draynor_oak' , 'firespot_farador_oak', 'firespot_draynor_wood'] - powercutter(red, 'oak', firemaking=False, bank_items=True, + powercutter(yellow, 'maple', firemaking=False, bank_items=False, spot='', Take_Human_Break=True, Run_Duration_hours=Run_Duration_hours)