Anyone want to help make a '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 »

well, i've started to do some coding of PureMessenger
but so far it only has support for MSN, and to add other protocols will need some modification....

currently it can:
- log in (using MSNP8 - same as windows messenger)
- show contact list - with all statuses
- update contact list when user changes status/display name
- change logged on user's status
- change logged on user's display name
- pressing enter/return in some stringgadgets pushes a button
- respond to msn's challenges


currently it can NOT:
- show whether a user is blocked
- start a convo with anyone
- nothing else


what i need:
- someone to help with the gui - especially the contact list
- possibly someone to help/do other protocols
- someone to test this using dialup - its only tested on my 512/128 dsl damn telstra wholesale
- feedback :D

you can download it from the sourceforge page here
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 »

after line 42 in 'returnkeys stuff.pb' add

Code: Select all

Else
retval = CallFunctionFast(GetWindowLong_(hwnd, #GWL_USERDATA), hwnd, message, wparam, lparam)
soz, im used to using hooks to do the returnkeys stuff.....
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 »

well, im releasing it again because some people downloaded it, but didnt comment on it.... :(

i fixed the bug with the subclassing procedure, it can now show if a contact is blocked, items on the file menu work, better support for dialup (i found a utility to help with testing), it retrieves display name better - not thinking that the crlf is part of the name...
also, if you create a file in the source's folder with filename as 'account.txt', and put your msn username on the first line and password on the second line, the program will pick them up and automaticaly fill them into the login box.

download at http://sourceforge.net/project/showfile ... _id=173263 (choose the 29.11.06 release)
the main source code file is msn client - threaded.pb

i would like even 1 person to give feedback on this...
and if u r interested in helping with this project, contact me, by email or here in this topic...
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

I can't compile it using PB4.1, MakeLong() wasn't found...
I like logic, hence I dislike humans but love computers.
CadeX
Enthusiast
Enthusiast
Posts: 124
Joined: Mon Oct 02, 2006 2:56 pm
Location: Australia
Contact:

Post by CadeX »

Confirmed.

4.0 cannot find that function either.
Pro-Gamer, Programmer, Pro-Grammer
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

oops, thats part of droopy's lib... http://purebasic.fr/english/viewtopic.php?t=24709

if u dont want to use that, heres the code behind it:

Code: Select all

Procedure MakeLong(HiWord,LoWord) 
  param & $FFFF + LoWord 
  param + HiWord << 16 
  ProcedureReturn param 
EndProcedure 

Procedure GetLoWord(Long) ;included just in case
  ProcedureReturn Long & $FFFF 
EndProcedure 

Procedure GetHiWord(Long) ;included just in case
  ProcedureReturn Long >> 16 & $0000FFFF
EndProcedure 
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Sorry, but it doesn't run properly, with debugger enabled!

Upsss...

Has anyone noticed debugger doesn't work with ThreadSafe enabled !?
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

works perfectly fine for me.....
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 »

Image
image is a bit shoddy, but i wasnt being too careful with the blur tool.... :lol:
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
BigB0ss
New User
New User
Posts: 9
Joined: Sun Jun 01, 2008 12:28 pm
Location: The Netherlands

Post by BigB0ss »

I know its 2 years ago but does anyone still have the PB Source?
I'm really interested in this...
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

BigB0ss wrote:I know its 2 years ago but does anyone still have the PB Source?
I'm really interested in this...
this thread is old, see http://www.purebasic.fr/english/viewtopic.php?t=32655
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Post Reply