fistman001 0 Share Posted September 28, 2020 Has anyone been having this issue whereby the framerate of dreambot itself is low (i.e. screen does not refresh), but when you move your cursor out of the window itself and back again, it "refreshes"? The bot still runs normally, just that the interface/framerate is very choppy. Any help would be appreciated Link to comment Share on other sites More sharing options...
LordJashin32 54 Share Posted September 28, 2020 13 hours ago, fistman001 said: Has anyone been having this issue whereby the framerate of dreambot itself is low (i.e. screen does not refresh), but when you move your cursor out of the window itself and back again, it "refreshes"? The bot still runs normally, just that the interface/framerate is very choppy. Any help would be appreciated yeah I'd say I've seen similar. The reason for this is because whatever window is "Active" gets more priority when it comes to Screen redrawing. Just try to play multiple videos at once and you'll see a similar effect usually. Or animated images. In Windows API there is Active window and regular window. You can set the focus programmatically or through your mouse cursor. And what ever window is focused gets priority on drawing. For instance for my dreambot scripts I use Instance.getCanvas().requestFocus(); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.