Code Monkey home page Code Monkey logo

rocketstats's Introduction

RocketStats

RocketStats is a Plugin working with BakkesMod, allowing you to display session information (MMR, win, loss, streak, eg.) in game and/or in OBS.

Prerequisites

First, you'll need to install Bakkesmod and make sure it's running.

Install & Explanations

Use the Wiki available in the menu at the top of the page. You will have all the information easily accessible to understand the plugin.

Wiki: https://github.com/Lyliya/RocketStats/wiki

Additional themes

If you want more themes while waiting for the future website: https://github.com/Arubinu/RocketStats_themes

For more details on how to install these themes, visit the Wiki.

Community & Thanks :)

You can come and ask your questions or discuss with the community in our discord.

Thanks to all the people who helped us during the development.

Thanks for ideas and support:
Thanks for tests:

Development Team & Contributors

This plugin is provided for free, but if you like our work, you can support us at the following address: https://www.paypal.me/rocketstats or by sending BTC (only BTC) at 19qWGhpFTc5E9t9gvBYRyNK5ybdR8BioyK

rocketstats's People

Contributors

arubinu avatar dependabot[bot] avatar larsluph avatar lyliya avatar marioesho avatar mgavin avatar th3an7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rocketstats's Issues

Streak counter should check all counters when determining if it will reset to 0

I have been tracking down an issue with the streak counter and I found the cause. When in game, I would start a new session and play a few games on one playlist. Let's say I win 2 games so my streak is +2. Then I switch playlists and I lose the next game. My streak should be -1 but it's not, it's +1. This is because only the streak counter for the current playlist is checked. Another example, I start a new game after being on a 3 game winning streak last time I played. My streak variables should be:

always.streak = 3;
session.streak = 0;
stats[current.playlist].streak = 0;
always_gm[current.playlist].streak = 3;

Let's say I lose my first game.

GameEnd -> Game Lost says:

if (stats[current.playlist].streak > 0)
            {
                always.streak = 0;
                session.streak = 0;
                stats[current.playlist].streak = 0;
                always_gm[current.playlist].streak = 0;
            }

            --always.streak;
            --session.streak;
            --stats[current.playlist].streak;
            --always_gm[current.playlist].streak;

Since stats[current.playlist].streak == 0 my variables look like this:

always.streak = 2;
session.streak = -1;
stats[current.playlist].streak = -1;
always_gm[current.playlist].streak = 2;

When they should look like this:

always.streak = -1;
session.streak = -1;
stats[current.playlist].streak = -1;
always_gm[current.playlist].streak = -1;

20230522140504_1

Doesn't work in Linux

The plugin loads and works but isn't fully functional. Same error message when installing manually or through BakkesMod itself:

Error - Check that this folder is present in BakkesMod: data/RocketStats

Running in Linux is done through Proton (Wine) which emulates a Windows environment. I don't know how those files get loaded but maybe try using absolute paths?

Feature: remember MMR from previous session

I'm not sure if retrieving current MMR is possible without playing matches. In any case it could be nice to have MMR from the previous session when a new session is started. Now the current implementation is to show MMR: 100 and display 'norank nodiv'. I think remembering the previous MMR is quite accurate: in some very rare instances it could be wrong.

Feature request: Different themes for in match and in menu.

It would be great to have the ability to have two differen themes, one for the menu and one for in game. Since some themes got to much informations for in game and block to much of the screen, but a usefull to read in the menu. And other are perfect for in game, but hard to read or to less informations while in menu.

Feature Request: Add the ability to see the MMR required to reach the next rank

Hi,
I'm making a feature request. I was wondering if you could add the ability to see either the amount of MMR still needed to reach the next rank or even just something that shows the total required MMR to reach the next rank?

Up until recently I was using the RankViewer plugin for this but it has started crashing my game some of the time now so I can no longer use it. But I think the feature it provided would also be perfect for the Rocket Stats plugin.

Feature: show in training

Currently supported visibility settings are 'show in menu', 'show while in-game' and 'show on scoreboard'. There is a config file bakkesmod\cfg\default_training.cfg but I'm not sure can this be used to run any command before training sessions.

