Shoutbox

[Release] Typing Notifier - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] Typing Notifier (/showthread.php?tid=74511)

[Release] Typing Notifier by mickael9 on 05-19-2007 at 11:39 AM

Hi !

This script displays a toast when someone types a message and you have no conversation open with him.

It uses Xniff.


RE: [Release] Typing Notifier by rquattro on 05-19-2007 at 12:26 PM

I can't access this script options, is it normal?


RE: [Release] Typing Notifier by mickael9 on 05-19-2007 at 12:41 PM

quote:
Originally posted by rquattro
I can't access this script options, is it normal?
There is no script options
RE: [Release] Typing Notifier by trini on 05-19-2007 at 01:33 PM

On Vista it's not working. I have UAC and DEP turned off, account has admin rights.

[Image: untitledim8.jpg]


RE: [Release] Typing Notifier by Deco on 05-19-2007 at 02:52 PM

Xniff doesn't seem to work with Vista.



RE: [Release] Typing Notifier by absorbation on 05-19-2007 at 03:56 PM

Can you just clear something up :P? Does the script work like other conversation notifiers but uses a different method? Is this method accurate?

The script failed to start for me :(.


RE: [Release] Typing Notifier by CookieRevised on 05-19-2007 at 05:20 PM

quote:
Originally posted by mickael9
Hi !

This script displays a toast when someone types a message and you have no conversation open with him.

It uses Xniff.
your script has various bugs (and indeed fails to start).

And try to not remove credits if you use portions of code from other scripts or snippets.

Not to mention that such scripts have already been made, see below.

quote:
Originally posted by absorbation
Can you just clear something up :P? Does the script work like other conversation notifiers but uses a different method? Is this method accurate?

The script failed to start for me :(.
such scripts (this isn't the first typing notifer btw) use the exact same method as open window notifers use. It only looks for another protocol message, which is accurate....

This said, there are also scripts and other addons which simulate a constant user-is-typing message or on the other hand prevent the sending of user-is-typing. This means that a script like this will not always notify you when someone is really typing and/or that it can also give false notifications.

What such scripts and addons don't detect are other similar messages like user-is-writing and others for example (easy to build in though)...

Note that Xniff, which this script uses, is known to have problems with some (wireless) networks (on any Windows) and on Vista in general.
Also, a bug in Xniff caused the ActiveX control to crash internally. You wont notice this as a normal user, but you can see this if you are a Plus! beta tester and look at the Plus! debug logs. This will cause other problems with other scripts on its turn.

Existing Typing notifiers:

from Jesus (has various bugs):
http://shoutbox.menthix.net/showthread.php?tid=67...d=745257#pid745257

from CookieRevised:
http://shoutbox.menthix.net/showthread.php?tid=67...d=745307#pid745307
RE: [Release] Typing Notifier by Bryan84 on 05-20-2007 at 03:49 PM

CookieRevised, does any of the above Typing Scripts works in Vista?


RE: [Release] Typing Notifier by CookieRevised on 05-20-2007 at 04:02 PM

They all use Xniff, so chances are slim... You could always try it though (and report back ;))


RE: [Release] Typing Notifier by Bryan84 on 05-20-2007 at 04:06 PM

I don't want to start crashing my MSN :P


RE: RE: [Release] Typing Notifier by trini on 05-20-2007 at 06:11 PM

quote:
Originally posted by CookieRevised
They all use Xniff, so chances are slim... You could always try it though (and report back ;))

Your script worked for me on Vista exactly one time - right after I installed it. Showd just once and then I never saw it again :(
RE: [Release] Typing Notifier by CookieRevised on 05-20-2007 at 11:54 PM

I said it wouldn't work in Vista, no? :d ;)
Anyways, blame Pai and his Xniff ActiveX :p

thanks for trying and reporting back though.


RE: [Release] Typing Notifier by Bryan84 on 05-21-2007 at 03:36 AM

Haha. Xniff ActiveX is the only method to do such a script?

I know nuts about scripting :D


RE: [Release] Typing Notifier by Volv on 05-21-2007 at 01:15 PM

quote:
Originally posted by Bryan84
Haha. Xniff ActiveX is the only method to do such a script?

I know nuts about scripting :D
Definitely not the only way, most socket-hooking/packet-sniffing script or dll out there should do the job but I believe Xniff is the only one which any developer on these forums has bothered attempting :p

RE: [Release] Typing Notifier by Bryan84 on 05-22-2007 at 03:03 AM

Hehe .. so how I wish someone can script this notifier using NOT xniff activex? :D


RE: [Release] Typing Notifier by rquattro on 05-22-2007 at 07:11 PM

i never got this working and I'm running windows xp.


RE: RE: [Release] Typing Notifier by CookieRevised on 05-22-2007 at 10:48 PM

quote:
Originally posted by rquattro
i never got this working and I'm running windows xp.

If you mean the script from mickael9, listed in the top post: as explained before, that script will never work as it contains bugs. Instead try the one I listed in my first reply to this thread.

Though: there is always a chance that it will not work either. But that's due to how Xniff has been programmed, I can't do anything about that (that's something for Pai, the creator, to do).
RE: [Release] Typing Notifier by DarkGhost on 05-22-2007 at 11:38 PM

doesnt msnplus do this already?


RE: [Release] Typing Notifier by CookieRevised on 05-23-2007 at 12:02 AM

quote:
Originally posted by DarkGhost
doesnt MsgPlus do this already?
nope


- If you mean the status message "user is typing" in a conversation: that is a feature of Messenger itself, not from Messenger Plus!. But this message is only shown in a conversation. So you already need to have a conversation open. If someone writes something to you and you don't have a conversation open, you wont get any notification.

These "Typing Notifiers" will notify you when you don't have a conversation open.


- In case you mean the Messenger Plus! Live feature to notify you when someone starterd a new chat (image). Which can be added here:
Contact list > Plus! > Preferences > Customize! > Event Notifications > ... > Started a new chat

This notification is only triggered when a contact has just sent a message and you didn't had a conversation open with that contact. In other words, you get a notification as soon as a new conversation window pops up on your side.


- Note: be carefull not to confuse both the above things with the highly unreliable "Open Window Notifiers"
RE: RE: [Release] Typing Notifier by trini on 05-23-2007 at 11:28 AM

quote:
Originally posted by CookieRevised
I said it wouldn't work in Vista, no? :d ;)
Anyways, blame Pai and his Xniff ActiveX :p

thanks for trying and reporting back though.

It started work today :o But it shows 2 popups same time for one person 8-)
RE: [Release] Typing Notifier by mickael9 on 05-23-2007 at 08:31 PM

Hi,

I created a .NET Dll for sniffing WLM (incoming and outgoing) packets.
My code is based on this article : http://www.codeproject.com/cs/internet/CSNetworkSniffer.asp

I made a new Typing Notifier version that uses SniffSharp and *should* work on Vista (I can't test :()

The script might be buggy so I need some feedbacks (from users using Windows Vista).

Thanks

Note : You need to register the DLL manually by running this command :

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regAsm.exe /codebase "C:\Program Files\Messenger Plus! Live\Scripts\Typing Notifier - SniffSharp\SniffSharp.dll"

Restart Messenger and the script should work (take a look at the Script Debugging window)

(<DotNetFiles> is a bit buggy :()


RE: [Release] Typing Notifier by Bryan84 on 05-24-2007 at 03:14 AM

ooo anyone tried?


RE: [Release] Typing Notifier by Felu on 05-24-2007 at 04:19 AM

quote:
Originally posted by mickael9
(<DotNetFiles> is a bit buggy (Smilie))

Yes, thats why i ended up using exe's for my 2 script.

Yea, i know, i need to update them both
RE: [Release] Typing Notifier by TheAngel on 05-24-2007 at 12:51 PM

Vista (32) here

after register the dll and restart wlm the Script Debugging window show this

Function called: OnEvent_Initialize
Error: An address incompatible with the requested protocol was used (code: -2147467259)
       File: Typing Notifier.js. Line: 74.
Function OnEvent_Initialize returned an error. Code: -2147352567


RE: [Release] Typing Notifier by mickael9 on 05-24-2007 at 04:26 PM

Hi TheAngel,

I made a debug version.

- Close Messenger
- Replace the SniffSharp.dll and Typing Notifier.js files in the script's folder
- Restart Messenger and copy/paste the text in the Script Debugging window

Thanks


RE: [Release] Typing Notifier by TheAngel on 05-24-2007 at 06:00 PM

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: An address incompatible with the requested protocol was used (code: -2147467259)
       File: Typing Notifier.js. Line: 78.
Function OnEvent_Initialize returned an error. Code: -2147352567


RE: [Release] Typing Notifier by Veggie on 05-24-2007 at 06:16 PM

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: No IP Found (code: -2146233088)
       File: Typing Notifier.js. Line: 98.
Function OnEvent_Initialize returned an error. Code: -2147352567


RE: [Release] Typing Notifier by mickael9 on 05-24-2007 at 06:33 PM

OMG Sorry I'm so stupid
(That was the old DLL :()

Please test with the new patch :)

@TheAngel : Are you using a IPv6 connection ?


RE: [Release] Typing Notifier by TheAngel on 05-24-2007 at 06:39 PM

:P

here's the log, erased some of the ip numbers

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
SniffSharp :: IP : fe80::a11f:22e4:cac6:ae00%9
SniffSharp :: Choosen IP : fe80::a11f:22e4:cac6:ae00%9
SniffSharp :: IP : fex::200:5efe:x.x.x.x%14
SniffSharp :: IP : 2002:545a:e11a::545a:e11a
SniffSharp :: IP : x.x.x.x
SniffSharp :: Error while binding main socket : An address incompatible with the requested protocol was used
StackTrace :    at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Error while setting IOControl modes : An invalid argument was supplied
StackTrace :    at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at System.Net.Sockets.Socket.IOControl(IOControlCode ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Error while starting async operation : An invalid argument was supplied
StackTrace :    at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Started successfully


RE: [Release] Typing Notifier by Veggie on 05-24-2007 at 06:55 PM

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
SniffSharp :: IP : 192.168.0.2
SniffSharp :: Error while binding main socket : No IP Found
StackTrace :    at SniffSharp.SniffSharp.GetIp()
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Error while setting IOControl modes : An invalid argument was supplied
StackTrace :    at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at System.Net.Sockets.Socket.IOControl(IOControlCode ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Error while starting async operation : An invalid argument was supplied
StackTrace :    at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Started successfully
<hr>
the ip it chose is my lan address if that makes any differnce


RE: [Release] Typing Notifier by TheAngel on 05-25-2007 at 05:28 AM

mickael9 yes its default on vista the ipv6 e ipv4

edit:

i removed the ipv6 from connection and also killed the ip helper service that gives the ipv6 over ipv4 connection and now it give this

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
SniffSharp :: IP : ::1
SniffSharp :: Choosen IP : ::1
SniffSharp :: IP : x.x.225.26
SniffSharp :: Error while binding main socket : An address incompatible with the requested protocol was used
StackTrace :    at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Error while setting IOControl modes : An invalid argument was supplied
StackTrace :    at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at System.Net.Sockets.Socket.IOControl(IOControlCode ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Error while starting async operation : An invalid argument was supplied
StackTrace :    at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at SniffSharp.SniffSharp.Start()
SniffSharp :: Started successfully

----

i think for a quickfix for this and for ipv6 enabled is only detecting the list from the ips detected what is that only have numbers and has one (or more) . or the string is bigger that 5 characters for example

continue the good work