 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
xx3nvyxx
Joined: 05 Sep 2005 Posts: 84 Location: Down the hall, on your left.
|
Posted: Tue Nov 28, 2006 4:31 pm Post subject: |
|
|
Have you tried using it in conjunction with Allow IO that comes with porttalk? I was going to try it but I never got around to it. You can just set it to allow all programs on the two ports we need. _________________ Now the world has gone to bed,
Darkness won't engulf my head,
I can see by infra-red,
How I hate the night.
Now I lay me down to sleep,
Try to count electric sheep,
Sweet dream wishes you can keep,
How I hate the night. |
|
| Back to top |
|
 |
Ivo Guest
|
Posted: Sat Dec 09, 2006 1:44 pm Post subject: |
|
|
| Quote: | | Nothing happened, but I doubt that I did it right. Anyway, this may be of help to someone that actually knows what they're doing when it comes to C(++). The source of the example, as well as a compiled version, is downloadable from that site as well. |
Try to also put a Sleep command between sends to port 0x64 and 0x60, it worked for me! |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Dec 20, 2006 9:03 am Post subject: |
|
|
If i want to send a mouse right click what is the io command to send?
Anyone could help me ? |
|
| Back to top |
|
 |
Akize
Joined: 16 Jan 2006 Posts: 32
|
Posted: Sat Dec 30, 2006 2:39 am Post subject: |
|
|
I only read throught the first page so sorry if this has been brought up before. There's a free MMORPG called Silk Road Online (SRO for short, available at http://www.silkroadonline.net/). It's great and all except for the fact that you have to manually spam pick up item after all monster kills for each item (imagine having to kill 1000 monsters, each dropping 2-3 items, rinse and repeat).
I tried making a simple script to just spam a single key when shift is held down and it works fine in Windows, but it doesn't work in SRO. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3005 Location: Minnesota
|
Posted: Sat Dec 30, 2006 3:36 am Post subject: |
|
|
| Did you try using different modes of Send? SendInput and SendPlay are known to be more reliable for games. |
|
| Back to top |
|
 |
Akize
Joined: 16 Jan 2006 Posts: 32
|
Posted: Sat Dec 30, 2006 3:58 am Post subject: |
|
|
| I haven't tried those commands. I stopped playing the game a while ago but when I get a chance to test them I'll post the results here. |
|
| Back to top |
|
 |
ClickThis!
Joined: 05 Jan 2007 Posts: 1
|
Posted: Fri Jan 05, 2007 1:56 pm Post subject: |
|
|
I've been reading this thread with interest as i play so many online games i'm looking for a generic way of achieving keyboard and mouse input that is undetectable.
I/O ports communication is the lowest level and therefore the best way of achieving this.
I've found 2 software products which seem to fit the bill but I don't have the knowledge re scan codes etc to implement them. perhaps someone else could help?
http://www.zealsoftstudio.com/ntport/
this looks like just the driver we are after !
http://www.zeecube.com/parport2004.htm
instead of using a driver this changes the ports permission access to give our program a driver level authority and therefore access to the I/O port. |
|
| Back to top |
|
 |
ChronoDragon
Joined: 08 Jan 2007 Posts: 3
|
Posted: Wed Jan 10, 2007 2:06 pm Post subject: |
|
|
if anyone need a program that resist ahk, heres one by acclaim company
http://9dragons.acclaim.com/
resistant to SendInput, SendPlay, Send, ControlSend, etc...
hope i been a help.. have to ..return.. to.. button... smashing.......*dies*  |
|
| Back to top |
|
 |
bdares
Joined: 29 Jan 2007 Posts: 1 Location: korea
|
Posted: Mon Jan 29, 2007 3:06 pm Post subject: Also very interested |
|
|
I am playing a game that would strain my hand much less if the mouse could be made to left-click twice a second indefinitely; Gameguard seems to hate my wrist.
From reading several pages of this thread, I gather that directly accessing the hardware ports would be sure-fire, and there are some programs that allow you to do this. Is there some way to use AHK with these programs? A previous poster mentioned that this would be dangerous, and that users would often want to opt-out of installing such features, but such an implementation would be very useful. |
|
| Back to top |
|
 |
