Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Util+Knife Stats & Rename #14

Merged
merged 22 commits into from
Sep 26, 2021
Merged

Util+Knife Stats & Rename #14

merged 22 commits into from
Sep 26, 2021

Conversation

PhlexPlexico
Copy link
Owner

These changes include these new values if they are ever included.

These changes include these new values if they are ever included.
@PhlexPlexico
Copy link
Owner Author

splewis/get5#612 as reference.

Update some docs.
@PhlexPlexico PhlexPlexico linked an issue Jan 14, 2021 that may be closed by this pull request
@PhlexPlexico PhlexPlexico changed the title There's a new PR on get5 that may include two new stats. Util+Knife Stats & Rename Jan 16, 2021
@PhlexPlexico
Copy link
Owner Author

@nickdnk to avoid clogging up your PR on get5 with some questions I'd thought it'd be best to ask here.

I believe the only added change for stats (to record/send/add to db per latest pushes) would now just be friendlies flashed? I see that the flash assist is now using a bool, but it looks like it's still sending either a 1 or 0, so it shouldn't matter incrementing.

As for the friendlies flashed, I really like that as a stat, can go to show how effective your flashes are on enemies vs. friendlies, neat!

@nickdnk
Copy link

nickdnk commented Jan 24, 2021

Hello @PhlexPlexico

  1. For the database, we did not have enemies_flashed before either. I added both enemies_flashed and friendlies_flashed in my latest push. There was no tracking of flashes, only flash assists. I also re-worked the flash-assist logic to use the game-provided events instead of the custom "who threw which flashbang at what time"-workarond that was implemented before.
  2. I'm not sure I understand what you mean by "but it looks like it's still sending either a 1 or 0, so it shouldn't matter incrementing." - can you elaborate? I don't believe I am incrementing a boolean anywhere. For the logging system we're now providing a user object (the assister) and a boolean indicating whether the assist was a flash-assist or a regular assist, as the game does not allow you to get both a regular assist and a flash-assist at the same time. Flash-assists are only triggered if you flashed an enemy and did not deal enough damage for a regular assist, in which case your flash-assist would be overriden.

scripting/include/get5.inc Outdated Show resolved Hide resolved
@PhlexPlexico
Copy link
Owner Author

Ahh okay, as for point 1 I see, thanks! It's hard to view some of these changes on mobile, so forgive me haha.

As for point 2, I see that makes more sense. From what I could read in the changes to the event logger was checking that assist boolean. Hence why I wanted to clarify with a stupid question because it's hard for me to read this late at night haha. Thanks for the thorough explanation and once I get back at it, I'll add in the new includes and make sure they get sent in to the API :)

Thank you!!

@nickdnk
Copy link

nickdnk commented Jan 24, 2021

You're welcome. Now we just need splewis to accept the PR. I run with my changes in "production" and it seems everything is good.

@PhlexPlexico
Copy link
Owner Author

Closes #18 and #15

@PhlexPlexico
Copy link
Owner Author

Closes #20

@PhlexPlexico PhlexPlexico linked an issue Jun 13, 2021 that may be closed by this pull request
@stranden
Copy link

@PhlexPlexico Will this get merged into the master at some point? And with a new release available? I really like your work. Thanks a lot - also to you @nickdnk! 👍

@PhlexPlexico
Copy link
Owner Author

Hey @stranden! Thanks for the kind words, however I'm still at the mercy of whenever these changes get merged into get5 itself. I'm not exactly sure how nicely this would play with different get5,inc files after compilation. If that gets merged, then I will be able to merge this, plus the API and front-end, but until then I have to wait.

Thanks!

@nickdnk
Copy link

nickdnk commented Jul 31, 2021

@stranden You're gonna have to bump splewis/get5#612 if you want this released.

@PhlexPlexico PhlexPlexico merged commit 2df4f28 into master Sep 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sm-ripext 1.3.0 [Feature Request] Fire event when people pick sides during veto process Rename plugin
3 participants