codesidian / Python-MissionChiefBot

A Python bot for the online game MissionChief
Other
12 stars 15 forks source link

New Features #11

Closed Stiker839 closed 4 years ago

Stiker839 commented 4 years ago

Could you get it so it dispatches the correct units to a call and proceed to the next mission?

jackbayliss commented 4 years ago

@caolan753 I will work on this sometime this week; if not the weekend. @codesidian if you’re available feel free to pick it up.

Stiker839 commented 4 years ago

Cool I hope my email contains all you need

jackbayliss commented 4 years ago

@caolan753 I managed to have a rough play, which you can see the the following branch : https://github.com/codesidian/Python-MissionChiefBot/pull/12

My account only has the fire station, so I haven't been able to fully add the other factions. If you could possibly let me know the other factions vehicles I can add them to the list.

Stiker839 commented 4 years ago

Morning I found the bot in the end :)

I have not been able to get it working, as it throws the error below up and gets stuck in a loop.

I read the mission helper.py file and notice you have the names for the vehicles, but ing ame many players rename their vehicles. So perhaps this is why the below error occurs.

Caolan

MISSION 1:CAN NOT DESPATCH A UNIT, OR UNIT ALREADY DESPATCHED MISSION 2: ROOM FIRE Getting requirements Requirement found : 1 x Fire engines [{'requirement': 'Fire engines', 'qty': '1'}] Got Requirements Couldn't find a direct match... Checking keywords.. Message: stale element reference: element is not attached to the page document (Session info: chrome=78.0.3904.108)

MISSION 2:CAN NOT DESPATCH A UNIT, OR UNIT ALREADY DESPATCHED 'ElementList' object has no attribute 'text' MISSION 3:CAN NOT DESPATCH A UNIT, OR UNIT ALREADY DESPATCHED Message: no such window: target window already closed from unknown error: web view not found (Session info: chrome=78.0.3904.108)

MISSION 3:CAN NOT DESPATCH A UNIT, OR UNIT ALREADY DESPATCHED Message: no such window: target window already closed from unknown error: web view not found (Session info: chrome=78.0.3904.108)

On Thu, Nov 28, 2019 at 10:14 PM Jack notifications@github.com wrote:

@caolan753 https://github.com/caolan753 I managed to have a rough play, which you can see the the following branch : #12 https://github.com/codesidian/Python-MissionChiefBot/pull/12

My account only has the fire station, so I haven't been able to fully add the other factions. If you could possibly let me know the other factions vehicles I can add them to the list.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/codesidian/Python-MissionChiefBot/issues/11?email_source=notifications&email_token=AKLRG4JP3TBWSHQ4W6Y7L4DQWA7DZA5CNFSM4JRPK32KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNP3PY#issuecomment-559611327, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLRG4IDU2Z2FYC2S77GBNLQWA7DZANCNFSM4JRPK32A .

jackbayliss commented 4 years ago

@caolan753 Thanks for letting me know, I might make the user install LSS manager before hand so everything is conformed. I'll look into it when i'm free.