Python AH Buyer / Seller / ffxiah.com scrubber

Applications/Tools written to make running DarkStar easier for the rest of us.
kennxonline
Posts: 56
Joined: Sun Mar 23, 2014 2:58 pm

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

Post by kennxonline » Sat Nov 14, 2015 9:35 pm

If I do it with Anaconda 2 I get the same spot when it comes to making files in the bin folder it just doesn't do anything.
This is where it doesnt work for me.

Code: Select all

    Run the makebin.py script.

You need to open a command prompt at the root directory of pydarkstar.

# enter the correct path!

> cd "C:\path\to\pydarkstar"
> "C:\path\to\python3" .\makebin.py

This is what I get in Anaconda2

Code: Select all

Activating environment "C:\Anaconda2"...

[Anaconda2] C:\Users\Administrator>cd C:\pydarkstar

[Anaconda2] C:\pydarkstar>C:\Python27\makebin.py
'C:\Python27\makebin.py' is not recognized as an internal or external command,
operable program or batch file.

[Anaconda2] C:\pydarkstar>C:\Python27\ makebin.py
'C:\Python27\' is not recognized as an internal or external command,
operable program or batch file.

[Anaconda2] C:\pydarkstar>C:\Python27\ \makebin.py
'C:\Python27\' is not recognized as an internal or external command,
operable program or batch file.

[Anaconda2] C:\pydarkstar>I dont know what to enter to make it work correctly..

kennxonline
Posts: 56
Joined: Sun Mar 23, 2014 2:58 pm

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

Post by kennxonline » Sat Nov 14, 2015 9:38 pm

Lucious_Llama wrote:Yes, that is the wrong stuff to have in there (that's the output you would see if you ran the program with the --help flag).

Put in the text I posted above instead.

Tried that didn't work. Went back to Anaconda 2 didn't work again.. I'm just lost. Would you be intrested in doing a teamviewer?

aventinus
Posts: 13
Joined: Sat Sep 08, 2012 8:48 pm

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

Post by aventinus » Wed Dec 23, 2015 9:56 am

Trying to stock my AH with items and I get this error:

[2015-12-20 22:55:28,690][13416][ERROR]: caught unhandled excetion
Traceback (most recent call last):
File "E:\******\******\pydarkstar\pydarkstar\logutils.py", line 45, in capture
yield
File "E:\******\******\pydarkstar\bin\refill.py", line 21, in <module>
pydarkstar.apps.refill.run.main()
File "E:\FFXI Server\******\******\pydarkstar\apps\refill\run.py", line 35, in main
raise RuntimeError('refilling all items from auction house is dangerous. use --force')
RuntimeError: refilling all items from auction house is dangerous. use --force
[2015-12-20 22:55:28,696][13416][INFO ]: exit

I cannot figure this out. Worked fine until I did a reinstall of FFXI, Darkstar, and the python apps. I recently upgraded to Windows 10. Server and everything work fine, just having an issue with the AH tool.

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

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

Post by Lucious_Llama » Wed Dec 23, 2015 10:22 am

That's not an error, it's a safeguard. It wants you to be extra sure you want to refill the AH. Run it like it asks you, with the --force flag.

.\refill.bat --force

aventinus
Posts: 13
Joined: Sat Sep 08, 2012 8:48 pm

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

Post by aventinus » Wed Dec 23, 2015 10:47 am

Tried that, and now it say DNS server not authoritative for zone. I don't remember having to do this before.

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

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

Post by Lucious_Llama » Wed Dec 23, 2015 11:04 am

That does not sound like an error related to the AH. Is there something special about your configuration that uses a Domain Name Service (DNS) to allow outside players to connect via a Name (instead of an IP)? Anyway, show me the error.

fnx
Posts: 51
Joined: Tue Feb 10, 2015 11:26 pm

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

Post by fnx » Fri Oct 07, 2016 2:52 pm

I decided to make a more human readable version of the config for this program seeing as it is awful cryptic unless you open then broker.py file. I will update as needed.

Code: Select all

###########################################
# The name of this file
    config: broker.yaml

#
# LOGGING
#############################
# Error, Info, and Debug
    verbose: true
# Error Only
    silent: false

#
# INPUT
#############################
# List of Auction House Items (from scrub.bat~yaml)
    data: ['items.csv']
# Searches for *.csv
    find: false
# Save config (this file???)
    save: false
    
#
# SQL SERVER INFORMATION
#############################
    hostname: 127.0.0.1
    database: changeme
    username: root
    password: changeme
# Fail on SQL Errors
    fail: true

#
# AUCTION HOUSE CLEANING
#############################
# Clear items sold by program
    clear: false
# Clear all items on Auction House
    all: false
# Clear all items on Auction House with check
    force: false
    
#
# TRANSACTIONS
#############################    
# Name to appear in transactions
    name: changeme
# Time in seconds between restock (3456 is one Vana'diel day)
    restock: 3456
# Restock Auction House on program start
# Program will run once and exit if 'true'
    refill: false
# Time in seconds between buying items on Auction House (144 is one Vana'diel hour)
    tick: 144

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 Oct 07, 2016 3:58 pm

fnx wrote:(regarding the config file) ...awful cryptic unless you open then broker.py file.
Here is the documentation describing the config file: http://adamgagorik.github.io/pydarkstar ... usage.html

fnx
Posts: 51
Joined: Tue Feb 10, 2015 11:26 pm

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

Post by fnx » Fri Oct 07, 2016 11:01 pm

Boy do I feel like an idiot... Just realized I an using an ancient version and should have checked my helper files when I switched hardware.

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:08 am

I am having an issue when I run the broker.py and hoping I can get some help.

[2016-11-22 08:50:54,565][ 8108][ERROR]: caught unhandled excetion
Traceback (most recent call last):
File "C:*******\AuctionHouse\pydarkstar\pydarkstar\logutils.py", line 45, in capture
yield
File ".\broker.py", line 21, in <module>
pydarkstar.apps.broker.run.main()
File "C:\*******\AuctionHouse\pydarkstar\pydarkstar\apps\broker\run.py", line 34, in main
idata = ItemList.from_csv(*opts.data)
File "C:\*******\AuctionHouse\pydarkstar\pydarkstar\itemlist.py", line 30, in from_csv
obj.loadcsv(f)
File "C:\*******\AuctionHouse\pydarkstar\pydarkstar\itemlist.py", line 132, in loadcsv
raise RuntimeError('something wrong with line')
RuntimeError: something wrong with line
[2016-11-22 08:50:54,576][ 8108][INFO ]: exit

Post Reply