Need a bit of help

07/05/2020 23:27 Hatz~#1
Hello, im trying to make a simple program on c++ to invite myself to the miniland and use the buff on my alters but im facing a problem that i didnt with other software like autohotkey or autoit. The problem is that i can't find any way of sending the invitation command to the window. I tried the next command:

SendMessage(hwnd, WM_SET_TEXT, 0, (LPARAM)"$InvM nick");

but what it does is changing the title. Can anyone help me? :3
07/06/2020 03:47 EPvPAgen#2
Quote:
Originally Posted by Hatz~ View Post
Hello, im trying to make a simple program on c++ to invite myself to the miniland and use the buff on my alters but im facing a problem that i didnt with other software like autohotkey or autoit. The problem is that i can't find any way of sending the invitation command to the window. I tried the next command:

SendMessage(hwnd, WM_SET_TEXT, 0, (LPARAM)"$InvM nick");

but what it does is changing the title. Can anyone help me? :3
[Only registered and activated users can see links. Click Here To Register...]
That's what WM_SET_TEXT does.

Do you want to write $InvM in the chat and send it? Just send ENTER, write the "command" and send ENTER again. (you also can send keys trough c++)
That's pretty easy with AutoIt and there are many guides.
07/06/2020 08:26 IceTrailer#3
[Only registered and activated users can see links. Click Here To Register...]
07/06/2020 10:00 Hatz~#4
Thx for the reply but i dont understand how to send the packets, i never used a packetlogger before, do i need any specific library or something?

Quote:
Originally Posted by EPvPAgen View Post
[Only registered and activated users can see links. Click Here To Register...]
That's what WM_SET_TEXT does.

Do you want to write $InvM in the chat and send it? Just send ENTER, write the "command" and send ENTER again. (you also can send keys trough c++)
That's pretty easy with AutoIt and there are many guides.
I sent Enter but at the moment of writing the command: "$InvM nick" i couldnt write on the chat, i tryed sending the keys to the window and pasting the clipboard aswell but no one of these worked. I already made a program like this on autohotkey and was way easier but now i want to make it again on c++ just for self learning purpose