flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > [dead]Celula - MSN Client in FASM

Author
Thread Post new topic Reply to topic
kidscracker



Joined: 29 Oct 2004
Posts: 46
kidscracker 01 Feb 2006, 17:35
WEll after a long time and some disapointments,here is the source code of my pour but working implemementation of the MSN protocol,i've Ziped all my files that you need to compile it,the paths you must define in the FASM.ini and the complie,i hope you will continue with this project. This section is perfect for it, the comments and names are in spanish, but if you have question don't dubt asking i will be gland to help you,any modification or change please let me know or post here. Nice coding!!! Razz


Last edited by kidscracker on 11 Sep 2021, 06:14; edited 1 time in total
Post 01 Feb 2006, 17:35
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 01 Feb 2006, 21:43
Oh dear, I tried to compile it but it had millions of bugs. There includes are addressed wrong, so I corrected them, but still couldn't get it to compile, because there are constants missing etc.
You managed to call UNICODE before it was initialized and I finally found out that the ...RGB... constant is zero Very Happy, but the HWND... constant...I don't know about that.

What version of FASM did you use?
Post 01 Feb 2006, 21:43
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 02 Feb 2006, 14:57
I'd noticed that my nick has changed from "|.·.| Hernán |.·.|" to "|..| Hernn |..|". If I switch back to the official client my nick stills wrong so Celula stores in the server the wrong nick too. This problem happens because is not implemented in unicode or is a bug?

I think you work is great, you have splitted into a lot of files to be easy to mantain and you made all the work alone, congratulations!!Very Happy
Post 02 Feb 2006, 14:57
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 02 Feb 2006, 19:40
@locodelassembly: Were you able to assemble it and what version of FASM did you use and how much did you change the source?
Post 02 Feb 2006, 19:40
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
kidscracker



Joined: 29 Oct 2004
Posts: 46
kidscracker 03 Feb 2006, 18:07
Well I've copiled it with FASM 1.64,and you must use the includes that I've included,not the standard,because they are incomplete.

locodelassembly
I've tried to implement the unicode but i couldn't beacuse it wass a lot of thigs to do with the TreeView,and i leave it,as you can see it was prepared to have 2 versions one unicode an other UTF8, I will be posting the source code of this tried,this was divided in DLLs to be easily manteined.I f you want you can continue with it,an feel free to ask anything,the specification are in spanish but i will traslate it.
Post 03 Feb 2006, 18:07
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 03 Feb 2006, 23:07
For me spanish is fine Very Happy (that is the language we speak in Argentina, well, more or less). About continuing your project I'm busy with my studies, I have some exams this month and I'm programming something in FASM that I hope finish it this week to post in the forum but later maybe I can do something.

Madis731, well actually I'd never compiled the source Razz. Now I will try to compile it and tell you how to do.
Post 03 Feb 2006, 23:07
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 04 Feb 2006, 00:15
Well, I got it.

1- Unzip to C:\celula
2- Copy FASM 1.64 to C:\celula. Not just FASM.EXE, copy all the Windows distribution
3- Now copy FASM.EXE to C:\celula\MSN Celula\
4- In C:\celula\MSN Celula\MSN\SB\MSNSB.asm there is a part where the "\" are missing, make sure the code looks like this:
Code:
.frmtCancel     db      'Invitation-Command: CANCEL',13,10,\
                        'Invitation-Cookie: %ld',13,10,\
                        'Cancel-Code: REJECT_NOT_INSTALLED',13,10,13,10,0
    

5.-Make a batch with this:
Code:
set fasminc=c:\celula\include
set fasminc164=c:\celula\include164
set controls=c:\celula\Controls
set Libs=c:\celula\Libs
fasm "MSN Celula.asm"

pause    


6.-Place that batch in C:\celula\MSN Celula\ (MSN celula.asm at C:\celula I coudn't be able to compile it so compile the one that is on the "MSN Celula" sub folder)

7.- Run the batch

Well, that's all, hope you can compile it too.

PS: I'd noticed that if you in the batch have for example "set fasminc164=c:\celula\include164 " (with the space at the end) instead of "set fasminc164=c:\celula\include164" (without the space at the end) FASM throws errors like:
Quote:
flat assembler version 1.64
MSN Celula.asm [4]:
include '%fasminc164%\win32a.inc'
error: file not found.
. I'd discovered it while I was trying to find why the instructions above stop working when I testing it again. Keep it in mind when you copy the batch code
Post 04 Feb 2006, 00:15
View user's profile Send private message Reply with quote
Urff



Joined: 29 Mar 2006
Posts: 22
Urff 30 Mar 2006, 09:58
Can't compile it with fasm 1.65.17..... @kidscracker do You fix the bugs?
Post 30 Mar 2006, 09:58
View user's profile Send private message Reply with quote
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 01 Apr 2006, 02:45
Pretty impressive- just that I'd prefer English Razz
well, it seems it doesn't support Unicode, i had a few contacts with lots of Unicode and it was really odd Neutral
maybe i should translate it now
edit: i just realized that it does have english.. thats good
edit2: the english is incomplete. translating...
Post 01 Apr 2006, 02:45
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 08 Sep 2006, 08:16
Is this project already at usable state?
Is this project still being developed or is it dead?
Post 08 Sep 2006, 08:16
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY 21 Jan 2008, 21:01
Do you still update it?
Where can I read the MSN protocol RFC?
Post 21 Jan 2008, 21:01
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 21 Jan 2008, 21:20
Nowhere since it is not an open protocol but a bunch of people reversed it. http://amsn.sourceforge.net/devwiki/tiki-index.php?page=The+MSN+Protocol

The second link in that page is down so surf it thorugh the wayback machine instead http://web.archive.org/web/20050407055814/http://ceebuh.info/docs/?url=home.html
Post 21 Jan 2008, 21:20
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 22 Jan 2008, 00:26
marked as [dead]
Post 22 Jan 2008, 00:26
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.