codesidian / Python-MissionChiefBot

A Python bot for the online game MissionChief
Other
13 stars 14 forks source link

.com Support #16

Closed ciuchs closed 4 years ago

ciuchs commented 4 years ago

Oh no, an error occurred! no elements could be found with id "missionH1" PLEASE CREATE AN ISSUE CONTAINING THIS OUTPUT ON GITHUB SO WE CAN DEBUG IT! :)

Microsoft Windows [Version 10.0.18362.592] (c) 2019 Microsoft Corporation. All rights reserved.

[32168:8188:0207/123527.755:ERROR:configuration_policy_handler_list.cc(90)] Unknown policy: PasswordManagerAllowShowPasswords [32168:8188:0207/123527.828:ERROR:configuration_policy_handler_list.cc(90)] Unknown policy: PasswordManagerAllowShowPasswords

DevTools listening on ws://127.0.0.1:58043/devtools/browser/cc670e67-74a5-4eff-85ab-ddc4369dd5e0 Logging in Logged in Building Vehicles 4 vehicles/s found Removing Completed Building New Missions 59 mission/s found https://www.missionchief.com/missions/57068675 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x platform trucks
Requirement found :   1 x mobile air vehicles

https://www.missionchief.com/missions/57069999 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x water tankers

https://www.missionchief.com/missions/57070138 Getting requirements

Requirement found :   2 x firetrucks
Requirement found :   2 x heavy rescue vehicles

https://www.missionchief.com/missions/57071148 Getting requirements

Requirement found :   3 x firetrucks
Requirement found :   1 x heavy rescue vehicles

https://www.missionchief.com/missions/57072625 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x platform trucks

https://www.missionchief.com/missions/57072793 Getting requirements

https://www.missionchief.com/missions/57075866 Getting requirements

https://www.missionchief.com/missions/57076247 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x heavy rescue vehicles

https://www.missionchief.com/missions/57077407 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x platform trucks

https://www.missionchief.com/missions/57081947 Getting requirements

Requirement found :   2 x firetrucks

https://www.missionchief.com/missions/57082520 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x heavy rescue vehicles

https://www.missionchief.com/missions/57071898 Getting requirements

https://www.missionchief.com/missions/57064916 Getting requirements

Requirement found :   6 x police cars

https://www.missionchief.com/missions/57064653 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   2 x ambulances
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57067275 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   2 x ambulances
Requirement found :   3 x police cars

https://www.missionchief.com/missions/57068216 Getting requirements

Requirement found :   4 x police cars

https://www.missionchief.com/missions/57077155 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   2 x ambulances
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57086202 Getting requirements

Requirement found :   2 x firetrucks
Requirement found :   1 x ambulances
Requirement found :   7 x police cars

https://www.missionchief.com/missions/57034841 Getting requirements

Requirement found :   1 x firetrucks

https://www.missionchief.com/missions/57007686 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   2 x platform trucks
Requirement found :   2 x battalion chief vehicles
Requirement found :   2 x hazmat vehicles
Requirement found :   4 x police cars

https://www.missionchief.com/missions/57051083 Getting requirements

https://www.missionchief.com/missions/57027748 Getting requirements

https://www.missionchief.com/missions/56947674 Getting requirements

Requirement found :   1 x k-9 units
Requirement found :   10 x police cars
Requirement found :   1 x police helicopters

https://www.missionchief.com/missions/56954843 Getting requirements

Requirement found :   4 x police cars
Requirement found :   1 x k-9 units
Requirement found :   1 x police helicopters

https://www.missionchief.com/missions/57053080 Getting requirements

Requirement found :   8 x firetrucks
Requirement found :   4 x battalion chief vehicles
Requirement found :   2 x platform trucks
Requirement found :   2 x heavy rescue vehicles
Requirement found :   1 x water tankers
Requirement found :   1 x mobile air vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57074413 Getting requirements

Requirement found :   1 x police cars

https://www.missionchief.com/missions/57072838 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x heavy rescue vehicles
Requirement found :   1 x water tankers
Requirement found :   1 x hazmat vehicles

https://www.missionchief.com/missions/57074129 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x heavy rescue vehicles
Requirement found :   1 x water tankers
Requirement found :   1 x hazmat vehicles

https://www.missionchief.com/missions/57074541 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   2 x platform trucks
Requirement found :   2 x battalion chief vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   1 x hazmat vehicles

https://www.missionchief.com/missions/57074628 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   2 x heavy rescue vehicles
Requirement found :   2 x battalion chief vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   3 x police cars
Requirement found :   2 x hazmat vehicles

