Little problem, hope you can help
Our server is on win32, runs Mani, eventscripts and sourcemod. We run restrict to balance AWP usage - there's an eventscript i've written that checks team scores and restricts AWP when the score difference is over 4, and that es uses sm_restrict to do it's job
The restriction works fine until after an unknown number of maps, and we get an error in the logs and everything stops working (including our little mapvote plugin)
Code:
L 08/26/2007 - 12:29:53: SourceMod error session started
L 08/26/2007 - 12:29:53: Info (map "de_dust") (file "errors_20070826.log")
L 08/26/2007 - 12:29:54: [SM] Native "FileToKeyValues" reported: Invalid key value handle 0 (error 4)
L 08/26/2007 - 12:29:54: [SM] Displaying call stack trace for plugin "restrict.smx":
L 08/26/2007 - 12:29:54: [SM] [0] Line 80, restrict/restrict.keyvars.sp::r_LoadTeamGlobalRestrictions()
L 08/26/2007 - 12:29:54: [SM] [1] Line 79, restrict/restrict.privatefunctions.sp::LoadRestrictSettings()
L 08/26/2007 - 12:29:54: [SM] [2] Line 34, restrict/restrict.privatefunctions.sp::LoadRestrictSettingsAll()
L 08/26/2007 - 12:29:54: [SM] [3] Line 42, restrict/restrict.config.sp::OnConfigsExecuted()
L 08/26/2007 - 12:41:24: Error log file session closed.
L 08/26/2007 - 12:41:25: SourceMod error session started
L 08/26/2007 - 12:41:25: Info (map "de_strata") (file "errors_20070826.log")
L 08/26/2007 - 12:41:26: [SM] Native "SMC_SetParseEnd" reported: Invalid SMC Parse Handle 0 (error 4)
L 08/26/2007 - 12:41:26: [SM] Displaying call stack trace for plugin "restrict.smx":
L 08/26/2007 - 12:41:26: [SM] [0] Line 53, restrict/restrict.config.sp::ReadConfig()
L 08/26/2007 - 12:41:26: [SM] [1] Line 32, restrict/restrict.config.sp::OnConfigsExecuted()
L 08/26/2007 - 12:52:56: Error log file session closed.
L 08/26/2007 - 12:52:58: SourceMod error session started
L 08/26/2007 - 12:52:58: Info (map "zapdm_porcarius_d") (file "errors_20070826.log")
L 08/26/2007 - 12:52:58: [SM] Native "SMC_SetParseEnd" reported: Invalid SMC Parse Handle 0 (error 4)
L 08/26/2007 - 12:52:58: [SM] Displaying call stack trace for plugin "restrict.smx":
L 08/26/2007 - 12:52:58: [SM] [0] Line 53, restrict/restrict.config.sp::ReadConfig()
L 08/26/2007 - 12:52:58: [SM] [1] Line 32, restrict/restrict.config.sp::OnConfigsExecuted()
L 08/26/2007 - 13:04:28: Error log file session closed.
I'm guessing this is where the plugin loads the files within \data\restrictitem. These files haven't been modified at all, nor has the config file for restrict.
We're running SM version 1.0.0.1373 with:
Extensions...
[01] Tempents Extension (1.0.0.5): Adds ITempEnts to SourceMod
[02] Hacks Extension (1.3.0.0): Hacks extension to help developers
[03] SQLite (1.0.0.1336): SQLite Driver
Plugins...
01 "Hurt Sounds and Shoot-The-Nade" (1.0) by [P=I*E] Jernau
02 "PIE Vote" (2.02.02) by [P=I*E] Jernau
03 "Restrict Item" (1.1.4.0) by Shane A. ^BuGs^ Froebel
Hope you can help