lazyftw Guest
|
Posted: Fri Feb 02, 2007 6:51 am Post subject: |
|
|
hey guys, i skimmed about half the first 5 pages, i have practically no prog experience ( batch files and playing around with WMI and WMIC for networking stuff) doubt you even call that prog but anyways
i been trying to figure out this problem as well, the keyboard strokes aren't going to the client even tho the macro is running, id be happy even if i did have the window open and active if it would just register them
after reading this tutorial
http://www.autohotkey.com/docs/misc/SendMessage.htm
by Rajat
i d/led winspector and started playing around with it
i tried looking for what the tut was pointing out, the wm_command but had no luck playing with those
What i did find was i found where the keystrokes seem to be registering and being defined which key you pressed which i had difficulty identifying before
[winspector shows]
WM_CHAR
wParam: hex
IParam: hex
when i looked that up it turns up that that command pops up after the
[winspector shows]
WM_KEYDOWN
Virtual Key: blah
the wm_keydown means this key was pressed
and the wm_char is how the game interprets it or something???
so it looks like all the keys get assigned a virtual key which a designated value, i found when i presssed 3 it shown this
WM_KEYDOWN
Virtual Key: Unkown key (51)
WM_CHAR
wParam: 0x00000033
IParam: 0x00040001
and when i pressed space bar it shown this
WM_KEYDOWN
Virtual Key: VK_SPACE
WM_CHAR
wParam: 0x00000020
IParam: 0x00390001
does anyone have a clue if im even going in the right direction?
Thanks |
|
| Back to top |
|
 |
lazyftw Guest
|
Posted: Fri Feb 02, 2007 6:53 am Post subject: |
|
|
| sorry i forgot to specify i have been playing around with 9dragons |
|
| Back to top |
|
 |
Ken Guest
|
Posted: Sun Mar 25, 2007 4:57 pm Post subject: |
|
|
| I experienced similar stuff with autohotkey. Currently playing an online game and some of the stuff that I do that needs 5-6 repeated steps like press F2, pick something, press a key etc etc etc. So I simplified it with autohotkey. However, it only runs first one or two steps then the game just ignores the rest of the command from Autohotkey. I think it is xtrap that doing that annoying thing. Any way to work around it? |
|
| Back to top |
|
 |
thesnabber
Joined: 24 Jun 2007 Posts: 1
|
Posted: Sun Jun 24, 2007 2:17 am Post subject: |
|
|
From what I can tell, this topic has essentially become defunct. All the low level ideas have been dropped. I was hoping to write (or google ) a virtual keyboard driver for my friend who plays Flyff. It uses GameGuard 2 to prevent any Windows API level stuff from working, and they tend to ban people who get caught even trying to "cheat", so I figured I'd better be virtually undetectable!
Anyway, writing a driver is way beyond my coding skill, but I'm one of those people who doesn't back down from a computer challenge, and I have the whole summer left in front of me (ahh, to be in high school... this is gonna be a lot harder to do when I've gotta hold down a job...)! If anything useful ever comes of this (doubtful), I'd be glad to share it (albeit slightly modified so that it doesn't get blacklisted by GG) with all of you.
In the meantime, anyone who knows anything about drivers, please contact me. I can be reached by (my username on google's beta mail service) <-- eat that, spiders!
Basically, people have been telling me that a filter driver is the way to go. It seems to me that filters require you to be using a PS/2 keyboard, which neither me nor my friend still does. Also, the low level port stuff suggested earlier doesn't work for me. I wonder if I need to boot with a PS/2 keyboard plugged in.
Alright, finally, for those of you who both know a little C++ and aren't as paranoid as me, check out this link.
http://www.gamedev.net/community/forums/topic.asp?topic_id=371104
Cheers,
Eric |
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Mon Jun 25, 2007 9:33 am Post subject: |
|
|
| There is a keyboard filter driver in this forum, just search it. If it doesn't do what you want, it might be an interesting base to start off, no? |
|
| Back to top |
|
 |
Hyri, Guest
|
Posted: Wed Jul 11, 2007 3:29 pm Post subject: .. |
|
|
| xx3nvyxx wrote: | W00t! I got it to work.
This:
| Code: | F1::
{
DllCall("Kport\_Outportb@8", Short, 0x64, Char, 0xD2)
DllCall("Kport\_Outportb@8", Short, 0x60, Char, 0x04)
Sleep 100
DllCall("Kport\_Outportb@8", Short, 0x64, Char, 0xD2)
DllCall("Kport\_Outportb@8", Short, 0x60, Char, 0x84)
}
Return |
|
where can I found that this code send "3"?
Actually, If I want to send "a", what code I have to modify? |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|