| View previous topic :: View next topic |
| Author |
Message |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Wed Jan 23, 2008 11:21 pm Post subject: Can anyone tell me why? |
|
|
can anyone tell me why this wont send to maple, even into the text box?
| Code: | for i := 1 to Length(TextLine1.text) do
hhPostmessageA(FindWindowex(FindWindow(nil,'MapleStory'),0,nil,nil),WM_Char,integer(pChar(TextLine1.text[i])),0); |
_________________
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Thu Jan 24, 2008 6:17 am Post subject: Re: Can anyone tell me why? |
|
|
| AdamG62 wrote: | can anyone tell me why this wont send to maple, even into the text box?
| Code: | for i := 1 to Length(TextLine1.text) do
hhPostmessageA(FindWindowex(FindWindow(nil,'MapleStory'),0,nil,nil),WM_Char,integer(pChar(TextLine1.text[i])),0); |
|
becuase Length() does not exist.
Use len() instead.
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Thu Jan 24, 2008 7:13 am Post subject: |
|
|
Length does exist....
Not sure if thats the problem, but you don't need FindWindowEx, only FindWindow.
try Ord(TextLine1.Text[i]) instead of Integer(PChar(TextLine1.Text[i]))
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Thu Jan 24, 2008 7:27 am Post subject: |
|
|
thanks, will try
Edit: Ord didn't work, im doing it like this now, works on notepad so it's better than the old
i think it was the scancode
| Code: | for i := 1 to Length(TextLine1.text) do
begin
TempChar := integer(TextLine1.Text[i]);
CharT := Cardinal(TextLine1.Text[i]);
lParam := MakeLong(0, MapVirtualKey(CharT, 0));
h := FindWindow(nil,'MapleStory');
hhPostmessageA(h ,WM_Char ,TempChar, lParam);
sleep(5);
end; |
yet this doesn't work in chat box either
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Thu Jan 24, 2008 5:35 pm Post subject: |
|
|
You need to bypass it?
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Jan 24, 2008 6:06 pm Post subject: |
|
|
| samuri25404 wrote: | | You need to bypass it? |
pretty sure hes using hookHop.dll... (due to the fact of "hhPostMessageA")
_________________
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Thu Jan 24, 2008 6:53 pm Post subject: |
|
|
yes i am, but no luck
_________________
|
|
| Back to top |
|
 |
|