View previous topic :: View next topic |
Did you actually read my entire huge post? |
Yes |
|
20% |
[ 1 ] |
No |
|
80% |
[ 4 ] |
I kinda skimmed it |
|
0% |
[ 0 ] |
|
Total Votes : 5 |
|
Author |
Message |
XTrinityX Expert Cheater
Reputation: 0
Joined: 18 May 2006 Posts: 123 Location: Connecticut
|
Posted: Sun Oct 22, 2006 12:54 pm Post subject: Implementing global hotkeys and finding a pointer. |
|
|
Okay, two things to ask about.
One, I am making an internal trainer for MapleStory, and it works alright. However, I was wondering if I can implement global hotkeys into my program so if I press a combination of buttons while playing MapleStory, a checkbox becomes active. I was thinking of something like this, but I don't know the code for global hotkeys.
(I know I am missing the semi-colons)
Code: |
Procedure HotKeyActivated
If Checkbox1.Checked = False Then
Checkbox1.Checked = True
Else
CheckBox1.Checked = False
End
|
This code has the general idea, but I don't know how to make a procedure run on a global hotkey, so my question is pretty much:
How do you get a procedure to run on a Hotkey that I press during MapleStory?
Okay, part 2. ^_^
Say I want to make it so if a checkbox is active, then change / freeze a (pointer) address. I am actually not even sure where to start on this, so I was looking for some help. I was thinking that I would have a procedure that freezes an address like:
Code: | Procedure FreezeAddy(i:integer;address:dword;offset:dword;)
(Somewhere here enter in a code to freeze an addy) |
I would also need a code to unfreeze an addy?
Code: | Procedure UnFreezeAddy(address:dword;offset:dword;)
(Somewhere here enter in a code to unfreeze an addy) |
And then in my checkbox code
Code: |
Procedure CheckBox3Click(Sender: TObject)
var
address:integer;
i: integer;
begin
if CheckBox3.Checked then
begin
FreezeAddy(0,$SomeAddress, $SomeOffset);
end
else
begin
UnfreezeAddy($SomeAddress, $SomeOffset);
end;
end
|
I am not even sure if any of this code above would work, but I need some more information on how CE handles pointers and stuff. Any help is appreciated.
Thanks much,
~Trinity
|
|
Back to top |
|
 |
XTrinityX Expert Cheater
Reputation: 0
Joined: 18 May 2006 Posts: 123 Location: Connecticut
|
Posted: Sun Oct 22, 2006 11:47 pm Post subject: |
|
|
Nobody knows? I guess I'll do some more research...
~Trinity
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25708 Location: The netherlands
|
Posted: Mon Oct 23, 2006 1:26 am Post subject: |
|
|
for hotkeys look at the hotkeyhandler functions and see how they are used in ce. (have to implement the hotkey handler for the hotkey you make)
and for freezing look under the mousedown event of one of those checkboxes (not onclick but onmousedown)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
vener Grandmaster Cheater Supreme
Reputation: 0
Joined: 18 Feb 2006 Posts: 1668
|
Posted: Mon Oct 23, 2006 4:49 am Post subject: |
|
|
DB can you brifly explain how ur mousedown works?
i have been freezing via the ce pluginexports code,i have beenresearching on how to get the ct to respond when i freeze it?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25708 Location: The netherlands
|
Posted: Mon Oct 23, 2006 6:23 am Post subject: |
|
|
mousedown handles lots of things including marking a address as selected and stuff, but for the freezing part:
It reads the original memory
stores it in memrec[selected].frozenvalue
and sets memrec[selected].frozen to true
and calls update screen for the checkbox to become checked
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
N-Y-M Master Cheater
Reputation: 0
Joined: 13 Jul 2006 Posts: 475 Location: Emergency
|
Posted: Thu Oct 26, 2006 9:09 am Post subject: |
|
|
@Dark Byte
i would like to ask question regarding hotkey. there is a hotkey to bring CE to front (Ctrl+Alt+Pg Down), i tried but it doens not work
GG hooked both keybd_event and sendinput, so can CE hotkey works?
Thanks.
_________________
|
|
Back to top |
|
 |
|