This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Save scores (fixed version)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AdRiAnIlloO
Member
Join Date: Jul 2015
Location: Spain
Old 09-08-2021 , 12:04   Re: Save scores (fixed version)
Reply With Quote #12

More fixed version (1.3.6). No compiler warnings. Requires SP 1.7+ compiler and multicolors to compile:

https://github.com/Adrianilloo/sm_savescores (Click Code > Download ZIP)

Changelog:
Quote:
- Fix possible memory corruption and/or crashes due to a missing DB locking on a SQL_FastQuery call
- Switch <colors> #include to <multicolors>
- Replace old Steam IDs usage with AuthId_Engine, as scores are temporary, so Steam ID format mismatches with existing data are mostly irrelevant
- Replace unsafe client index in score loading with UserID
- Delay score loading to ensure chat feedback gets displayed
- Add 'player_score' event trigger on score load for interested plugins
- Add Spanish localization. Remove BOM in the translations file.
- Refactor:
- Remove 'onlyCash' array, redundant since version 1.3.5
- Fix warnings under modern SP compiler
- Clean commented code
- Upgrade to transitional syntax. Thanks to @enderandrew.
Attaching release package as well. Extract attached ZIP to <mod_folder>/addons/sourcemod.
Attached Files
File Type: zip sm_savescores.zip (23.9 KB, 70 views)

Last edited by AdRiAnIlloO; 09-24-2021 at 18:28.
AdRiAnIlloO is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode