branchrust_reboot/main/official_server_analyticscancel
24 Commits over 31 Days - 0.03cph!
Change save process to only keep the delta stats in memory
Added server.statBackup that backs up any analytics to a file
Will only write the file to disk every 2 minutes
Creates one file per real-time day in an analytics folder in the server files
Backups will only be created if analytics are actually running (stats enabled, official server, etc)
Track a mission fail reason (timeout, disconnect, etc)
Add tracking for mission fails
Added a prefab version of analytics trigger (Assets/Prefabs/Misc/Analytics)
Added trigger to entrance_monuments_a and entrance_monuments_b
Adjusted name of each event in monument scenes
S2P trainyard, powerplant, military tunnel, launch site, both harbors, excavator, compound and airfield
Added a TriggerAnalytic component that can send an event every time a player enters it
Includes a per-player timer so a player can't trigger it more than once every two minutes
Fixed train tunnel deaths only counting if they are in or near the entrance stairwell (should now be counted anywhere in the tunnels)
Fix oil rig deaths not being counted (incorrect monument bounds on OilrigAI prefabs)
S2P
Track player deaths in monuments separately along with other info (weapon/npc/etc)
Compile fix
Added events for freeing underwater crates, using held entities
No longer track the skin used in an item craft event (was making that dataset too noisy)
Added a new SkinUsed event that is logged when an item is crafted and when an item is reskinned in the repair bench or via a spraycan
Now require server.stats to be true to send analytics (as well as official)
Mission complete analytic
Track ore nodes being harvested (include tool type as well)
Track tree kills (by weapon type)
Categorize GunTrap
Fixed npc deaths being logged as player deaths
Refactor death stat to recognize per weapon auto turret deaths (eg. player was killed by an auto turret with an mp5)
Track all items that are consumed by players
Fix shark categorize string for analytics
Sharks are now considered NPC's
Record deaths via NPC as a sub category so we can differentiate players dying from weapons (ie. getting killed by an mp5 wielded by a player or a scientist)
Add analytics for vehicle purchases, vending machine purchases (static and player placed), fishing catches, horse purchases
Don't report camera frame times (only an issue in listen servers)
Add analytics keys for dedicated servers
Split client and server analytics events into separate classes (Rust.Analytics.Client and Rust.Analytics.Server)
Only run server analytics on official servers
Reintegrate old disabled death and craft server events