ive been playing a computer game for a good while now (years, in fact), and every so often i run into a small cheat/hack program that allows you to do various little things that you wouldnt normally be able to do. these programs seem to be written by average joes (you can tell that by reading their readme files), and they are usually fairly simple.
ive always wondered, how do you go about writing one of those. i assume it has to send functions to the game itself, and ive ran emulators for the game and know a little of the scripting language used, but how would i go about writing a program that does something within the game. if i used game functions in my code, it wouldnt compile because the function wouldnt be recognized. also, i havent a clue how to send information into another program.
anyone have any idea how this is done?