PDA

View Full Version : Question: hooking program to maple


rroobbiinn
12th January 2008, 11:10
I made an little hack for maple but it keeps saying hook cannot created with some details :

************** Exception Text **************
System.Security.SecurityException: Hook cannot be created.
at System.Windows.Forms.SendKeys.InstallHook()
at System.Windows.Forms.SendKeys.Send(String keys, Control control, Boolean wait)
at System.Windows.Forms.SendKeys.SendWait(String keys)
at WindowsApplication1.Form1.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Zone of the assembly that failed was:
MyComputer

im kinda noob so can some1 tell me how to bypass it or how to use another method. ow i forgot im trying to make it in visual basic

scruie
12th January 2008, 14:50
Please wrap code in CODE tags.

That Asian Guy
13th January 2008, 05:32
some SendKey methods are detected by gameguard

CioNide
13th January 2008, 08:25
The Zone of the assembly that failed was:
MyComputer
Are you mistaking your computer name with "MyComputer"? Common mistake.

rroobbiinn
13th January 2008, 15:05
Are you mistaking your computer name with "MyComputer"? Common mistake.

i didnt say that, it was in the report i got

CioNide
13th January 2008, 21:02
Create a new program, and use the same codes, they're may be a properties error.

thaicoures3
13th January 2008, 22:47
Well...if you're gonna do it try to make it bypass gameguard...
some SendKey methods are detected by gameguard

Try using PostMessage.

CioNide
13th January 2008, 22:55
SendMessage vs. PostMessage (http://www.developerfusion.co.uk/show/34/4/)

Interesting article, I think they are both detected though, you could use a Module if you are using VB and change the name of SendKey to anything you want. Like tharcoures31312.

But yea, SendKey, SendMessage, and PostMessage are all detected, idk. :o

rroobbiinn
13th January 2008, 23:19
and is mousedown and mouseup detected to?

Interesting article, I think they are both detected though, you could use a Module if you are using VB and change the name of SendKey to anything you want. Like tharcoures31312.


ehmm can u explain how? im not so far at programming i understand the basic. I try to be less leacher and try make things by myself

Yoadee
13th January 2008, 23:31
He means that instead of using SendKey u should use random letters and numbers.

GameGuard will probably not detect that.

CioNide
13th January 2008, 23:33
and is mousedown and mouseup detected to?



ehmm can u explain how? im not so far at programming i understand the basic. I try to be less leacher and try make things by myself
Since they are very common/basic commands, yes probably.

rroobbiinn
15th January 2008, 16:38
wow is it that easy :O
why doesnt more bots exist then Oo