SRL Archive - Research & Development Lounge

SMART - Why No Agent?


ollie

2011-05-05 21:22:56

Why is SMART/Simba still using an application, as the nature of SRL why are you using a client which is same detectability as nexus or rsbot when you could be directly using an agent to bot in firefox/chrome/ie.

If someone can provide me with the code for the java->scar, or if they want to do it themselves then I will implement and send them a java agent to grab reflection information client whilst loading it up in a browser.

I'm only thinking of your characters safety.

MylesMadness

2011-05-05 21:51:46

I remember Mopar saying somthing about this not long ago, but I don't think anything was ever done.

And by "the code for the java->scar" do you mean https://github.com/BenLand100/SMART ?

TomTuff

2011-05-05 22:45:09

So you mean Reflection without a client?

Iamadam

2011-05-05 23:13:42

Using the browser as client. ^

Sex

2011-05-05 23:39:33

I'd rather have our own. I think Firefox takes more resources anyways.

TRiLeZ

2011-05-05 23:50:03

From: Sex
I'd rather have our own. I think Firefox takes more resources anyways.


Using an agent would allow the people who use the official client to reflect data from the client, like SMART.

You could still use SMART if you wanted to.

Sex

2011-05-05 23:54:19

From: TRiLeZ
Using an agent would allow the people who use the official client to reflect data from the client, like SMART.

You could still use SMART if you wanted to.

Afaik the official client is the shittiest thing ever. Using an IE component or something. That was a while ago though..

TRiLeZ

2011-05-06 01:26:34

From: Sex
Afaik the official client is the shittiest thing ever. Using an IE component or something. That was a while ago though..


I'm talking about botting from runescape.com/game.ws, in your browser…

KingKong

2011-05-06 01:47:21

From: TRiLeZ
I'm talking about botting from runescape.com/game.ws, in your browser…


But that takes more memory :(

Flight

2011-05-06 01:53:11

Takes memory, but it's as safe as botting gets.

superuser

2011-05-06 01:53:36

From: KingKong
But that takes more memory :(


Irrelevant, I would say. Who cares, if it takes say 200mb more, when an average user nowadays has just about 4gb for disposal.

mormonman

2011-05-06 02:23:57

The reason why this has never been expanded is that nobody wants to render their computer unusable while they are botting. The point of botting is to let you advance in runescape while doing something else(most of the time on the computer).

Home

2011-05-06 02:27:34

So do ollies mean, that it is possible to grab / use Reflection in browser?
Correct me if I'm wrong.

~Home

Sex

2011-05-06 02:33:14

From: mormonman
The reason why this has never been expanded is that nobody wants to render their computer unusable while they are botting. The point of botting is to let you advance in runescape while doing something else(most of the time on the computer).
This.

Iamadam

2011-05-06 03:27:21

You can hijack mouse & keyboard using a javaagent too…

i luffs yeww

2011-05-06 03:57:13

Or xinput on linux. :3

Markus

2011-05-06 07:21:59

Reflection uses a few methods of SMART, the source of those methods can be found at https://github.com/BenLand100/SMART/blob/master/src/Reflection.cpp (there are 38).
Java <–> Scar Simba can be done in many ways. Shared memory is one of them (used by Cherokee, can't find the source right now but I'm sure you can find something at MITB), and is pretty easy for the user. Simba doesn't support it though and it's Windows only and requires JNI.
You could also do like SMART does, using a part in C(++)/Pascal/Fortran/Whatever which does some callbacks to the JRE to get the information. This also requires architecture-dependent files.
The easiest way is probably to use regular sockets, so you can connect to like 127.0.0.1:59400 (or something like that) and send/receive whatever you want to know.

Echo_

2011-05-06 08:31:33

From: Markus
Shared memory is one of them (used by Cherokee, can't find the source right now but I'm sure you can find something at MITB), and is pretty easy for the user.


Here's the link if anybody wants to take a look:
http://sourceforge.net/projects/cherokeeengine/

I support this, Ollie knows what he's talking about when it comes to bot clients.

BenLand100

2011-05-14 00:04:10

From: ollie
Why is SMART/Simba still using an application, as the nature of SRL why are you using a client which is same detectability as nexus or rsbot when you could be directly using an agent to bot in firefox/chrome/ie.

The simple answer is speed and noob-friendlieness. There are only two viable options for transferring the image data in a fast and effective way 1) shared memory 2) run in same process. Pipes, sockets, etc. just don't work well for transmitting the live client image at a reasonable framerate without raping the CPU, and (along with shared memory) you have the overhead of "check for command, execute command, check for command" as opposed to pure function calls that only are available while running in the same process. Shared memory and other methods also have the epic downside of requiring the user to set something up (i.e. pair the client with the controller) which was just too much for noobs to handle. I know, it's trivial, but it's more than 85% of users want to deal with. Therefore, SMART runs in the same process as the controller so that there is no shared memory tunnel to set up. This has it's downsides too, but its shit easy to get people to implement in their scripts, and actually less setup than was required than with the old "drag the target to the runescape client" method.

tl;dr there are many ways to accomplish what SMART does, but imho the way I did it with SMART is the best way to accomplish the goal of making Runescape/Simba run in the background. That being said, reflection is a side item to SMART. The main purpose is fior running in the background with Simba/Scar.

sm0k3

2011-05-17 12:16:34

i support this ..

at the end of the day . anyone thats used my Hiker script
( WebWalker made for when your playing legit - helper Script)
will know its a pain to use smart and have to enable disable to do what you want
or disable minimise maximise - or use SMARTchat - to talk
and all becuse i use reflection in it ..

now if we could use the normal client - and still have Reflection working

no more clicking disable … lots more gaming….

i see a lot of reasons why this would be usefull even if it was optional

LolL

2011-05-17 13:07:39

Go ahead, waste memory on running through a browser when the bans on Villavu are very rare, but make sure you leave SMART so that my slow computer can run bots properly.

From: sm0k3
i support this ..

at the end of the day . anyone thats used my Hiker script
( WebWalker made for when your playing legit - helper Script)
will know its a pain to use smart and have to enable disable to do what you want
or disable minimise maximise - or use SMARTchat - to talk
and all becuse i use reflection in it ..

now if we could use the normal client - and still have Reflection working

no more clicking disable … lots more gaming….

i see a lot of reasons why this would be usefull even if it was optional
That can be fixed in SMART, I'll try improving SMART this weekend cause it needs work son.

sm0k3

2011-05-17 13:11:06

it dosent have to be a browser .. anything that you can put a applet into would be usefull .
there are many lightweight browsers out there aswell to my knowlage