Coder Social home page Coder Social logo

darkmatter2222 / eve-online-bot Goto Github PK

View Code? Open in Web Editor NEW
85.0 85.0 18.0 90.51 MB

A Bot to play Eve Online leveraging various methods including popular machine learning tools. At this point, its a full blown AI.

License: MIT License

Jupyter Notebook 94.19% Batchfile 0.04% Python 5.78%
ai automation bot classification convolutional-neural-networks eve eve-online game image-classification image-processing machine-learning mining online pyautogui python r-cnn screenscraping tensorflow

eve-online-bot's People

Contributors

darkmatter2222 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

eve-online-bot's Issues

Eve database query

Is there some config or something I need for eve database to setup? Or can i disable mondodb logging somewhere? I couldn't find the setting or documentation for this.

Reading the history py file:
self.client = MongoClient(ag.mongo_logging['mining_bot']['mongo_host'],
username=os.getenv("eve_username"),
password=os.getenv("eve_password"))
self.db = self.client[ag.mongo_logging['mining_bot']['db_name']]
self.collection = self.db[ag.mongo_logging['mining_bot']

Which seems to be configured from ai_pilot_config_v2.json (but I cannot se wher eve_username / eve_password is from?

So far i've followed the tutorial and have configured everything but when tryingt o run the headless miner i get the below crash.

,
"mongo_logging": {
"mining_bot": {
"mongo_host": "mongodb+srv://cluster0.ufnlr1u.mongodb.net/?retryWrites=true&w=majority",
"mongo_authMechanism": "SCRAM-SHA-256",
"db_name": "Eve",
"collection_name": "History"
},
"mongo_logging": {
"mining_bot": {
"mongo_host": "mongodb+srv://cluster0.ufnlr1u.mongodb.net/?retryWrites=true&w=majority",
"mongo_authMechanism": "SCRAM-SHA-256",
"db_name": "Eve",
"collection_name": "History"
}

Is there a db structure I can copy from somewhere to instantiate the local db or should this be accessing to an online db?

['collection_name']]
self.temp = 0

`Traceback (most recent call last):
File "C:\Users\Corey\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymongo\srv_resolver.py", line 89, in _resolve_uri
results = _resolve(
^^^^^^^^^
File "C:\Users\Corey\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymongo\srv_resolver.py", line 43, in _resolve
return resolver.resolve(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Corey\AppData\Local\Programs\Python\Python311\Lib\site-packages\dns\resolver.py", line 1368, in resolve
return get_default_resolver().resolve(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Corey\AppData\Local\Programs\Python\Python311\Lib\site-packages\dns\resolver.py", line 1201, in resolve
(nameserver, port, tcp, backoff) = resolution.next_nameserver()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Corey\AppData\Local\Programs\Python\Python311\Lib\site-packages\dns\resolver.py", line 704, in next_nameserver
raise NoNameservers(request=self.request, errors=self.errors)
dns.resolver.NoNameservers: All nameservers failed to answer the query _mongodb._tcp.cluster0.ufnlr1u.mongodb.net. IN SRV:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Corey\Desktop\EVE-Online-Bot-main\Start_AI_Pilot.py", line 53, in
start_mining(params.config_file)
File "C:\Users\Corey\Desktop\EVE-Online-Bot-main\AI_Pilot\Objectives\Mining\StartMining.py", line 28, in start_mining
Bot.ag.log = History(Bot.ag)
^^^^^^^^^^^^^^^
File "C:\Users\Corey\Desktop\EVE-Online-Bot-main\AI_Pilot\Audit_History\History.py", line 29, in init
self.client = MongoClient(ag.mongo_logging['mining_bot']['mongo_host'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Corey\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymongo\mongo_client.py", line 736, in init`

The AI does not "click" but only move cursor around

First of all, I'm looking forward to work with this and learn about AI. This looks so awesome, so thank you for publishing this.

So.. I think I got the installation right and the AI is starting. At least no errors are posted in the CLI. I can see the cursor is moving around on the screen, however it does not click. I'm testing with the Project Discovery since it seems like the simple feature to get working, before proceeding to the mining feature.

I'm running on Windows 11, Python 3.9.2rc1, within a Python virtual environment.
I have cloned the repo into c:\versioncontrol\eve-online, I have the Python virtual environment in c:\ai-demo and pointed all log directories to c:\ai-demo-eve. The EVE client is running in window mode in 1920x1080. I ran the --setup_mode 1 and setup the pd grid and submit. Config file at the bottom of this thread.

How I experience the problem:

  • I do not see the window ever getting active
  • I see the cursor move around to the points I've saved through the --setup_mode
  • I see coordinates in the CLI. Without knowing exactly how it should look like, it looks OK.

I have removed from requirements.txt:
sklearn==0.0.post1 - it is deprecated and replaced by "scikit-learn", which is already in the requirements

{ "default": { "general": { "log_dir": "c:\\ai-demo-eve\\databrick\\N\\eve_logs", "monitor_number": 1, "eve_launcher": "C:\\Program Files\\EVE\\Launcher\\evelauncher.exe" }, "mongo_logging": { "mining_bot": { "mongo_host": "mongodb+srv://cluster0.ufnlr1u.mongodb.net/?retryWrites=true&w=majority", "mongo_authMechanism": "SCRAM-SHA-256", "db_name": "Eve", "collection_name": "History" } }, "ml_botting_core": { "public_models": [ { "game": "eve_online", "model_name": "game_state_v2", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\game_state_v2", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\game_state_v2", "save_images": 0 }, { "game": "eve_online", "model_name": "mining_tool_state", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\mining_tool_state", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\mining_tool_state", "save_images": 0 }, { "game": "eve_online", "model_name": "nav_options", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\nav_options", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\nav_options", "save_images": 0 }, { "game": "eve_online", "model_name": "hanger_menus", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\hanger_menus", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\hanger_menus", "save_images": 0 }, { "game": "eve_online", "model_name": "set_dest", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\set_dest", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\set_dest", "save_images": 0 }, { "game": "eve_online", "model_name": "route_y_large_vert_class_v4", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\route_y_large_vert_class_v4", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\route_y_large_vert_class_v4", "save_images": 0 }, { "game": "eve_online", "model_name": "game_state_cake_layer_1_v1", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\game_state_cake_layer_1_v1", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\game_state_cake_layer_1_v1", "save_images": 0 }, { "game": "eve_online", "model_name": "game_state_cake_layer_2_v1", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\eve_live_models\\game_state_cake_layer_2_v1", "model_log_directory": "c:\\ai-demo-eve\\eve_live_logs\\game_state_cake_layer_2_v1", "save_images": 0 } ] }, "static_screen_pos": { "click_target_pd_submit_target": [ 1579, 854 ], "range_pd_top": [ 343, 260, 980, 646 ], "range_pd_bottom": [ 340, 646, 980, 900 ], "next_waypoint_menu_box_dims_from_click": [ -90, 369, -28, 356 ], "click_target_default_cords": [ 202, 66 ], "click_target_first_item_in_inventory": [ 327, 803 ], "click_target_hanger": [ 146, 847 ], "click_target_mining_hold": [ 146, 746 ], "click_target_scanner_button": [ 1121, 991 ], "range_click_and_drag_inv_box": [ 279, 753, 789, 1100 ], "range_miners": [ 1066, 900, 1188, 961 ], "range_grid_search_location_box": [ 860, 205, 1464, 546 ], "search_location_box_count": 13, "search_location_box_columns": [ 1 ], "range_grid_search_assets_box": [ 804, 563, 1481, 612 ], "search_assets_box_count": 11, "search_assets_box_columns": [ 1 ], "click_and_drag_inv_line": [ 336, 692, 182, 871 ], "range_grid_survey_scan_box": [ 1344, 681, 1866, 844 ], "survey_scan_box_count": 6, "survey_scan_box_columns": [ 0.05, 0.45, 0.15, 0.18 ], "click_target_exit_hanger": [ 1753, 392 ], "click_target_search_assets_button": [ 957, 55 ], "click_target_set_quant_target": [ 934, 761 ], "Load_to_mininghold_click_and_drag_inv_line": [ 336, 692, 150, 675 ], "click_target_ship_root": [ 120, 746 ], "click_target_search_tab": [ 951, 106 ], "click_target_search_tab_search_bar": [ 997, 163 ], "range_cargo_box": [ 378, 708, 639, 740 ], "mining_sites": [ "Site Two Alpha", "Site One Alpha", "Site Three Alpha", "Site One Beta", "Site Twa Beta", "Site Three Beta", "Site One Charlie", "Site Three Charlie", "Site One Delta", "Site Three Delta", "Site One Epsilon" ] } }, "databrick": { "general": { "log_dir": "c:\\ai-demo-eve\\databrick\\N\\eve_logs", "monitor_number": 1, "eve_launcher": "C:\\Program Files\\EVE\\Launcher\\evelauncher.exe" }, "mongo_logging": { "mining_bot": { "mongo_host": "mongodb+srv://cluster0.ufnlr1u.mongodb.net/?retryWrites=true&w=majority", "mongo_authMechanism": "SCRAM-SHA-256", "db_name": "Eve", "collection_name": "History" } }, "ml_botting_core": { "public_models": [ { "game": "eve_online", "model_name": "game_state_v2", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\game_state_v2", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\game_state_v2", "save_images": 0 }, { "game": "eve_online", "model_name": "mining_tool_state", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\mining_tool_state", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\mining_tool_state", "save_images": 1 }, { "game": "eve_online", "model_name": "nav_options", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\nav_options", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\nav_options", "save_images": 0 }, { "game": "eve_online", "model_name": "hanger_menus", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\hanger_menus", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\hanger_menus", "save_images": 0 }, { "game": "eve_online", "model_name": "set_dest", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\set_dest", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\set_dest", "save_images": 0 }, { "game": "eve_online", "model_name": "route_y_large_vert_class_v4", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\route_y_large_vert_class_v4", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\route_y_large_vert_class_v4", "save_images": 0 }, { "game": "eve_online", "model_name": "game_state_cake_layer_1_v1", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\game_state_cake_layer_1_v1", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\game_state_cake_layer_1_v1", "save_images": 0 }, { "game": "eve_online", "model_name": "game_state_cake_layer_2_v1", "download_latest": 1, "download_latest_from": "https://storage.googleapis.com/eve_online_models/", "model_root_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_models\\game_state_cake_layer_2_v1", "model_log_directory": "c:\\ai-demo-eve\\databrick\\N\\eve_logs\\eve_live_logs\\game_state_cake_layer_2_v1", "save_images": 0 } ] }, "static_screen_pos": { "next_waypoint_menu_box_dims_from_click": [ -90, 369, -28, 356 ], "click_target_default_cords": [ 85, 60 ], "click_target_first_item_in_inventory": [ 315, 730 ], "click_target_hanger": [ 158, 875 ], "click_target_mining_hold": [ 160, 731 ], "click_target_scanner_button": [ 1123, 908 ], "range_click_and_drag_inv_box": [ 275, 688, 741, 1006 ], "range_miners": [ 1058, 820, 1188, 878 ], "range_grid_search_location_box": [ 814, 156, 1242, 480 ], "search_location_box_count": 13, "search_location_box_columns": [ 1 ], "click_and_drag_inv_line": [ 336, 692, 182, 871 ], "range_grid_survey_scan_box": [ 1277, 616, 1851, 767 ], "survey_scan_box_count": 6, "survey_scan_box_columns": [ 0.05, 0.45, 0.15, 0.18 ], "click_target_exit_hanger": [ 1726, 397 ], "click_target_set_quant_target": [ 889, 651 ], "Load_to_mininghold_click_and_drag_inv_line": [ 336, 692, 150, 675 ], "click_target_ship_root": [ 165, 670 ], "click_target_search_tab": [ 990, 60 ], "click_target_search_tab_search_bar": [ 990, 130 ], "range_cargo_box": [ 379, 635, 584, 641 ], "mining_sites": [ "Site Two Alpha", "Site One Alpha", "Site Three Alpha", "Site One Beta", "Site Twa Beta", "Site Three Beta", "Site One Charlie", "Site Three Charlie", "Site One Delta", "Site Three Delta", "Site One Epsilon" ] } } }

Mining Bot did not launch the game

Hi! Thank you for posting this repo, it looks absolute fantastic!

I was testing auto mining bot. Everything was running smoothly until it stucked on launch page, it didn't click 'PLAY NOW' button and fall into infiinte waiting-sleeping loop. The error shows like this (on cmd):

2024-01-14 03:27:11.023 | DEBUG | ml_botting_core.base:init:34 - universal_predictor initialized
2024-01-14 03:27:11.028 | INFO | AI_Pilot.Game_Functions.Game_Client.Game_Client:login_sequience:10 - Beginning Login Sequence...
2024-01-14 03:27:11.029 | INFO | AI_Pilot.Game_Functions.Game_Client.Game_Client:login_sequience:11 - Starting Launcher...
2024-01-14 03:27:19.708 | INFO | AI_Pilot.Game_Functions.Game_Client.Game_Client:start_launcher:78 - starting launcher, waiting 30 seconds...
2024-01-14 03:27:57.387 | INFO | AI_Pilot.Objectives.Mining.StartMining:start_mining:73 - Main Loop-Exception:Eve Launcher Did Not Start
2024-01-14 03:27:57.387 | ERROR | AI_Pilot.Objectives.Mining.StartMining:start_mining:74 - Eve Launcher Did Not Start
Traceback (most recent call last):

File "C:\Users\Administrator\Desktop\EVE-Online-Bot-main\Start_AI_Pilot.py", line 61, in
start_mining(params.config_file)
│ │ └ 'AI_Pilot\ai_pilot_config_v2.json'
│ └ Namespace(config_file='AI_Pilot\ai_pilot_config_v2.json', headless_miner=True, headless_project_discovery=False, setup_mode=...
└ <function start_mining at 0x0000019339959940>

File "C:\Users\Administrator\Desktop\EVE-Online-Bot-main\AI_Pilot\Objectives\Mining\StartMining.py", line 38, in start_mining
launcher_pid, game_pid = login_sequience(Bot.ag)
│ │ │ └ <AI_Pilot.Bot_Engine.Bot_Engine.active_globals object at 0x000001933995F820>
│ │ └ <AI_Pilot.Bot_Engine.Bot_Engine.Bot_Engine object at 0x000001933995F8E0>
│ └ <function login_sequience at 0x0000019339959670>
└ None

File "C:\Users\Administrator\Desktop\EVE-Online-Bot-main\AI_Pilot\Game_Functions\Game_Client\Game_Client.py", line 12, in login_sequience
launcher_pid = start_launcher(ag)
│ └ <AI_Pilot.Bot_Engine.Bot_Engine.active_globals object at 0x000001933995F820>
└ <function start_launcher at 0x0000019339959790>

File "C:\Users\Administrator\Desktop\EVE-Online-Bot-main\AI_Pilot\Game_Functions\Game_Client\Game_Client.py", line 88, in start_launcher
raise Exception("Eve Launcher Did Not Start")

Exception: Eve Launcher Did Not Start
2024-01-14 03:30:37.728 | INFO | AI_Pilot.Objectives.Mining.StartMining:start_mining:78 - Main Loop-Sleeping 30 seconds...

I'm running on python 3.9.13 and win10. I can't find 'Launcher' folder and 'evelauncher.exe' file mentioned in config file so I put "C:\Users\Administrator\AppData\Local\eve-online\eve-online.exe" under as launcher route.
btw project discovery bot works fine.

Not saving point changes

I'm trying to move the points around to save the new locations on the screen. it isn't saving and is throwing the attached error. Also, do you have screenshots of what to configure for the project discovery?
PS C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot> python Start_AI_Pilot.py --config_file "AI_Pilot\ai_pilot_config_v2.json" --setup_mode 1 2023-09-04 22:40:49.140 | INFO | __main__:<module>:11 - Adding: C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\Start_AI_Pilot.py to path 2023-09-04 22:40:49.144 | INFO | __main__:<module>:14 - ['C:\\Users\\dpk13\\Documents\\Eve Online\\bots\\EVE-Online-Bot', 'C:\\Python310\\python310.zip', 'C:\\Python310\\DLLs', 'C:\\Python310\\lib', 'C:\\Python310', 'C:\\Python310\\lib\\site-packages', 'C:\\Python310\\lib\\site-packages\\win32', 'C:\\Python310\\lib\\site-packages\\win32\\lib', 'C:\\Python310\\lib\\site-packages\\Pythonwin', 'C:\\Users\\dpk13\\Documents\\Eve Online\\bots\\EVE-Online-Bot'] AI_Pilot\ai_pilot_config_v2.json range_pd_bottom Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 126, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' range_pd_bottom Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 110, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' range_pd_top Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 110, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' range_pd_top Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 126, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' range_pd_bottom Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 110, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' range_pd_top Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 126, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' click_target_pd_submit_target Exception in Tkinter callback Traceback (most recent call last): File "C:\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 92, in end_move self.ag = save_config(self.ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Config_Management\Config_Management.py", line 37, in save_config raw_config[target]['mongo_logging'] = ag.mongo_logging AttributeError: 'active_globals' object has no attribute 'mongo_logging' Traceback (most recent call last): File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\Start_AI_Pilot.py", line 65, in <module> display_overlay(params.config_file) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Display_Overlay.py", line 39, in display_overlay o = overlay(ag) File "C:\Users\dpk13\Documents\Eve Online\bots\EVE-Online-Bot\AI_Pilot\Setup\Overlay.py", line 29, in __init__ self.root.mainloop() File "C:\Python310\lib\tkinter\__init__.py", line 1458, in mainloop self.tk.mainloop(n)

cant seem to run

(venv) C:\Users\thispc\EVE-Online-Bot>Start_AI_Pilot.py --config_file "AI_Pilot\ai_pilot_config_v2.json" --headless_miner 1
Traceback (most recent call last):
File "C:\Users\thispc\EVE-Online-Bot\Start_AI_Pilot.py", line 8, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'

Can't find Desktop

Hi there. When I run Miner.py, it throws this:
Traceback (most recent call last):
File "D:\This PC\EVE-Online-Bot-main\MiningBot\Miner.py", line 5, in
from MiningBot.EveInterface.Interface import Interface
File "D:\This PC\EVE-Online-Bot-main\MiningBot\EveInterface\Interface.py", line 16, in
UC = Universal_Prediction()
File "D:\This PC\EVE-Online-Bot-main\ML_Components\Universal_Prediction.py", line 33, in init
self.config = json.load(open(self.config_dir))[socket.gethostname()]
KeyError: 'DESKTOP-V538SGJ'

I can't seem to find what exactly is wrong.

Errors when running the bot

The range_grid_search_assets_box is not shown on your example setup and Im not sure what its for

image

And after I set up the boxes Im not really sure how Im supposed to exit the setup so I just close the command prompt and try to run the bot but I get an error

(myenv) D:\Games\eve\EVE-Online-Bot-main>Start_AI_Pilot.py --config_file "AI_Pilot\ai_pilot_config_v2.json" --headless_miner 1 2023-07-05 07:57:32.267 | INFO | __main__:<module>:11 - Adding: D:\Games\eve\EVE-Online-Bot-main\Start_AI_Pilot.py to path 2023-07-05 07:57:32.268 | INFO | __main__:<module>:14 - ['D:\\Games\\eve\\EVE-Online-Bot-main', 'D:\\python\\python39.zip', 'D:\\python\\DLLs', 'D:\\python\\lib', 'D:\\python', 'D:\\Games\\eve\\EVE-Online-Bot-main\\myenv', 'D:\\Games\\eve\\EVE-Online-Bot-main\\myenv\\lib\\site-packages', 'D:\\Games\\eve\\EVE-Online-Bot-main\\myenv\\lib\\site-packages\\win32', 'D:\\Games\\eve\\EVE-Online-Bot-main\\myenv\\lib\\site-packages\\win32\\lib', 'D:\\Games\\eve\\EVE-Online-Bot-main\\myenv\\lib\\site-packages\\Pythonwin', 'D:\\Games\\eve\\EVE-Online-Bot-main'] Traceback (most recent call last): File "D:\Games\eve\EVE-Online-Bot-main\Start_AI_Pilot.py", line 53, in <module> start_mining(params.config_file) File "D:\Games\eve\EVE-Online-Bot-main\AI_Pilot\Objectives\Mining\StartMining.py", line 26, in start_mining Bot = Bot_Engine(config_dir=config_dir) File "D:\Games\eve\EVE-Online-Bot-main\AI_Pilot\Bot_Engine\Bot_Engine.py", line 54, in __init__ self.ag.up = universal_predictor(config=self.ag.ml_botting_core_config) File "D:\Games\eve\EVE-Online-Bot-main\myenv\lib\site-packages\ml_botting_core\base.py", line 33, in __init__ self.load_models() File "D:\Games\eve\EVE-Online-Bot-main\myenv\lib\site-packages\ml_botting_core\base.py", line 38, in load_models self.classifiers = load_models_from_config(self.config) File "D:\Games\eve\EVE-Online-Bot-main\myenv\lib\site-packages\ml_botting_core\model_management\model_manager.py", line 48, in load_models_from_config process_model_config(config) File "D:\Games\eve\EVE-Online-Bot-main\myenv\lib\site-packages\ml_botting_core\model_management\model_manager.py", line 35, in process_model_config construct_dirs(config_record) File "D:\Games\eve\EVE-Online-Bot-main\myenv\lib\site-packages\ml_botting_core\model_management\model_manager.py", line 14, in construct_dirs mkdir_p(config_record['model_root_directory']) File "D:\Games\eve\EVE-Online-Bot-main\myenv\lib\site-packages\ml_botting_core\general\general.py", line 6, in mkdir_p os.makedirs(path) File "D:\python\lib\os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "D:\python\lib\os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "D:\python\lib\os.py", line 225, in makedirs mkdir(name, mode) FileNotFoundError: [WinError 3] The system cannot find the path specified: 'O:\\'

Question about Launchers - and other thoughts

Hi. Looks like something fun to use to learn more about AI (I prefer ML).

My questions, after reading #16 are:

  • does it know about the new launcher?
  • is there a way to let it permit manual login, and then take over a model (such as mining).
  • lastly, I'd love to chat/discuss how to get it to work together with a porp/ocra with compression - and support jet-can mining.
  • from the setup it looks like if you have dual displays you might be able to run dual bots (e.g., two miners, or miner/booster/hauler) and, if so, could this be extended to something like easy setting box and windows set at the correct size.
  • NOTE: not looking to break the Eve EULA, but after seeing your youtube video makes me curious about how bots interact and I'm hoping this will make it more understandable. Although as I think on it, it seems to be similar - in concept - to 'facial recognition' - where all decisions is based on what it sees on screen.

Regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.