I'm sorry if feature requests are not suppose to sent here. If that is the case then consider using a layout like in https://github.com/Ryochan7/DS4Windows/issues where general information is available at the top.

I get game stutter while using this plugin

A fresh install of bakkesmod runs the game without any issues. As soon as this plugin is added though, I get random game and frame stutters. I watched the in-game performance graphs and only saw spikes in those two categories. What should I do/disable to make this run smoothly again?

MMRchange over session?

Just started using this, it seems like the MMRchange field is only showing the MMR change for the most recent game. I'd like to see how my MMR has changed over the whole session. Is this possible?

I'm using mode "GameMode" and theme "Default", by the way.

Compiling assistance

Hi,

Love the plugin. Just having some trouble compiling it from the source.

I will paste my build errors below.

RocketStats.cpp(32): error C2039: 'GetBakkesModPath': is not a member of 'GameWrapper'
..\..\BakkesModSDK\include\bakkesmod/wrappers/GameWrapper.h(37): note: see declaration of 'GameWrapper'
RocketStats.cpp(32): error C2672: 'std::make_shared': no matching overloaded function found
RocketStats.cpp(36): error C2039: 'GetBakkesModPath': is not a member of 'GameWrapper'
..\..\BakkesModSDK\include\bakkesmod/wrappers/GameWrapper.h(37): note: see declaration of 'GameWrapper'
RocketStats.cpp(36): error C2672: 'std::make_shared': no matching overloaded function found
RocketStats.cpp(40): error C2039: 'GetBakkesModPath': is not a member of 'GameWrapper'
..\..\BakkesModSDK\include\bakkesmod/wrappers/GameWrapper.h(37): note: see declaration of 'GameWrapper'
RocketStats.cpp(40): error C2672: 'std::make_shared': no matching overloaded function found
RocketStats.cpp(46): error C2039: 'GetBakkesModPath': is not a member of 'GameWrapper'
..\..\BakkesModSDK\include\bakkesmod/wrappers/GameWrapper.h(37): note: see declaration of 'GameWrapper'
RocketStats.cpp(46): error C2672: 'std::make_shared': no matching overloaded function found
RocketStats.cpp(674): error C2039: 'GetBakkesModPath': is not a member of 'GameWrapper'
..\..\BakkesModSDK\include\bakkesmod/wrappers/GameWrapper.h(37): note: see declaration of 'GameWrapper'
RocketStats.cpp(674): error C2664: 'std::basic_ofstream<char,std::char_traits<char>>::basic_ofstream<std::experimental::filesystem::v1::path>(const std::experimental::filesystem::v1::path &,std::ios_base::openmode,int)': cannot convert argument 1 from 'int' to 'const std::experimental::filesystem::v1::path &'
RocketStats.cpp(674): note: Reason: cannot convert from 'int' to 'const std::experimental::filesystem::v1::path'
RocketStats.cpp(674): note: use of undefined type 'std::experimental::filesystem::v1::path'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(45): note: see declaration of 'std::experimental::filesystem::v1::path'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(1028): note: see declaration of 'std::basic_ofstream<char,std::char_traits<char>>::basic_ofstream'

If you could point me in the right direction with these errors I would really appreciate it. I'm using the latest bakkesmod sdk from github and using the following to build:

cl /LD -I ..\..\BakkesModSDK\include\ ..\..\BakkesModSDK\lib\pluginsdk.lib RocketStats.cpp

Thanks for your help :)

MMR Change Vs Cumulative MMR Change

previously using this plugin with the circle theme, the default was that the MMR at the top would be the cumulative MMR change for the gamemode (as I had stats set to track per gamemode).

After reinstalling it was performing MMR Change per match. When I edited the JSON file to replace with Cumulative MMR Change the rest of the stats change when I change gamemodes but the MMR Change is for for the whole session.

Is there a function to display how I had it when originally installed?

RocketStats_CarTouches

These stats appear to not work. We did some testing and can't figure out what these measure. We had assumed that these were measuring bumps.

RocketStats_CarTouches
RocketStats_CarTouchesCumul
RocketStats_CarTouchesMatch

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.