mal eine frage. wenn ich gw2 öffne ist mit unf keine funktion möglich. nur die jeweiligen koordinaten werden angezeigt.
habe win7/64bit
net framew. 4.5
thx
habe win7/64bit
net framew. 4.5
thx
Quote:
gw2 uses DirectInput to receive keyboard events so Sendkey or keybdevent won't work in C# and SendInput is C++.
So you have to do PostMessage :p
int iMappedKey = MapVirtualKey(VK_ESCAPE, 0); LPARAM lparam = (iMappedKey << 16) | 1; LPARAM lparamup = lparam | 0xc0000000; PostMessage(hWnd, WM_KEYDOWN, iMappedKey, lparam); Sleep(30); PostMessage(hHWND, WM_KEYUP, iMappedKey, lparamup);
Sleep(30);
PostMessage(hWnd, WM_KEYDOWN, VK_ESCAPE, 0);
PostMessage(hWnd, WM_KEYUP, VK_ESCAPE, 0);
As i said, i know how the message queue works. This Sleep is totally wanted AND required. (its taken from a spy++ test)Quote:
Works just fine for me ..Code:PostMessage(hWnd, WM_KEYDOWN, VK_ESCAPE, 0); PostMessage(hWnd, WM_KEYUP, VK_ESCAPE, 0);
The sleep isn't actually needed to be honest as long as you key press down then up and it follows it correctly in code line..
Oh and P.S.: Did you update midnight to remove the bank deposit since there is a wallet now and no bank depositing anymore? O.o
When I did the key send check to make sure it did it properly, worked fine as I pasted and have been tinkering with it and have not had an issue without using the sleep so I don't think it is needed at all. I see the key down/up and it loots ingame, why add a line I don't need?Quote:
As i said, i know how the message queue works. This Sleep is totally wanted AND required. (its taken from a spy++ test)
Nah i just updated all the patterns real quick, they broke a lot.Quote:
When I did the key send check to make sure it did it properly, worked fine as I pasted and have been tinkering with it and have not had an issue without using the sleep so I don't think it is needed at all. I see the key down/up and it loots ingame, why add a line I don't need?
Updating is just deleting the code out, no banking anymore unless you plan to do it with guild bank deposit :P . Did you even see how they screwed up there own code and didn't add karma correctly to the wallet? Was fun to play with that a few times before they fixed yesterday ;)
Original post:Quote:
What button activates your Sprint setting Plox? Can i set it to shift? See previous page for full post v.v ty
Quote:
LAlt = Sprint for speed hacking.
No.Quote:
Now uNf not teleport?