Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Screen.capture() returns copies of a single client.

Joined
Dec 1, 2016
Messages
59
When multiple runescape clients are open in the same RuneMate instance Screen.capture() returns the BufferedImage from one of the runescape clients regardless of which thread asked for the capture.

Using one RuneMate client with four RS clients:
XI5b6AC.jpg


Using four separate RuneMate clients with four RS clients:
Sa8NSrq.jpg


EDIT: There seems to be an additional related bug where the entire canvas is not captured, as seen here:
Em5eE0T.png
 
Last edited:
Joined
Dec 1, 2016
Messages
59
Naw, we are just trying to see the best way to walk you into the wilderness.

On a more serious note is there a possibility to add a mechanism to know if the capture should be successful or not? I.e not in OGL and not minimized.
 
Last edited:
Engineer
Joined
Jul 28, 2013
Messages
2,776
GraphicsMode I believe it's called. I need more information regarding what determines which client it gets the screenshot from. Can you do some testing?
 
Joined
Dec 1, 2016
Messages
59
Doing some tests I have some observations:
- Separate RuneMate clients will always give the correct RuneScape client regardless of query speed
- A single RuneMate client will consistently give the correct RuneScape client when queried at a rate of ~1/sec
- A single RuneMate client will almost always give a single RuneScape client when queried all at once (note it will occasionally do one of a client and the rest of another)
 
Top