[WIP] Using MSN protocol with SourceMod
1 Attachment(s)
It is a work in progress as it needs to be finished.
As it is at this moment, it uses MSNP8 to connect. Currently, it fully connects to the Notification Server, send the command for sync the contacts list and set your status to online. It can already answer to any request of messages, so it can receive messages, but not send then. Also, it can handle the receiving contacts split in differents packets (usually happens when you have more then a few contacts). Now, need just to add support for managing the contacts, adding/removing/moving from groups. When it's done, i will be adding natives to be used in others plugins, a few commands for chatting, and keep track about the contacts for other's plugins (e.g: if a contact is in the group RCON, it will work with that contact like a MSN rcon version) It uses the Socket extension for everything except the Tweener Authentication which requires SSL and because of that, uses cURL extension. Also it uses sslice's MD5 stock to answer the challenges. Documentation of MSNP8: http://msnpiki.msnfanatic.com/index....Authentication |
Re: [WIP] Using MSN protocol with SourceMod
Oh, i didn't know the protocol specifications were public. I'll mess around with that :)
|
Re: [WIP] Using MSN protocol with SourceMod
Using cURL extension with verbose on i'm able to see the ticket, but i can't find out how to retrieve the header.
EDIT: Updated the code on the first post, for what i've reach till now. |
Re: [WIP] Using MSN protocol with SourceMod
Use a regular expression!
|
Re: [WIP] Using MSN protocol with SourceMod
Quote:
EDIT: Finished the whole NS authentication. Now just need to implement the responses for what is received. |
Re: [WIP] Using MSN protocol with SourceMod
I've updated the attachment. Right now it recognizes almost everything that the NS may send. (RNG not implemented as the rest of the interface for chatting isn't implemented yed)
|
Re: [WIP] Using MSN protocol with SourceMod
More progress made, now it can send chat invites (it is made right after login to a test contact) and may work when receiving it.
|
Re: [WIP] Using MSN protocol with SourceMod
More progress made, now fully working at receiving and parsing contacts. And fully working at answering SB sessions. More info at the first post.
|
Re: [WIP] Using MSN protocol with SourceMod
Nice :D
|
Re: [WIP] Using MSN protocol with SourceMod
Cool, didn't know it was possible D:
|
| All times are GMT -4. The time now is 18:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.