PureMessenger

Everything else that doesn't fall into one of the other PB categories.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

ar-s wrote:No download file for PureMessenger in official website...?? :cry:
thats because there isnt anything to download...
and i wont have time to do any more for a couple of months
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

does anyone even want to have a look at the code in SVN at sourceforge?
or is this project set to die again?
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Post by electrochrisso »

I will have a look. What is the link.
PureBasic! Purely the best 8)
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

see the svn link under the code header on http://sourceforge.net/projects/puremessenger
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Post by electrochrisso »

Downloaded ok, will have a play and let U know. :)
PureBasic! Purely the best 8)
vertexfire
New User
New User
Posts: 3
Joined: Thu Nov 29, 2007 5:35 pm
Location: MY

Post by vertexfire »

i'm too...puremessenger nice name :P
sayanmaster
New User
New User
Posts: 7
Joined: Thu Jun 14, 2007 9:22 am
Location: France

Post by sayanmaster »

Hello,

I too am interrested in this project (mainly because i'm often under linux).

I tried taking a look at msnpiki to understand the protocol but to say the truth it's a real pain to find something understandeable in my opinion.

And the code in "puremsnupdate.tar.gz" seems to be not working correctly because when I run it after uncompressing I get an error at lines 166-168 of "PureIM_Protocol_MSN.pb":

Code: Select all

    *Mem = AllocateMemory(Lof(0))
    ReadData(0, *Mem, Lof(0))
    SoapRequest1 = PeekS(*Mem)
and when I comment those it runs fine but the debugger return this after some requests:

Code: Select all

<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext" xmlns:psf="http://schemas.microsoft.com/Passport/SoapServices/SOAPFault"><S:Fault><faultcode>S:Client</faultcode><faultstring>Invalid Request</faultstring></S:Fault></S:Envelope>
Anyways I'll try to understand this damned msn protocol :twisted:

EDIT:

I understood your whole code and a little of the authentification process but don't understand why the SSL POST in the SSO procedure isn't recognized as good by http://login.live.com/RST.srf :(
(will need to dig some libcurl documentation it seems ) :!:
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

sayanmaster wrote:And the code in "puremsnupdate.tar.gz" seems to be not working correctly because when I run it after uncompressing I get an error at lines 166-168 of "PureIM_Protocol_MSN.pb":
u need to download the code from SVN. that file is old, and from when i was workig with another to make it support the latest msn protocol.
the version in svn uses a lower protocol number, and i got further, but seem to have hit a memory bug, as on linux it stops working, while on windows it gets to the end, bu still doesnt work (but doesnt freeze as on linux)
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
sayanmaster
New User
New User
Posts: 7
Joined: Thu Jun 14, 2007 9:22 am
Location: France

Post by sayanmaster »

Oh ok I effectively saw that there was a code that implemented a functional contact list and all but with the MSNP8 so I thought it was an old implementation.

As for now i'm not on my linux box but it would be great to make your MSNP13/15 bit of code works :? .

I'll try to make it work but with low hopes, because it would be safer working with SSL (password, etc...).

Anyways, i'll download the svn version monday and see what it looks like.

Last thing, I modified the MSNP15 code so it uses a OOP approach (Class) for the protocol (easier to thread i think) if i interrests you.

EDIT: !! I don't get the SOAPFault xml stuff anymore but I don't know if it means that the request was successful or not !!
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

theres no need to put much work into the msnp15 (or whatever number it was), as i decided that its easier to implement it with the msn code in svn, as puremessenger doesnt have any protocols yet, and the less that there is to implement, the quicker we can get to designing the gui, because that part is a bit hard to get going without having a protocol to have communication from...

as it is, in svn, in the protocols directory there is 'msn' and 'msn_notworking' msn_notworking is that of the latest msn protocol. that which is in msn is the code i want worked on.
the other msn stuff can be worked on at a later stage, as it has already brought so many problems
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
sayanmaster
New User
New User
Posts: 7
Joined: Thu Jun 14, 2007 9:22 am
Location: France

Post by sayanmaster »

Ok so i'll put the msnp15 code aside for the time being and see that svn version monday when i'll be on my linux box (to see what's wrong with it working under linux as you mentioned earlier).
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

managed to fix the msn code on linux, and i would assume on windows too, but have not tested it yet.

i hadnt used libcurl correctly; on the 2nd http request, i didnt set the writefunction again.
this has mysteriously fixed the linux freememory error...
and since it gets the response from the server, i would assume it works the same on windows.
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

update: still fails at the same point on windows.... :shock: :evil:


EDIT: Fixed!!! :D
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Can you put online a ZIP of trunk, please ?
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

Post by superadnim »

the whole point of SVN is not having to manage separate zips and such, you just have a repository you rely on and thats all there is to it, so please install an SVN client and perform a check-out on your hdd.
Post Reply