https://www.missionchief.com/missions/57074954 Getting requirements

Requirement found :   10 x firetrucks
Requirement found :   4 x platform trucks
Requirement found :   2 x battalion chief vehicles
Requirement found :   4 x heavy rescue vehicles
Requirement found :   2 x mobile air vehicles
Requirement found :   2 x hazmat vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57072285 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   2 x heavy rescue vehicles
Requirement found :   2 x battalion chief vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   3 x police cars
Requirement found :   2 x hazmat vehicles

https://www.missionchief.com/missions/57072525 Getting requirements

Requirement found :   6 x firetrucks
Requirement found :   2 x platform trucks
Requirement found :   2 x heavy rescue vehicles
Requirement found :   2 x battalion chief vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57079991 Getting requirements

Requirement found :   2 x firetrucks

https://www.missionchief.com/missions/57068127 Getting requirements

Requirement found :   2 x firetrucks

https://www.missionchief.com/missions/57082919 Getting requirements

Requirement found :   2 x firetrucks
Requirement found :   2 x platform trucks
Requirement found :   2 x battalion chief vehicles
Requirement found :   2 x heavy rescue vehicles

https://www.missionchief.com/missions/57061359 Getting requirements

Requirement found :   1 x police cars
Requirement found :   1 x firetrucks

https://www.missionchief.com/missions/57084388 Getting requirements

https://www.missionchief.com/missions/57084470 Getting requirements

Requirement found :   1 x police cars

https://www.missionchief.com/missions/57084097 Getting requirements

Requirement found :   6 x police cars

https://www.missionchief.com/missions/57079636 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x water tankers

https://www.missionchief.com/missions/57085675 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x heavy rescue vehicles
Requirement found :   1 x water tankers
Requirement found :   1 x hazmat vehicles

https://www.missionchief.com/missions/57074315 Getting requirements

Requirement found :   4 x firetrucks
Requirement found :   2 x battalion chief vehicles
Requirement found :   1 x heavy rescue vehicles
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57070037 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   1 x heavy rescue vehicles
Requirement found :   1 x water tankers
Requirement found :   1 x hazmat vehicles
Requirement found :   2 x police cars

https://www.missionchief.com/missions/57086344 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   2 x platform trucks
Requirement found :   1 x heavy rescue vehicles
Requirement found :   2 x battalion chief vehicles
Requirement found :   2 x mobile air vehicles
Requirement found :   1 x water tankers
Requirement found :   1 x mobile command vehicles

https://www.missionchief.com/missions/57087110 Getting requirements

Requirement found :   5 x firetrucks
Requirement found :   2 x platform trucks
Requirement found :   2 x battalion chief vehicles
Requirement found :   1 x mobile command vehicles
Requirement found :   1 x hazmat vehicles

https://www.missionchief.com/missions/57047910 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x battalion chief vehicles
Requirement found :   2 x heavy rescue vehicles

https://www.missionchief.com/missions/57086613 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x platform trucks
Requirement found :   1 x battalion chief vehicles

https://www.missionchief.com/missions/57086644 Getting requirements

Requirement found :   2 x firetrucks
Requirement found :   1 x platform trucks

https://www.missionchief.com/missions/57086702 Getting requirements

https://www.missionchief.com/missions/57086784 Getting requirements

Requirement found :   2 x firetrucks
Requirement found :   1 x battalion chief vehicles

https://www.missionchief.com/missions/57087916 Getting requirements

Requirement found :   1 x police cars

https://www.missionchief.com/missions/57086859 Getting requirements

Requirement found :   2 x firetrucks

https://www.missionchief.com/missions/57086901 Getting requirements

Requirement found :   1 x firetrucks
Requirement found :   1 x platform trucks

https://www.missionchief.com/missions/57087038 Oh no, an error occurred! no elements could be found with id "missionH1" PLEASE CREATE AN ISSUE CONTAINING THIS OUTPUT ON GITHUB SO WE CAN DEBUG IT! :)

jackbayliss commented 4 years ago

@ciuchs Thanks for the report, we’ve only just merged over so may have to fix a few things.

I can see you’re using the .com domain, we have tested it on .co.uk, not sure if .com will be different but testing will be done.

Did you only get the error after https://www.missionchief.com/missions/57087038, or did it constant happen?-

Also, is it despatching any missions at all? I’m using a mobile client so it’s difficult to view quickly.

@codesidian check the mission h1 id on the .com domain if possible, might differ from the browser causing this error.

