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
Here is an items.csv created today.
I also changed added this to the repository, as well as changed the code to try 10 times before letting a url request crash the scrubber.
I also changed added this to the repository, as well as changed the code to try 10 times before letting a url request crash the scrubber.
- Attachments
-
- items.csv
- (958.9 KiB) Downloaded 663 times
Re: Python AH Buyer / Seller / ffxiah.com scrubber
!
Last edited by tabitaru on Sun Oct 18, 2015 6:54 am, edited 1 time in total.
Re: Python AH Buyer / Seller / ffxiah.com scrubber
!
Last edited by tabitaru on Sun Oct 18, 2015 6:54 am, edited 1 time in total.
-
- Posts: 40
- Joined: Mon Jul 28, 2014 5:22 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
Updated this for python 3.
Re: Python AH Buyer / Seller / ffxiah.com scrubber
I need some help with this. I am trying to run the clear.bat to clear the AH before I start up the broker. I tried following the guide on the website but I can't seem to get this to work correctly. I am not familiar with python at all so I am probably doing stuff wrong. I have Anaconda installed and ran the updates\installs that I was told to. I edited the config so that it connects with mysql.
When I try to run clear.bat I get the following error:
C:\Anaconda3\python.exe: Error while finding spec for 'pydarkstar.apps.clear.run' (<class 'ImportError'>: No module named 'pydarkstar')
Any help would be appreciated.
When I try to run clear.bat I get the following error:
C:\Anaconda3\python.exe: Error while finding spec for 'pydarkstar.apps.clear.run' (<class 'ImportError'>: No module named 'pydarkstar')
Any help would be appreciated.
-
- Posts: 40
- Joined: Mon Jul 28, 2014 5:22 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
Can you post the contents of clear.bat? Open it up in a text editor.
Re: Python AH Buyer / Seller / ffxiah.com scrubber
After some messing around I think I got it working.
I ended up having to copy the pydarkstar directory into my Anaconda directory. After that I was was able to run clear.bat and it did actually clear the auction house. I am currently restocking and attempting to use the broker to see if I actually set it up right.
I did notice that I had to change the None to python in each .bat in order for them to work. That was confusing and took some time to figure out.
Code: Select all
@ECHO OFF
set PYTHONPATH="%PYTHONPATH%;F:\pydarkstar"
python -m pydarkstar.apps.clear.run %*
I did notice that I had to change the None to python in each .bat in order for them to work. That was confusing and took some time to figure out.
-
- Posts: 40
- Joined: Mon Jul 28, 2014 5:22 pm
Re: Python AH Buyer / Seller / ffxiah.com scrubber
Odd that it said "None", I will fix that. You are right it should of said "python".
The line containing F:\pydarkstar is telling python where to look for pydarkstar. Fix that path and the bat script will work anywhere you put it.
The line containing F:\pydarkstar is telling python where to look for pydarkstar. Fix that path and the bat script will work anywhere you put it.
Re: Python AH Buyer / Seller / ffxiah.com scrubber
I see. Thanks for the help! I got it all working now.
-
- Posts: 30
- Joined: Fri Nov 06, 2015 8:02 am
Re: Python AH Buyer / Seller / ffxiah.com scrubber
If my goal is to set up this ah tool and have it only populate items up to lvl 75 I need to use Navicat or someother tool to set up a database for pydarkstar the sameway I did for the server set up and then do a mysql query to delete those items I don't want from the ah via quoting nesstea " delete from auction_house where itemid in (select itemid from item_armor where level >75) " correct?