sourcemod/gamedata/sdktools.games
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
..
common.games.txt Fix for SDKTools TeamScore natives crash on CS:GO (bug 5319, r=psychonic). 2012-05-30 23:00:16 -04:00
engine.bgt.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.blade.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.contagion.txt Update Contagion tempents gamedata. (Fixes #642) 2017-07-28 14:12:28 -04:00
engine.csgo.txt Workaround CS:GO Stringtable bug (#1046) 2019-07-19 09:13:34 +01:00
engine.css.txt Remove some unused gamedata. 2016-05-11 15:16:48 -04:00
engine.darkm.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.ep1.txt Fix NeoTokyo SDKTools gamedata signatures. 2015-10-10 14:08:43 -04:00
engine.ep2.txt [ZPS] Update gamedata and engine migration (#782) 2018-03-19 19:19:01 -04:00
engine.ep2valve.txt Remove some unused gamedata. 2016-05-11 15:16:48 -04:00
engine.eye.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.insurgency.txt Update Insurgency FireOutput gamedata. 2018-05-05 11:35:06 -04:00
engine.l4d2.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.l4d.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.sdk2013.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
engine.swarm.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
game.ag2.txt Added gamedata support for Adreneline Gamer 2 (bug 5186). 2011-12-07 11:54:53 -05:00
game.alienswarm.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.aoc.txt Switched to using IServerTools in SDKTools where possible. (bug 4899, r=fyren). 2011-05-25 08:27:27 -04:00
game.bg2.txt Gamedata cleanup. 2014-12-23 08:18:40 -08:00
game.bms.txt Update BM:S gamedata. 2018-05-06 12:17:47 -04:00
game.cspromod.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.cstrike.txt Updated gamedata for CS:S, DoD:S, and HL2:DM. 2015-09-11 05:29:09 -07:00
game.dinodday.txt Update Dino D-Day gamedata. 2016-08-06 10:51:50 -04:00
game.dod.txt Updated gamedata for CS:S, DoD:S, and HL2:DM. 2015-09-11 05:29:09 -07:00
game.doi.txt Update Day of Infamy gamedata. 2017-03-27 15:42:56 -04:00
game.dystopia.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.empires.txt Update Empires gamedata (supercedes #599). 2017-03-26 11:04:52 -04:00
game.esmod.txt Added gamedata for Eternal Silence (bug 4880). 2011-05-25 20:50:51 -04:00
game.fas.txt Reverted FindEntityByClassname gamedata obliteration from 7aea1316eff7 per bug 4963. 2011-07-12 19:58:16 -04:00
game.ff.txt Fix Fortress Forever gamedata. 2015-03-27 21:29:06 -04:00
game.fof.txt Update Fistful of Frags gamedata. 2015-10-09 13:31:21 -04:00
game.gesource.txt Update GoldenEye:Source gamedata (bug 6529). 2016-09-11 14:51:04 -04:00
game.hidden.txt Add GiveAmmo gamedata for more games. 2014-02-10 11:46:10 -05:00
game.hl2ctf.txt Added missing DispatchKeyValues and SDKHooks gamedata for HL2CTF (bug 5114, r=psychonic). 2013-09-05 22:31:44 -04:00
game.hl2mp.txt Updated gamedata for CS:S, DoD:S, and HL2:DM. 2015-09-11 05:29:09 -07:00
game.insurgency.txt Gamedata cleanup. 2014-12-23 08:18:40 -08:00
game.ios.txt Update SDKTools gamedata for IOSoccer (fixes #833). 2018-06-22 16:30:22 -04:00
game.kz.txt Updated more KreedzClimbing gamedata. 2017-06-15 18:26:06 -04:00
game.left4dead2.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.modularcombat.txt Add gamedata for Modular Combat. 2015-06-10 10:02:34 -04:00
game.neotokyo.txt Fix Neotokyo SDKTools gamedata (bug 6453). 2015-12-30 16:11:22 -05:00
game.nmrih.txt [NMRiH] Gamedata update (Fixes #898) (#899) 2018-10-05 07:09:19 -04:00
game.nucleardawn.txt Add SetClientName gamedata. 2015-03-22 15:17:31 -04:00
game.obsidian.txt Gamedata cleanup. 2014-12-23 08:18:40 -08:00
game.pvkii.txt Update Function Offsets For PVKII (#808) 2018-05-01 20:28:54 -04:00
game.reactivedrop.txt Gamedata cleanup. 2017-05-26 10:21:24 -04:00
game.rnlbeta.txt Gamedata cleanup. 2014-12-23 08:18:40 -08:00
game.ship.txt Add a warning to not edit SM's gamedata files; switched to UNIX line endings (bug 3728, r=dvander) 2009-04-07 09:59:21 -07:00
game.sourceforts.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.synergy.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.tf.txt Gamedata for 2017-10-20 TF2 update. 2017-10-19 23:59:14 -04:00
game.zm.txt Add new and remove old gamerules gamedata for numerous games. 2014-12-23 11:04:05 -05:00
game.zpanic.txt Updated some offsets and all signatures for ZPS. (#839) 2018-06-27 17:15:27 -04:00
master.games.txt Update SDKTools gamedata for IOSoccer (fixes #833). 2018-06-22 16:30:22 -04:00