KeyValues.ImportFromFile is failing (returning false) on the Linux servers for a server community that I am currently helping out with. The function worked fine before their Windows-to-Linux migration.
So, my first thought was that this was a file permissions error. However,
PHP Code:
char sConfigFullPath[PLATFORM_MAX_PATH];
BuildPath(Path_SM, sConfigFullPath, sizeof(sConfigFullPath), "configs/moreVoiceCommands/Scout.txt");
File file = OpenFile(sConfigFullPath, "r");
This works perfectly. Sourcemod is able to access the file, leading me to believe that this is not an issue with file perms.
Anyone have any ideas?
Attached is one of the files that is failing to import.