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)

Pages: (12): « First « 7 8 9 10 [ 11 ] 12 » Last »
2 votes - 4 average   [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Author: Message:
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
quote:
Originally posted by aNILEator
quote:
Originally posted by Eddie
Would anyone know why when using Windows Vista the buttons do not work at all for me in the configuration window when adding different things

Nah I wish this worked too, or that I knew how to code th fix myself, instead I just type it all in manually, one of -DT-'s scripts used to do this, and some others
yeah i get the links and stuff manually but i can't even click ok for it to work lol, or do you mean you type it into your personal message manually...and if there are scripts similar to this...link link? :D
...there used to be a signature here :)
04-20-2008 03:53 AM
Profile PM Web Find Quote Report
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
I think I just pressed 'Enter' not sure if ok worked too? *-)
04-20-2008 11:44 AM
Profile PM Web Find Quote Report
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
aquafloe
New Member
*


Posts: 2
Joined: Sep 2008
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Does this method still work? I got it to change my personal message, but it didn't seem to change for any of my contacts.
11-18-2008 03:17 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
quote:
Originally posted by aquafloe
I got it to change my personal message, but it didn't seem to change for any of my contacts

Thats not a problem with the script; rather a problem with WLM its self
<Eljay> "Problems encountered: shit blew up" :zippy:
11-18-2008 04:52 PM
Profile PM Find Quote Report
BrutuZ
New Member
*

Avatar

Posts: 9
– / Male / –
Joined: Jun 2006
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Yes it does, using it here and still working with no problems
Oh c'mon, i bet My English > Your Portuguese ¬¬
11-18-2008 06:28 PM
Profile PM Find Quote Report
V@no
Full Member
***

Avatar
sexy

Posts: 162
Joined: Mar 2004
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
The reason why sometimes AppMon+ didn't change the status is because for some reason xFire could move [STATUS] to the bottom of the .ini file, and AppMon+ by default depend on [STATUS] being on top.
Before BrutuZ changes I manually edit xfire.ini file and move [STATUS] to the top.


Thanks BrutuZ for the changes, it works fine now.


P.S.
quote:
Originally posted by aNILEator
quote:
Originally posted by Jimbo
Btw where did alexp2_ad go?
Last I heard, not from him though, was he got really busy with uni work and found a social life, and then decided his time online was wasted, I also heard he'd died and that he had a boyfriend now (yeah, goes wherever I guess)
He didn't die - that's for sure. Just google around his nickname and you shall find sites where he was active December 2008

This post was edited on 12-22-2008 at 06:28 AM by V@no.
11-30-2008 07:50 PM
Profile PM Find Quote Report
mrbuerger
New Member
*


Posts: 2
Joined: Jan 2009
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Hi all, I noticed with the WLM9 (14.0.8050) msgplus! (4.79.0.353) the game name not appear right on WLM9 in the contact list:

The script on my computer appear right, everything sounds good. But when a look my name in the contact list on another computer, the game name not appear. Only the PSM is display, when is a song is played, the song's name appear under. When someone try to talk to me, He can see the game a play in the chat window but only there...

So, anyone know how the new PSM system work?

This post was edited on 01-15-2009 at 10:53 PM by mrbuerger.
01-15-2009 10:53 PM
Profile E-Mail PM Find Quote Report
riahc4
Veteran Member
*****


Posts: 1073
Reputation: -18
– / Male / Flag
Joined: Aug 2004
Status: Away
RE: [Updated] AppMon+ 2.0 - Now Better! (Bug fixes, new features)
Spunky, confirming your post, this application isnt compatible with WLM9 so my request still stands.
04-08-2009 05:37 PM
Profile PM Find Quote Report
mrbuerger
New Member
*


Posts: 2
Joined: Jan 2009
RE: AppMon+ 2.0 - Xfire bugfix
quote:
Originally posted by BrutuZ
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:
...


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

Thanks BrutuZ for that script, but I found some issue in. The server information was wrong, if the game don't have server, the script was take the next server info on the next game in the list. So, I think I fixed it well with my edit:

General Functions.js (Start read at the [Game#] and end at the first "Nothing" as it used to split each game)
code:
//code by SpunkyLoveMuff, fixed by mrbuerger
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 (s.toLowerCase() == "") {
                    bFound = false;
                }
                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);
                            Debug.Trace(out);
                            break;
                        }
                    }
                }
            }
        }
        f.close();
        f = null;
        fso = null;
    }
    catch(e){
        out = e.description;
    }
    return out;
}


The replacement in AppMon.js (Don't display empty server detail [] anymore)
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');
            Debug.trace(server);
            if(server){
                xfmessage = gamename+' ['+server+']';
            }else{
                xfmessage = gamename;
            }
            icon = 'Games';
            if(!found){ message = xfmessage; }
            else{ message+= ' | '+xfmessage; }
            found = true;
            statuschangelist[statuschangelist.length] = xfirestatus;
        }else{
            xfireingame = false;
        }

04-25-2009 03:55 PM
Profile E-Mail PM Find Quote Report
Pages: (12): « First « 7 8 9 10 [ 11 ] 12 » 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