• Welcome to Valhalla Legends Archive.
 

Bit of help please

Started by QwertyMonster, December 31, 2005, 05:12 PM

Previous topic - Next topic

QwertyMonster

I haven't actually started this, just thought about it. I would like to make it though.

I want to build a program so that if my status on MSN Messenger is "Away" for instance, and somebody talks to me.. i want it to send a messge saying "Blah msg here to be sent". How would i do this?

Thanks in Advance

Joe[x86]

I don't know if MSN Messenger allows plugins, but if you want to switch to Gaim, I know it does. If MSN supports plugins, it would need to be in C/C++, as do Gaim's (C, I think.)

Besides that, your only option is to use a Packet Capture Library, such as WinPcap, to find when people send you messages, ReadProcessMemory to see if you're currently away, and then Adron's hooksocket to send the response message to them.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

rabbit

Gaim uses Perl for its plugins.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Mangix

Quote from: Joe on January 01, 2006, 03:45 AM
I don't know if MSN Messenger allows plugins
It does with a program called MsgPlus but i dont have any info on making em :/

QwertyMonster

Quote from: FatBastard on January 01, 2006, 09:13 AM
Quote from: Joe on January 01, 2006, 03:45 AM
I don't know if MSN Messenger allows plugins
It does with a program called MsgPlus but i dont have any info on making em :/

MessengerPlus has the feature i am trying to make. But messengerplus is spyware.

Joe[x86]

Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Mangix

Quote from: Saphire on January 01, 2006, 02:02 PM
Quote from: FatBastard on January 01, 2006, 09:13 AM
Quote from: Joe on January 01, 2006, 03:45 AM
I don't know if MSN Messenger allows plugins
It does with a program called MsgPlus but i dont have any info on making em :/

MessengerPlus has the feature i am trying to make. But messengerplus is spyware.
you do realize that there is an option to install it without the spyware right? you lose no functionallity which is quite nice. only bad part about it is that Microsoft AntiSpyware complains even if you chose not to install the spyware.

TehUser

Of course, there are easier ways like writing a proxy or using the API related to windows.  There's even injecting a DLL, but that's probably more work.

QwertyMonster

Quote from: FatBastard on January 02, 2006, 09:19 PM
Quote from: Saphire on January 01, 2006, 02:02 PM
Quote from: FatBastard on January 01, 2006, 09:13 AM
Quote from: Joe on January 01, 2006, 03:45 AM
I don't know if MSN Messenger allows plugins
It does with a program called MsgPlus but i dont have any info on making em :/



MessengerPlus has the feature i am trying to make. But messengerplus is spyware.
you do realize that there is an option to install it without the spyware right? you lose no functionallity which is quite nice. only bad part about it is that Microsoft AntiSpyware complains even if you chose not to install the spyware.


It still installs spyware... doesn't it? Atleast i think it does.

@Joe: Thanks. :P

@TehUser: Hmm.. lol

Joe[x86]

TehUser, a proxy would require intense research of the MSN protocol, which IIRC hasn't been released publicly since it was first drafted. Of course, if he knew C, he could read Gaim, but I don't think he does, so eh.

Elaborate on that API idea, if you will. I'm not quite sure what you mean by it.

Also, for injecting a DLL, that'd have to be done in C or C++ (without major modifications to the way VB builds files, which I failed at doing myself).
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

Quote from: Joe on January 03, 2006, 06:08 PM
TehUser, a proxy would require intense research of the MSN protocol, which IIRC hasn't been released publicly since it was first drafted. Of course, if he knew C, he could read Gaim, but I don't think he does, so eh.
Why would it require protocol research?  A proxy is simply middleware; you connect to the proxy and the proxy connects to the server.  All it does is relay messages.  No protocol knowledge required.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

dxoigmn

Quote from: MyndFyre on January 03, 2006, 06:20 PM
Quote from: Joe on January 03, 2006, 06:08 PM
TehUser, a proxy would require intense research of the MSN protocol, which IIRC hasn't been released publicly since it was first drafted. Of course, if he knew C, he could read Gaim, but I don't think he does, so eh.
Why would it require protocol research?  A proxy is simply middleware; you connect to the proxy and the proxy connects to the server.  All it does is relay messages.  No protocol knowledge required.

There might be some NATing involved, so parsing the protocol might be necessary. This all depends on the protocol however.

TehUser

Quote from: Joe on January 03, 2006, 06:08 PM
TehUser, a proxy would require intense research of the MSN protocol, which IIRC hasn't been released publicly since it was first drafted. Of course, if he knew C, he could read Gaim, but I don't think he does, so eh.
As pretty much everyone has said, there's no protocol knowledge required.  However, the protocol is documented and this would probably be the easiest way to create something along the lines of what he's looking for.
Quote from: Joe on January 03, 2006, 06:08 PM
Elaborate on that API idea, if you will. I'm not quite sure what you mean by it.
Running a timer to FindWindow any new messages that have arrived and then using the API to set the text of the message box and then click the send button would be another way to do this.

Quote from: Joe on January 03, 2006, 06:08 PM
Also, for injecting a DLL, that'd have to be done in C or C++ (without major modifications to the way VB builds files, which I failed at doing myself).
Wrong.  Just because you've failed doesn't mean that more competent programmers haven't accomplished this already.

Joe[x86]

No offence to Qwerty, but he isn't a more competent programmer than I am. =/.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

QwertyMonster

I know i'm not. I think i'll just use MSG Plus and hope it doesn't give me spyware again and muck my computer up. (Like it did last time! :(). Thanks for all the helps guys. I'll leave the topic open though for some of you to carry on your discussion.