Jump to content

Simulate Alt-Tab ?


avid

Recommended Posts

Hey all, getting back into scripting after a 3year break. Was wondering if functionality for simulating Alt-Tab had been added to this bot client?

(As in, when I'm playing for real, I alt-tab ALL the time, when  I alt-tab back, my mouse is often in a different location. Not sure what goes on behind the scenes in the client when you really alt tab, does the client lose track of mouse pointer?) Just would like to implement this into some anti-ban I'm working on, thanks.

Link to comment
Share on other sites

The bot has its own virtual mouse, which is why you're able to bot and still continue to use your mouse normally for other stuff.

This virtual mouse appears to be present only when you're running a script. If user input is enabled and you alt-tab into the bot client, the virtual mouse will be shifted to where your real mouse is.

 

  • Like 1
Link to comment
Share on other sites

I understand that @liverare, what I'm getting at/trying to ask: Is there a way to make the virtual mouse simulate 'alt-tab' behavior? Like what happens in a legit client when you alt-tab? I've seen some scripts move the cursor to the topleft of the screen, which seems very fishy to me.

Thanks for reply.

Link to comment
Share on other sites

27 minutes ago, avid said:

I understand that @liverare, what I'm getting at/trying to ask: Is there a way to make the virtual mouse simulate 'alt-tab' behavior? Like what happens in a legit client when you alt-tab? I've seen some scripts move the cursor to the topleft of the screen, which seems very fishy to me.

Thanks for reply.

 

Surely nothing happens when you alt-tab out of the client. For example if your cursor is over a tree, when you alt-tab out and start doing other things, your cursor will still be on the tree. 

When you alt tab back in the cursor might move to wherever your mouse is, not sure.

Really though, what you should be doing is purchasing a tin foil hat and wrapping your router in cling film to disrupt the evil Jagex signals.

  • Like 7
Link to comment
Share on other sites

On 11/13/2017 at 8:59 AM, Explv said:

 

Surely nothing happens when you alt-tab out of the client. For example if your cursor is over a tree, when you alt-tab out and start doing other things, your cursor will still be on the tree. 

When you alt tab back in the cursor might move to wherever your mouse is, not sure.

Really though, what you should be doing is purchasing a tin foil hat and wrapping your router in cling film to disrupt the evil Jagex signals.

Tin foil is to hard to find these days. I stick with aluminum.

Thank you @Czar! I thought there might be something along those lines going on behind the scenes. Obviously scripts /osbot doesn't make use of that packet though?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...