Stable1.2.9
Changes
- Improved the analytics system with dynamic and intelligent server-side aggregation, significantly reducing the amount of data sent to the client.
- Analytics data is now always compacted, regardless of total event count, respecting the configured maximum points per player.
- Implemented automatic analytics database sanitization, keeping long-term histories lightweight and consistent.
- Adjusted the logging system to enforce per-player log limits, replacing the previous global cleanup approach.
- The contracts panel now guarantees correct installment value display, never showing
$0when active debt exists. - Loan contract creation now strictly enforces a minimum installment value of $1.
- The loan clipboard SWEP has been adjusted to no longer expose ammo data to HUDs or weapon systems.
Fixes
- Fixed net overflow issues caused by excessive analytics data being sent to clients.
- Fixed an exploit where installments below $1.00 resulted in no charge being applied.
- Fixed the contracts panel displaying $0 installment values under specific configurations.
- Fixed the possibility of creating or accepting contracts with invalid installment values (< $1).
- Fixed the loan clipboard SWEP being interpreted as a pistol with ammo by some custom HUDs.
Files affected:
lua/lshark/core/sv_analytics.lua
lua/lshark/core/sv_logs.lua
lua/lshark/contracts/sv_contract_autocollect.lua
lua/lshark/client/tabs/cl_tab_analytics.lua
lua/lshark/client/tabs/cl_tab_contracts.lua
lua/weapons/lshark_clipboard.lua
lua/lshark/localization/lang_br.lua
lua/lshark/localization/lang_en.lua
lua/lshark/localization/lang_de.lua
lua/lshark/localization/lang_es.lua
lua/lshark/localization/lang_fr.lua
lua/lshark/localization/lang_it.lua
lua/lshark/localization/lang_pl.lua
lua/lshark/localization/lang_ru.lua
lua/lshark/localization/lang_tr.lua
lua/lshark/localization/lang_cn.lua