SRL Archive - S.M.A.R.T.

[Suggestion] mouse cursor out of SMART window & re-sizable screen support


riwu

2012-06-06 23:25:55

I've noticed that when u are botting, the simulated mouse cursor (or the actual mouse pointer if using client to bot) will ALWAYS be within the RS game window. (i.e. it never ever goes outside of our targeted window)

This is very un-human as legit players often multitask (alt tab to other windows etc) when doing afkable activities. Even for players using multiple computers/playing RS while doing other real life activities (eg. watching TV), their mouse cursor may still go out of RS client at times (like when unintentionally moving the mouse too far off–unless they are on fullscreen mode). Im not an expert at this so im just wondering if its technically possible for the simulated mouse to go out of RS game screen (or maybe move it to the boundary then make it disappear–acting as if it went out of window).

Another suggestion is to make SMART supporting re-sizable mode (instead of just the fixed screen mode), the benefits of that would be that in some activities (eg. livid farm) a bigger screen size would make scripting/botting easier (directly clicking on something instead of having to walk there first) and perhaps also make us less suspicious to Jagex (most legits play in re-sizable/fullscreen mode). This would inevitably results scripts requiring different screen size but it wouldn't be too hard for the scripter to just mention what screen size his script supports.

YoHoJo

2012-06-06 23:45:34

I THINk when you see a hint of the mouse at the very top left of the screen, the mouse is at -1,-1 meaning 'off of the rs client' which is part of what you want.

As for losing focus I'm not sure if Jagex can detect this or not, but if we DID lose focus, that means the entire script would need to pause/stop until you wanted focus again, because you can't loose focus and keep interacting with rs too. So if there even is a function to lose focus, it would be up to the scripters to implement this per script as they wanted.

As for screen size, that is not going to happen.
SRL is made for fixed screen, highest brightness, if we use any other size all(many) of the core SRL functions would need to be changed to adjust for it.

Good suggestions for the mouse off screen/focus though.

Kyle Undefined

2012-06-07 01:28:57

I hate realizable and full screen mode on RS, I prefer fixed mode and so do many legits. I doubt the support for anything else will happen.

There are mouse functions for moving off the screen, but aimed at Antiban. I think the issue you're seeing is that the script doesn't have a solid Antiban procedure.

BenLand100

2012-06-07 01:47:40

From: riwu
I've noticed that when u are botting, the simulated mouse cursor (or the actual mouse pointer if using client to bot) will ALWAYS be within the RS game window. (i.e. it never ever goes outside of our targeted window)

This is very un-human as legit players often multitask (alt tab to other windows etc) when doing afkable activities. Even for players using multiple computers/playing RS while doing other real life activities (eg. watching TV), their mouse cursor may still go out of RS client at times (like when unintentionally moving the mouse too far off–unless they are on fullscreen mode). Im not an expert at this so im just wondering if its technically possible for the simulated mouse to go out of RS game screen (or maybe move it to the boundary then make it disappear–acting as if it went out of window).

Another suggestion is to make SMART supporting re-sizable mode (instead of just the fixed screen mode), the benefits of that would be that in some activities (eg. livid farm) a bigger screen size would make scripting/botting easier (directly clicking on something instead of having to walk there first) and perhaps also make us less suspicious to Jagex (most legits play in re-sizable/fullscreen mode). This would inevitably results scripts requiring different screen size but it wouldn't be too hard for the scripter to just mention what screen size his script supports.


Most of this is already implemented. If you move the mouse outside the bounds of the screen, SMART simulates the mouse leaving the screen. In addition, if you tell it to click outside the screen, SMART simulates loosing focus. Just because you can see it at the edge does not mean it didn't leave the screen. Making it resizable, however, is a very bad idea. The memory buffer where the colors are stored is a fixed size, and Simba has to always know what size it is in order to use it properly. There is no good way to dynamically change that.