Thread: How custom clients / bots work :)

Results 1 to 4 of 4
  1. #1 How custom clients / bots work :) 
    Registered Member

    Join Date
    Oct 2014
    Posts
    192
    Thanks given
    31
    Thanks received
    15
    Rep Power
    81
    Hello,

    I really want to find out how things such as osbuddy / battleloader / bots work.

    so i did some digging to try and find out, but turns out there isn't a whole lot of infromation about it (or atleast not from what i could find)
    the information i did find, though,
    said that most of them work by using java's reflection api to interact with the original server / game clients.

    and also that they will have a list of the variable names for monsters, money puch, etc, in a file. Which they then read / write to using the reflection api. ( or is it offsets to the actual memory ? could someone please clearify that )

    what i dont understand is how they make these lists ?

    i mean, do they just search for values and their corresponding variable names (using the refelction api, kind of like cheat engine)?
    and eventually build up a list over time?

    but what about obfuscated clients then?
    how does that work?

    i mean, even if someone spend a long time trying to make sense of it all.
    Couldn't jagex / the server provider just obfuscate the client differently and boom all your variable names are invalid ?
    (or in case its offsets in to memory, and not variable names. Couldn't they just make some sort of system that allocates and frees random chunks of memory randomly or move random memory around or something like that?)

    i've been wondering about this for a long time, im obvisouly not trying to make the next osbuddy or anything . Just like to know how things work.

    I will definatly rep+
    to anyone who can tell me a bit more about how it works
    Reply With Quote  
     

  2. #2  
    Super Donator

    RSPSi's Avatar
    Join Date
    Mar 2011
    Posts
    169
    Thanks given
    70
    Thanks received
    173
    Rep Power
    328
    Runelite has their source code public if you want to look at how they do it.

    https://github.com/runelite/runelite
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    Registered Member

    Join Date
    Oct 2014
    Posts
    192
    Thanks given
    31
    Thanks received
    15
    Rep Power
    81
    thanks, im gonna check that out right now
    Reply With Quote  
     

  5. #4  
    Renown Programmer
    Bartvh's Avatar
    Join Date
    May 2017
    Posts
    370
    Thanks given
    89
    Thanks received
    208
    Rep Power
    497
    You can check RuneLite but it doesn't work like the other clients. RuneLite uses injection which is technically illegal because it is modifying the client code. Hence why most third party clients use reflection.

    The obfuscation doesn't change that much. RuneLite is able to transfer over most old variables/annotations every revision.
    Reply With Quote  
     

  6. Thankful user:



Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. How do voting bots work?
    By Mr. Robot in forum Application Development
    Replies: 8
    Last Post: 03-19-2016, 08:31 AM
  2. How to make clients 2 work 4 mac's?
    By Affliction in forum Help
    Replies: 1
    Last Post: 08-22-2010, 08:57 AM
  3. How can I get Bot work?
    By unforeseen in forum RuneScape Underground
    Replies: 3
    Last Post: 03-21-2010, 07:41 PM
  4. Replies: 2
    Last Post: 10-29-2009, 10:04 AM
  5. Replies: 20
    Last Post: 03-09-2008, 01:40 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •