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

Script Update Issues
Author: Message:
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
38 / Male / Flag
Joined: Mar 2007
O.P. Script Update Issues
Hey guys, I need some help with a couple of problems I'm having.

First, is that messenger keeps bringing up a box telling me "I've signed in as busy, do I want to change to Online" every single time I sign-on.  I've changed the default status several times, but it still instantly makes me busy when I get online.  It started happening after I copied a bit of script from a post by CookieRevised, to remember status by changing the sign-on status.  This was when it started, but I don't think its the problem, because I've since deleted the entire key from the registry and its still happening.


My second problem is with a script.  I've tried to add an update checker to it, adapted from mpscripts.net, but it won't work properly for me.  Sometimes it works, sometimes it doesnt.  Last time I looked, it wasn't coming up with anything.  The Debug.Trace worked to show me the response text, but the versions just dont seem to compare.  I double checked with the version numbers, but they just wont do anything.  Can anyone give me any help with this?  The ScriptVersion being used is 2.0.0.0 for the comparison to that site.
code:
function CheckforUpdates()
{
    var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    xmlhttp.open("GET","http://www.arkanes-arkade.co.uk/XBMC-Script/Version.txt" , true);
    xmlhttp.send(Math.round(Math.random()*99999));
    xmlhttp.onreadystatechange=function()
    {
        if(xmlhttp.readyState==4)
        {
            var resp = xmlhttp.responseText;
            Debug.Trace("Response = "+resp);
            if(resp != "Current Version: " + ScriptVersion)
            {
                resp=resp.split(" ");
                if(resp[2]>ScriptVersion)
                {
                    MsgPlus.DisplayToast("XBMC", "Script Update Available!\nClick here to download now", "", "NewVersionAvailable");
                }
            }
        }
    xmlhttp.close;
    }
}

Cheers guys :S
[Image: adsig.jpg]
11-26-2007 09:08 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script Update Issues - by ArkaneArkade on 11-26-2007 at 09:08 AM
RE: Script Update Issues - by markee on 11-26-2007 at 09:24 AM
RE: Script Update Issues - by ArkaneArkade on 11-26-2007 at 02:38 PM
RE: Script Update Issues - by ArkaneArkade on 11-28-2007 at 07:34 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