Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Player screenshot


  • Please log in to reply
23 replies to this topic

#1
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

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 :)



#2
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3096 posts
216
On the road to fame
  • LocationPoland

You need this cvar to be set:

http://mygamingtalk....r#g_ssDirectory



#3
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

Ah yes, forgot about the cvars of course.. :blink:

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... :ph34r:

 

Print_shot.jpg


Edited by Ray, 19 November 2015 - 10:50 AM.


#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Please read the g_cheatLog entries about the screenshot if there is something about it.



#5
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

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 by Ray, 19 November 2015 - 12:42 PM.


#6
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

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.



#7
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

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) (****).


#8
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

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.



#9
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

I'll connect to your server now. :)



#10
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

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


#11
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

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.



#12
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

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.



#13
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3096 posts
216
On the road to fame
  • LocationPoland

well, I can see the quotes in the directory path, is that a typo or is it a real path?



#14
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

It was just a typo.. :ph34r:



#15
OFFLINE   alex

alex

    Regular Member

  • Subscriber
  • PipPipPip
  • 63 posts
12
A step in the right direction
  • LocationFrance

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 manually
  • Exec your config (or restart your server)

To get a screenshot, do "takess x"

(x = player's slot)



#16
OFFLINE   alex

alex

    Regular Member

  • Subscriber
  • PipPipPip
  • 63 posts
12
A step in the right direction
  • LocationFrance

Oh well nevermind! Glad you did it.



#17
OFFLINE   Ray

Ray

    Member

  • Members
  • PipPip
  • 48 posts
5
A step in the right direction
  • LocationFinland

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 by Ray, 19 November 2015 - 03:48 PM.


#18
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Is your fs_homePath cvar correctly set on your server?



#19
OFFLINE   alex

alex

    Regular Member

  • Subscriber
  • PipPipPip
  • 63 posts
12
A step in the right direction
  • LocationFrance

Make sure you're attempting to get a screenshot from a player in a team. It won't work for spectators.



#20
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3096 posts
216
On the road to fame
  • LocationPoland

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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users