Ray Posted November 19, 2015 Share Posted November 19, 2015 Hi Screenshots - It takes player screenshot and auto uploads to server FTP. Admin can verify if player is cheating or not through it. Another addition to Anti cheat. (Since 0.9.0)I did the command for this and tested it, but I cannot find the screenshot. Have I missed something? Any suggestions?Thanks Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted November 19, 2015 Management Share Posted November 19, 2015 You need this cvar to be set:http://mygamingtalk.com/wiki/Silent_Mod_Server_Cvar#g_ssDirectory Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 (edited) Ah yes, forgot about the cvars of course.. Anyway all should be ok now, but still the screenshot-folder is empty after I've taken the screenshot. Shot uploaded OK according to console in game... http://www.upload.ee/image/5341474/Print_shot.jpg Edited November 19, 2015 by Ray Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted November 19, 2015 Management Share Posted November 19, 2015 Please read the g_cheatLog entries about the screenshot if there is something about it. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 (edited) Didn't find anything there either..Only thing I can think of now, that is the exec command line correct? Cause somewhere those screenshots are going. exec = takess "[1?]" [i] Edited November 19, 2015 by Ray Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted November 19, 2015 Management Share Posted November 19, 2015 There is always prints in the cheat log when it takes screenshots. Your own screenshot displays it reports to you so the command should be fine and also that there certainly should be something about it in the cheat log. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 The only thing if found in the cheat log was this: 2015-11-19 09:15:20 SCR: Attempting to take a screenshot from player (13) - (^1-|^0D^1|-^9Ray) (****). Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted November 19, 2015 Management Share Posted November 19, 2015 What is your screen resolution? EDIT:Well, it reports it to be successful so it's probably not that. Can you join here: "/connect himalia.fi" so I can take one from you as well. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 I'll connect to your server now. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 Ok, I found this in server log: 9:15:47 Cannot open file for writing: silent/silent/screenshots/2015-11-19-091547_-D-Ray_DBB69F70.jpg Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted November 19, 2015 Management Share Posted November 19, 2015 If that is not the directory you have in your cvar, you possibly need to restart your server. I don't remember if there is that kind of requirement for changing the screenshots directory cvar. Or you can create the directory named "screenshots", which is the default value for the g_ssDirectory cvar. Another thing I notice is that you have silent twice in the path. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 Server restarted and the path is now: /1/silent/"screenshots" but still I can't see the jpeg in screenshots folder. It still gives me the same error message in server.log and there it also shows twice the silent path. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted November 19, 2015 Management Share Posted November 19, 2015 well, I can see the quotes in the directory path, is that a typo or is it a real path? Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 It was just a typo.. Quote Link to comment Share on other sites More sharing options...
Subscriber alex Posted November 19, 2015 Subscriber Share Posted November 19, 2015 Hello, Here how I do. Hope it helps: Add set g_ssDirectory "screenshots" in your server's config (<< It's relative to fs_homepath/silent)Create the /silent/screenshot directory manuallyExec your config (or restart your server)To get a screenshot, do "takess x"(x = player's slot) Quote Link to comment Share on other sites More sharing options...
Subscriber alex Posted November 19, 2015 Subscriber Share Posted November 19, 2015 Oh well nevermind! Glad you did it. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 (edited) I think I've double checked everything now and yet the screenshot - folder shows empty. Somehow It doesn't open the jpeg into the folder. Edited November 19, 2015 by Ray Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted November 19, 2015 Management Share Posted November 19, 2015 Is your fs_homePath cvar correctly set on your server? Quote Link to comment Share on other sites More sharing options...
Subscriber alex Posted November 19, 2015 Subscriber Share Posted November 19, 2015 Make sure you're attempting to get a screenshot from a player in a team. It won't work for spectators. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted November 19, 2015 Management Share Posted November 19, 2015 I think I've double checked everything now and yet the screenshot - folder shows empty. Somehow It doesn't open the jpeg into the folder.It has problems with creating the file so it's something with the directory or the configuration.First things first, check the permissions, please. Then the configuration.Try to manually create the file it fails for. Copy & paste the file name and try manual test. Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 This issue is now solved and fixed. Thank you for your time and advice. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted November 19, 2015 Management Share Posted November 19, 2015 Could you share what was the problem, please? Quote Link to comment Share on other sites More sharing options...
Ray Posted November 19, 2015 Author Share Posted November 19, 2015 I have misspelled the word screenshot in server.cfg and folder as screenshotS.So, my own mistake for not beeing thourough enoug. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted November 19, 2015 Management Share Posted November 19, 2015 Oh Thanks. Ray 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.