What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Messenger.MyPersonalMessage empty ?!

Pages: (3): « First [ 1 ] 2 3 » Last »
Messenger.MyPersonalMessage empty ?!
Author: Message:
Mika56
New Member
*


Posts: 2
27 / Male / Flag
Joined: Jan 2010
O.P. Messenger.MyPersonalMessage empty ?!
Hi,

I'm doing a script that call a PHP script, that generate an image.

The main problem is that the Messenger.MyPersonalMessage is always empty, except when calling from OnEvent_MyPsmChange.
What's the wrong ?

Here is the code :
code:
function OnEvent_Timer(TimerId)
{
    if(TimerId == 1)
    {
        MsgPlus.DownloadFile(msnLocation+'?pm='+Messenger.MyPersonalMessage);
        MsgPlus.AddTimer(1, 10000);
        Debug.Trace("Nouveau statut ("+ Messenger.MyPersonalMessage +")");
    }       
}

The Psm receveid by PHP is empty, and the console says "Nouveau statut ()".

Any idea ?

Mika.

Ps : I'm french, do NOT look at conjugation and grammar :p
[Image: sign.php]
01-12-2010 06:16 PM
Profile PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
40 / Male / Flag
Joined: Apr 2002
RE: Messenger.MyPersonalMessage empty ?!
When you say the PSM is empty when the timer is called, are you sure it happens while you're signed-in?
[Image: signature2.gif]
01-13-2010 05:41 AM
Profile PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
29 / Male / Flag
Joined: Jul 2006
RE: Messenger.MyPersonalMessage empty ?!
I have also been having this issue...

mine gets the Messenger.MyPersonalStatus when i open a window from the script menu... so I am logged in...

it seems like the personal status isnt updated until it is set while logged in, because if i change it from the main menu then open the window again it works...

hope this helps patchou (if you need more information, you can add me on wlm 8-))
01-13-2010 05:57 AM
Profile PM Find Quote Report
Mika56
New Member
*


Posts: 2
27 / Male / Flag
Joined: Jan 2010
O.P. RE: Messenger.MyPersonalMessage empty ?!
I,

I've found an issue, it is really dirty code, but insert
code:
Messenger.MyPersonalMessage = Messenger.MyPersonalMessage;
before using this var, and it will works...

Mika.
[Image: sign.php]
01-13-2010 10:49 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
33 / Male / Flag
Joined: Aug 2006
RE: Messenger.MyPersonalMessage empty ?!
quote:
Originally posted by Mika56
I,

I've found an issue, it is really dirty code, but insert
code:
Messenger.MyPersonalMessage = Messenger.MyPersonalMessage;
before using this var, and it will works...

Mika.

I don't see how it works if Messenger.MyPersonalMessage returns an empty string as you are simple setting it back to an empty string...
<Eljay> "Problems encountered: shit blew up" :zippy:
01-13-2010 12:49 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
36 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Messenger.MyPersonalMessage empty ?!
Cyril have a look at this thread. The creator and a few users were having the same issue.

Scripting Error

And get the latest PLSC from this post: matty's reply to Scripting Error

This post was edited on 01-13-2010 at 02:03 PM by matty.
01-13-2010 01:55 PM
Profile E-Mail PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
36 / Male / Flag
Joined: Mar 2007
RE: Messenger.MyPersonalMessage empty ?!
Not meaning to steal the thread, but I've often had this problem with Messenger.MyCurrentMedia instead of Messenger.MyPersonalMessage.  This seems to happen most times, but another script I have doesn't have the same issue, while running at the same time.

When debugging, OnEvent_MyMediaChange will toggle, but leaves nothing, as described in the OPs post.  The other script on the other hand does get the correct Media.

- Also as a note to that, both scripts were derived from each other, but the name of the one that works is XBMC, and the non-working is X360, so I don't think the issue is caused by script ordering (unless Plus! orders numericals after alphabeticals).

Don't know if it really is the same problem, but just in case that may help anyone with knowledge to diagnose the problems, and hopefully not hinder.
[Image: adsig.jpg]
01-13-2010 03:01 PM
Profile E-Mail PM Web Find Quote Report
AngelDevil
Full Member
***

Avatar
MsgPlus! Script Developer

Posts: 175
31 / Male / Flag
Joined: Jun 2007
RE: Messenger.MyPersonalMessage empty ?!
An optimal solution is to save the PSM (on Registry) when disconnecting Windows Live Messenger, and reloading it when Messenger starts or user signs in.

(N) But it doesn't work if the user don't change the Psm in the previous session, I think.

quote:
Originally posted by Patchou
When you say the PSM is empty when the timer is called, are you sure it happens while you're signed-in?


It happens when you sign in and you don't change the actual Psm.

This post was edited on 02-23-2010 at 07:47 PM by AngelDevil.
http://www.amicogeek.it - Technology blog!
02-23-2010 02:13 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
36 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Messenger.MyPersonalMessage empty ?!
Out of curiosity are you guys signing into WLM from a different location and changing the PSM there? If so I am wondering if it is something to do with the DP/PSM synching in WLM then...
02-23-2010 03:00 PM
Profile E-Mail PM Find Quote Report
AngelDevil
Full Member
***

Avatar
MsgPlus! Script Developer

Posts: 175
31 / Male / Flag
Joined: Jun 2007
RE: Messenger.MyPersonalMessage empty ?!
quote:
Originally posted by matty
Out of curiosity are you guys signing into WLM from a different location and changing the PSM there? If so I am wondering if it is something to do with the DP/PSM synching in WLM then...

I'm always signing into WLM from the same location... if I create the simple script:

code:
function OnEvent_Initialize(MessengerStart)
{
Debug.Trace(Messenger.MyPersonalMessage);
}


it returns an empty string (without changing Psm before)...
http://www.amicogeek.it - Technology blog!
02-23-2010 05:55 PM
Profile PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


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