Python AH Buyer / Seller / ffxiah.com scrubber

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

Python AH Buyer / Seller / ffxiah.com scrubber

Post by Lucious_Llama » Mon Sep 01, 2014 6:47 pm

This is a python package and set of command line tools for interacting with a darkstar server.
  • - create auction house item database with prices.
    - detailed control over the buying and selling of items.
    - buy items put up for sale by players.
    - stock the auction house with items for players to buy.
The website:

http://adamgagorik.github.io/pydarkstar/#

The repository:

https://github.com/AdamGagorik/pydarkstar

3.0 Update 9/29/2015
  • ported code to python 3
    updated docs
2.0 Update 1/02/2015
  • moved code to github
    made item database human readable
1.0 Update 9/11/2014
  • cleaned up logging output
    refined scrubbing logic
Last edited by Lucious_Llama on Tue Sep 29, 2015 7:48 pm, edited 5 times in total.

xelloss
Posts: 57
Joined: Sat Mar 09, 2013 1:09 am

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

Post by xelloss » Thu Sep 04, 2014 10:41 pm

Python2.7 is easy to get on Windows from the main branch website if you want to go native. I use it for VNs already. Use this link and you can easily install and add PIP to path.

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

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

Post by Lucious_Llama » Mon Jan 12, 2015 10:47 pm

Updated this and put it on github:

https://github.com/AdamGagorik/pydarkstar

Tweezit
Posts: 3
Joined: Wed Sep 12, 2012 2:20 pm

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

Post by Tweezit » Tue Mar 10, 2015 12:23 am

Edit: I figured it out and feel like a idiot... :oops:

jankenpoy
Posts: 11
Joined: Fri Feb 27, 2015 11:26 am

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

Post by jankenpoy » Wed Mar 18, 2015 5:03 pm

I apologize for this, but can someone guide me in using this tool? I downloaded Phyton 2.7 for windows, but I'm not really sure how to use it.

jankenpoy
Posts: 11
Joined: Fri Feb 27, 2015 11:26 am

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

Post by jankenpoy » Mon Mar 23, 2015 4:56 am

anyone? I did try to follow some tutorial, but I really don't have any idea... please...

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

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

Post by Desufire » Tue Mar 24, 2015 4:50 am

Ugh! I'm so lost lol. I have no idea where to put this nor how to run it. I used to think I knew a good amount of coding until i started looking into this project and hosting a server. I keep finding myself in way over my head.

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

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

Post by Desufire » Tue Mar 24, 2015 5:23 pm

Okay. So far I got up to using either the shell script or a bat script. I went bat script because I'm not familiar with where to put shell scripts and how to tell if they're working.

When I run my bat script, it is constantly giving me the following:

Image

Now I used pip earlier to install bs4 so I don't know why it's telling pip to install it again. I'm a bit in over my head when it comes to this python stuff. I'm actually thrilled I got this far lol.

So, what am I missing or doing wrong here?

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 Mar 25, 2015 4:10 pm

Desufire, your screenshot shows you using wrong python version with this. This tool requires the 2.x line, not the 3.x line of python (its possible to have both installed as well, but you have to make sure this runs using version 2).
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

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

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

Post by Desufire » Wed Mar 25, 2015 4:33 pm

Yeah Teo, I figured that out late last night lol. I have this working now, probably not the way it should be, but working none-the-same. I'll actually write a little "How to" here in a little bit to help those like me that want to use this, but aren't very versed with programs like this.

Post Reply