Giter Site home page Giter Site logo

Enrich event data about ps2census HOT 5 CLOSED

microwavekonijn avatar microwavekonijn commented on September 23, 2024
Enrich event data

from ps2census.

Comments (5)

Maelstromeous avatar Maelstromeous commented on September 23, 2024 1

The following should also be added to the request:

  • Death: is_suicide must have a check to see if the character IDs of attacker_character_id and character_id exactly match (don't forget BigInt issues)
  • Death: is_teamkill must have a check for class loadouts, comparing against a list of loadouts for the same faction, if both match, it's a TK. This must additionally check if the is_suicide flag is false.

If you're able to pass down the attacker_faction_id and character_faction_id that would be most handy too (Death event)!

from ps2census.

Maelstromeous avatar Maelstromeous commented on September 23, 2024

Timestamps to Date; Wouldn't fully recommend this, lots of apps will want this in UTC and then convert it as they will.

from ps2census.

microwavekonijn avatar microwavekonijn commented on September 23, 2024

How do you mean? I want to convert it to the default Date class of js.

from ps2census.

Maelstromeous avatar Maelstromeous commented on September 23, 2024

Nothing against a date, although I for example prefer to use UTC timestamps as it's universal across the board, then convert it at the application layer should I need to.

from ps2census.

microwavekonijn avatar microwavekonijn commented on September 23, 2024

Could do, but most date libraries like moment.js and date-fns use the date object. Besides with this I try to eliminate most of the quirks of the Census API, event he straight forward ones.

from ps2census.

Related Issues (20)

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.