I’ll take a look at this tomorrow as currently not by a computer.

jackbayliss commented 4 years ago

@ciuchs @codesidian I can see why this is perhaps happening. Will fix tomorrow or attempt to

ciuchs commented 4 years ago

@ciuchs Thanks for the report, we’ve only just merged over so may have to fix a few things.

I can see you’re using the .com domain, we have tested it on .co.uk, not sure if .com will be different but testing will be done.

Did you only get the error after https://www.missionchief.com/missions/57087038, or did it constant happen?-

Also, is it despatching any missions at all? I’m using a mobile client so it’s difficult to view quickly.

@codesidian check the mission h1 id on the .com domain if possible, might differ from the browser causing this error.

I’ll take a look at this tomorrow as currently not by a computer.

It happens on several missions, Thank you.

jackbayliss commented 4 years ago

@ciuchs

It seems that the .com domain differs from the .co.uk in terms of the requirements. I've added what I can do the helpers.pyfile in terms of firetrucks, but may need your assistance with some more vehicles if you would like to / can assist.

I need the vehicle names for the below :

  1. firetrucks
  2. platform trucks
  3. heavy rescue vehicles
  4. battalion chief vehicles
  5. mobile air vehicles
  6. water tankers
  7. mobile command vehicles
  8. hazmat vehicles
  9. police cars
  10. ambulances

So, for example at the moment I have : firetrucks : "Type 1 fire engine", "Type 2 fire engine", "Quint", "Rescue Engine"

As you have quite a large account just by seeing the vehicle types it would be of great use to know the other names if possible- as we only use a small account at the time.

@codesidian If you have chance to assist on this one it would be good too.

ciuchs commented 4 years ago

@ciuchs

It seems that the .com domain differs from the .co.uk in terms of the requirements. I've added what I can do the helpers.pyfile in terms of firetrucks, but may need your assistance with some more vehicles if you would like to / can assist.

I need the vehicle names for the below :

  1. firetrucks
  2. platform trucks
  3. heavy rescue vehicles
  4. battalion chief vehicles
  5. mobile air vehicles
  6. water tankers
  7. mobile command vehicles
  8. hazmat vehicles
  9. police cars
  10. ambulances

So, for example at the moment I have : firetrucks : "Type 1 fire engine", "Type 2 fire engine", "Quint", "Rescue Engine"

As you have quite a large account just by seeing the vehicle types it would be of great use to know the other names if possible- as we only use a small account at the time.

@codesidian If you have chance to assist on this one it would be good too.

These are all I have access to right now, I have yet to get a police station

15DB8629-147A-4A67-BAFF-743CE4CCD7C7 E62A95DA-FB3E-4BAA-8B42-28D41800B751

FFBC4D5E-FA61-4D16-8B2D-08014801789A 0C8EE8E0-8B0B-47E8-B056-60E1AE474329 63F26395-986E-4184-B9BA-5B7AF672CCBF

jackbayliss commented 4 years ago

@ciuchs Thank you greatly, could you specify what vehicles are used for what?

jackbayliss commented 4 years ago

IE firetrucks etc

ciuchs commented 4 years ago

What is the best way to gather that information?

ciuchs commented 4 years ago
Fire Department  
Vehicle Functions
Type 1 Fire Engine Firetruck
Type 2 Fire Engine Firetruck
Quint Firetruck, Platform truck
Rescue Engine Firetruck, Heavy Rescue
Platform Truck Platform truck
Heavy Rescue Vehicle Heavy Rescue
Heavy Rescue + Boat Heavy Rescue, Boat
Utility Unit Heavy Rescue, tow Boat Trailer
Boat Trailer Boat
Mobile Air Unit Mobile Air
Battalion Chief Battalion Chief
Water Tanker Water Tanker
HAZMAT Hazmat
Mobile Command Vehicle MCV, Battalion Cheif
ARFF ARFF
   
   
Ambulance  
Vehicle Functions
EMS Chief Any call with 10+ patients
EMS Rescue Fly Car, Heavy Rescue
Mass CasualtyUnit Mass Casualty Unit, transport 7
ALS Ambulance Treats, transports
BLS Ambulance Treats, transports
Fly Car Treatment only
HEMS (Air Ambulance) Treats, transports
   
   
Police  
Vehicle  
Patrol Car  
Police Helicopter  
SWAT Armoured Vehicle  
SWAT SUV  
K9  
Police Motorcycle  
codesidian commented 4 years ago

Work in in progress on implementing the support.