Code Monkey home page Code Monkey logo

albiondata-client's People

Contributors

azaru avatar broderickhyman avatar gradiuscypher avatar jochumdev avatar jtara1 avatar kochd avatar lazycurler avatar nullsoldier avatar offner avatar oxisto avatar phendryx avatar regner avatar sschnaible avatar tt-jspafford avatar ultraporing avatar walkeralencar avatar xeandr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

albiondata-client's Issues

Join operation not parsing correctly

Hi, even after 3 restarts (including game and client) I'm still getting this error:
The player name or id has not been set. Please restart the game and make sure the client is running.

Sql expiration bug

When the sql project inserts/updates rows in the expired table it seems to always affect more rows than were just soft deleted. Need to look into this.

Client configuration via VIPER

since Viper has been added to this project, we should also enable to set all other settings via Viper and not only via flag.
This should make the PR #4 obsolete

Record data uploaders

This one would be a bit tricky, but it would be nice to see how many people are using the tool and/or how much data individuals upload. Could be used later for bragging purposes, or a requirement check for api access that someone is uploading data (would probably be a pain to control).

Improve Building On Windows article

Notes from Lun Jiang:
In the section "installing Dep"

  1. It's probably better to clarify that this is the folder where the work folder is for the src code.
  2. New users have to run dep init before dep ensure
  3. It's dep version, not dep --version

In the section "MingGW-64"

  1. The new entry should be: C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin with the newest version
    In the section "Build the Client", it should be
    go build albiondata-client.go

Improve verbosity to DEBUG

using go generate, its possible improve verbosity on DEBUG adding event or operation name:

log.Debugf("EventDataType: %v - %v", params[252].(int16), params)

overwrite line with
log.Debugf("EventDataType: [%v]%v - %v", params[252].(int16), EventType(params[252].(int16)), params)

the result:
unknown

Batch updating all the prices in the market

This is not an issue but a suggestion:

You can update all prices by iterating over the item names and pasting them into the search field of the market window in the native game client. This heavily brings down the median price age of the data set.

.Net Core Client

Many people have expressed concern with working with golang, and it is confirmed by StackOverflow that it is a lower percentage of the developer population that know how to code it.
Also, making it .Net would allow us to decompile pieces of the game client and copy into the project as we need, increasing productivity.

Request/Question

So I checked out the project and I wanted to ask if there is something I could find online related to this. I didn't know where to ask since nobody is into albion online stuff and I just start to search stuff.
I was wondering if there is somewhere info list of all players online in the albion world with probably their guild name info too. Like Having two columns with character name and his guild name or maybe even more stuff.

Is this even possible? Since I have understanded that the game doesn't share much information.

Market prices do not update

Why market prices don't update?
image

I remember old versions that showed a message when open any market, i think may be related
image

Program can't tell the difference between High and Low Sell Orders.

This issue was talked about in discord and I figured I'd add it to the list of issues in case someone wanted to tackle it. The problem is that the program can't tell the difference when a player loads their marketplace and has their price sorting from High to Low. If a player has their sorting from High to Low when updating the database it will take the highest price on that page and think it's actually the sell_price_min. Making the database wrong and relaying the Highest price as the Lowest price.

For instance the current Price as I write this for itemID="T1_FACTION_FOREST_TOKEN_1" with location "Caerleon" returns with sell_price_min="52999999" while in game the actual sell_price_min should = 74995. When you set the marketplace to sort high to low you see it's picking up that first number as the low price.

Either some sort of filter needs to be added to filter those out, or some sort of check to make sure the number doesn't end up being more than 2x the price or there abouts.

Record api requests

Log requests in order to see what kind of usage the tool is getting. Would like to use ip address for tracking purposes but GDPR has some issues with that.

How to configure nats for albion data

hello, can i know how to create the nats server for sending albion data locally? i have install nats server and edit the albiondata client to send data to my nats server but when i dump to sql i dont see anything. thank you.

idea: trigger local NVidia shadowplay / OBS instant replay recording on Events

The albion client is in a position to know that a player experienced a "notable" event..

Player died, got a player kill, got a very valuable loot item, etc....

It would be awesome to be able to use these events to automatically trigger NVidia shadowplay and/or OBS to save their instant replay buffer.

While this may seem outside the core goal of data collection.. this would be a really awesome feature that would drive many users to want the client.. which would in turn mean more users are collecting and uploading data.

T5 Relics, T7 Souls, and both T8 Souls & Relics are not returning results

While attempting to pull prices, I found that I could not get results for T5 Relics, T7 Souls, T8 Relics, and T8 Souls no matter how many times I browse the market for those specific items with the client running. A few other items also appear to not be working, I will attempt to compile a list if necessary.

Example API request: https://www.albion-online-data.com/api/v1/stats/prices/T8_RELIC?locations=Caerleon%20Market

Returns: []

Property Name Casing

I had to change the property name several times e.g.
[JsonProperty (PropertyName = "buy_price_max_date")]
[JsonProperty (PropertyName = "buyPriceMaxDate")]
Is buy_price_max_date correct now?

