Git Product home page Git Product logo

ps2ttkcalculator's Introduction

Planetside 2 TTK Calculator

This is a tool to help you calculate the theroretical time to kill (TTK) for a given weapon. It is based on the aspects of the BWAE Battle Bot. There will be both a python script as well as a web app in this repo.

Note: This project has been archived due to Heroku changing their free dynos policies!

Features of the tool (to include or not active in current version): [X] Variable Weapon
[X] Variable Distance
[ ] Where bullets land (Headshots/Bodyshots)
[X] Heavy Overshield
[ ] Soft Point Ammo and Hard Velocity Ammo

Requirements:

Python dependencies:

  • Python 3.8 or above is required to run the project.
  • Alternatively, the dependencies are also listed in the requirements.txt file (compatible with venv)

Census ID

Communication with the Daybreak Census API is required to retrieve weapon information, therefore you have to supply a Service ID. You can apply for one at the Daybreak Census website. Once you obtained an ID, add it the configuration as api_key:

[General]
api_key = Daybreak_Registered_Service_ID

Web version of the tool:

This project uses the Django framework to implement its web version, in order for it to work, you need to set up a django token on the config file:

[Django]
django_key=Generated_Django_Secret_Key

Database

This project uses a PostgreSQL database to store and query the weapon information used to calculate the TTK.

[Database]
host= Database Host
name= Database Name
user= Database User
password= Database Password

TODO

Run the web server with the following commands:

Windows:

python manage.py runserver

Linux:

python3 manage.py runserver

ps2ttkcalculator's People

Contributors

elreyzero avatar milkshakesbot avatar

Stargazers

 avatar

Watchers

 avatar

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.