Most serious online games have counter measures to stop this sort of thing and it directly violates there User agreement and gets you banned. If you are dealing with real money it also comes under the fraud act of most countries and selling or distributing the app itself will fall under the same laws.
I would think very carefully about what you are doing it will generally be illegal.
Who is 'they'? If it's the company that made the game, it would be trivial for them to do this from within the game itself. If not, it's difficult and illegal.
Note that most EULAs specifically prohibit that kind of thing. At the very least, this is true for all multiplayer games, simply because it would create an unfair advantage over other players.
Just to be clear: any program that is capable of recording user input for other applications has the potential to record login credentials. For that reason alone it is most likely illegal in most countries, and that's on top of EULA and other rights that the game company may claim.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
well OK it is illegal i wont try it., i mean i only wanted it so i can make an app that will allow you to make a type of AI afk non competitive grinder bot follow path so people can do long distince routs without having to be the PC for long time. i guess i should just start on a auto clicker and do even more research
This question is for anyone using the CADODatabase classes in codeproject.com:
I'm trying to pass a currency amount to a SQL command and keep getting an exception about not declaring scalar variable @Amount. Any ideas about what is wrong?
CADORecordset *pRecSet=new CADORecordset(pDB);
// search for amount $28050.65
CADOCommand *pCmd=new CADOCommand(pDB, "select itemid from item where amount=@Amount", CADOCommand::typeCmdText);
pCmd->AddParameter("@Amount", CADORecordset::typeCurrency, CADOParameter::paramInput, 8, vtValue, 0, 0);
// exception gets thrown by Execute(pCmd)
You may be lucky, but it still requires someone who really understands the code. From my quick look at the article it would take some considerable time to reach that stage. Do you really need this code, or is there an alternative way of solving your problem?
Exactly what does that mean? Does it compile, does it get called in your code but fail in some way, does it not get called, are some of the parameters not passed correctly ... ? It would help if you showed the actual code that is supposed to work (and please use <pre> tags round it so it is readable) and explained where any failure happens.
As far as I know, you cannot do that. That is you cannot pass the result of bind on a class member function as a C-style callback. If you cannot change the prototype of my_init_control then you have to use a workaround (e.g. write the callback as a standard function).