Author Topic: Windows Live / Msn Messenger Plugin  (Read 31885 times)

Pwntastic

  • Roffles The Mighty
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1910
    • MSN Messenger - rofflesthemighty@hotmail.com
    • AOL Instant Messenger - LordDosk
    • View Profile
    • Pwntastic.Net
Re: Windows Live / Msn Messenger Plugin
« Reply #15 on: May 08, 2008, 04:09:46 pm »
Yeah audiosurf returns all nonstandard characters (and a few standard ones :o ) as %f3 or stuff like that, so i pretty much have to manually check for any of those and replace them with their actual values. Obviously I haven't compiled a complete list of them. I found and added fixes for all the characters I thought might show up, but i guess i missed a few.
If anybody gets these %fe type things, let me know and I'll add them in.

Also yeah the titles and such come back in all lowercase, and I have been a bit too busy lately to work on this, but I will for sure get it all fixed up eventually.

Cody9000

  • Full Member
  • ***
  • Posts: 128
    • View Profile

rhonnysparks

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #17 on: May 09, 2008, 02:21:15 am »
yes those are the ones.
what language is MSNSurf written in?
you would think there would be a library function which automatically decodes those characters.
if you're happy to post the source, I could have a go seeing you're busy :)

Cody9000

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #18 on: May 09, 2008, 03:37:46 am »
C#

phil35

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #19 on: May 09, 2008, 03:45:13 am »
It doesn't work for me. I click it and it come up with the windows box 'MSNSurf has stopped working.' Any ideas?

Pwntastic

  • Roffles The Mighty
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1910
    • MSN Messenger - rofflesthemighty@hotmail.com
    • AOL Instant Messenger - LordDosk
    • View Profile
    • Pwntastic.Net
Re: Windows Live / Msn Messenger Plugin
« Reply #20 on: May 09, 2008, 10:19:18 am »
yes those are the ones.
what language is MSNSurf written in?
you would think there would be a library function which automatically decodes those characters.
if you're happy to post the source, I could have a go seeing you're busy :)

Have at!

rhonnysparks

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #21 on: May 11, 2008, 06:57:06 am »
Thanks for posting the source  :)
I finally got some time to have a look at it.
I should mention that I'm a more of a C programmer than a C# programmer :P
After trying for ages to get regular expressions to work (but to no avail), I ended up coding it with loops. So if you do know how to get regular expressions to work in C#, please feel free to update it.

Version 1.5.4.0
Changelog:
- MSN title now properly displays all nonstandard characters (this should work for all but tell me if it doesn't!)
- MSN title now has every first letter capitalised

Known issues:
- single quotes (') seems to be stripped, this looks like audiosurf itself is doing it?

TODO:
- display custom icon

as the todo says, I'm hoping to try and make it so you can specify a custom icon, ideally I would like my MSN title to have a little audiosurf icon and then the artist & title info.
if you could give me any pointers pwntastic, that would be fantastic.

edit: see later post for files
« Last Edit: July 15, 2008, 09:52:05 am by rhonnysparks »

Pwntastic

  • Roffles The Mighty
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1910
    • MSN Messenger - rofflesthemighty@hotmail.com
    • AOL Instant Messenger - LordDosk
    • View Profile
    • Pwntastic.Net
Re: Windows Live / Msn Messenger Plugin
« Reply #22 on: May 11, 2008, 05:38:07 pm »
AFAIK you cannot specify custom icons for msn. There are 3 icons that you can use with 4 options. There are 'games' 'music' 'office' or 'none' i think. These are tags that you send to msn, which then displays an icon to go with whatever else you send.
Like if you send it 'games' then it shows a little chess icon, or 'music' makes it display the musical note.

as far as regex, that was a smart idea that i didn't think of for a few things... i'll get back to you on that
« Last Edit: May 11, 2008, 05:40:34 pm by Pwntastic »

rhonnysparks

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #23 on: May 12, 2008, 06:27:50 am »
thanks for the info.
I tried creating an audiosurf emoticon, and putting the shortcut for it in the personal message, but it didn't work :( hopefuly there's a way to do it.

I also figured out how to do the regex, so I changed the code (I also gave the functions I wrote more meaningful names).

edit: see later post for files
« Last Edit: July 15, 2008, 09:52:23 am by rhonnysparks »

phil35

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #24 on: May 14, 2008, 10:43:21 am »
It doesn't work for me. I click it and it come up with the windows box 'MSNSurf has stopped working.' Any ideas?

Sorry to qupte myself, but its still doing this. Any suggestions as to why?

Pwntastic

  • Roffles The Mighty
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1910
    • MSN Messenger - rofflesthemighty@hotmail.com
    • AOL Instant Messenger - LordDosk
    • View Profile
    • Pwntastic.Net
Re: Windows Live / Msn Messenger Plugin
« Reply #25 on: May 14, 2008, 11:02:38 am »
Do you have the .net framework 2.0 installed?
Would it be possible for you to copy the error report from within the error dialog for me to take a look at? I'm not quite sure what would cause that.

phil35

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #26 on: May 14, 2008, 12:26:08 pm »
Well, under 'Turn Windows features on and off', the box that says 'Microsoft .NET Framework 3.0' is checked, and when expanded those boxes are checked as well.

How do I find the error dialogue? The box that appears is the Windows diagnose a problem box btw.

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Windows Live / Msn Messenger Plugin
« Reply #27 on: May 14, 2008, 01:08:17 pm »
It doesn't work on Vista :'(

Useful info (I think):

· I have .NET Framework 3.5 installed instead of 3.0
· My Vista is updated with Service Pack 1
· AMP works fine

« Last Edit: May 14, 2008, 01:12:08 pm by ViRUS »


Pwntastic

  • Roffles The Mighty
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1910
    • MSN Messenger - rofflesthemighty@hotmail.com
    • AOL Instant Messenger - LordDosk
    • View Profile
    • Pwntastic.Net
Re: Windows Live / Msn Messenger Plugin
« Reply #28 on: May 14, 2008, 03:16:47 pm »
OK nvm about the error info then, I thought it was a different type of window.

As far as it not working on vista, it works fine here...

Hmmm ill work on creating a debug version of the app that should let me know where it crashes

phil35

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Windows Live / Msn Messenger Plugin
« Reply #29 on: May 15, 2008, 05:24:00 am »
It doesn't work on Vista :'(

Useful info (I think):

· I have .NET Framework 3.5 installed instead of 3.0
· My Vista is updated with Service Pack 1
· AMP works fine



Yeah, that's the error that is coming up for me. But in English :P