User Control Panel
Advertisements

HELP US, HELP YOU!

File Transfer?

 
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions
View unanswered posts
Author Message
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Wed Apr 28, 2004 1:04 pm    Post subject: Reply with quote

On the documentation for Net::OSCAR, I saw something that had to do with file transfers:

QUOTE(http://search.cpan.org/~matthewg/Net-OSCAR-1.11/OSCAR.pm)
capabilities
   A listref of optional features that your client supports. Valid capabilities are:

   extended_status
      iChat-style extended status messages
   buddy_icons
   file_transfer
   file_sharing

   typing_status


And yet there is no handlers or methods shown for actually using file sharing or file transfer.

Anybody know if/how it can be done?

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Thu Apr 29, 2004 8:30 pm    Post subject: Reply with quote

Hm, I looked around for something about it...found nothing....I guess they dont want a bunch of Warez bots lol
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sat Jun 12, 2004 5:16 am    Post subject: Reply with quote

The documentation has :


new ([capabilities => CAPABILITIES])
Creates a new Net::OSCAR object. You may optionally pass a hash to set some parameters for the object.

capabilities
A listref of optional features that your client supports. Valid capabilities are:

extended_status
iChat-style extended status messages

buddy_icons
file_transfer
file_sharing
typing_status
Typing status notification

$oscar = Net::OSCAR->new(capabilities => [qw(extended_status typing_status)]);


So wouldnt it be $oscar = Net::OSCAR->new(capabilities => [qw(extended_status file_sharing)]);

Im just guessing...although if this is how its implemented, Im not sure where it would go

_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sat Jun 12, 2004 6:25 am    Post subject: Reply with quote

Yeah...

It has capabilities for buddy icons and extended statuses, and then later it has methods that use those (like $oscar->buddy_icon (DATA) for buddy icons). It has file_transfer and file_sharing as possible capabilities, but there are no handlers or commands for them.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sat Jun 12, 2004 4:35 pm    Post subject: Reply with quote

The bastards! How do you get the bot to use a buddy icon?
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sat Jun 12, 2004 5:07 pm    Post subject: Reply with quote

i may be slow, but what is a buddy icon?
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
jeanhub
Almost An Agent
Almost An Agent


Joined: 14 Feb 2004
Posts: 1138

Reputation: 50.7

PostPosted: Sat Jun 12, 2004 5:29 pm    Post subject: Reply with quote

It is on aim...
Back to top
JoeX
Agent
Agent


Joined: 02 Jan 2004
Posts: 2153

Reputation: 72.7

PostPosted: Sat Jun 12, 2004 5:37 pm    Post subject: Reply with quote

QUOTE(darkmonkey @ Jun 12 2004, 11:07 AM)
i may be slow, but what is a buddy icon?

users icon

_________________
Heroes NBC
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Sat Jun 12, 2004 5:45 pm    Post subject: Reply with quote

Quote:
sub new($) {
my $class = ref($_[0]) || $_[0] || "Net::OSCAR";
shift;

my $self = {
  options => {},
  _parameters => [@_]
};
bless $self, $class;

my(%parameters) = @_;
if(my($badparam) = grep { $_ ne "capabilities" } keys %parameters) {
  croak "Invalid parameter '$badparam' passed to Net::OSCAR::new.";
}
if($parameters{capabilities}) {
  if(my($badcap) = grep { $_ ne "extended_status" and $_ ne "buddy_icons" and $_ ne "file_transfer" and $_ ne "file_sharing" and $_ ne "typing_status" } @{$parameters{capabilities}}) {
   croak "Invalid capability '$badcap' passed to Net::OSCAR::new.";
  }
}

$self->{LOGLEVEL} = 0;
$self->{SNDEBUG} = 0;
$self->{description} = "OSCAR session";
$self->{userinfo} = bltie;
$self->{services} = tlv;
$self->{svcqueues} = tlv;
$self->{listener} = undef;

$self->{timeout} = 0.01;
$self->{capabilities} = {};

if($parameters{capabilities}) {
  $self->{capabilities}->{$_} = 1 foreach @{$parameters{capabilities}};
}

return $self;
}


Quote:
$caps .= OSCAR_CAPS()->{filexfer}->{value} if $self->{capabilities}->{file_transfer};



dunno if that helps.... just seen it in the oscar.pm
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sat Jun 12, 2004 6:20 pm    Post subject: Reply with quote

Farkie,
According to that it seems you would just be able to use it if you set a new capability with it as I stated previously right? If so, Im still not sure how it would be implemented...I suppose there would need to be a handler and method calls for it?


Darkmonkey,
A buddy icon is the image that others see in the IM and buddy list for Marz. I believe its similar to the display picture in MSN.

_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sat Jun 12, 2004 7:05 pm    Post subject: Reply with quote

oh rite, bit like a Display Pic..... thanks....
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
SlimShady
Newbie
Newbie


Joined: 12 Jul 2004
Posts: 10

Reputation: 22.3Reputation: 22.3

PostPosted: Wed Jul 14, 2004 4:28 pm    Post subject: Reply with quote

Hi,
I'm new with this stuff and I managed to get a bot online.
Currently I only use it for personal stuff.

At work we use a proxy server and I have a question about it:
- Is it possible to transfer a file through the proxy server?
Because I would like to upload files from work to home.

Two other questions:
- Can people retrieve my IP if my bot is online? (I only enabled commands for admins)
@Cer: Did you manage to create a file transfer command?

Thank you.
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Wed Jul 14, 2004 4:57 pm    Post subject: Reply with quote

Juggernaut currently doesnt have file transfer capability on AIM. I dont use MSN, so couldnt tell you there. Id like to get AIM file transfer working myself, but there arent any methods/handlers documented for it.
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group