Coder Social home page Coder Social logo

jarvvski / r3-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raptoer/r3-web

0.0 3.0 0.0 11.32 MB

Website component for R3. Check branches for latest dev updates

Home Page: https://github.com/alexcroox/R3

License: Other

CSS 30.19% JavaScript 69.81%

r3-web's Introduction

Arma 3 After Action Replay Web Component

Project Version Project License

Website component for the game server side addon for capturing unit movement and behaviour to a database for After Action Replays online.

No modifications to your missions required, nothing for clients to download.

Being built along side the addon component and automated tiler

Demo

An exact mirror of this repo can be viewed here which contains replays from ARK Group

Install

Discord

Note: R3 is currently undergoing a big v1 data storage refactor read more

  1. Follow the step by step instructions on the addon repo and ensure you have mission event data in your database
  2. Download the latest web release
  3. Rename config.template.php to config.php, pay close attention to DB_*, WEB_PATH and timezone configurations
  4. Upload the files to your web server which matches the URL in WEB_PATH in config.php. Take note of /.htaccess in the download that may be hidden on your system before you upload.
  5. (linux specifc) give the cache directory permissions for your web-server user account:
chown www-data:www-data -R cache/

Important information to get the most from R3

  1. Make sure you enable gzip on your web server. If you don't your users will be sat waiting for the playback to load for a long time, and downloading 100s MBs each time. This is very important.

  2. Ensure your MySQL server timezone matches that of your server / R3 config. If they aren't the same, missions may incorrectly auto hide or fail to show as in progress.

Adding new Terrains

R3 supports over 90 popular terrains. Just played a mission on a map that R3 doesn't yet support? Feel free to add it yourself and let every user of R3 benefit from it! Follow the simple instructions here

Adding new vehicle icons

Is a modded vehicle using the vanilla map icon instead of the correct shape and outline for that mod? Submit new vehicle icons here, and every user of R3 will get access to it! Follow the simple instructions here

Getting help

You can find me (Titan) on the R3 Discord or feel free to create an issue here.

Why not x framework/language

In an ideal world I'd be using web sockets and node to stream from the game server straight to a flat json file, and to the browser. However the goal is to allow Arma 3 server admins to be able to run this and contribute. PHP + MySQL is the most common setup these administrators (with potentially limited sysadmin knowledge or sudo access) will have so it is the correct choice, as limiting as that can be!

r3-web's People

Contributors

alexcroox avatar jarvvski avatar theyourstruly avatar

Watchers

 avatar  avatar  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.