Python AH Buyer / Seller / ffxiah.com scrubber

Applications/Tools written to make running DarkStar easier for the rest of us.
Lucious_Llama
Posts: 40
Joined: Mon Jul 28, 2014 5:22 pm

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

Post by Lucious_Llama » Tue Nov 22, 2016 11:13 am

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.

bluesolarflare
Posts: 129
Joined: Wed May 27, 2015 4:23 pm

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

Post by bluesolarflare » Tue Nov 22, 2016 11:23 am

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.

sekigah
Posts: 13
Joined: Fri Aug 12, 2016 2:02 pm

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

Post by sekigah » Fri Jan 06, 2017 2:09 pm

Just out of curiosity. What does the rate 01 and rate 12 do?

Is that the % in decimal to buy back at?

Lucious_Llama
Posts: 40
Joined: Mon Jul 28, 2014 5:22 pm

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

Post by Lucious_Llama » Fri Jan 06, 2017 2:22 pm

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.

Danny 1993
Posts: 11
Joined: Sun May 28, 2017 4:18 am

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

Post by Danny 1993 » Mon May 29, 2017 5:19 am

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 :)

User avatar
DanteMccloud
Posts: 25
Joined: Wed May 04, 2016 10:53 pm

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

Post by DanteMccloud » Thu Jun 15, 2017 8:35 pm

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)

CTOON50
Posts: 9
Joined: Fri Apr 14, 2017 9:22 pm

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

Post by CTOON50 » Fri Jun 16, 2017 7:50 am

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.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

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

Post by x8jason8x » Wed Jan 31, 2018 9:52 pm

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

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

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

Post by TeoTwawki » Wed Jan 31, 2018 10:29 pm

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.
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

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

Post by x8jason8x » Thu Feb 01, 2018 12:57 pm

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.

Post Reply