SRL Archive - News and General

[Smart/Scar] Silent Mouse : How ?


Nindustries

2008-11-23 07:18:30

Hello.
I would like to know how it is possible to code a "Silent Mouse" in Smart and Scar in Delphi ..
Delphi professionals say it is impossible, but as I look @ Scar ..

Plz help.

GrTz

Naum

2008-11-23 07:21:16

Silent Mouse is detectable so your answer would be no :)

botsrs

2008-11-23 07:42:15

Yeah, I wouldn't do it because, chances are, you'll get caught. Plus, in the newer versions, it was taken out so no one would keep it on by accident.

Nindustries

2008-11-23 07:43:51

So what does SMART uses then?

Naum

2008-11-23 07:47:59

Smart pastes the client of runescape onto a different window and uses to click on that, just like RSBot. Afaik

botsrs

2008-11-23 07:48:01

I'm not exactly sure, but it pops up as an unmodified client.

Edit: lol:D

Nindustries

2008-11-23 07:53:53

From: botsrs
I'm not exactly sure, but it pops up as an unmodified client.

Edit: lol:D

Not rly unmodified, becuz it injects to it to read the date

Nindustries

2008-11-23 08:00:11

From: NaumanAkhlaQ
Smart pastes the client of runescape onto a different window and uses to click on that, just like RSBot. Afaik

Where does it gets the client from ?

Naum

2008-11-23 08:13:00

Runescape :)

Nindustries

2008-11-23 08:15:51

From: NaumanAkhlaQ
Runescape :)

:D
So they rly download it and run it locally, or just paste the link or ?

JuKKa

2008-11-23 09:25:45

its java and c, or thats what i've heard. So get someone to do some java and ull get ur own silent mouse or whatever u want to call it.

Nindustries

2008-11-23 10:59:03

From: JuKKa
its java and c, or thats what i've heard. So get someone to do some java and ull get ur own silent mouse or whatever u want to call it.

K, i'll look for it. thnx.

And nice sig ;)
:f:

Method

2008-11-23 11:57:55

I'd say SMART either has its own Robot class instance that it uses to create a mouse and keyboard, or it overrides the RuneScape client's mouse, keyboard, and focus classes somehow (or maybe it's neither of those). You'd really have to ask Ben to see how he did it, but I wouldn't get your hopes up on him answering.

Nindustries

2008-11-23 13:29:01

From: Method
but I wouldn't get your hopes up on him answering.

Probably, but i'll try

botsrs

2008-11-23 13:33:31

Are you using this for your client?

Nindustries

2008-11-23 13:59:04

From: botsrs
Are you using this for your client?

probably

Bobarkinator

2008-11-24 22:01:16

SMART doesn't inject, it reflects. And most likely it sends sends mouse events to the applet.

Smexyprince

2008-11-24 23:29:41

Does he Mean Like Make a Script COmpatible with S.M.A.R.T?
Because I Need Help with That Also.

Kyle Undefined

2008-11-24 23:36:54

No, he means how to create a silent mouse like what Smart uses.

~Camo

mormonman

2008-11-24 23:37:45

From: Smexyprince
Does he Mean Like Make a Script COmpatible with S.M.A.R.T?
Because I Need Help with That Also.


lol no… he is making his own bot program… he is trying to make it so that you can minimize it.

EDIT: haha i beat you blumblebee!

Blumblebee

2008-11-24 23:37:50

From: Smexyprince
Does he Mean Like Make a Script COmpatible with S.M.A.R.T?
Because I Need Help with That Also.


you nailed it! thats exactly what hes talking about, and hes definatly not talking about something completely unrelated to that statement…

lordsaturn

2008-11-25 00:01:45

SMART essentially does use it's own form of silent mouse..

P1nky

2008-11-25 01:09:23

benland created it and really has the answer(the source), he wont give to no-one due to people taking his creation(which is right).

btw GL making your own bot lol.

n3ss3s

2008-11-25 01:45:26

http://bland.no-ip.org/index.php/SMART

NCDS

2008-11-25 04:10:34

From: blumblebee
you nailed it! thats exactly what hes talking about, and hes definatly not talking about something completely unrelated to that statement…


hahahaha Im sorry for off topic but that was funny lol

mastaraymond

2008-11-25 09:56:22

You'd probably need to go down to the hardware\driver level. That should in theory allow you to make a fake mouse.. But I don't think you want to go into it that deep ^_^.

EDIT: I think that the old Silent mouse used to sent mouse events trough the Win API Message queue.

gimillii1592

2008-11-25 10:20:00

In visual basic, you can add a web browser component, and input the HTML, and it loads RuneScape, but I don't know how S.M.A.R.T. starts it out on a certain world…probably something in java.
I have little understanding of S.M.A.R.T.

n3ss3s

2008-11-25 11:18:55

There is as tutorial about Loaders floating around at Mopar, but it's for RS when the URLs were the old way…

A G E N T

2008-11-25 18:13:22

The windows API (which includes sending mouse clicks, key presses, etc) can be accessed from a number of platforms, including C(#/++).
In C++, it's basically:

#include "windows.h"
#include <iostream>

using namespace std;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
HWND wind = FindWindow(NULL, "Untitled - Notepad");
cout << wind << endl;
SendMessage(wind, WM_RBUTTONDOWN, MK_RBUTTON, (20*0x010000)|20);
SendMessage(wind, WM_LBUTTONDOWN, MK_LBUTTON, (20*0x010000)|20);
return 0;
}

Will post links to tuts after dinner :)

Nindustries

2008-11-26 09:46:26

From: A G E N T 83
The windows API (which includes sending mouse clicks, key presses, etc) can be accessed from a number of platforms, including C(#/++).
In C++, it's basically:

#include "windows.h"
#include <iostream>

using namespace std;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
HWND wind = FindWindow(NULL, "Untitled - Notepad");
cout << wind << endl;
SendMessage(wind, WM_RBUTTONDOWN, MK_RBUTTON, (20*0x010000)|20);
SendMessage(wind, WM_LBUTTONDOWN, MK_LBUTTON, (20*0x010000)|20);
return 0;
}

Will post links to tuts after dinner :)

But wouldn't that move the Real mouse ?

mastaraymond

2008-11-26 10:16:07

From: A G E N T 83
The windows API (which includes sending mouse clicks, key presses, etc) can be accessed from a number of platforms, including C(#/++).
In C++, it's basically:

#include "windows.h"
#include <iostream>

using namespace std;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
HWND wind = FindWindow(NULL, "Untitled - Notepad");
cout << wind << endl;
SendMessage(wind, WM_RBUTTONDOWN, MK_RBUTTON, (20*0x010000)|20);
SendMessage(wind, WM_LBUTTONDOWN, MK_LBUTTON, (20*0x010000)|20);
return 0;
}

Will post links to tuts after dinner :)


But that doesn't really work on RS.. Atleast not the last time I tried.

A G E N T

2008-11-27 21:24:08

From: mastaraymond
But that doesn't really work on RS.. Atleast not the last time I tried.


It tends to work better if it's on a window that the program makes itself - so putting the RS applet in there might work.

Nindustries

2008-11-28 01:33:27

From: A G E N T 83
It tends to work better if it's on a window that the program makes itself - so putting the RS applet in there might work.

But it moves the real cursor ..