Python AH Buyer / Seller / ffxiah.com scrubber
-
- Posts: 40
- Joined: Mon Jul 28, 2014 5:22 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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.
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.
-
- Posts: 129
- Joined: Wed May 27, 2015 4:23 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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
Just out of curiosity. What does the rate 01 and rate 12 do?
Is that the % in decimal to buy back at?
Is that the % in decimal to buy back at?
-
- Posts: 40
- Joined: Mon Jul 28, 2014 5:22 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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.
-
- Posts: 11
- Joined: Sun May 28, 2017 4:18 am
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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
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
- DanteMccloud
- Posts: 25
- Joined: Wed May 04, 2016 10:53 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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?
Expedition Gaming
IP Address: expeditiongaming.ddns.net
Server Forums: https://expeditiongaming.ga/forum/index.php
Discord: https://discord.gg/5kJbxCF
Facebook is https://www.facebook.com/groups/1749730585295430
I host an array of game servers from FFXI (pre Abyssea), Tera, Arma3, FFXIV, SWG (pre-CU), BDO (v491)
IP Address: expeditiongaming.ddns.net
Server Forums: https://expeditiongaming.ga/forum/index.php
Discord: https://discord.gg/5kJbxCF
Facebook is https://www.facebook.com/groups/1749730585295430
I host an array of game servers from FFXI (pre Abyssea), Tera, Arma3, FFXIV, SWG (pre-CU), BDO (v491)
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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
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
[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
It's saying that on line 229 you have a bad value in the column for stack price? Go check what you have there.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
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
Re: Python AH Buyer / Seller / ffxiah.com scrubber
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.
The first thing I did was check my values in the .csv, they're all good.