MrBeen How do I cheat? Reputation: 0
Joined: 20 Sep 2013 Posts: 1
|
Posted: Fri Sep 20, 2013 9:38 pm Post subject: find path to opened process |
|
|
hello,
the first time i couldn't help my self, i googled for hours.
Sorry but i need some help with this problem. I have a single thing i couldn't solve on my own.
I need a way to get the path to the executable that is currently opened in CE (or the path to a specific exe file in the process list, but i would prefer the first method).
The reason behind this is:
My trainer connects to "game.exe" when i hit a button and continues with searching/replacing values from game.exe.
But the trainer should not do that when the game.exe is not located in a specific location (let's say C:\windows\test).
It has to notice that the running game.exe is / is not located in C:\windows\test and either continues actions or stop.
It is planed that more people using this trainer that is why i want to setup it like that.
Sorry i'm not very skilled in lua. And i just can't find any command/syntax for this problem.
I hope there is an easy solution.
Oh and i forgott, game.exe can't be executed directly. So i can't force CE to open it from a specific location.
Thanks
|
|