Shoutbox

Help with status2ftp - 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: Help with status2ftp (/showthread.php?tid=75239)

Help with status2ftp by MeEtc on 06-10-2007 at 04:28 PM

Is anyone out there familiar with the status2ftp code?

The release version of the script does not upload the numeric equivalent of MSN's status in the XML file. I am trying to add this.

code:
  //Details array
  this.dtlarray = {
    'Username' : Messenger.MyName,
    'CleanUsername' : MsgPlus.RemoveFormatCodes(Messenger.MyName),
    'PSM' : this.getpsm(),
    'CleanPSM' : MsgPlus.RemoveFormatCodes(this.getpsm()),
    'Status' : this.status[Messenger.MyStatus],
    'NumericStatus' : Messenger.MyStatus,
    'LastUpdate' : Math.round(new Date().getTime() / 1000)
  };
I added the red line to the script. This works fine, when I first sign into messenger, but it didn't update when my status changed. I recently added this
code:
function OnEvent_MyStatusChange(NewStatus){
  Status2FTP.dtlarray.Status = Status2FTP.status[NewStatus];
  Status2FTP.dtlarray.NumericStatus = NewStatus;
  Status2FTP.savedetails();
  if(Status2FTP.cfgarray.EventStatusChange == 'true') Status2FTP.upload();
}
the script now fails to make an upload to the server, but gives no error.

anyone want to help me?


Nevermind, it worked after I re-installed the script and made my changes again :D
RE: Help with status2ftp by felipEx on 06-10-2007 at 06:15 PM

quote:
Originally posted by MeEtc
The release version of the script does not upload the numeric equivalent of MSN's status in the XML file.


try to convert to string :D