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

Pages: (3): « First [ 1 ] 2 3 » Last »
Get the contacts color
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. Get the contacts color
Hi.
I'm from Denmark and my english isn't good, but I'll try.
I don't think that I have seen a clone-script which can get the contatcts message-color, even if the contact have sent a message?

Thanks in advance
11-12-2006 09:21 AM
Profile E-Mail PM Web Find Quote Report
transit
New Member
*

Super Man!

Posts: 8
36 / Male / –
Joined: Nov 2006
RE: Get the contacts color
Yes. Most scripts are only imitating the user's DP , NN and PSM

DP - Display Picture
NN - Nickname
PSM - Personal Message

No one (Or I Have Not Ever Seen) have ever made cloning script with the contact messenger's color.

But you could always manually do it.

~ Sorry to disappoint.

Regards,
  Transit
11-12-2006 01:47 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Get the contacts color
There are many threads about this subject. Search. AFAIK it requires packet sniffing and sombody (forgot who) has managed to get close(ish) to getting an idea that works :p
<Eljay> "Problems encountered: shit blew up" :zippy:
11-12-2006 02:34 PM
Profile PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: RE: Get the contacts color
quote:
Originally posted by SpunkyLoveMuff
There are many threads about this subject. Search. AFAIK it requires packet sniffing and sombody (forgot who) has managed to get close(ish) to getting an idea that works :p


Him > http://shoutbox.menthix.net/showthread.php?tid=68087
11-12-2006 03:27 PM
Profile E-Mail PM Web Find Quote Report
MrT
Junior Member
**

Coding For Fun

Posts: 62
35 / Male / Flag
Joined: Jul 2006
RE: RE: Get the contacts color
quote:
Originally posted by SpunkyLoveMuff
There are many threads about this subject. Search. AFAIK it requires packet sniffing and sombody (forgot who) has managed to get close(ish) to getting an idea that works :p


it's my imitate script ;) (Y)

http://shoutbox.menthix.net/showthread.php?tid=68087

This post was edited on 11-12-2006 at 03:30 PM by MrT.
11-12-2006 03:29 PM
Profile E-Mail PM Web Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Get the contacts color
Hi.
I can't find out where in MrT's imitate-script he get the color, and how.
The most of it is Turkish :-P
11-12-2006 06:39 PM
Profile E-Mail PM Web Find Quote Report
bgmrk
New Member
*


Posts: 6
Joined: Oct 2004
RE: Get the contacts color
well message mr T and he'll tell u if he wants
11-12-2006 08:07 PM
Profile E-Mail PM Find Quote Report
MrT
Junior Member
**

Coding For Fun

Posts: 62
35 / Male / Flag
Joined: Jul 2006
RE: Get the contacts color
ok.it's a litle article :D

---code---


function xniff:: OnData(srcip, srcport, destip, destport, data, datalen) {
        if (srcport === "1863" && datalen > 0) {

...


---code---

data =

MSG ycanayak@hotmail.com Nick 134  MIME-Version: 1.0  Content-Type: text/plain; charset=UTF-8  X-MMS-IM-Format: FN=Times%20New%20Roman; EF=B; CO=ff; CS=a2; PF=12    hello


_______________

first thing -> MSG  (this data is message data)
second thing -> contac's mail
third thing -> contact's nick
last thing -> message (hello)

FN = contact's font name (verdana,times new roman,comic sans ms ...)

EF -> contact's font style
  EF=B; (bold)
  EF=I; (&#304;talic)
  EF=BI; (bold and italic)
  EF=; (normal)

CO -> contact's font color
***BUT***

CO=      |   HEX CODE          |   COLOR

0           |  #00-00-00          |    black
ff           |  #FF-00-00     |     red
ff8000   |  #FF-80-00       |      blue
80         |  #80-00-00     |   dark red
800080 |  #800080   |   purple
4080     |  #8040-00    |  i don't know this color's name :D


CO=xxyyzz     --convert this-->     #zzyyxx
CO=xxyy        --convert this-->    #yyxx00
CO=xx            --convert this-->    #xx0000


____________


---code---


var data = data.split(" ");

if (data[0] == "MSG" && data[8] == "Content-Type:" && data[9] == "text/plain;" && data[10] == "charset=UTF-8") {  // hmm.it's a incoming message

var style = data[14]; //  EF=B;
var font_name = data[13]; //  FN=Times%20New%20Roman;
var color = data[15]; // CO=ff   You must convert this to hex code

Debug.Trace("Font Style: " + style);
Debug.Trace("Font Name: " + font_name);
Debug.Trace("Font Color: " + color);

}


---code---


you need bold ones (B , times new.. , ff)

___________________


sorry for my english :(
i hope you can understand

11-12-2006 10:18 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: Get the contacts color
I just copy and paste the text into word, then get the colour, font, etc.
Twitter: @ChrisLozeau
11-12-2006 10:33 PM
Profile PM Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Get the contacts color
Hi.
MrT ->
This is my code:

code:
function OnData(srcip, srcport, destip, destport, data, datalen)
{
    if (srcport === "1863" && datalen > 0)
    {
        var data = data.split(" ");
       
        if (data[0] == "MSG" && data[8] == "Content-Type:" && data[9] == "text/plain;" && data[10] == "charset=UTF-8")
        {
            var style = data[14];
            var font_name = data[13];
            var color = data[15];
           
            Debug.Trace("Font Style: " + style);
            Debug.Trace("Font Name: " + font_name);
            Debug.Trace("Font Color: " + color);
        }
    }
}

But I can't find out how and where I shall call the function :-$
11-13-2006 06:12 AM
Profile E-Mail PM Web 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