Quote (carteblanche @ Jul 22 2012 01:13am)
thats pretty complex for someone who's never done it before. you might want to have short term goals instead.
this.
you have to locate the process and then inject your code/dll into the process or hook the functions via other methods. i would start off on smaller games or hell even code your own. make a simple rpg where a player has to enter a certian number to cast an normal attack or a spell which deals a random damage to an computer opponent that does the same. from there learn how to inject your code from outside the process and to manipulate that processes functions from outside the application itself.
id just tell you to give up now if you want to try to "create a bot" for any game that has been produced within the last 15 years. most of them have anti debuggers as well as other methods to prevent code from being injected into its process.