Welcome, Guest
Please Login or Register.    Lost Password?

Trader logoff when no items in hanger
(0 viewing) 
Go to bottomPage: 1
TOPIC: Trader logoff when no items in hanger
#13840
Trader logoff when no items in hanger 13 Years, 6 Months ago Karma: 3
When using the Trader/Hauler combination if there are no items in the hanger to be hauled it will log the bot off and then log back on before running the market routine and then proceed to the next station. Is this a normal error correction behavior? If my buy order at that station has not produced any items it wont find anything to haul. Can I disable this somehow? If I have 30 stops and 20 of them have no items to haul yet it seems to waste a lot of time
Zal
Senior Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13843
Re: Trader logoff when no items in hanger 13 Years, 6 Months ago Karma: 832
It seems hauler generates an error when no items in hangar. Please record log for sure. I think if this "error" "planned" we can allow it to pass w/o restart. Need to edit algo:

Code:

420: LoadCargo()[900+;120+;500+;400]


to

Code:

420: LoadCargo()[400;120+;500+;400]
Slav2
Admin
Posts: 16953
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Send logs to my mail slav2@list.ru with subject 'log files' to pass spam filter.
How to record logs in knowledge base
Contact me in telegram
 
#13858
Re: Trader logoff when no items in hanger 13 Years, 6 Months ago Karma: 3
I loaded the default algorithm, edited and then saved as a text file but when I load it as a custom script it gives me an error saying no valid license file. What is the correct way for me to do this please
Zal
Senior Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13877
Re: Trader logoff when no items in hanger 13 Years, 6 Months ago Karma: 832
Have you named custom algorithm as a "trader.txt"? If no, try it.
Slav2
Admin
Posts: 16953
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Send logs to my mail slav2@list.ru with subject 'log files' to pass spam filter.
How to record logs in knowledge base
Contact me in telegram
 
#13893
Re: Trader logoff when no items in hanger 13 Years, 6 Months ago Karma: 3
Thank you Slav, that seems to be working for me
Zal
Senior Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Slav2
© Macro Laboratory 2025
All rights reserved!
Design by Ivan Kozyrin