Hack Forums
[C#] Auto Typer problem - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Auto Typer problem (/showthread.php?tid=4647434)



Auto Typer problem - SIM-409959 - Jan 21, 2015

Hello,

I have created AutoTyper in c# so when I press NumPad3, it will write some sentence and press Enter (NumPad2 is or another sentence and so...). Problem is that it isnt working in games like League of Legends and so. Can someone help me with this?


* - Florin Salam - Jan 21, 2015

You can't simply send keys to another process by using the "default" way of sending keys.(I'm pretty sure You've done it that way)
You have to get a handle to the process in cause and then send the keys.

PS: Moreover , if the process is being protected by some type of "anti-hacking" system which doesn't let you hook the process , you may fail .


* - Corios - Jan 21, 2015

(Jan 21, 2015 08:30 AM)Florin Salam Wrote:  You can't simply send keys to another process by using the "default" way of sending keys.(I'm pretty sure You've done it that way)
You have to get a handle to the process in cause and then send the keys.

PS: Moreover , if the process is being protected by some type of "anti-hacking" system which doesn't let you hook the process , you may fail .

you can't stop hooking, they could stop injection doing something like destroying loadlibrary but even then you could just reenable it or use other functions.

Anyway, OP, always post code. No idea how you tried to go about this.


* - Pussylover - Jan 22, 2015

(Jan 21, 2015 03:37 PM)Corios Wrote:  you can't stop hooking, they could stop injection doing something like destroying loadlibrary but even then you could just reenable it or use other functions.

Anyway, OP, always post code. No idea how you tried to go about this.

'destroy load library'

Yeah go ahead, destroy the function and rehabilitate the user mode experience by throwing exceptions everywhere.
Oh and don't forget to 're-enable' it.

Dumbest fucking idea i've ever heard.


* - Corios - Jan 22, 2015

(Jan 22, 2015 12:23 AM)Pussylover Wrote:  'destroy load library'

Yeah go ahead, destroy the function and rehabilitate the user mode experience by throwing exceptions everywhere.
Oh and don't forget to 're-enable' it.

Dumbest fucking idea i've ever heard.

[img]http://static.fjcdn.com/comments/Are+you+even+trying+anymore+_fc58e949a540529d0fb8b3f3d4759717.png[/img]