Page 1 of 2 12 LastLast
Results 1 to 25 of 32

Thread: SMART - Why No Agent?

  1. #1
    Join Date
    Feb 2006
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Why No Agent?

    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.

  2. #2
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    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 ?

  3. #3
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    So you mean Reflection without a client?

  4. #4
    Join Date
    May 2006
    Location
    Australia
    Posts
    370
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Using the browser as client. ^
    ------
    Strong Holder
    Kill Goblins and Zombies in (ex) bot free zones. Loot & Bank. Stable: 1.2b

  5. #5
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'd rather have our own. I think Firefox takes more resources anyways.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  6. #6
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    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.

  7. #7
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by TRiLeZ View Post
    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..
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  8. #8
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    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...

  9. #9
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by TRiLeZ View Post
    I'm talking about botting from runescape.com/game.ws, in your browser...
    But that takes more memory

  10. #10
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

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

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  11. #11
    Join Date
    May 2007
    Posts
    526
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by KingKong View Post
    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.

  12. #12
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    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).

  13. #13
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

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

    ~Home

  14. #14
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    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.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  15. #15
    Join Date
    May 2006
    Location
    Australia
    Posts
    370
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can hijack mouse & keyboard using a javaagent too...
    ------
    Strong Holder
    Kill Goblins and Zombies in (ex) bot free zones. Loot & Bank. Stable: 1.2b

  16. #16
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Or xinput on linux. :3

  17. #17
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Reflection uses a few methods of SMART, the source of those methods can be found at https://github.com/BenLand100/SMART/...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.
    I made a new script, check it out!.

  18. #18
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    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.

  19. #19
    Join Date
    Feb 2006
    Location
    Berkeley, CA
    Posts
    1,837
    Mentioned
    52 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by ollie View Post
    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.

  20. #20
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    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

  21. #21
    Join Date
    Jun 2009
    Posts
    177
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

    Quote Originally Posted by sm0k3 View Post
    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.
    Last edited by LolL; 05-17-2011 at 05:11 PM.

  22. #22
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    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

  23. #23
    Join Date
    Feb 2006
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I noticed SMART is still a downloadable client you run, JaGeX's recent blog post states using any third party client will be a bannable offence

    I was looking at java agents again and for those who don't know they allow at runtime to attach to a running process, or when the applet initially loads through the settings in the deployment.properties file.

    It's important to know what java agents are, essentially they are a part of the `java.lang.instrument` framework which allows us to modify the byte code representation of the classes, we can inject / inspect / identify the applet code.

    So...

    The idea would be that we would inject the code we need to be able to interact with Simba into the applet. Has anyone had any luck with this approach before?

    references:

    http://dhruba.name/2010/02/07/creati...th-javaagents/
    http://www.tomsquest.com/blog/2014/0...-manipulation/
    http://stackoverflow.com/a/13032771/1755720

    Hope some of this information is useful to someone, I wish I was still knowledgeable about the runescape client to help.

  24. #24
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Pretty sure their recent post stated that 3rd party clients that modified the graphics would be bannable/they do ban for.

  25. #25
    Join Date
    Feb 2006
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    AFAIK it means using any third party client is distinguishable so they would ban anyone who uses one, if caught obviously.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •