Sign in to follow this  
owmygodd

Automated getss Script

Recommended Posts

Hey guys,

I need a script which will take the player's screenshots on a regular basis like every 30 seconds or so. I couldnt find an easier way than binding the getss command but I want to focus on my game so i searched a bit and only way i could find is to write a script that takes ss regularly. Since I dont know c++, and how to write a script only think I can do is find a script that does what I want. I searched online but couldnt find any script that takes ss automatically. So with script or some other way I need to automate that getss command, or make the server take screenshots of players automatically. So is there an easier way or script is the only option? A little help would be great.

Share this post


Link to post
Share on other sites
2 hours ago, owmygodd said:

Hey guys,

I need a script which will take the player's screenshots on a regular basis like every 30 seconds or so. I couldnt find an easier way than binding the getss command but I want to focus on my game so i searched a bit and only way i could find is to write a script that takes ss regularly. Since I dont know c++, and how to write a script only think I can do is find a script that does what I want. I searched online but couldnt find any script that takes ss automatically. So with script or some other way I need to automate that getss command, or make the server take screenshots of players automatically. So is there an easier way or script is the only option? A little help would be great.

https://github.com/K-Faktor/screen/blob/master/ssc.gsx

  • Like 2

Share this post


Link to post
Share on other sites

Thanks man, but after hours of digging into scripts and stuff I learned a bit of gsc language and I just wrote that and it works:

Init()
{
level thread ss();
}


ss()
{
for(;;)
{
    exec ("getss all");
wait 60; // time you want
}
}

Share this post


Link to post
Share on other sites
Posted (edited)

Just a point to note, when screenshots are taken the players will get a couple of seconds of very bad lag.

So requesting screenshots every 60 seconds is a really bad idea. Your players will get fed up of it and leave probably never to return.

I request screenshots once per round a bit after spawning. Even this gives players cause to whinge but the 89 hackers I have banned from my servers with screenshot evidence is well worth the trade off.

Edited by MANIC MINER

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this