What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Preview / Alpha] Who Sent It 0.7.1

[Preview / Alpha] Who Sent It 0.7.1
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Preview / Alpha] Who Sent It
Xniff? ai...  :(

It has troubles with Vista and it contains a big bug where it will internally crash Plus!/Messenger on exit. See notes: CookieRevised's reply to [Release] Xniff (ActiveX Packet Sniffer) - Examples inside

And it does crash Messenger/Plus! internally when you try to update Plus!.

Also, when people have other scripts with Xniff, they can even get in trouble when they simply uninstall some of those scripts (since you can only register one file at the time. All other scripts will start using that file in the new location. Removing that file means that all other scripts will stop working and will produce errors).

And, what about: CookieRevised's reply to Protocol (Using Xniff)?

anyways, background reading material for people having problems:
Packet sniffer that supports all wirelless connections.


-----------------



As for the script (not considering the problems with Xniff itself).

The method for starting up is a faulty. So even if the rest of the script works 100% already, it wouldn't even start properly...

The error checks you do in OnEvent_Initialize aren't done in OnEvent_SignInReady. However, the checks in OnEvent_Initialize are not executed when the user starts Messenger (since he didn't signed in yet). For example DoInit is never called (unless the user installs or actually restarts the script while he is signed in), which is the most crucial function for this script.

Maybe you better put everything (all the error checking and initializing and calling DoInit) in OnEvent_SignInReady and simply direct OnEvent_Initialize to OnEvent_SignInReady (or don't even use OnEvent_Initialize since it makes no sense to use this script while you're signed out anyways).

thus:
quote:
Originally posted by Dempsey
quote:
Originally posted by vikke
mynetx: Register the Xniff.dll using regsvr32.
It doesn't need registering, the script tries that itself if it has an error loading xniff.
It was intended to do that, but unfortunatly it doesn't.

-----------------

PS: though, I very much like it that you don't force the file to be registered (eg: by using ScriptInfo.xml) and first try to initialize the ActiveX in case it is already present somewhere and already registered in another location (y). Everybody should do this in their scripts since it will partially prevent some problems talked about above



PS: the hardlink creation is a nice touch, although I would personally rather see this as an option.

It can create difficulties/confusions when the user decides to remove a file and later decides to place it back, or move a file or something, expecting the link to be intact, which it wouldn't.

Or device a scheme where the hardlink is only there as long as the conversation window is open or something. In that way the user doesn't loose the ability to open the file from the conversation window, and his recieved folder doesn't get cluttered with filenames (wasn't that one of the goals of this script in the first place? To releave the folder of cluttered files)... or something.

;)

And I dunno how 3rd party programs like some file schredders for example react on removing a file which is hard linked; maybe some will actually overwrite the file contents even if the reference count is not 0, leaving the other copy link useless, while the user thinks he has still a perfect copy of the file. Such 3rd party programs are not the problem of this script, but something to consider when your program makes use of hard links and such stuff...

And IIRC hard links can only be created on the same volume. So if the user decides to have directories on another volume (to save space?) than Messenger's recieved files folder, the link can't be created

(plus it is not supported on fat32 of course).


EDIT: Oh, and the Windows API for creating a hardlink is CreateHardlink(). It works  as easy (if not easier) than using a DOS Shell to FSutils. ;)


This post was edited on 03-14-2008 at 04:08 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-10-2008 01:27 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Preview / Alpha] Who Sent It 0.7.1 - by Dempsey on 03-04-2008 at 04:54 PM
RE: [Preview / Alpha] Who Sent It - by mynetx on 03-04-2008 at 05:05 PM
RE: [Preview / Alpha] Who Sent It - by Dempsey on 03-04-2008 at 05:23 PM
RE: [Preview / Alpha] Who Sent It - by mynetx on 03-04-2008 at 05:27 PM
RE: [Preview / Alpha] Who Sent It - by vikke on 03-04-2008 at 05:32 PM
RE: [Preview / Alpha] Who Sent It - by mynetx on 03-04-2008 at 05:37 PM
RE: [Preview / Alpha] Who Sent It - by Dempsey on 03-04-2008 at 06:15 PM
RE: [Preview / Alpha] Who Sent It - by matty on 03-04-2008 at 06:18 PM
RE: [Preview / Alpha] Who Sent It - by Quantum on 03-04-2008 at 06:21 PM
RE: [Preview / Alpha] Who Sent It - by mynetx on 03-04-2008 at 06:22 PM
RE: [Preview / Alpha] Who Sent It - by Dempsey on 03-04-2008 at 06:27 PM
RE: [Preview / Alpha] Who Sent It - by Ezra on 03-04-2008 at 06:40 PM
RE: [Preview / Alpha] Who Sent It - by aNILEator on 03-04-2008 at 06:54 PM
RE: [Preview / Alpha] Who Sent It - by Dempsey on 03-04-2008 at 07:23 PM
RE: [Preview / Alpha] Who Sent It - by Quantum on 03-04-2008 at 07:32 PM
RE: [Preview / Alpha] Who Sent It - by Ezra on 03-04-2008 at 07:48 PM
RE: [Preview / Alpha] Who Sent It - by Spunky on 03-04-2008 at 09:02 PM
RE: [Preview / Alpha] Who Sent It - by riahc4 on 03-10-2008 at 12:33 AM
RE: [Preview / Alpha] Who Sent It - by Spunky on 03-10-2008 at 12:49 AM
RE: [Preview / Alpha] Who Sent It - by CookieRevised on 03-10-2008 at 01:27 AM
RE: [Preview / Alpha] Who Sent It - by Dempsey on 03-10-2008 at 08:44 AM
RE: [Preview / Alpha] Who Sent It - by CookieRevised on 03-10-2008 at 11:45 AM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by V@no on 03-23-2008 at 03:56 AM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by CookieRevised on 03-23-2008 at 12:30 PM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by Spunky on 03-23-2008 at 03:12 PM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by CookieRevised on 03-23-2008 at 03:26 PM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by Spunky on 03-23-2008 at 03:38 PM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by CookieRevised on 03-23-2008 at 03:42 PM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by V@no on 03-23-2008 at 09:06 PM
RE: [Preview / Alpha] Who Sent It 0.7.1 - by CookieRevised on 03-23-2008 at 10:26 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On