What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)

2 votes - 4 average   [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Author: Message:
BrutuZ
New Member
*

Avatar

Posts: 9
– / Male / –
Joined: Jun 2006
Grin  AppMon+ 2.0 - Xfire bugfix
The solution for the no saving problem was given somewhere in this topic, if i remember well you must search you Configuration.js file for all occourences of Yes and change them into true.

BTW. I took the liberty to edit the script code myself and it seems to be working fine with the (not so) recent changes in Xfire. This is what i got, feel free to do it too, but do it at your own risk (always wanted to say that ^^).

First, on your General Functions.js, add the following lines (beggining or end of the file, doesn't really matters):
code:
//code by SpunkyLoveMuff
function ReadINI(path, header, key){
    var bFound = false, i = -1, out = "", s = "", fso, f, t;
    try {
        fso = new ActiveXObject("Scripting.FileSystemObject");
        f = fso.OpenTextFile(path, 1, false);
        while (!f.AtEndOfStream){
            s = f.readline();
            if (s.indexOf(";") == 0){
            }else{
                if (s.toLowerCase() == "\[" + header.toLowerCase() + "\]") {
                    bFound = true;
                }
                if (bFound) {
                i = s.indexOf("=");
                if (i > -1) {
                    t = s.substring(0, i);
                    if (key.toLowerCase() == t.toLowerCase()){
                        out = s.substring(i + 1, s.length);
                        break;
                    }
                }
            }
        }
    }
    f.close();
    f = null;
    fso = null;
    }
    catch(e){
        out = e.description;
    }
    return out;
}


Now, open your AppMon.js and do the following:

Delete the following piece of code (don't worry, we'll put something in it's place):
code:
objFSO = new ActiveXObject("Scripting.FileSystemObject");
        if(objFSO.FileExists(inipath)){
            objFile = objFSO.OpenTextFile(inipath,1,false,0);
            var iniarray = objFile.ReadAll().split('\n');
            objFile = null;
            objFSO = null;
            var game = '';
            var lookforgame=false;
            var statusnow=false;
            var lookforname=false;
            var lookforserver =false;
            var cutlastchar = false;
            var xfmessage = '';
            if(iniarray[0] != "[STATUS]"){ cutlastchar = true; }
            for(i=0; i<iniarray.length; i++){
                if(cutlastchar){ iniarray[i] = iniarray[i].substr(0,iniarray[i].length - 1); }
                if(lookforgame){
                    if(iniarray[i].indexOf('InGame=') > -1){
                        game = iniarray[i].substr(7);
                    }
                }
                if(statusnow){
                    if(iniarray[i].indexOf('Summary=In Game') > -1){
                        lookforgame = true;
                        statusnow = false;
                    }
                }
                if(lookforserver){
                    if(iniarray[i].indexOf('Server=') > -1){
                        lookforserver = false;
                        xfmessage+=' ['+iniarray[i].substr(7)+']';
                    }
                    else if(iniarray[i].indexOf('[') == 0){
                        lookforserver = false;
                    }
                }
                if(lookforname){
                    if(iniarray[i].indexOf('LongName=') > -1){
                        xfmessage=iniarray[i].substr(9);
                        lookforname = false;
                        lookforserver=true;
                    }
                }
                if(iniarray[i] == '[STATUS]'){ statusnow = true; }
                if(iniarray[i] == '['+game+']'){ lookforname = true; }
            }
            if(xfmessage != ''){
                icon = 'Games';
                if(!found){ message = xfmessage; }
                else{ message+= ' | '+xfmessage; }
                found = true;
                statuschangelist[statuschangelist.length] = xfirestatus;
                xfireingame = true;
            }
            else{ xfireingame = false; }
        }

Now, you'll paste this last code where the one you just deleted was:
code:
        status = ReadINI(inipath,'STATUS','Summary');
        Debug.Trace(status);
        if(status=='In Game'){
            gameno = ReadINI(inipath,'STATUS','InGame');
            xfireingame = true;
            gamename = ReadINI(inipath,gameno,'LongName');
            server = ReadINI(inipath,gameno,'Server');
            xfmessage = gamename+' ['+server+']';
            icon = 'Games';
            if(!found){ message = xfmessage; }
            else{ message+= ' | '+xfmessage; }
            found = true;
            statuschangelist[statuschangelist.length] = xfirestatus;
        }else{
            xfireingame = false;
        }



And voilá, this may do the trick and your AppMon+ should be recognizing Xfire games again =)

This post was edited on 08-07-2008 at 11:36 PM by BrutuZ.
Oh c'mon, i bet My English > Your Portuguese ¬¬
08-07-2008 11:32 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by alexp2_ad on 07-05-2006 at 10:40 PM
RE: [Release] AppMon+ - by Three6Mafia on 07-05-2006 at 10:43 PM
RE: [Release] AppMon+ - by Joereynolds89 on 07-05-2006 at 10:54 PM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-05-2006 at 11:00 PM
RE: [Release] AppMon+ - by Nathan on 07-05-2006 at 10:58 PM
RE: [Release] AppMon+ - by Nathan on 07-05-2006 at 11:02 PM
RE: [Release] AppMon+ - by Joereynolds89 on 07-05-2006 at 11:05 PM
RE: [Release] AppMon+ - by ShawnZ on 07-05-2006 at 11:05 PM
RE: RE: [Release] AppMon+ - by noroom on 07-08-2006 at 01:35 PM
RE: RE: RE: [Release] AppMon+ - by alexp2_ad on 07-08-2006 at 01:38 PM
RE: [Release] AppMon+ - by Silentdragon on 07-05-2006 at 11:08 PM
RE: [Release] AppMon+ - by RudeYute on 07-05-2006 at 11:09 PM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-05-2006 at 11:13 PM
RE: RE: RE: [Release] AppMon+ - by RudeYute on 07-06-2006 at 12:25 AM
RE: [Release] AppMon+ - by Joereynolds89 on 07-05-2006 at 11:14 PM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-05-2006 at 11:22 PM
RE: [Release] AppMon+ - by Chris4 on 07-05-2006 at 11:20 PM
RE: [Release] AppMon+ - by Jiggs on 07-05-2006 at 11:50 PM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-05-2006 at 11:51 PM
RE: [Release] AppMon+ - by Jiggs on 07-05-2006 at 11:55 PM
RE: [Release] AppMon+ - by Silentdragon on 07-05-2006 at 11:58 PM
RE: [Release] AppMon+ - by Joereynolds89 on 07-05-2006 at 11:58 PM
RE: [Release] AppMon+ - by Silentdragon on 07-06-2006 at 12:02 AM
RE: [Release] AppMon+ - by Joereynolds89 on 07-06-2006 at 12:05 AM
RE: [Release] AppMon+ - by alexp2_ad on 07-06-2006 at 12:05 AM
RE: [Release] AppMon+ - by Silentdragon on 07-06-2006 at 12:07 AM
RE: [Release] AppMon+ - by deAd on 07-06-2006 at 12:26 AM
RE: [Release] AppMon+ - by ShawnZ on 07-06-2006 at 12:29 AM
RE: [Release] AppMon+ - by Chancer on 07-06-2006 at 01:01 AM
RE: [Release] AppMon+ - by J.J on 07-07-2006 at 11:50 PM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-07-2006 at 11:54 PM
RE: [Release] AppMon+ - by J.J on 07-08-2006 at 12:29 AM
RE: [Release] AppMon+ - by Tartooob on 07-08-2006 at 07:41 AM
RE: [Release] AppMon+ - by C0NTiNUiTY on 07-08-2006 at 03:58 PM
RE: RE: [Release] AppMon+ - by Shadowgmo on 07-10-2006 at 12:36 PM
RE: [Release] AppMon+ - by hmaster on 07-08-2006 at 04:16 PM
RE: [Release] AppMon+ - by J.J on 07-09-2006 at 08:08 AM
RE: [Release] AppMon+ - by arvit on 07-09-2006 at 04:29 PM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-09-2006 at 05:03 PM
RE: [Release] AppMon+ - by Thor on 07-09-2006 at 04:49 PM
RE: [Release] AppMon+ - by arvit on 07-10-2006 at 10:21 AM
RE: RE: RE: [Release] AppMon+ - by J.J on 07-10-2006 at 10:27 AM
RE: [Release] AppMon+ - by Silentdragon on 07-10-2006 at 10:31 AM
RE: RE: [Release] AppMon+ - by alexp2_ad on 07-10-2006 at 10:34 AM
RE: [Release] AppMon+ - by ~INVASION~ on 07-10-2006 at 01:30 PM
RE: [Release] AppMon+ - by C0NTiNUiTY on 07-10-2006 at 02:59 PM
RE: [Release] AppMon+ - by alexp2_ad on 07-10-2006 at 03:02 PM
RE: [Release] AppMon+ - by C0NTiNUiTY on 07-10-2006 at 03:10 PM
RE: [Release] AppMon+ - by alexp2_ad on 07-10-2006 at 03:12 PM
RE: [Release] AppMon+ - by arvit on 07-11-2006 at 04:21 PM
RE: [Release] AppMon+ - by C0NTiNUiTY on 07-13-2006 at 02:07 PM
RE: [Release] AppMon+ - by alexp2_ad on 07-13-2006 at 10:40 PM
RE: [Release] AppMon+ - by MWard on 07-13-2006 at 11:02 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by alexp2_ad on 07-17-2006 at 01:43 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by MWard on 07-17-2006 at 02:18 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by Mentality on 07-17-2006 at 03:21 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by Shadowgmo on 07-17-2006 at 06:00 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by alexp2_ad on 07-17-2006 at 07:01 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by cloudhunter on 07-18-2006 at 01:35 AM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by C0NTiNUiTY on 07-18-2006 at 10:24 AM
RE: RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by wooki on 07-18-2006 at 12:33 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by Mentality on 07-18-2006 at 01:00 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by alexp2_ad on 07-18-2006 at 06:40 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by aNILEator on 07-19-2006 at 10:39 AM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by daf.madalien on 08-23-2006 at 08:51 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by Luigi on 08-24-2006 at 12:08 PM
RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by Zeh on 08-26-2006 at 05:10 PM
RE: RE: [Release] AppMon+ (Now With Xfire Support - Beta) - by alexp2_ad on 08-26-2006 at 05:42 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by alexp2_ad on 08-27-2006 at 02:57 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Q8Bond007 on 11-17-2006 at 04:12 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Spunky on 11-17-2006 at 04:45 PM
RE: RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Q8Bond007 on 11-20-2006 at 12:39 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Tomky on 11-22-2006 at 05:51 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by aNILEator on 11-22-2006 at 08:39 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by alexp2_ad on 12-13-2006 at 09:03 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by _fran0_ on 12-22-2006 at 02:57 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Stephan123 on 01-07-2007 at 08:18 PM
RE: RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by alexp2_ad on 01-07-2007 at 10:26 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Stephan123 on 01-08-2007 at 08:27 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Extreme_One on 04-22-2007 at 10:00 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by neohunter on 05-18-2007 at 03:32 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by daf.madalien on 06-21-2007 at 03:57 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by V@no on 07-29-2007 at 11:18 PM
RE: RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by atomicfire on 08-14-2007 at 10:51 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by choco571 on 08-16-2007 at 04:10 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by atomicfire on 08-16-2007 at 07:29 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Ezra on 08-16-2007 at 10:03 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by V@no on 08-17-2007 at 04:33 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by choco571 on 08-19-2007 at 09:36 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Ezra on 08-19-2007 at 06:20 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by karwee on 09-08-2007 at 10:07 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by aNILEator on 09-09-2007 at 12:29 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by riahc4 on 12-10-2007 at 01:08 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by OutRider on 01-20-2008 at 05:06 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by mynetx on 01-20-2008 at 05:41 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Eddie on 04-19-2008 at 07:24 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by aNILEator on 04-19-2008 at 08:09 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Jimbo on 04-19-2008 at 10:16 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by aNILEator on 04-20-2008 at 01:36 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Eddie on 04-20-2008 at 03:53 AM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by aNILEator on 04-20-2008 at 11:44 AM
AppMon+ 2.0 - Xfire bugfix - by BrutuZ on 08-07-2008 at 11:32 PM
RE: AppMon+ 2.0 - Xfire bugfix - by mrbuerger on 04-25-2009 at 03:55 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by aquafloe on 11-18-2008 at 03:17 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by Spunky on 11-18-2008 at 04:52 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by BrutuZ on 11-18-2008 at 06:28 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by V@no on 11-30-2008 at 07:50 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by mrbuerger on 01-15-2009 at 10:53 PM
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features) - by riahc4 on 04-08-2009 at 05:37 PM
[ Help / Suggestion ] Appmon+ - by MWard on 07-13-2006 at 03:09 AM
[Request] script - by howardjc on 07-25-2009 at 11:40 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