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

Thread: Converting SRL to HD

  1. #1
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Converting SRL to HD

    What are your thoughts? For those that aren't aware, I have produced a basic form of reflection here. This requires HD to run. It allows for trivial object detection, but it needs some colour methods to back it up. It will NOT break every time the client is updated, which is the main advantage of this method.

    Can people take a look into converting SRL to work with HD? Specifically with these settings:


    If this is done then I will endevour to do the following:
    1. Provide extensive functions for model detection, e.g. return arrays of all models on the screen, in a specific region, etc
    2. Replace the wrapper with a hook, which will make it virtually undetectable*
    3. support SMART
    4. look into map walking, or at least faciliate easy walking


    Without SRL, this method of reflection is pretty useless. But if combined with SRL, this could become a very powerful way of botting in RS. Please consider investing some time in this!

    *as far as I am aware, jagex would have to make windows API calls to specifically search for the hook, something which they don't seem to do to try and detect other cheats.

  2. #2
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well.. I'm sure we could incorporate it into SRL, doing it the same way Simba is..
    ex.
    SCAR Code:
    {$IFDEF OpenGLandHD}
    ...
    {$ELSE}
    ...
    {$ENDIF}

  3. #3
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This would make sense. I'm not at a computer with SRL installed atm... does SRL define colours used etc, or are they all hard coded in? I'm not sure how much coords would change between clients... I'd imagine not at all?

    The other huge advantage of this is of course virtually trivial random solving.

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

    Default

    Quote Originally Posted by silentwolf View Post
    This would make sense. I'm not at a computer with SRL installed atm... does SRL define colours used etc, or are they all hard coded in? I'm not sure how much coords would change between clients... I'd imagine not at all?

    The other huge advantage of this is of course virtually trivial random solving.
    As of now they are hard coded, but I would wait for Simba and SRL5 to start along this process

  5. #5
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    It might be smarter to just start a different library, like reflection. We can always merge these one's later. However, the ogl hook would need some extra functions, right?
    Verrekte Koekwous

  6. #6
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not many, most would be directly from the plugin. It might make sense to branch to the two libraries.

  7. #7
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    It might be smarter to just start a different library, like reflection.
    ^

    However, Thinking about it, it's not that many things that needs to be changed..

  8. #8
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by N1ke! View Post
    ^

    However, Thinking about it, it's not that many things that needs to be changed..
    That's what I've been saying all along..

  9. #9
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    4,163
    Mentioned
    9 Post(s)
    Quoted
    19 Post(s)

    Default

    What would need to be changed? Text, bitmaps, dtms, and co-ords are all the same. The minor changes in colours/appearance of ground items/other things would be dealt with by the scripter.

    I think the best way to it would be to use defines in SRL for the few (if any) things that need to be changed, then have a file in misc - Interception.scar or something - which would set the define, and include all the interception procedures/functions, like how smart is currently integrated.

  10. #10
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Silentwolf, here's your moment.
    Either make a scar library or write a bot of your own and shine.

  11. #11
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I love the idea of running bots in HD tough I've followed your threads SilentWolf and I think it would be a big help, especially when those variables are static. Maybe something could be done within Simba? As the reflection plugin never got that popular.

  12. #12
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    Silentwolf, here's your moment.
    Either make a scar library or write a bot of your own and shine.
    TBH, I don't have the time to carry this on my own. All I need is a few people with knowledge of SRL to test the functions they believe could be broken in HD and commit a fix. I'll then update interception a bit and some other people can work on getting IDs for solving the randoms which are tough (.e.g leo, certer etc).

  13. #13
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    I can do the randoms

  14. #14
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm not sure what HD would actually break?

    For example; does HD render using different font / font sizes?

    Also, correct me if I'm wrong, the HUD will completely change when using HD right? That case all of the GameTab functions etc will break?

    I'm not so sure about the possibilities of Interception. Can you do object finding, like Banks etc?
    Verrekte Koekwous

  15. #15
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    I'm not sure what HD would actually break?

    For example; does HD render using different font / font sizes?

    Also, correct me if I'm wrong, the HUD will completely change when using HD right? That case all of the GameTab functions etc will break?

    I'm not so sure about the possibilities of Interception. Can you do object finding, like Banks etc?
    HD looks exactly like SD but with better quality (OpenGL) in MS and MM

  16. #16
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Hm...

    When you give us all the tools we need to find everything in mainscreen, I think we could put up a project for this. All, even 2D pictures would be processed by this interception. Wouldn't be anyhow related to SRL, rather than being a complete function library written from scratch.

  17. #17
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    AFAIK Windows uses DirectX for OpenGL. Are you sure you can still simply capture the window?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  18. #18
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Are you sure you can still simply capture the window?
    What do you mean by this?

    Also, directx and opengl are in no way linked in windows

  19. #19
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by silentwolf View Post
    What do you mean by this?

    Also, directx and opengl are in no way linked in windows
    OpenGL is mainly implemented with DirectX on Vista and Windows 7. They support it natively up to version 1.4 or so, and the rest is implemented in D3D.

    What I meant to say is that you can't get the data of a DirectX (or OpenGL?) application on Windows. Try to target, let's say, CS:S. It will just result in a black bitmap of the screen when using SCAR.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  20. #20
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    OpenGL is mainly implemented with DirectX on Vista and Windows 7. They support it natively up to version 1.4 or so, and the rest is implemented in D3D.

    What I meant to say is that you can't get the data of a DirectX (or OpenGL?) application on Windows. Try to target, let's say, CS:S. It will just result in a black bitmap of the screen when using SCAR.
    But in combination with SMART it should be possible, right?
    Verrekte Koekwous

  21. #21
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    OpenGL is mainly implemented with DirectX on Vista and Windows 7. They support it natively up to version 1.4 or so, and the rest is implemented in D3D.

    What I meant to say is that you can't get the data of a DirectX (or OpenGL?) application on Windows. Try to target, let's say, CS:S. It will just result in a black bitmap of the screen when using SCAR.
    I'm not at a computer with SCAR on atm. Can someone test if the HD window can be captured? If not, I will have to come up with a solution

  22. #22
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    4,163
    Mentioned
    9 Post(s)
    Quoted
    19 Post(s)

    Default

    Just tested, Wizzup's correct.

  23. #23
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OK, can someone send me the simba source code and I'll see what I can do.

  24. #24
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    But in combination with SMART it should be possible, right?
    Yes, as far as I know it should work.

    Quote Originally Posted by silentwolf View Post
    OK, can someone send me the simba source code and I'll see what I can do.
    I've granted you access to the Simba forums - you can find a link to the source there. The source code is in Pascal, so if you run into syntax problems, don't hesitate to ask. Eventually it will all be coded in C(++), but for now Pascal is easier.

    It is possible to capture OpenGL/DirectX windows when the proper API calls are used, but that obviously won't work for normal windows.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  25. #25
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Please people, just so that Method and our other Java fellows can avoid tearing us some new holes when this becomes famous, let's not call it a form of reflection

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
  •