| View previous topic :: View next topic |
| Author |
Message |
sp0k3 How do I cheat?
Reputation: 0
Joined: 08 Jun 2007 Posts: 9
|
Posted: Mon Jun 18, 2007 4:25 pm Post subject: Delphi Question |
|
|
Hi all, well what i need help with is a button then when you press it, it hooks to the game i want it to, but if it cant find the game open then it wont hook? any ideas? The game is called legendofmir Btw  |
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Mon Jun 18, 2007 5:24 pm Post subject: |
|
|
I suggest starting a bit simpler than hooking processes. _________________
|
|
| Back to top |
|
 |
ravicus Master Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 464
|
Posted: Mon Jun 18, 2007 6:15 pm Post subject: |
|
|
Do you know how to show a messagebox in delphi?  _________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Mon Jun 18, 2007 7:09 pm Post subject: |
|
|
| Code: |
ShowMessage('Your message goes here.');
|
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
ravicus Master Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 464
|
Posted: Tue Jun 19, 2007 5:19 pm Post subject: |
|
|
| oib111 wrote: | | Code: |
ShowMessage('Your message goes here.');
|
|
Not you.
If he can't do that, he shouldn't even be asking. _________________
|
|
| Back to top |
|
 |
sp0k3 How do I cheat?
Reputation: 0
Joined: 08 Jun 2007 Posts: 9
|
Posted: Tue Jun 19, 2007 5:27 pm Post subject: |
|
|
| I no abit about delphi allready like variables and stuff, strings ect but could anyone supply me with an example code? |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Jun 19, 2007 5:39 pm Post subject: |
|
|
To hook a process. Uh, I don't know how to do that. Ask someone like Kaspersky, appal, or any other person who is a good with delphi. _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
sp0k3 How do I cheat?
Reputation: 0
Joined: 08 Jun 2007 Posts: 9
|
Posted: Tue Jun 19, 2007 5:46 pm Post subject: |
|
|
| Ok ty mate |
|
| Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Tue Jun 19, 2007 6:56 pm Post subject: |
|
|
| Code: | var WindowName: THandle;
ProcessId: Dword;
ThreadId: Dword;
legendofmir: THandle;
const
WindowTitle = 'MapleStory';
Begin
WindowName := FindWindow(nil, WindowTitle);
ThreadId := GetWindowThreadProcessId(WindowName, @ProcessId);
legendofmir:=Openprocess(PROCESS_ALL_ACCESS,TRUE,ProcessId); |
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Tue Jun 19, 2007 7:04 pm Post subject: |
|
|
| Code: |
var
ProcessId: Dword;
begin
if not boolean(GetWindowThreadProcessId(FindWindow('MapleStoryClass', 'MapleStory'), @ProcessId)) then ShowMessage('fail') else
CloseHandle(OpenProcess(PROCESS_ALL_ACCESS, TRUE, ProcessId));
|
cleaner  _________________
|
|
| Back to top |
|
 |
sp0k3 How do I cheat?
Reputation: 0
Joined: 08 Jun 2007 Posts: 9
|
Posted: Tue Jun 19, 2007 7:28 pm Post subject: |
|
|
| Thanks guys, but that code looks abit complicated to me, say i changed the MapleStory for legendofmir then this code would work? |
|
| Back to top |
|
 |
ravicus Master Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 464
|
Posted: Tue Jun 19, 2007 7:34 pm Post subject: |
|
|
If all you know is basics such as...
Variables
Arithmetic
Basic GUI Functions
Strings
Then you need to expand your knowledge, look more into the assembly side of the language, and learn some stuff about functions and such. _________________
|
|
| Back to top |
|
 |
sp0k3 How do I cheat?
Reputation: 0
Joined: 08 Jun 2007 Posts: 9
|
Posted: Tue Jun 19, 2007 7:35 pm Post subject: |
|
|
Ok thanks for the advice  |
|
| Back to top |
|
 |
|