Shoutbox

Scripting Bug - Group Conversation troubles - 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: WLM Plus! Bug Reports (/forumdisplay.php?fid=7)
+----- Thread: Scripting Bug - Group Conversation troubles (/showthread.php?tid=79147)

Scripting Bug - Group Conversation troubles by pollolibredegrasa on 11-18-2007 at 01:33 PM

I've been writing a script that keeps track of group conversations, using the ChatWndContactAdded and ChatWndContactRemoved events.

It also has a function that gets a list of the current windows that are open, and if they are conversations with a single user, it will store the email of the contact in one variable, and if it is a group conversation it will store a list of all the group conversation participants in another.

Most of the time, the function works perfectly, but on some rare occasions, when I add a contact WLM will seemingly kick them out and re-add them, and when this occurs Plus! doesn't seem to be able to tell there is more than one user.

For example, if I start a conversation with user1@hotmail.com, then add user2@hotmail.com to the conversation, it will say in the chat window something like:

"user2@hotmail has been added to the conversation"
"user1@hotmail.com has left the conversation"
"user1@hotmail.com has been added to the conversation"

And when this occurs, enumerating the chat windows will say this conversation only has one person in it - user1@hotmail.com.

I cannot find a way to reproduce the removing and adding of contacts again on demand, and I think it may be due to server issues, but it has been happening a lot to me recently while I've been testing my script, and as you can imagine it gets very frustrating when I have a group conversation like that which it only recognises as a singe user one.

I've been trying reproduce it today so I can get a screenshot and debugging info from my script, but at the moment it seems to be adding contacts fine, however if it happens again I will update this post. Also, is there anything else I could put here that may help in working out what is happening?

Thanks in advance


RE: Scripting Bug - Group Conversation troubles by Patchou on 11-18-2007 at 05:57 PM

You are right, there is a bug in there but it's caused by the faulty Messenger API not sending the notifications sometimes. There's not much I can do about that, I'm counting on WLM 9 to finally fix all these annoying little problems that were introduced after WLM 7 was released (and that nobody else seems to care about as this API is rarely used by anybody).