Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Silent mouse clicks?
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-18-2009, 02:25 PM
Guru

BANNED
 
Join Date: Aug 2007
Location: Finland
Posts: 1,160
Default Silent mouse clicks?

Im creating a bot (not for rs) in VB.net but how do i make it so it clicks a position silent. Like so it wouldnt use my mouse? I know how to make it click positions but how to make it do it silent, like when the program is minimized it would still click the spot in the bot so the click wouldnt effect anythingf else.

I mean like rsbots click, it works even when the program is minimized etc. (yes i know its made in Java)
Reply With Quote
  #2  
Old 08-18-2009, 10:54 PM
Swan's Avatar
When They Cry...
Ex-Moderator
 
Join Date: Jan 2007
Location: Japan
Posts: 4,404
Default Re: Silent mouse clicks?

SendMessage most likely.
__________________
Quote:
[14:54:13] <&Filefragg> x9 is made of 5 glow in the dark gorilla dildos vibrating in unison.
[14:54:19] <%TDD> hot
[14:54:22] <+Aoi> Win
[14:54:23] <x9> I TOLD YOU NOT TO TELL ANYONE, DAMNIT
Reply With Quote
  #3  
Old 09-17-2009, 07:22 AM
Newcomer
 
Join Date: Sep 2009
Posts: 9
Default Re: Silent mouse clicks?

here i use this
Code:
  Public Declare Function PostMessage Lib "user32" Alias "PostMessageA" ( _
   ByVal hwnd As IntPtr, _
   ByVal wMsg As Int32, _
   ByVal wParam As Int32, _
   ByVal lParam As Int32) As Int32
    Public Declare Function WindowFromPoint Lib "user32" ( _
    ByVal stPoint As Point) As IntPtr
    Public Const WM_LBUTTONDOWN = &H201
    Public Const WM_LBUTTONUP = &H202
    Public Sub DoClick()
        Dim MyPoint As Point
        MyPoint.X = textbox1.text.Text
        MyPoint.Y = textbox2.text.Text
        Dim ptHwnd As IntPtr = WindowFromPoint(MyPoint)
        Dim retVal As Int32 = PostMessage(ptHwnd, WM_LBUTTONDOWN, 0, 0&)
        retVal = PostMessage(ptHwnd, WM_LBUTTONUP, 0, 0&)
    End Sub
i think ive seen you before are you planing on using this fir CB,CL ? if you are i can give you some other code that will work for that

Last edited by ipivb : 09-17-2009 at 07:23 AM.
Reply With Quote
  #4  
Old 09-24-2009, 06:11 PM
Guru

BANNED
 
Join Date: Aug 2007
Location: Finland
Posts: 1,160
Default Re: Silent mouse clicks?

Quote:
Originally Posted by ipivb View Post
here i use this
Code:
  Public Declare Function PostMessage Lib "user32" Alias "PostMessageA" ( _
   ByVal hwnd As IntPtr, _
   ByVal wMsg As Int32, _
   ByVal wParam As Int32, _
   ByVal lParam As Int32) As Int32
    Public Declare Function WindowFromPoint Lib "user32" ( _
    ByVal stPoint As Point) As IntPtr
    Public Const WM_LBUTTONDOWN = &H201
    Public Const WM_LBUTTONUP = &H202
    Public Sub DoClick()
        Dim MyPoint As Point
        MyPoint.X = textbox1.text.Text
        MyPoint.Y = textbox2.text.Text
        Dim ptHwnd As IntPtr = WindowFromPoint(MyPoint)
        Dim retVal As Int32 = PostMessage(ptHwnd, WM_LBUTTONDOWN, 0, 0&)
        retVal = PostMessage(ptHwnd, WM_LBUTTONUP, 0, 0&)
    End Sub
i think ive seen you before are you planing on using this fir CB,CL ? if you are i can give you some other code that will work for that
Not only for CB, but for other games Thanks for that, trying it out soon.


E: Doesnt work when program minimized, but thanks for it, as it doesnt use my own mouse

Last edited by I 1337 I : 09-24-2009 at 06:20 PM.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 12:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1