Open speedyconzales opened 1 year ago
After the update I have tried this and it worked fine, can you confirm that you pulled the latest version? factory has had no newer version
I can't confirm that it was the latest version. In fact I did use an older version. So the output above is obsolete. My apologies for that.
Now I CAN confirm that I am on the latest version and it still fails to buy resources. The first ship was successfully refilled because the amount of resources on this account was sufficient for this type of ship. But the second ship needs more resources than I currently own, so there are those two lines indicating an error. No further error log created. The second instance of "Resources refilled successfully" is not valid because of the preceding error.
Current situation: Second ship was not successfully refilled -> Because no resources were bought
### Resupplying <first ship> ###
Resources refilled successfully
### Resupplying <second ship> ###
Something went wrong: undefined.
Error message: undefined
Resources refilled successfully
Running Heimdall Industries Heiðrún Star Atlas Automation
Last update: Tuesday, 06 December 2022 at 11:35:48
Repeating process every 30 minute(s).
Sadly the error message is 'undefined', so that seems to be the next step for me. I do need a meaningful error message.
Proposal: Pleas use console.error(); for printing errors. Other programs like pm2 differentiate between information logging and error logging. e.g.: I do watch the error-log of the process, but when you use a normal print function it won't count as an error message. Although the program encounters an error the corresponding error-log is still blank.
After the update I have tried this and it worked fine, can you confirm that you pulled the latest version? factory has had no newer version
Please have a look on my review of #7. I do not understand at which point this has worked for you. But I did debug the current version and it definitely wasn't working as intended. Therefore adjusting this part of the code did manage to buy the needed resources via Heidrun instead of buying them manually.
6 not resolved.
Got the following output:
And the following error:
It still produces several transactions on the blockchain even if there is enough ATLAS to buy resources for months. It always claims new ATLAS. There is no information on the error itself. The error I get is the outcome of the missing resources but no information on the buy orders for the resources itself. As you can see in the output there is no „RESOURCE ORDER COMPLETED:“ for me. But also no indication why that is.