Help with starting an rsbot In C

Discussion in 'Programming General' started by LoveLover, Jan 4, 2012.

Help with starting an rsbot In C
  1. Unread #1 - Jan 4, 2012 at 8:04 PM
  2. LoveLover
    Joined:
    Dec 29, 2011
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    LoveLover Member

    Help with starting an rsbot In C

    I have basic knowledge in C and want to make as basic bots for rs.
    What I have thought of is a program that translates all the pixels on the rs window to variables and uses if loops to call for methods.
    Also, it seemed like a nice idea to code a new language to program. Say RSC+ is it convenient to code a compiler for a new language in C or should I just stick a shitload of #REPLACE and typedef statements?
     
  3. Unread #2 - Jan 4, 2012 at 11:33 PM
  4. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    Help with starting an rsbot In C

    I'd use C++ if you're going to start making bots, it'll make your life a whole lot easier. If you know C, then C++ won't be too hard to adjust to.

    Secondly, if you want to make a new language, having it compile would be cool - But, for the sake of your project, you might want to just use an interpreted language for scripts and such. A good example of bots that use interpreted languages are my scriptable autotalker and autoclicker (the autotalker can be found in the verified programs section) as well as RAHbot for RSCE and the old RS bots for RSC AutoRune and STS/sBot.

    Thirdly, if you are to call it something, don't call it RSC+. That'll be confusing since RSC players might think your bot for RSC (Runescape Classic).

    And lastly, what do you mean translating all the pixels into variables? Do you mean you want to make some kind of 1x1px image array or vector (idk if there are vectors in C, if there aren't that's another reason to use C++) and store the pixels in there? If so, that's going to be really really slow since the pixels are constantly updating and there are thousands within a single frame of the RS client. If you're really bent on making a bot, go for C++ and use some Direct X or Open GL hooking. That's really the only way to make anything useful after the nuke.
     
  5. Unread #3 - Jan 6, 2012 at 4:22 AM
  6. LoveLover
    Joined:
    Dec 29, 2011
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    LoveLover Member

    Help with starting an rsbot In C

    Hey blupig, thanks for your help.
    I'll consider moving onto C++ but I still have a lot of things to learn on C. When would the right time be to move onto C++?

    What do you mean with interpreted languages? How would I go on learning about coding compilers? it seems like an odd thing to learn. And I have in mind kind of keeping the language C based. Like modifying a compiler to read "my language". What knowledge do you need to have to code a compiler?

    What Screen recognition system do you think would be viable.
    What I was trying to do was simply creating an array of X and an array of Y and assorting them values, but it seems really complicated. Ideally I would need to only map objects and NPCs within game coordinates instead of pixels coordinates. I am strongly tending to base the bot on "if" loops.
    I have no clue of structures or protocols to be used in programming, I have never programmed anything serious, I am mostly an amateur.
    My sketch of the bot would be:
    Data recognition( Transforming screen,configuration and character data to variables)
    Mapping (Transforming screen data to Coordinates, NPCs and Objects)
    Macro (If this, that,these and those)
    Control Method(Call physical alarm if something goes wrong, I die, get stuck etc...)

    I am also planning to add a database so I don't need to enter the same data over and over.
    And a "database" of functions like, click, attack, walk, bank.Is there anyway a separate or derivate language can make things easier for coding bots?

    Thanks and do you think I am the right track? I am all an board for reading long articles or essays on certain programming aspects, but I have never found data on HOW to actually program I just read about pointers arrays libraries etc... but never how to use them for certain purposes, I just deduce and imagine how to use them for what I need, but sometimes stuff either I can't deduce or I have a very messy way of doing it or not an optimal, what should I look for if I'm looking for common programming structures, problems,paradigms. The only practical things I have ever learned to do are binary search trees and bubble sorting, am I clear as to what I am looking for?
     
  7. Unread #4 - Jan 8, 2012 at 1:19 AM
  8. LoveLover
    Joined:
    Dec 29, 2011
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    LoveLover Member

    Help with starting an rsbot In C

    Does someone know how the auth commercialization method works?
    I tried a bot from rsbots.net once and I just downloaded a client and entered the auth and the bot automatically started, did it download something in the loading process? or does the client send information to a server and the server sends the client what to do?
     
  9. Unread #5 - Jan 8, 2012 at 3:02 AM
  10. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    Help with starting an rsbot In C

    Once the auth key is verified the client(your PC) sends a message to the server saying that you need x script, x script is then downloaded to your pc and run through the client.
     
  11. Unread #6 - Jan 8, 2012 at 4:04 AM
  12. LoveLover
    Joined:
    Dec 29, 2011
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    LoveLover Member

    Help with starting an rsbot In C

    are you sure? isn't this easily exploitable? keygens, crackers etc...
     
  13. Unread #7 - May 17, 2012 at 9:58 PM
  14. Unanime
    Joined:
    May 7, 2012
    Posts:
    194
    Referrals:
    0
    Sythe Gold:
    0

    Unanime Active Member
    Banned

    Help with starting an rsbot In C

    Is it a must to know C++ to create a rsbot?
     
< EAC PROOF counter strike 1.6 | I want to make a calculator >

Users viewing this thread
1 guest


 
 
Adblock breaks this site