Queen Patch 11 Client not identifying zone

Ever since the Queen Patch 11 hit 05.05.20 the client does not identify the zone anymore making it unable to update market data.

Console output when trying to update market data:

INFO[2020-05-05T15:09:10+02:00] Starting Albion Data Client, version: 0.0.27
INFO[2020-05-05T15:09:10+02:00] This is a third-party application and is in no way affiliated with Sandbox Interactive or Albion Online.
INFO[2020-05-05T15:09:10+02:00] Additional parameters can listed by calling this file with the -h parameter.
INFO[2020-05-05T15:12:50+02:00] Watching Albion process with PID "14972"...
ERRO[2020-05-05T15:22:10+02:00] The players location has not yet been set. Please transition zones so the location can be identified.
ERRO[2020-05-05T15:24:51+02:00] The players location has not yet been set. Please transition zones so the location can be identified.
ERRO[2020-05-05T15:24:57+02:00] The players location has not yet been set. Please transition zones so the location can be identified.

Swagger definition issue

MarketStatChartResponsev2 is not pulling the overloaded Data property, it is using the base property from MarketStatChartResponse

Albion historical market data

The game now has historical charts and data that we should pull and store, potentially instead of the process that is used now that looks at the uploaded data.

Error initializing the systray

INFO[2019-10-07T15:54:55-07:00] Starting Albion Data Client, version: 0.0.22
INFO[2019-10-07T15:54:55-07:00] This is a thERROR systray: systray_windows.go:598 Unable to init instance: Unspecified error [error=Unable to init instance: %v error_location=github.com/broderickhyman/albiondata-client/vendor/github.com/getlantern/systray.nativeLoop (systray_windows.go:598) error_op= error_text=Unable to init instance: Unspecified error error_type=errors.Error]
ERROR systray: systray_windows.go:598 at github.com/broderickhyman/albiondata-client/vendor/github.com/getlantern/systray.nativeLoop (systray_windows.go:598)
ERROR systray: systray_windows.go:598 at github.com/broderickhyman/albiondata-client/vendor/github.com/getlantern/systray.Run (systray.go:81)
ERROR systray: systray_windows.go:598 at github.com/broderickhyman/albiondata-client/systray.Run (systray_win.go:51)
ERROR systray: systray_windows.go:598 at runtime.goexit (asm_amd64.s:2337)
ERROR systray: systray_windows.go:598 Caused by: Unspecified error
ird-party application and is in no way affiliated with Sandbox Interactive or Albion Online.
INFO[2019-10-07T15:54:55-07:00] Additional parameters can listed by calling this file with the -h parameter.

Quality data isn't being logged

I wrote a program that consumes the api, and noticed the quality field is always set to 0. When I check ingame, the quality of an item isn't being taken into account and a masterpiece item is shown as the same kind of item as a normal one(as shown by the max and min price of any individual item).

Could you please explain a bit how to put everything to work together?

Hi! I've been trying to setup the albion api locally, to be able to make some changes to it, but I'm failing when setting up the deduper.

After setting up the client and having it running, when I try to execute the deduper it's not able to connect to the client.

Note that I'm a bit newbie to golang, so I may be missing something, that's why I'm asking for a better documentation on how to get everything running.

Thanks in advance, and thanks for maintain this project and sharing it to us :)

PS. I'm interested in creating some market charts, and for that I'll need information that I don't see listed anywhere, like lists of markets and products (I've seen in the api some view and stats methods, but nothing about listing contents).

How to download client on MacOS?

Hey there!

It seems from /scripts that you are producing builds for Windows, Mac, and Linux, but I'm unable to figure out how to use any of the resources provided in the releases.

Could you provide some instructions for me please? I would be open to instructions on how to set up the Go project and build it myself as well if that's easier.

update-darwin-amd64.gz contains only a single file when unzipped with no file extension. Changing the extension to either .pkg or .app both do not work in attempting to get Mac to recognize what to do with the file. I played with those in case this file was meant to be the Mac installer.

Make minimization more intuitive

Currently everyone's window minimizes, many people don't realize it is happening. I believe it was created this way to help people always have it running but it is confusing people. Maybe make it a config setting or something.

Batch albiondata-sql inserts

Batch inserts for every x number or every 30 seconds, whichever is sooner to help with mysql performance and locking issues

Crashing when can't find the device specified

Just that, I start it, and it stays running for a while until it decides to close itself or it just closes after a few seconds, no error messages or anything, does it save a log anywhere to check?

EDIT: I've done some digging and I've found the -debug argument, and also ran it from a terminal and I got this:
Error opening adapter: The system cannot find the device specified. (20)
and I've seen that it dies when it tries to read from one of the network adapters that Docker installs, to be precise the one named "vEthernet (Default Switch)", I don't know if this identifier will help or it's a random generated one on each PC, but the device identifier that crashes it is
\Device\NPF_{4B78D377-81BB-4E0E-A302-D6362F3F1487}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.