Skip to content

The out of game parser, processor, uploader for AHDB wow addon

License

Notifications You must be signed in to change notification settings

mooreatv/AHDBapp

Repository files navigation

AHDBapp

The out of game parser, processor, uploader for AHDB wow addon

WIP, works with https://github.com/mooreatv/AuctionDB

Already includes a pretty cool

Getting started

ahdb.go now reads lua and writes to a MySql DB directly (needed schema is in schema.sql)

Environment variables to control the access to the DB:

  • optional MYSQL_USER (defaults to root)
  • MYSQL_PASSWORD
  • optional MYSQL_CONNECTION_INFO (defaults to tcp to 3306)

You need:

  • golang https://golang.org/dl/ (on windows you may still need to get git (https://git-scm.com/downloads) to use go get or you can download the files from this repo and use go build .)
  • then type go get github.com/mooreatv/AHDBapp it will download the source into ~/go/src/github/mooreatv/AHDBapp (and build the binary in ~/go/bin)
  • then
    • On windows go\bin\AHDBapp.exe < "c:\Program Files (x86)\World of Warcraft\_classic_\WTF\Account\YOURACCOUNT\SavedVariables\AuctionDB.lua"
    • On unix/mac ~/go/bin/AHDBapp < ...path_to_.../SavedVariables/AuctionDB.lua

old instructions

You used to need/do

  • golang https://golang.org/dl/
  • then type go get github.com/mooreatv/AHDBapp it will download the source into ~/go/src/github/mooreatv/AHDBapp (and build the binary in ~/go/bin)
  • then
    • On windows go\bin\AHDBapp.exe < "c:\Program Files (x86)\World of Warcraft\_classic_\WTF\Account\YOURACCOUNT\SavedVariables\AuctionDB.lua" > data.csv
    • On unix/mac ~/go/bin/AHDBapp < ...path_to_.../SavedVariables/AuctionDB.lua > data.csv

even older instructions

You used to need

  • bash and some basic unix utilities; easiest way to get those is through git bash that comes with https://git-scm.com/downloads
  • golang https://golang.org/dl/
  • go get github.com/mooreatv/AHDBapp it will download into ~/go/src/github/mooreatv/AHDBapp
  • ./ahdbSavedVars2Json.sh YOURWOWACCOUNT
  • go run ahdb.go < auctiondb.json > auctiondb.csv

But now you just need golang as go run ahdb.go can process the saved variables directly as above

About

The out of game parser, processor, uploader for AHDB wow addon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published