Hello. I was trying to make otclient automatically take screenshots when you level up,
I managed to do everything and tested it, right now I just made it type "Level up" in default chat when the character levels up since there doesn't seem to be a function to take a screenshot of the whole client.
I did find this function
void ThingType::exportImage(std::string fileName)
but it seems to be made to print out different sprites only because of "ThingType" and not the whole client.
So is there some library or something for Lua that I can use to be able to capture screenshots?
I managed to do everything and tested it, right now I just made it type "Level up" in default chat when the character levels up since there doesn't seem to be a function to take a screenshot of the whole client.
I did find this function
void ThingType::exportImage(std::string fileName)
but it seems to be made to print out different sprites only because of "ThingType" and not the whole client.
So is there some library or something for Lua that I can use to be able to capture screenshots?