|
| Author |
Message |
2shae Newbie

Joined: 07 Jan 2006 Posts: 14
       
|
Posted: Wed Jul 19, 2006 1:04 am Post subject: Personal Message And Now Playing |
|
|
Lately i havnt been able to get the name of the contact the bot is talking to, it used to save them in a log file but it just stoped. cleared the log file etc but it just shows a blank space where the name should be.
i also want to get the personal message and now playing logged 2.
any ideas howto do this? |
|
| Back to top |
|
 |
Cer Upgraded Agent

Joined: 03 Feb 2004 Posts: 3776 Location: Michigan
  votes: 4
|
Posted: Wed Jul 19, 2006 1:55 am Post subject: |
|
|
It would help to tell us which bot template you're using. Logging isn't part of the MSN module and all the bot templates out there log things differently. _________________ Current Site (2008) http://www.cuvou.com/ |
|
| Back to top |
|
 |
patrick Newbie

Joined: 17 Apr 2006 Posts: 42 Location: Arnhem, the Netherlands
      votes: 1
|
Posted: Wed Jul 19, 2006 11:12 am Post subject: |
|
|
if the username is empty in your log it could be that you are using the wrong var
there is a difference beteen different versions of msn.pm.
so in one it is $ username and in the other it could be $user. |
|
| Back to top |
|
 |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Wed Jul 19, 2006 5:10 pm Post subject: |
|
|
| patrick wrote: | if the username is empty in your log it could be that you are using the wrong var
there is a difference beteen different versions of msn.pm.
so in one it is $ username and in the other it could be $user. |
There is no differnt $user or $username or w/e is just a variable data is passed into when your message sub is called. |
|
| Back to top |
|
 |
Cer Upgraded Agent

Joined: 03 Feb 2004 Posts: 3776 Location: Michigan
  votes: 4
|
Posted: Wed Jul 19, 2006 6:19 pm Post subject: |
|
|
I think he meant how bot templates name their variables differently. Some bots define it as $username on their Message handler, some do it as $user, and then there's me who uses $from and turns it into $client later.  _________________ Current Site (2008) http://www.cuvou.com/ |
|
| Back to top |
|
 |
ERijkee Newbie

Joined: 05 Jul 2004 Posts: 31 Location: Almere, The Netherlands
    
|
Posted: Fri Jul 21, 2006 10:03 am Post subject: |
|
|
About the PSM/Now playing, this is not possible with the MSN protocol version used by the current MSN.pm
I'm working on a MSNP13 msn.pm but it's not finished so you will have to wait a little longer for that. _________________ 3D chat program I'm making  |
|
| Back to top |
|
 |
2shae Newbie

Joined: 07 Jan 2006 Posts: 14
       
|
Posted: Sat Aug 05, 2006 6:41 pm Post subject: |
|
|
i used mayabot origionally as template but i want to update the whole thing to the newest bot.pm etc. and remove any unneeded things.
im willing to do some donating to help with the msn.pm for protocol 13 if it will help.
i rewrote the logging system abit so each user has on the list has a status-user@whatever.com.txt on the system, that contains all the info on different lines |
|
| Back to top |
|
 |
ERijkee Newbie

Joined: 05 Jul 2004 Posts: 31 Location: Almere, The Netherlands
    
|
Posted: Mon Aug 07, 2006 10:27 pm Post subject: |
|
|
I worked some more on it today and now managed to fetch the the allow, reverse,block and pending lists
Some other nice things i added are sending files through MSNFTP and sending voiceclips. _________________ 3D chat program I'm making  |
|
| Back to top |
|
 |
mattaustin Sentinel

Joined: 19 Jul 2004 Posts: 556 Location: Los Angeles, CA
  votes: 1
|
Posted: Mon Aug 07, 2006 11:31 pm Post subject: |
|
|
thats really cool im glad to see people working on the module still... anywere I/we can download it to see the progress? _________________ [ matt ] |
|
| Back to top |
|
 |
ERijkee Newbie

Joined: 05 Jul 2004 Posts: 31 Location: Almere, The Netherlands
    
|
Posted: Tue Aug 08, 2006 10:02 am Post subject: |
|
|
Not yet but i guess i could upload it somewhere while its in development.
The new SOAP stuff for the contact lists is annoying  _________________ 3D chat program I'm making  |
|
| Back to top |
|
 |
|