How to create an autotrainer?

Discussion in 'Windows - Games' started by uinuja, Sep 20, 2008.

  1. uinuja

    uinuja Member

    Joined:
    Sep 20, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    11
    Hey,

    Every now and then I've been wondering how to create an autotrainer.

    A long time ago I used to play this game called Runescape and there were alot of autotrainers for that game. At first the autominers scanned your client window for a certain color and clicked it (an autotrainer like this is very easy to create). After some time these new autominers came, which allowed you even to hide your game window without halting the autoing process. These programs was using a client of their own.

    The question is how to create your own client to a game? Do I have to find the original source code for the original client or can the original client be converted back to c/c++ (or what ever is the language it's written with) somehow? So I could see all the game mechanisms such as function names etc.

    I've come to a conclusion that the client based autotrainers work by using the game functions like moveTo(x,y), attackTo(targetId) etc. instead of doing what a real human would do (scanning the screen and moving mouse to click it). If this is the case, I'd had to get the original client's source code and create a client of my own to automate these commands.

    I am creating an autotrainer to a game. Not to cheat but to learn!

    PS. I haven't yet chosen a game so if some of you have a source code of a working autotrainer to a game, I would love to check it out and maybe create one too.
     
  2. bandit008

    bandit008 Regular member

    Joined:
    Mar 10, 2008
    Messages:
    295
    Likes Received:
    0
    Trophy Points:
    26
    well you could d/l clients for private servers from their respective websites...or you could d/l your very own server from Moparisthebest.com.(you first have to register to the site ,which is free). The server is called Moparscape and its the barebones of runescape allowing you to place items, monsters, ect wherever you want. If you go to the forums, there will be lots of programmers with their clints/servers for you to d/l and try...

    Now for the autotrainer, you might wanna know how to create scripts. A good scripting program for this is SCAR. I think the code used is java but im not completely sure. The forums have SCAR scripts as well as suggestions/downloads/tips n tricks.

    EDIT1 : i forgot to provide a link to a list of private servers - www.moparscape.org/serverstatus.php
     
    Last edited: Sep 23, 2008

Share This Page