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

Thread: How to use simba on browser

  1. #1
    Join Date
    Jul 2014
    Posts
    86
    Mentioned
    3 Post(s)
    Quoted
    37 Post(s)

    Default How to use simba on browser

    Can anyone explain how to use simba on browser , trying to use Ashaman88's livid farm script

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    It's already possible using just Simba alone.. If you load RS in the browser and switch to Direct-X mode, you can drag the green cross-hairs to the window and run the following:

    Simba Code:
    procedure Show(Bmp: Integer);
    var
      W, H: Integer;
    begin
      GetBitmapSize(Bmp, W, H);
      DisplayDebugImgWindow(W, H);
      DrawBitmapDebugImg(Bmp);
    end;

    var
      Bmp: Integer;
      W, H: Integer;
    begin
      GetClientDimensions(W, H);
      Bmp := BitmapFromClient(0, 0, W - 1, H - 1);
      Show(Bmp);
      FreeBitmap(Bmp);
    end.


    If it displays the screen, it works fine (works for me without plugins).. If it doesn't, you need to use a plugin and place it in ONE of two places..

    1. The browser's main folder.
    2. Java's bin folder.


    However, for Direct-X, there is no need for doing so in the browser (at least on my computer). For OpenGL, you WILL need a plugin no matter what. Both plugins support the browser or any application capable of OpenGL or Direct-X.

    The new plugins have the format:

    Simba Code:
    SetupDXI(GetNativeWindow());
    SetupDXI(GetNativeWindow(), Width, Height);

    SetupGLX(GetNativeWindow());
    SetupGLX(GetNativeWindow(), Width, Height);

    Both requiring the latest Simba so that you can use "GetNativeWindow()".. But again, plugins aren't needed for Direct-X capturing in the browser..
    Last edited by Brandon; 08-30-2014 at 08:16 PM.
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

  4. #4
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  5. #5
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Because SMART is ultimately detectable.
    So using it on a browser would be way safer than using it in SMART? Can Jagex tell if you're using it?

  6. #6
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Spaceblow View Post
    So using it on a browser would be way safer than using it in SMART? Can Jagex tell if you're using it?

    With the current (latest r1100) version of Simba, it is still detectable whether it is in the browser or not. This has been explained many times. It will ALWAYS be a cat and mouse game. The "browser IS safer" but that means nothing. Detectable means detectable.. doesn't matter "how much" easier it is.
    I am Ggzz..
    Hackintosher

  7. #7
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    With the current (latest r1100) version of Simba, it is still detectable whether it is in the browser or not. This has been explained many times. It will ALWAYS be a cat and mouse game. The browser is safer but that means nothing. Detectable means detectable.. doesn't matter "how much" easier it is.
    Always? Not if I made robot control my mouse, and film the screen. Booyah! I win!

    PS: trying to be funny, at least pretend to be amused.
    Last edited by slacky; 08-31-2014 at 12:22 AM.
    !No priv. messages please

  8. #8
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by slacky View Post
    Always? Not if I made robot control my mouse, and film the screen. Booyah! I win!

    PS: trying to be funny, at least pretend to be amused.

    Unless you have a physical robot with many fingers to press keys and move the mouse and has its own script that doesn't run on the same computer.
    I am Ggzz..
    Hackintosher

  9. #9
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by slacky View Post
    Always? Not if I made robot control my mouse, and film the screen. Booyah! I win!

    PS: trying to be funny, at least pretend to be amused.
    https://www.youtube.com/watch?v=dXLUzvn8r-4


  10. #10
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Unless you have a physical robot with many fingers to press keys and move the mouse and has its own script that doesn't run on the same computer.
    Basically you just need to be able to use the mouse (for most (OS)RS-stuff anyways).. And that is pretty simple. Some cheap arduino-components, and your old laptop and your off :P Well, the cam should be of somewhat decent quality if you want it to work :-P
    !No priv. messages please

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

    Default

    Quote Originally Posted by slacky View Post
    Always? Not if I made robot control my mouse, and film the screen. Booyah! I win!

    PS: trying to be funny, at least pretend to be amused.
    Would this still be classified as 'macroing'?

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


  12. #12
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Would this still be classified as 'macroing'?
    I think so, Jagex goes by the 1 input = 1 output rule.

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

    Default

    Quote Originally Posted by slacky View Post
    Basically you just need to be able to use the mouse (for most (OS)RS-stuff anyways).. And that is pretty simple. Some cheap arduino-components, and your old laptop and your off :P Well, the cam should be of somewhat decent quality if you want it to work :-P
    using a camera? nah. could just feed the video into it through a TV tuner type thing for perfect quality.

    Quote Originally Posted by BMWxi View Post
    I think so, Jagex goes by the 1 input = 1 output rule.
    my 1 input is clicking play, its one output is it doing the things it should.

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

    Default

    Quote Originally Posted by BMWxi View Post
    I think so, Jagex goes by the 1 input = 1 output rule.
    I don't see where that would breach the rule actually. The mouse and keyboard are not being controlled by a program but a physical entity. The rules should be specific if the entity must be human, or even biological. Let's say an alien crashes to Earth and instead of studying and/or working with it for the better of the human race I force it to spin my flax in Runescape. The in-game account would still be controlled by an entity and biologically, but not human. Ban-able or not?

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


  15. #15
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Wouldn't the safest way be to run RS in a VM using their client or the browser? Then drive that with simba on the main machine.

    Nothing detectable on the VM (other than detecting that it is a VM). The VM doesn't know if it's you or simba driving and neither would they.

  16. #16
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I don't see where that would breach the rule actually. The mouse and keyboard are not being controlled by a program but a physical entity. The rules should be specific if the entity must be human, or even biological. Let's say an alien crashes to Earth and instead of studying and/or working with it for the better of the human race I force it to spin my flax in Runescape. The in-game account would still be controlled by an entity and biologically, but not human. Ban-able or not?
    Maybe they could only get you for account sharing then

  17. #17
    Join Date
    Jul 2014
    Posts
    86
    Mentioned
    3 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    With the current (latest r1100) version of Simba, it is still detectable whether it is in the browser or not. This has been explained many times. It will ALWAYS be a cat and mouse game. The "browser IS safer" but that means nothing. Detectable means detectable.. doesn't matter "how much" easier it is.
    Livid farm is just mouse movement and doesn't require any camera angle change or physical movement , will that be hard to get detected ?

  18. #18
    Join Date
    Jul 2014
    Posts
    86
    Mentioned
    3 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    It's already possible using just Simba alone.. If you load RS in the browser and switch to Direct-X mode, you can drag the green cross-hairs to the window and run the following:

    Simba Code:
    procedure Show(Bmp: Integer);
    var
      W, H: Integer;
    begin
      GetBitmapSize(Bmp, W, H);
      DisplayDebugImgWindow(W, H);
      DrawBitmapDebugImg(Bmp);
    end;

    var
      Bmp: Integer;
      W, H: Integer;
    begin
      GetClientDimensions(W, H);
      Bmp := BitmapFromClient(0, 0, W - 1, H - 1);
      Show(Bmp);
      FreeBitmap(Bmp);
    end.


    If it displays the screen, it works fine (works for me without plugins).. If it doesn't, you need to use a plugin and place it in ONE of two places..

    1. The browser's main folder.
    2. Java's bin folder.


    However, for Direct-X, there is no need for doing so in the browser (at least on my computer). For OpenGL, you WILL need a plugin no matter what. Both plugins support the browser or any application capable of OpenGL or Direct-X.

    The new plugins have the format:

    Simba Code:
    SetupDXI(GetNativeWindow());
    SetupDXI(GetNativeWindow(), Width, Height);

    SetupGLX(GetNativeWindow());
    SetupGLX(GetNativeWindow(), Width, Height);

    Both requiring the latest Simba so that you can use "GetNativeWindow()".. But again, plugins aren't needed for Direct-X capturing in the browser..
    Okay , thanks...it displays the screen. So now i just need to select the browser using the crosshair and then just run the script ?

    EDIT : i tried that but it seems to start loading SMART
    Last edited by GTFO_Jagex; 08-31-2014 at 06:50 AM.

  19. #19
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Wouldn't the safest way be to run RS in a VM using their client or the browser? Then drive that with simba on the main machine.

    Nothing detectable on the VM (other than detecting that it is a VM). The VM doesn't know if it's you or simba driving and neither would they.
    I really doubt Simba on the native OS can interact with a window in a VM. Pretty sure Simba uses WindowHandles to capture images and a VM is just a single window handle (the VMWare window or the VirtualPC window or w/e). If you were able to select windows from within the VM, from the outside.. that would be insane.



    Quote Originally Posted by GTFO_Jagex View Post
    Okay , thanks...it displays the screen. So now i just need to select the browser using the crosshair and then just run the script ?

    EDIT : i tried that but it seems to start loading SMART

    That's exactly what you'd do.. The reason it runs SMART is because that script explicitly loads SMART. You need to remove the code that does so.. Basically, at the top of the script remove "{$DEFINE SMART}" and any code that draws on SMART using "smartImage".
    I am Ggzz..
    Hackintosher

  20. #20
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    I really doubt Simba on the native OS can interact with a window in a VM. Pretty sure Simba uses WindowHandles to capture images and a VM is just a single window handle (the VMWare window or the VirtualPC window or w/e). If you were able to select windows from within the VM, from the outside.. that would be insane.
    You wouldn't have to target the specific window in the VM. If all it was running was a full screen rs client you just target the whole vm and offset the border areas.

    Not saying we should jog right out and do it but it is the most undetectable method I'm aware of.

  21. #21
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    You wouldn't have to target the specific window in the VM. If all it was running was a full screen rs client you just target the whole vm and offset the border areas.

    Not saying we should jog right out and do it but it is the most undetectable method I'm aware of.
    Until they load a dll.. and detect the mouse and keyboard aren't real.

  22. #22
    Join Date
    Sep 2014
    Posts
    30
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    It's already possible using just Simba alone.. If you load RS in the browser and switch to Direct-X mode, you can drag the green cross-hairs to the window and run the following:

    Simba Code:
    procedure Show(Bmp: Integer);
    var
      W, H: Integer;
    begin
      GetBitmapSize(Bmp, W, H);
      DisplayDebugImgWindow(W, H);
      DrawBitmapDebugImg(Bmp);
    end;

    var
      Bmp: Integer;
      W, H: Integer;
    begin
      GetClientDimensions(W, H);
      Bmp := BitmapFromClient(0, 0, W - 1, H - 1);
      Show(Bmp);
      FreeBitmap(Bmp);
    end.


    If it displays the screen, it works fine (works for me without plugins).. If it doesn't, you need to use a plugin and place it in ONE of two places..

    1. The browser's main folder.
    2. Java's bin folder.


    However, for Direct-X, there is no need for doing so in the browser (at least on my computer). For OpenGL, you WILL need a plugin no matter what. Both plugins support the browser or any application capable of OpenGL or Direct-X.

    The new plugins have the format:

    Simba Code:
    SetupDXI(GetNativeWindow());
    SetupDXI(GetNativeWindow(), Width, Height);

    SetupGLX(GetNativeWindow());
    SetupGLX(GetNativeWindow(), Width, Height);

    Both requiring the latest Simba so that you can use "GetNativeWindow()".. But again, plugins aren't needed for Direct-X capturing in the browser..
    Um when i do that it pops up a window with just black called debugimgform and it take up all of my 3 monitors?

  23. #23
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Quote Originally Posted by America19 View Post
    Um when i do that it pops up a window with just black called debugimgform and it take up all of my 3 monitors?
    Are you sure you have followed this step:
    drag the green cross-hairs
    Working on: Tithe Farmer

  24. #24
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by America19 View Post
    Um when i do that it pops up a window with just black called debugimgform and it take up all of my 3 monitors?
    Are you absolutely sure you did everything right? There's no way it wouldn't work (for RS at least). Simba CAN natively capture data from Direct-X windows without a plugin. I haven't found a Direct-X game (other than the ones & windows I make) that Simba cannot capture.

    I also haven't heard from anyone that tried this that it failed.. Are you absolutely sure you did everything right?


    If you drag the crosshair on RS, it will look like:




    Then after running the script, it will look like:

    Last edited by Brandon; 09-07-2014 at 06:00 PM.
    I am Ggzz..
    Hackintosher

  25. #25
    Join Date
    Jul 2012
    Posts
    437
    Mentioned
    10 Post(s)
    Quoted
    165 Post(s)

    Default

    Did you drag the green cross-hairs on the runescape browser client? If you did try safe mode or one of brandon's plugins.

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
  •