Closed rostam420 closed 3 years ago
I think it is somewhat of a flaw in the system that the broker will not initially restock the items until after that config.restock
time has elapsed (by default that is 3600 seconds or 1 hour).
while True:
now = datetime.datetime.now()
delta = (now - last).total_seconds()
elapsed = (now - start).total_seconds()
logging.debug('time=%012.1f s last restock=%012.1f s next restock=%012.1f s',
elapsed, delta, opts.restock - delta)
if delta >= opts.restock:
logging.debug('restocking...')
manager.restock_items(itemdata=idata)
last = datetime.datetime.now()
I think what you have to do is 1) lower the restock time - a bad idea probably or 2) run the refill
app once to set the initial stock of items.
As this is more of question and I think the answer is to run the refill
app or set the config.restock
parameter I will close this for now.
Hi guys im sure this is a common issue but I cannot seem to find the answer trolling the net
I am able to run pydarkstar with the provided information but I am unable to get the AH to populate items when a character puts something up in the auction house py does purchase it I have not customized or edited the items.csv from what I can tell by looking at the file it should dump quite a few items into the AH by default unless im missing something obvious