So from what i tested this plugin does not support force playermodels mapbased. For example if i want to add the separatists faction on dust2, the pirates faction on mirage (to be defaulted). It will be cool if u manage to add that
Hi, what should i do if i'm using sm downloader/precacher? Is it ok to keep the files in sm downloader ini files and leave skinchooser download ini file blank? Or remove data from sm downloader ini files and put to skinchooser ini files? Thanks for answer.
Here, try this modified version 2.7 from first post. Modified lines 266, 278, & 1001
if (FileExists(path , true))
/** * Checks if a file exists. * * @param path Path to the file. * @param use_valve_fs If true, the Valve file system will be used instead. * This can be used to check for the existance of files * inside GCFs or the game cache, rather than solely files * that are on disk. * @return True if the file exists, false otherwise. */ native bool:FileExists(const String:path, bool:use_valve_fs=false);
Perhaps FileExists (with use_valve_fs true) being called with "// NONE" that you have in a couple of places in your skins.ini is causing the crash?
Use quickdiff.com to check the changes
So far what i found, it's probably better to put all the files to sm downloader/precacher download file instead of skinchooser downloads ini files. At least for me it works better.
Ok, but what i wanted to say is i had probably never so much hassle with any plugin before like with this. In compare with zombie:reloaded player skins management, in ZR is it a walkaround in paradise and this is quite nightmare. There is huge sensitivity for literally every extra character or empty space in config file, in other words, one more space somewhere and it does not work. Plus another important thing, I tried every version of this plugin (3.0, 5.1, 5.2, 5.3) and it keeps my linux server still crashing (Engine error: Host_Error: Bad string. I found one post with solution (there must not be empty admin sections) in this thread from
senior member "Old and Slow" from TX, but it did not help to me. Yep, windoze has no problem but in linux it's a pain to get it work for most people probably. Probably that's why this thread has over 300 pages..
At the end after some code rewrites i made this plugin work as expected, finally, but it took me a day and half to get it work as it should.
Version 2.7 now works in linux and mainly many thanks to "TnTSCS" sourcemod donor who made a decisive change to the code and it helped me a lot..