Making the client take a screenshot of the tab?
Discussion in 'Rust Development' started by Sauron 2, May 26, 2016.
-
Wulf Community Admin
You aren't able to make the client take a screenshot.
-
Only thing you could do using oxide mod would be to make a mod that stores there inventory data to a file so you could look at the text or load that onto you so you then have what they have. the second option would allow you to then take a screenshot of your character wearing what they have.
You could look at something like KITS mod to see how to do that. -
Clear.Is it possible to get his clothes on than he's wearing?
-
Wulf Community Admin
Sure, you'd need to dig around in the source a bit to see how to do it, but that is possible. There may be a few plugins that you can look at code for that too. -
OK.thanks for answering I went to look for plug-ins.If you know such a plugin write Pls
-
Wulf Community Admin
Any plugin that deals with checking their containerWear would be of use. You'd have to get that, then check what items are in there. -
On legacy there is a Screenshot Request | Oxide For experimental there is such a function (rust.RunClientCommand(target, "deathscreen.reason \"%s\"" % self.Config["MESSAGE"])?
-
Wulf Community Admin
You can show any custom GUI you want in Rust, but that isn't going to make them take a screenshot. -
There must be some way.We can teleport players,can give the opportunity to destroy the items.To take a screenshot of the screen too must be some way to take a screenshot of the screen of the player and keep.
Simple I don't want to load the server, displaying clothes players in the text. -
Wulf Community Admin
There's no way to make the client take a screenshot, there's no way to tell the client to do that and there's no way to get that even if there was. -
Okay I will not argue.
Last question is it possible when entering the Chat command /f12 , pressed the F12 button
That is to get click the player -
Wulf Community Admin
It's been discussed before in a few threads, there's just no communication between the client to handle that. You're welcome to look in the DLL though if you don't believe me.
For player input, you can't change or control any input that isn't sent to the server normally, so if F12 is not a key that is used to send anything to the server, then you can't really control it. -
Ill give you some info, The reason why we can not do screenshots remotely is that has to interact with areas of the OS that the script would not have access to, to my knowledge you also cant "simulate" a button press via a mod either as that means mods could take control of clients and that is another permission issue.
The reason why you can do what can be done as of now is because it is programmed into the game/oxide to allow access to that, but you can only do so much before something is classed as a risk.
I hope that is a simple explanation about the limitation of mods.
