The QOL Update
⚠️ WARNING⚠️ DATABASE CFGS HAVE CHANGED
MAKE SURE TO UPDATE YOUR SPECIFIC DATABASE CFG
Release notes
- added sharptimer_style_points_enabled to disable points rewarded for styles
- completely refactor db utils for easier modification of dbs
- added sqlite support
- added translations (en, fi, fr, nb, pl, sk, sv)
- added fastforward and sideways styles
- PlaySound function
- put command check functions on PlayerChecks.cs
- enable/disable sound by default
- change sounds for timer, respawn, checkpoint, checkpoint error, teleport, pb & sr
- play sr sound for all players
- fixed missing space on langs
- enable/disable sr ad option
- enable/disable messages ad option
- separate timer for both
- custom ad messages can be added in cfg/SharpTimer/admessages.txt
- moved some global vars (potential headache fix!)
- some styles break on spawn so now style is set when spawned (if player dies or changes team)
- on map finish only print style if styles are enabled
- simplified style functions
- more zone settings
- added PlayerStats table prefixes
- EXAMPLE = PlayerStats_EXAMPLE (for multiple servers)
- damage hook changes
- allow rank commands while dead/in-spec
- maxglobalfreepoints math fix
- !fakezones menu
- only play sr sound if sounds are enabled
- fix bonus finish msg in lang
- use PlaySound method for sounds enabled check
- add !adminnoclip (for making fake zones easier)
- fix saving player times to postgres
- !rank now respects style
- fix style ranking on hud
- added sql migrations for easier table updates
- added more style aliases
- removed timer from sql check
- moved sqlcheck to roundstart (to ensure cfg is parsed first)
- rank command handler respects bonus now
- made discord style webhook prettier
- made !stage quietly stop the timer
- updated jsontodatabase tool to make json -> sqlite transition easier
- fix all db types not generating PlayerStats on first launch
- ad messages are only custom now
- regular ad messages stored in lang
- print map time to allchat
- save stage times to db
- add stage records
- only save checkpoint times on normal style
- move admin noclip to cheats perms
- only save stagetimes when in normal style
- fixed silly missing comma in stagetime db queries
- only print stagetime if sr
- fixed strange timer stopping bug
- stage time records now in cfg
- !resetpoints command (WARNING: RESETS ALL PLAYER POINTS TO ZERO)
- only play sr sound if player sounds enabled
- moved sqlcheck (fixes weird db bugs)
- remove unused enabledb variable
- fixed PlayerStats table references
- merged !replay and !replaysr
- remove unused lang
- fix case of sr time difference not displaying
- add option to disable stage record broadcasts
- a slew of options to discord embeds (see updated discord config)
- setting to disable hud rank icons
- only show style on hud if styles enabled
- customizable ranks (see ranks.json)
- sync % on hud
- ability to globally enable/disable hud elements
- added replay bot (REQUIRES STFIXES)
- remove test message from admessages.txt
- fix RunCommand-based styles after 8.14.2024 valve "update"
- fix sync memory leak/redo sync logic
- fix respawning on 0,0 coords
- fix replay bot getting kicked
- disable sv_cheats 0 enforce
- added color gradient to HUD speed (sharptimer_hud_secondary_color_dynamic true in config.cfg)
- add ability to disable checkpoint verification (located in config.cfg)
- fix double respawning
- reset sync upon leaving startzone
- remove hide players (broken)
- remove trigger push (broken, use STFixes)
- fix gamedata after armory update
- revert player spawn changes
- fix bug saving checkpoint times to json for style runs
- fully custom ranks
- Cleanup dynamic color format + keyEnabled/hudEnabled
- made respawnpos less buggy for both mg & surf
- compile with cs# v281
- make use of .HasFlag
- fix forced speed mult being applied to ladders
- bump api requirement to v281
Many of these changes were made possible by our contributors :)
@exkludera
@razpbrry
@M-archand
@Letaryat
@NordicGamerFE
@deabb
@jvnipers
@B3none
@Julienhqr
@Kanetrix