38 Commits

Author SHA1 Message Date
Mumble
f4e423f8c3
[Telemetry] Server Side Code for Run Result Logging (#4)
* Revert "Remove Daily from starter tracking"

This reverts commit ce4aea88de78696c76046c862cdcae2f5d6d871f.

* Server-Side Run Result Logging

* Removed unnecessary parameters.

* Fixed up endpoint to not rely on present-in-session variables

* I'm forgetful.

* Fixed up logging format.

* Changed somethign.

* Updated endpoint variable

---------

Co-authored-by: frutescens <info@laptop>
2024-11-13 00:08:45 +00:00
Mumble
0da0283fb9
[Feature] Two Separate Counters for Endless and Classic Starter Choice (#2)
* Revert "Remove Daily from starter tracking"

This reverts commit ce4aea88de78696c76046c862cdcae2f5d6d871f.

* Added separate starter counter for Endless/Endless Spliced

* Added daily conditional

* Changed starterCounter to also hold information about the game mode.

---------

Co-authored-by: frutescens <info@laptop>
2024-11-06 22:37:26 +00:00
Frederico Santos
e6d55617df fix: Update session metrics processing to exclude GameMode 3 for WaveIndex 1 2024-11-06 00:33:25 +00:00
Frederico Santos
a88f8c2dc5 fix: Correct formIndex formatting in session metrics processing 2024-11-06 00:32:50 +00:00
Frederico Santos
b7c9d6e6f1 fix: Update party member species handling to support float64 and improve logging 2024-11-06 00:29:47 +00:00
Frederico Santos
400cb28ee3 fix: Enhance session metrics logging to include party member species and username 2024-11-06 00:21:38 +00:00
Frederico Santos
28c279c36d fix: Update metrics processing to use username instead of UUID and improve party member type handling 2024-11-06 00:15:03 +00:00
f-fsantos
eefa54fe48 added username 2024-11-05 23:46:08 +00:00
f-fsantos
dd818e42c6 Merge branch 'metrics' of https://github.com/XGSleepWalker/rogueserver into metrics 2024-11-05 23:39:28 +00:00
f-fsantos
b57eae4f0c fixed metrics call 2024-11-05 23:39:25 +00:00
Mumble
2f9ed3a0a7
Starter Tracking (#1)
* starterCounter?

* Update api/savedata/update.go

---------

Co-authored-by: frutescens <info@laptop>
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-11-05 23:32:00 +00:00
Frederico Santos
3048e22787 chore: Add Prometheus metrics for account registration and concurrent requests
feat: Implement Prometheus metrics and caching for game sessions

fix: Rename Prometheus metric for game modes to include namespace
2024-11-05 20:10:29 +00:00
Amani H.
b2aa37b2ef
[Dev] Remove Version Checking (#55) 2024-10-16 18:36:53 -04:00
Pancakes
dd00d90211
Remove voucher compensation code 2024-06-22 16:10:35 -04:00
maru
0526c7a0f1
Remove vouchers limit 2024-05-29 16:25:29 -04:00
maru
7bfd9dfba7
Fix code 2024-05-21 01:48:07 -04:00
maru
fc458fad73
Revert "Remove anti cheat"
This reverts commit 512a24e5c3b1a51045a91acd9049c64266cc6d64.
2024-05-21 01:39:07 -04:00
Up
76e7ba02ad
always delete claimed vouchers 2024-05-15 04:27:53 +02:00
Up
e7cff35d69
delete vouchers when claiming them 2024-05-15 00:50:50 +02:00
Krystian Chmura
03865f9b94
run golangci-lint in CI 2024-05-11 14:41:25 +02:00
Up
1f95f7c042
hotfix: move save data to DB (#2)
* start reading save data from DB

* finish migration code

* remove leftover dir creation

* fix import cycle

* remove more dir creation

* update gitignore

* fix pk

* better table creation

* use REPLACE INTO

* fix typo
2024-05-07 17:10:33 -04:00
maru
512a24e5c3
Remove anti cheat 2024-04-30 14:34:40 -04:00
maru
786e947e09
Change 'banned' to 'limited 2024-04-30 00:32:55 -04:00
maru
8481626193
Relicense under AGPL 2024-04-29 17:26:46 -04:00
maru
235fb9c91c
Add copyright notice to files 2024-04-29 15:32:58 -04:00
maru
e8240c9c38
Rename to rogueserver 2024-04-29 15:22:27 -04:00
maru
e184e9da91
Ban if vouchers over a certain threshold 2024-04-28 20:59:53 -04:00
Flashfyre
bc8084b70b Increment server version 2024-04-28 20:44:33 -04:00
Flashfyre
2f8c2d3f07 Match trainer and secret ID on update for data integrity 2024-04-25 09:56:56 -04:00
maru
96f8a74396
Unduplicate more code 2024-04-22 18:32:45 -04:00
maru
1de3ce72e4
Reuse zstandard encoder 2024-04-22 18:20:58 -04:00
maru
697c5335d7
Prevent writing empty save files 2024-04-22 18:06:32 -04:00
maru
b00ed4c0b9
Use WriteFile instead of stream writing to files 2024-04-22 18:01:17 -04:00
maru
75cf6f3ab1
Use Sprintf instead of encoding UUIDs to hex 2024-04-20 17:10:48 -04:00
Flashfyre
a36a8f5be9 Update schema and version for variant update 2024-04-18 21:54:07 -04:00
Flashfyre
420a4d17b3 Fix version check for outdated client 2024-04-16 09:21:23 -04:00
Flashfyre
d232773ecd Add game version check to save (WiP) 2024-04-15 10:10:22 -04:00
maru
1f0f38d38e
Move endpoint categories into their own packages 2024-04-14 20:03:53 -04:00