User Control Panel
Advertisements

HELP US, HELP YOU!

YMSG 13

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Yahoo Protocol & modules
View unanswered posts
Author Message
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Thu May 19, 2005 5:53 pm    Post subject: Reply with quote

Yesterday i installed the new beta of yahoo: 7,0,0,242.
Its using a new protocol YMSG 13 (current yahoo is using YMSG12). The auth is the same as for ymsg12 and all the service id's look the same, but a few new ones added. This link talks about some of the new features. . I am currently working out the YMSG12 docs, but any protocol changes i find between ymsg12 and 13 ill post here Wink

_________________
[ matt ]
Back to top
ryborg
Newbie
Newbie


Joined: 21 May 2005
Posts: 4

Reputation: 11.8

PostPosted: Sat May 21, 2005 9:09 am    Post subject: Reply with quote

It appears that the YMSG13 broke the ($to,$from,$msg) retreval from $data in do_one_loop() for Net::YIM;

I just thought I would submit the corrected regex to help.

my ($to,$from,$msg) = $data =~ /5\xC0\x80(.*?)\xC0\x804\xC0\x80(.*?)\xC0\x80.*?\xC0\x8014\xC0\x80(.*?)\xC0\x80/;


* changes have been bolded
- ryborg
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sat May 21, 2005 4:59 pm    Post subject: Reply with quote

QUOTE(ryborg @ May 21 2005, 05:09 AM)
It appears that the YMSG13 broke the ($to,$from,$msg) retreval from $data in do_one_loop() for Net::YIM;

I just thought I would submit the corrected regex to help.

my ($to,$from,$msg) = $data =~ /5\xC0\x80(.*?)\xC0\x804\xC0\x80(.*?)\xC0\x80.*?\xC0\x8014\xC0\x80(.*?)\xC0\x80/;


* changes have been bolded
- ryborg
[right][snapback]48393[/snapback][/right]


Net::YIM used CHAT2. You should probably use the YahooSimple.pm on this forum anyway. Maybe YMSG13 had made enough changes that even CHAT2 needs to be updated to like CHAT3 or something. I dunno.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
ryborg
Newbie
Newbie


Joined: 21 May 2005
Posts: 4

Reputation: 11.8

PostPosted: Sat May 21, 2005 5:32 pm    Post subject: Reply with quote

Quote:
Net::YIM used CHAT2. You should probably use the YahooSimple.pm on this forum anyway. Maybe YMSG13 had made enough changes that even CHAT2 needs to be updated to like CHAT3 or something. I dunno.


What are the key differences / advantages of YMSG1x over CHAT2?

Also, I can't seem to find the YahooSimple.pm download to have a look at it.

- ryborg
Back to top
dnelson197
Newbie
Newbie


Joined: 21 May 2005
Posts: 1

Reputation: 11.7

PostPosted: Sat May 21, 2005 5:50 pm    Post subject: Reply with quote

QUOTE(ryborg @ May 21 2005, 09:32 AM)
Quote:
Net::YIM used CHAT2. You should probably use the YahooSimple.pm on this forum anyway. Maybe YMSG13 had made enough changes that even CHAT2 needs to be updated to like CHAT3 or something. I dunno.


What are the key differences / advantages of YMSG1x over CHAT2?

Also, I can't seem to find the YahooSimple.pm download to have a look at it.

- ryborg
[right][snapback]48397[/snapback][/right]



I cant find it either Sad
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sat May 21, 2005 6:59 pm    Post subject: Reply with quote

QUOTE(ryborg @ May 21 2005, 01:32 PM)
Quote:
Net::YIM used CHAT2. You should probably use the YahooSimple.pm on this forum anyway. Maybe YMSG13 had made enough changes that even CHAT2 needs to be updated to like CHAT3 or something. I dunno.


What are the key differences / advantages of YMSG1x over CHAT2?

Also, I can't seem to find the YahooSimple.pm download to have a look at it.

- ryborg
[right][snapback]48397[/snapback][/right]


I think CHAT2 is the Yahoo Chat protocol (as in their chat rooms) and it can connect and chat through Yahoo Messenger.... but YMSG is the actual Messenger protocol, and can do audibles, avatars, and all the other cool features of Yahoo Messenger.

It's kind of like CHAT2 is to Windows Messenger as YMSG is to MSN Messenger.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
ryborg
Newbie
Newbie


Joined: 21 May 2005
Posts: 4

Reputation: 11.8

PostPosted: Sat May 21, 2005 9:03 pm    Post subject: Reply with quote

QUOTE(Cer @ May 21 2005, 10:59 AM)
QUOTE(ryborg @ May 21 2005, 01:32 PM)
Quote:
Net::YIM used CHAT2. You should probably use the YahooSimple.pm on this forum anyway. Maybe YMSG13 had made enough changes that even CHAT2 needs to be updated to like CHAT3 or something. I dunno.


What are the key differences / advantages of YMSG1x over CHAT2?

Also, I can't seem to find the YahooSimple.pm download to have a look at it.

- ryborg
[right][snapback]48397[/snapback][/right]


I think CHAT2 is the Yahoo Chat protocol (as in their chat rooms) and it can connect and chat through Yahoo Messenger.... but YMSG is the actual Messenger protocol, and can do audibles, avatars, and all the other cool features of Yahoo Messenger.

It's kind of like CHAT2 is to Windows Messenger as YMSG is to MSN Messenger.
[right][snapback]48401[/snapback][/right]



Well, I would like a definitive answer on this. From what I have gathered, it is better to use YMSG12/13 -- Fine, I can understand that if it means that ultimately it is the only path to full protocol support.

However, for writing an interface to Yahoo Messenger in Perl, I find that Matt's Net::YIM lib is very suitable for most needs. And whether it uses YMSG or CHAT2, I could care less since they both allow me to read and write from a one-on-one IM session.

I don't know how you can reccomend one over the other if you don't fully understand the differences yourself?! :unsure:

Matt, can you chime in on this?

- ryborg
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Sat May 21, 2005 10:57 pm    Post subject: Reply with quote

Cer has a pretty good idea of what it is. CHAT2 is an old and simpler version of the yahoo protocol not very supported. It doesn't support many of the features at all basically just chat. The reason the modules use chat2 is because the auth wasn't figured out yet. CHAT2 you authenticate simply by posting to a url your username and password. YMSG has a very complex auth much like msn. Ive put together a small bot team, with our bot using ymsg12 (with filetransfer, display pictures, and much more), and ive started working on some long awaited YMSG docs Wink.

edit:
from what i have seen CHAT2 you cant just upgrade it to ymsg12 or 13. its meant to be 9 or 10. Chat2 is out of date, and that's why there is YMSG. my guess is chat2 will not be supported much longer.

_________________
[ matt ]
Back to top
ryborg
Newbie
Newbie


Joined: 21 May 2005
Posts: 4

Reputation: 11.8

PostPosted: Mon May 23, 2005 8:30 am    Post subject: Reply with quote

Since the protocol changes to regularly with yahoo, and I am ONLY wanting to send text in a one-on-one conversations... woudl CHAT2 be less likely to break in the future?

I know with YMSG stuff it seems the auth mechanism changes frequently...

- ryborg

Also, are the YMSG that you are working on, available somewhere in their current state?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Yahoo Protocol & modules All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group