Posts: 22
Threads: 4
Joined: Feb 2011
Thanks: 0
Given 1 thank(s) in 1 post(s)
is there anyway to take a screenshot via a function call?
My idea was to get a list of playser and call a screenshot function via them and save the images.
Posts: 38
Threads: 7
Joined: Feb 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
huh? Not sure what you mean, but are you talking about getting a screenshot of each player to be saved sever side? That's impossible. It would be possible however to let players use a command ingame to upload images from a screenshot folder. If you just want to be able to save screenshots in-game without manually using printscrn, opening up paint and copy&savnig the image, then you would require a .dll that can handle the calls to and from the OS for capturing the current screen. Either way there isn't anything in Lua that can do it without some sort of .dll.
Posts: 22
Threads: 4
Joined: Feb 2011
Thanks: 0
Given 1 thank(s) in 1 post(s)
Maybe, geuse ill be building a minecraft screenshot bot in C++
Posts: 38
Threads: 7
Joined: Feb 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
lol. Are you trying to make some sort of surveillance mod? You are looking at some hard coding just to do something so simplistic. The easiest way is probably to teleport yourself to each player and take a screenshot. Which is unreliable and probably stupid, lol. Won't you need client hooks to get the current frame of the minecraft window? Maybe some way to get a clientside mod to work together with a created MCServer plugin to accomplish your goal.
Posts: 22
Threads: 4
Joined: Feb 2011
Thanks: 0
Given 1 thank(s) in 1 post(s)
Yea thats what i was thinking some kind of simple Bot to get a list of players on the server, Teleport to them get a screenshot, then upload.
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
What's the use of screenshots anyway? You want to know what texture packs they are using? Impossible.