Page 11 of 15

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Tue Nov 22, 2016 11:13 am
by Lucious_Llama
That is signaling that there is a typo in your items.csv file. I guess it would be useful to have it print the line number when failing.

Edit: I just made a commit that causes it to print the line number that failed, if you want that change you should git pull or reclone the repository. Make sure to back up you changes (like your customized items.csv) first.

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Tue Nov 22, 2016 11:23 am
by bluesolarflare
Thanks I double checked the items.csv file and the formatting was a bit off. I will have to redo it and try again later.

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Fri Jan 06, 2017 2:09 pm
by sekigah
Just out of curiosity. What does the rate 01 and rate 12 do?

Is that the % in decimal to buy back at?

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Fri Jan 06, 2017 2:22 pm
by Lucious_Llama
It actually does nothing. I put it in there in anticipation of making the the buyer buy items at a fixed rate. I never implemented that. So the buyer just buys items 100% of the time (i.e with rate=1.0) for every item.

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Mon May 29, 2017 5:19 am
by Danny 1993
Hey, just wondering if I could have some help please!

I've installed the 3rd party modules that I'm told to do on this page: http://adamgagorik.github.io/pydarkstar ... setup.html

I then select go to the "Usage" page via the link below so end up here: http://adamgagorik.github.io/pydarkstar ... usage.html

However, I have absolutely no knowledge of what to do next. I honestly don't understand a word of this as I've never done anything like this before and I may as well be reading Chinese. Would anyone mind going through it with me please as I've spent a good amount of time trying various methods of stocking the AH and I just can't do any of them, and I've been told this is probably the best one to do.

Thanks :)

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Thu Jun 15, 2017 8:35 pm
by DanteMccloud
So I got the Tool working to fill the AH, scrape items from ffxiah, and even buy items from players but they never receive the gil. I tried re-importing the DeliveryBox, AuctionHouse, and the Triggers but still can't get it to give us the gil. It shows that it buys it though... any suggestions?

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Fri Jun 16, 2017 7:50 am
by CTOON50
I had this problem before...its been a while but if I can remember correctly you have to reexecute triggers.sql and it should fix it...it feels like I'm missing something though as it may have been a two part process but I do remember having to run triggers again.

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Wed Jan 31, 2018 9:52 pm
by x8jason8x
Having some trouble when I try to fill the AH:

[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: config = config.yaml
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: verbose = True
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: silent = False
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: hostname = 127.0.0.1
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: database = dspdb
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: username = root
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: password = ????
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: fail = True
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: data = ['items.csv']
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: name = Gryphon
[2018-01-31 16:42:51,503][ 1400][INFO ]: (0x29cb240) Options: force = False
[2018-01-31 16:42:51,503][ 1400][DEBUG]: (0x4924b38) Database: init
[2018-01-31 16:42:51,518][ 1400][DEBUG]: (0x4924208) Manager: init
[2018-01-31 16:42:51,518][ 1400][DEBUG]: (0x4924710) Browser: init
[2018-01-31 16:42:51,518][ 1400][DEBUG]: (0x4924748) Cleaner: init
[2018-01-31 16:42:51,518][ 1400][DEBUG]: (0x4924668) Seller: init
[2018-01-31 16:42:51,518][ 1400][DEBUG]: (0x4924860) Buyer: init
[2018-01-31 16:42:51,518][ 1400][DEBUG]: (0x49246d8) ItemList: init
[2018-01-31 16:42:51,518][ 1400][INFO ]: (0x49246d8) ItemList: loading item data...
[2018-01-31 16:42:51,518][ 1400][INFO ]: (0x49246d8) ItemList: load items.csv
[2018-01-31 16:42:51,518][ 1400][ERROR]: caught unhandled excetion
Traceback (most recent call last):
File "C:\pydarkstar\pydarkstar\logutils.py", line 45, in capture
yield
File "C:\pydarkstar\bin\refill.py", line 21, in <module>
pydarkstar.apps.refill.run.main()
File "C:\pydarkstar\pydarkstar\apps\refill\run.py", line 32, in main
idata = ItemList.from_csv(*opts.data)
File "C:\pydarkstar\pydarkstar\itemlist.py", line 30, in from_csv
obj.loadcsv(f)
File "C:\pydarkstar\pydarkstar\itemlist.py", line 161, in loadcsv
self.add(**kwargs)
File "C:\pydarkstar\pydarkstar\itemlist.py", line 40, in add
i = item.Item(itemid, *args, **kwargs)
File "C:\pydarkstar\pydarkstar\item.py", line 116, in __init__
self.price12 = price12
File "C:\pydarkstar\pydarkstar\item.py", line 229, in price12
raise ValueError('price12 must be positive definite: %d' % self._price12)
ValueError: price12 must be positive definite: 0
[2018-01-31 16:42:51,518][ 1400][INFO ]: exit

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Wed Jan 31, 2018 10:29 pm
by TeoTwawki
x8jason8x wrote: File "C:\pydarkstar\pydarkstar\item.py", line 229, in price12
raise ValueError('price12 must be positive definite: %d' % self._price12)
ValueError: price12 must be positive definite: 0
It's saying that on line 229 you have a bad value in the column for stack price? Go check what you have there.

Re: Python AH Buyer / Seller / ffxiah.com scrubber

Posted: Thu Feb 01, 2018 12:57 pm
by x8jason8x
if you'll notice, it's saying the error is in the item.py script, not my items.csv

The first thing I did was check my values in the .csv, they're all good.