Open xrizonx opened 3 months ago
Managed to get this to work. Issue i face now it only departs 1 of my 4 trucks any plans to have it handle multiple trips?
INFO - =================================== 2. trip ===================================
INFO - sleeping 13 seconds
INFO - now - drive
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 88 seconds
INFO - now - continue_driving
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 13 seconds
INFO - now - unload
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 27 seconds
INFO - now - finish
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 13 seconds
INFO - =================================== 3. trip ===================================
INFO - sleeping 13 seconds
INFO - now - drive
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 13 seconds
INFO - now - continue_driving
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 13 seconds
INFO - now - unload
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 13 seconds
INFO - now - finish
INFO - processing Freight 53387897
INFO - processing Freight 53387900
INFO - processing Freight 53387903
INFO - processing Freight 53387906
INFO - sleeping 65 seconds
INFO - =================================== 4. trip ===================================
INFO - ===================================== END ======================================
Traceback (most recent call last):
File "F:\Plex\TycoonPython\main.py", line 83, in
IndexError: list index out of range
HI,
Thanks for making this tool but for some reason even after installing requirements i cannot fix this error:
INFO - initializing game with WebInterface INFO - ==================================== START ===================================== INFO - ================================== AUTOMATION ================================== WARNING - experimental - use at own risk INFO - =================================== 1. trip =================================== INFO - ===================================== END ====================================== Traceback (most recent call last): File "F:\Plex\logitycoon_automation-master\logitycoon_automation-master\main.py", line 83, in
raise SystemExit(main())
^^^^^^
File "F:\Plex\logitycoon_automation-master\logitycoon_automation-master\main.py", line 77, in main
g.play()
File "F:\Plex\logitycoon_automation-master\logitycoon_automation-master\main.py", line 43, in play
best_trip_id = fm.get_trip_id()
^^^^^^^^^^^^^^^^
File "F:\Plex\logitycoon_automation-master\logitycoon_automation-master\company\managers.py", line 27, in get_trip_id
return self.interface.get_trip_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Plex\logitycoon_automation-master\logitycoon_automation-master\interfaces\web.py", line 55, in get_trip_id
return int(row[0].attrs['value'])