| View previous topic :: View next topic |
| Author |
Message |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Tue Jul 31, 2007 11:27 am Post subject: HotKey+Simulation of Keypressing |
|
|
| Code: |
procedure PostKeyEx32(key: Word; const shift: TShiftState; specialkey: Boolean);
{************************************************************
* Procedure PostKeyEx32
*
* Parameters:
* key : virtual keycode of the key to send. For printable
* keys this is simply the ANSI code (Ord(character)).
* shift : state of the modifier keys. This is a set, so you
* can set several of these keys (shift, control, alt,
* mouse buttons) in tandem. The TShiftState type is
* declared in the Classes Unit.
* specialkey: normally this should be False. Set it to True to
* specify a key on the numeric keypad, for example.
* Description:
* Uses keybd_event to manufacture a series of key events matching
* the passed parameters. The events go to the control with focus.
* Note that for characters key is always the upper-case version of
* the character. Sending without any modifier keys will result in
* a lower-case character, sending it with [ssShift] will result
* in an upper-case character!
************************************************************}
type
TShiftKeyInfo = record
shift: Byte;
vkey: Byte;
end;
byteset = set of 0..7;
const
shiftkeys: array [1..3] of TShiftKeyInfo =
((shift: Ord(ssCtrl); vkey: VK_CONTROL),
(shift: Ord(ssShift); vkey: VK_SHIFT),
(shift: Ord(ssAlt); vkey: VK_MENU));
var
flag: DWORD;
bShift: ByteSet absolute shift;
i: Integer;
begin
for i := 1 to 3 do
begin
if shiftkeys[i].shift in bShift then
keybd_event(shiftkeys[i].vkey, MapVirtualKey(shiftkeys[i].vkey, 0), 0, 0);
end; { For }
if specialkey then
flag := KEYEVENTF_EXTENDEDKEY
else
flag := 0;
keybd_event(key, MapvirtualKey(key, 0), flag, 0);
flag := flag or KEYEVENTF_KEYUP;
keybd_event(key, MapvirtualKey(key, 0), flag, 0);
for i := 3 downto 1 do
begin
if shiftkeys[i].shift in bShift then
keybd_event(shiftkeys[i].vkey, MapVirtualKey(shiftkeys[i].vkey, 0),
KEYEVENTF_KEYUP, 0);
end; { For }
end; { PostKeyEx32 }
//I Generated a Basic Function of Continuos Key pressing of 'z' until 'v' is //pressed
procedure TForm1.Timer1Timer(Sender: TObject);
begin
If
Odd(getasyncKeyState(86))
Then
Repeat
/////////////////////////////////////////////////////////
////PostKeyEx32(VK_LWIN, [], False);/////////////////////
/////////////////////////////////////////////////////////
PostKeyEx32(Ord('Z'), [], False);
/////////////////////////////////////////////////////////
/// PostKeyEx32(Ord('C'), [ssctrl, ssAlt], False)////////
/////////////////////////////////////////////////////////
Until
odd(getasynckeystate(86))
End;
|
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Tue Jul 31, 2007 5:09 pm Post subject: |
|
|
| Copy pasted from swissdelphicenter.ch/torry ?
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Wed Aug 01, 2007 3:45 am Post subject: |
|
|
ZenX wtf ?
thats only the procedure
|
|
| Back to top |
|
 |
malfunction Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Jan 2007 Posts: 1015 Location: http://www.behindthecorner.com/
|
Posted: Wed Aug 01, 2007 3:46 am Post subject: |
|
|
| Kaspersky wrote: | ZenX wtf ?
thats only the procedure |
yeah thats really not a full autobot its just the procedure
_________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Wed Aug 01, 2007 3:58 am Post subject: |
|
|
| works for ms? no, isn't it ?
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Thu Aug 02, 2007 10:38 am Post subject: |
|
|
| skyllakarean wrote: | | Kaspersky wrote: | ZenX wtf ?
thats only the procedure |
yeah thats really not a full autobot its just the procedure  |
1)i cant discribe how dumb you are
2)i got all this + functions before ZenX, we work togethour on a autloot so STFU, he just copy/paste it for idk..
@ rEakW0n
no, so dont even try lol.
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Thu Aug 02, 2007 1:12 pm Post subject: |
|
|
Of course its not a FULL bot lmao.
how the fuck could i post a full bot script lmaooooo
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Aug 03, 2007 3:24 am Post subject: |
|
|
| ZenXChaos wrote: | Of course its not a FULL bot lmao.
how the fuck could i post a full bot script lmaooooo |
1)its not a script
2)its not easy for your delphi lvl to make a bot (Yet)
3)if you made a "working" bot, dont post it, just release the bin
4)im not home, so i cant go on msn !!!
|
|
| Back to top |
|
 |
|