All Projects → mattantonelli → ffxiv-triple-triad

mattantonelli / ffxiv-triple-triad

Licence: MIT license
Another Triple Triad tracker for Final Fantasy XIV

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
coffeescript
4710 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ffxiv-triple-triad

ffxiv-collect
Another collection tracker for Final Fantasy XIV
Stars: ✭ 32 (+88.24%)
Mutual labels:  ruby-on-rails, final-fantasy-xiv, ffxiv
FFXIVPocketGuide
A collection of mobile friendly guides to help players navigate group content in Final Fantasy XIV.
Stars: ✭ 16 (-5.88%)
Mutual labels:  final-fantasy-xiv, ffxiv
ffxiv-better-autokey
Windows terminal tool for automating keystrokes to processes.
Stars: ✭ 15 (-11.76%)
Mutual labels:  final-fantasy-xiv, ffxiv
TataruHelper
Tataru Helper - application for translation of in-game texts in Japan MMORPG - Final Fantasy XIV. The texts are understood as MSQ, cutscenes, quests, NPC replicas, etc.
Stars: ✭ 255 (+1400%)
Mutual labels:  final-fantasy-xiv, ffxiv
horizoverlay
A simple horizontal damage meter overlay for Final Fantasy XIV. It currently shows player dps, damage %, hps, max hit, encounter duration and total dps. It's super configurable! It supports English, Portuguese, Chinese (S/T) and French.
Stars: ✭ 118 (+594.12%)
Mutual labels:  final-fantasy-xiv, ffxiv
ffxiv-weather
Weather forecast and lookup for Final Fantasy XIV.
Stars: ✭ 29 (+70.59%)
Mutual labels:  final-fantasy-xiv, ffxiv
ffxiv-gearing
Webapp for building and sharing Final Fantasy XIV gearsets. (CN)
Stars: ✭ 50 (+194.12%)
Mutual labels:  final-fantasy-xiv, ffxiv
stimulus reflex
Build reactive applications with the Rails tooling you already know and love.
Stars: ✭ 2,001 (+11670.59%)
Mutual labels:  ruby-on-rails
china regions
Ruby Library for China Regions
Stars: ✭ 23 (+35.29%)
Mutual labels:  ruby-on-rails
ffxiv-ember-overlay
Powerful, data-focused DPS overlay and spell timers for Final Fantasy XIV (FFXIV). Can be used with the OverlayPlugin and ACTWebSocket plugins for Advanced Combat Tracker (ACT). Updated for Endwalker.
Stars: ✭ 122 (+617.65%)
Mutual labels:  ffxiv
kickstart
Ruby on Rails application templates
Stars: ✭ 61 (+258.82%)
Mutual labels:  ruby-on-rails
modular routes
Dedicated controllers for each of your Rails route actions.
Stars: ✭ 45 (+164.71%)
Mutual labels:  ruby-on-rails
xivtlsheet
ACT、FFLogsを使い、FF14 零式コンテンツのタイムラインスプレッドシートを作成
Stars: ✭ 39 (+129.41%)
Mutual labels:  ffxiv
awesome-rails-security
A curated list of security resources for a Ruby on Rails application
Stars: ✭ 36 (+111.76%)
Mutual labels:  ruby-on-rails
rails cursor pagination
Add cursor pagination to your ActiveRecord backed application
Stars: ✭ 21 (+23.53%)
Mutual labels:  ruby-on-rails
velum
Dashboard for CaaS Platform clusters (v1, v2 and v3)
Stars: ✭ 55 (+223.53%)
Mutual labels:  ruby-on-rails
nexmo-oas-renderer
Render your API references, Nexmo-style!
Stars: ✭ 40 (+135.29%)
Mutual labels:  ruby-on-rails
IndieNoMo
A full-stack web-app inspired by crowdfunding platform IndieGoGo.
Stars: ✭ 36 (+111.76%)
Mutual labels:  ruby-on-rails
agenda-saude
Sistema de agendamento de saúde, em uso para gerir filas de vacinação do COVID-19 e H1N1.
Stars: ✭ 119 (+600%)
Mutual labels:  ruby-on-rails
ACT DFAPlugin
FFXIV Duty Finder Assist for ngld/OverlayPlugin
Stars: ✭ 48 (+182.35%)
Mutual labels:  ffxiv

Another Triple Triad Tracker

This is yet another application for tracking your Final Fantasy XIV Triple Triad card collection written in Ruby on Rails and powered by Saint Coinach. This application strives to be as autonomous as possible by pulling its card and NPC data from the game files via Saint Coinach. This ensures that manual data entry is only required for data not available on the client side, such as instance drop locations. Even if the card source is unknown, the cards themselves will still be created and the source can easily be updated later when it becomes known.

API

All of this application's data is made available through a RESTful JSON API. See the documentation for details.

Dependencies

  • Ruby (2.4.1)
  • Rails (5.2.1)
  • MySQL
  • Redis

Installation

Clone and initialize the repository

git clone https://github.com/mattantonelli/ffxiv-triple-triad
cd ffxiv-triple-triad
bundle install
bundle exec rake app:update:bin

Set up the database

Create the MySQL databases triad_development and triad_test as well as a database user with access to them

Create the necessary 3rd party applications

  1. Create a new Discord app for user authentication. Take note of the client ID and secret.
    1. Set the redirect URI on the OAuth2 page of your app: http://localhost:3000/users/auth/discord/callback
  2. Configure the credentials file to match the format below using your data.
rm config/credentials.yml.enc
rails credentials:edit
mysql:
  development:
    username: username
    password: password
discord:
  client_id: 123456789
  client_secret: abc123
google_analytics:
  tracking_id: GA-1234567-8

Extract the images

Extract card images from the game data by following the instructions in the data repository.

Load the database

bundle exec rake db:schema:load
bundle exec rake data:initialize

Schedule jobs

Run whenever to schedule the application's cronjobs.

bundle exec whenever -s 'environment=INSERT_ENV_HERE' --update-crontab

Please note that if you did not install your Ruby using rbenv, you will need to change the bundle command located in config/schedule.rb

Start the server

rails server

Updating

When new cards & NPCs become available on patch day, they can be loaded into the database by running the data:update rake task.

bundle exec rake data:update
bundle exec rake instances:create
bundle exec rake assets:precompile
# Restart the application
bundle exec rails console
Card.where('created_at > ?', Date.current.beginning_of_day).update_all(patch: 'CURRENT PATCH')
NPC.where('created_at > ?', Date.current.beginning_of_day).update_all(patch: 'CURRENT PATCH')
exit

This data is available once the data repository has been updated with the latest patch data.

More action may be required in the event of complex game updates (e.g. new card types, packs, etc.) Patch data must be populated manually.

Images

Images are no longer provided by the data repository and must be extracted from the game data. Click here for details.


FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd.

FINAL FANTASY XIV © SQUARE ENIX CO., LTD.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].