Quote:
Originally Posted by samek4z
L 05/05/2022 - 19:54:50: [SM] Exception reported: Invalid JSON in line 1, column 2006: '}' expected near end of file
L 05/05/2022 - 19:54:50: [SM] Blaming: eitems.smx
L 05/05/2022 - 19:54:50: [SM] Call stack trace:
L 05/05/2022 - 19:54:50: [SM] [0] HTTPResponse.Data.get
L 05/05/2022 - 19:54:50: [SM] [1] Line 62, e:\SourceMod\GitHub\eItems\scripting\files\pa rse.sp: arseItemsDownloaded
|
Windows error, fix:
PHP Code:
[SM] Exception reported: Invalid JSON in line
This happens mostly only for Windows users. Windows have an issue with HTTP/2 requests. Set UseLocal to true and upload selected language file (items_XX.json) to data folder.
Go to the
eItems.json file and change the
UseLocal to
true.
Code:
{
"Language": "en",
"UseLocal": true,
"ForceDisableHibernation": false,
"DownloadSprays": false
}