Go to file
Asher Baker fcafd0784c
Workaround CS:GO Stringtable bug (#1046)
The cause of the infamous "Index error writing string table baseline"
error appears to be a timing issue between the engine's network message
processing, the stringtable encoding, and command processing when adding
stringtable entries in OnConfigsExecuted.

When the first client connects the map is re-loaded which causes a full
refresh, the game's stringtable entries are added at tick 65, the client
connection is registered at tick 66, and stringtable entries added in
OnConfigsExecuted are registered as being added in tick 67. The engine
later calls WriteBaselines with the client's signon tick, and neglects
to encode the SM added entries as it considers them from the future.

To avoid this, always pass INT_MAX as the current tick when encoding
the baseline, so all stringtable entries are included regardless of when
they were added. Tested on both Windows and Linux.
2019-07-19 09:13:34 +01:00
.github Create FUNDING.yml 2019-05-27 17:15:04 +01:00
bridge/include Burninate IDataPack (#864) 2018-08-13 23:03:48 +01:00
configs Allow setting multiple chat trigger characters (PR #449, bug 4341, bug 5668) 2016-10-04 16:34:42 +01:00
core Pad plugin ID based on the total plugin count (#1027) 2019-06-17 01:06:03 +01:00
editor Added AMXX Pawn geshi generation script. 2010-08-23 13:53:44 -04:00
extensions Workaround CS:GO Stringtable bug (#1046) 2019-07-19 09:13:34 +01:00
gamedata Workaround CS:GO Stringtable bug (#1046) 2019-07-19 09:13:34 +01:00
licenses Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00
loader Revert "Remove arch loops from build scripts. (#889)" 2018-10-04 17:59:40 +00:00
plugins Update TF2_IgnitePlayer to support setting duration of fire (#1038) 2019-07-05 22:37:25 +01:00
public Fix Miscellaneous Regressions and UBs (#1022) 2019-05-28 18:04:08 -07:00
sourcepawn@4cba235b61 Update SourcePawn to 4cba235. 2019-05-11 13:53:09 -07:00
tools Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00
translations Add internationalization to basechat and fix CS:GO colours (#674) 2017-12-30 12:25:32 -08:00
versionlib 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
.arcconfig Add a .arcconfig file so that arc works 2013-10-15 22:57:59 +01:00
.gitignore Update to the latest SourcePawn revision. 2015-08-18 09:51:24 -07:00
.gitmodules Use upstream SourcePawn as a submodule. 2015-03-15 16:38:38 -07:00
.travis.yml NPOTB: Enable cstrike builds w/ Travis-CI. (#1014) 2019-05-14 11:38:20 -07:00
AMBuildScript Fix GCC 9 Builds (#1024) 2019-05-28 17:57:40 -07:00
changelog.txt Triggering a build. 2011-04-13 19:05:41 -05:00
configure.py 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
product.version Roll version. >_> 2017-12-18 20:39:57 -05:00
pushbuild.txt Trigger build for hl2sdk-csgo update. 2019-03-28 20:00:20 -04:00
README.md Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.