GithubHelp home page GithubHelp logo

thekroko / uthgard-herald Goto Github PK

View Code? Open in Web Editor NEW
13.0 11.0 18.0 484 KB

Help us build a herald.

License: GNU General Public License v3.0

TypeScript 73.50% JavaScript 9.46% HTML 13.76% CSS 3.27%

uthgard-herald's Introduction

uthgard-herald's People

Contributors

andir avatar burfo avatar jearle avatar oliverradini avatar thekroko avatar

Stargazers

 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

uthgard-herald's Issues

you slow down multiple request now ?!?!

hey, i noticed that you configured your api to response to "high frequency" request with a delay of 30s-60s.

I was trying to tell you that somebody will do that. (this time i was - about 14 request per min) to build my database with the uthgard data.

Good for you that you have now a way to block this kind of "get-all-data", but i saw it is only ip based, hopefully it is not ip4 only .... every normal internet connection with ipv6 hat 32k ipv6 addresses ;) or even a tor proxy would bypass the limitation ;)

I will stop here, you dont want the features i offered, i respect this even if you has not ask the comunity if they want this. So have fun, see you ingame maybe ....

favicon missing

Currently the favicon is still the default angular(2) icon. Do we have anything more fitting?

API not UTF-8

Never mind, all reponses are UTF-8, i only forget to decode it.

Player API reporting incorrect character level.

Since the 02/14 API code push, anyone who levels up is reported as one level lower than they actually are. This is the same symptom as the realm rank bug that was corrected.

Example: https://uthgard.org/herald/api/player/Orito
02/14, after the API code push, I leveled up to 40. Last update is clearly post that day/time.

From what I can tell, characters that have not leveled up since the API code push are reported accurately.
Example: https://uthgard.org/herald/api/player/Origami
This character hasn't been played for a week or so, and is reported accurately.

Realm Rank is wrong?

Had some people in IRC reporting their RR shown on the api was incorrect

He's shown as 3L1 in game but 3L0 on api.

{
"Name": "Ramo",
"Guild": "Buds",
"Race": "Avalonian",
"Class": "Paladin",
"Xp": 170000000000,
"Rp": 73683,
"Level": 49,
"RealmRank": 30,
"XpPercentOfLevel": 0.93884605,
"RpPercentOfLevel": 0.17532879,
"LastUpdated": 1487117107
}

License of the project

We should probably decide on a license for this work. I think (A)GPL works quiet well for these kind of things.

Any thoughts?

Make Docker deployable

Make sure everything can be deployed via docker ("docker run .." should produce a local webserver listening on some random port that displays that page).

Add a default index or ranking view

have a default /index or /ranking view, and make sure you can navigate between it and the existing /char/Foo subpages (i.e. add breadcrumbs/links/navbar)

Launch?

Has this been 'officially' launched yet? If not what are the blocks to its being launched? It seems to be quite close to a basically usable point, but no progress has been made in quite some time. I could probably spare some time to work on it but I don't want to waste time on useless features.

List all players

How to request a list of all players (to create a top10 rps player etc.)

More player data

How to put more data of the player into api answer e.g.

  • alb player kills
  • mid player kills
  • hib player kills
  • alb death blows
  • mid death blows
  • hib death blows
  • alb solo kills
  • mid solo kills
  • hib solo kills
  • deaths
  • dragon kills
  • legion kills
  • crafting profession
  • crafting skilllevel
  • housing infomation
  • gender

Make a page for guild data

Would be nice to be able to see guild data, guild members etc. on a page. I'll start working on this for now, until I hear otherwise

Add Access-Control-Origin Header to api server

Browsers check the Allow-Control-Origin-Header with an OPTIONS request before performing XHR.

In our case we'd the header to state herald.uthgard.org.

For nginx the config line would be:

add_header Access-Control-Allow-Origin herald.uthgard.org; 

For varnish (which seems to be at least the frontend server of uthgard.org):

set resp.http.Access-Control-Allow-Origin = "herald.uthgard.org";

If you want to be more permissive (e.g. allowing 3rd party hosted heralds) use * instead of herald.uthgard.org

Use the old code?

Looking at the old code, it doesn't really work, at all. I say that as someone who wrote a fair amount of it. Given that it's currently virtually useless, would we be better to start this again from scratch?

Is there a reason to be using angular? Since working on this I've used a lot more Vue and React, I'd say they're quite a lot better, and easier to get going with.

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.