View Single Post
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-21-2016 , 06:06   Re: Module: CSX Extended 2.0.0.0
Reply With Quote #64

Just updated to CSX Extended v2.0.0.0. Let me explain what all I did ( at least what I remember I did ):
  1. Made the module Multi-threaded. Means that now, the Server no longer needs to wait for the Module each and every time a stats needs to be updated. This is useful in scenarios where you only want to push updates or for instance, the round ends and each of players need to get their ranks updated. In those high burst time cases, the module will asynchronously update stats without making the main thread, or in this case, the Server lag. Historically, this case was removed by limiting the maximum stats to only 3500. Now, with this upgrade, you can have as many stats entry in CSX as you want with negligible delay or jitter.
  2. Added compatibility with older CSX modules so that default plugins like "statsx" and "miscstats" don't start malfunctioning. Preserved the Binary format for "csstats.dat" file. Also, reverted the stats update during Name Change to a more suited option.
  3. Fixed a bug wherein, after a "csstats_reset", the Rank would fail to get updated.
  4. Completely made the "csstats_rank" and "csstats_rankbots" constant from the start of the Dedicated Server (HLDS). In other words, only after restarting the Server, can one change the Ranking System and/or option to add stats for bots. This limitation maybe lightened in future but not completely removed, to maintain sanity of Stats during LoadRank() Routine.
  5. Removed the so called "Binary Searching" mechanism as the overhead incurred in following the Algorithm was very high. Note that we are using linked lists and not pre-indexed arrays. In such scenarios, either we can do Memory Mapping over binary files or simply follow the Linear Search algorithm. The latter has been implemented as the Memory Mapping can too produce unnecessary overhead.

Last edited by souvikdas95; 04-21-2016 at 06:12.
souvikdas95 is offline