A couple of bugs in this msn.pm while I was skimming through the code which should be fixed in the next version..
Quote:
CREATE OBJECT sub - Type is always 3 while CES uses 2 etc. (same with winks) PINGS - Automatically ping every 30 seconds (while the proto gives a specific time when to ping again) if( $cid >= 1073741824 ) { $info->{Client} = 'MSNC5'; } - It should be MSNC4 theres no MSN messenger 8 yet
CREATE OBJECT sub - Type is always 3 while CES uses 2 etc. (same with winks)
Matt is hopefully working out whatever that means since he's doing all that stuff now.
Quote:
PINGS - Automatically ping every 30 seconds (while the proto gives a specific time when to ping again)
I knew about this one early on but honestly just plain forgot about it. (Loss of brain cells due to heavy drinking I suspect). Easy fix that Matt could add.
Quote:
if( $cid >= 1073741824 ) { $info->{Client} = 'MSNC5'; } - It should be MSNC4 theres no MSN messenger 8 yet
Is this a bug? Or are we just prepared for when MSN messenger 8 *does* come out?
Trying to install the ms 2.0 on my linux server, Gavin told me it needs to go in lib under a folder called msn. I dont know how to install that on my server via shell.
All the attachments are gone. Maybe someone here can upload a copy? (I don't have one) _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
If MSN.pm is still being developed, some small feature could be added to convert HEX colors to MSN's version of it...
i.e. if you use #FF0000 as its color, it would identify as hex because of the # and turn it into 0000FF to send to MSN...
Code:
if ($color =~ /^\#/) {
$color =~ s/^\#//;
my $red = substr ($color,0,2);
my $grn = substr ($color,3,4);
my $blu = substr ($color,5,6);
$color = join ('', $blu, $grn, $red);
}
Something along those lines anyway....
So then color => '0000FF' would be like normal, red text, but
color => '#FF0000' would still be red text.
lol just a little idea. It could make things a little more global for some of our bot templates, when we could set one hex font color that would apply to all media instead of having to provide a second font hex dealy for MSN. _________________ Current Site (2008) http://www.cuvou.com/