Shoutbox

Bot Developers Kit Version 2.01 available (update: feb 26, 2006) - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Bot Developers Kit Version 2.01 available (update: feb 26, 2006) (/showthread.php?tid=56035)

Bot Developers Kit Version 2.01 available (update: feb 26, 2006) by mrhuge on 02-19-2006 at 09:04 PM

At last... I've finished the new version of BotDK: Version 2.0!

Changes since V1.0

  • The biggest change is that it's not a Messenger Plus! plugin anymore. It's now a COM dll which you can use in your Messenger Plus! plugins. This way you can combine the strengths of both the Messenger Plus! plugin API and the BotDK API in one single plugin.
  • Compatible with MSN Messenger 7 and up.
  • Added functionality to retrieve information about a conversation like the IP address of the SwitchBoard server, the SignIn names of the remote participants and more.
  • Get a notification when someone joins or leaves the conversation.
V1.0 thread
This is the thread started for version 1.0: http://shoutbox.menthix.net/showthread.php?tid=44659.

Feedback
Please test this API and give me feedback on it. Also if you have ideas for extra features, don't hesitate to tell me about it.

Update (feb 26, 2006):
I've done a little update on BotDK.
BotDK.dll doesn't need ApiHooks.dll anymore, which makes redistribution a little bit easier. The current BotDK version is now V2.01.
RE: Bot Developers Kit Version 2.0 available by BoBaLeX on 02-20-2006 at 02:01 PM

It's a Good News!


I just tried it 10min ago.... all is working fine :D !

"[3628] Hooking recv succeeded!
[3628] BotDK loaded successfully!"
and hooking is working!....

so... Thank you for correcting bugs, and thank you for your good job!
(I haven't got the time to exploit it fully for the moment, but I think that combinating MessengerPlus! API and BotDK API is a really good idea.... ;))


RE: Bot Developers Kit Version 2.0 available by RaceProUK on 02-21-2006 at 02:09 PM

Downloading now!
If I like it, is it possible to make a statically-linked .LIB?


RE: RE: Bot Developers Kit Version 2.0 available by zero_kool on 02-22-2006 at 06:22 AM

Well um is there anyway you can convert this in the ise on vb man i h8 .net and i dont wanna re-download it


RE: Bot Developers Kit Version 2.0 available by BoBaLeX on 02-22-2006 at 11:26 AM

I don't think....

As the readme say:

code:
You can use (almost) all COM-compatible development environments. Only exception is Visual Basic 6. You can’t use VB6 for creating plugins, because VB6 doesn’t support multithreading. Multithreading is needed because every conversation is handled in it’s own thread, so notifications will come from different threads.


RE: Bot Developers Kit Version 2.0 available by RaceProUK on 02-22-2006 at 01:04 PM

quote:
Originally posted by zero_kool
i h8 .net
So use C++ ;)
RE: Bot Developers Kit Version 2.0 available by mrhuge on 02-22-2006 at 06:52 PM

quote:
Originally posted by raceprouk
Downloading now!
If I like it, is it possible to make a statically-linked .LIB?
To do that, I'll have to change the concept completely. Right now, it's a COM-based API which can be used from almost any COM-compatible programming language. I'd like to keep it like that so developers have maximum freedom.

I'm aware of the slight disadvantage of having to redistribute BotDK with your plugin, but I don't consider that one big enough to change the concept of BotDK.
RE: Bot Developers Kit Version 2.0 available by RaceProUK on 02-23-2006 at 08:14 PM

You shouldn't have to change the concept at all, just compile a static library instead of a DLL.

Never mind anyway, I'll use the DLL ;)


RE: Bot Developers Kit Version 2.0 available by AxelTB on 02-25-2006 at 03:37 PM

Your new PlugIn is perfect but i can't use DispayToastW function using your example because or is undefined or if i include the file who contain the function it says it's already defined in *.obj...

What shuld i do?

(Excuse me for my orrible english...)
Thanks a lot.
Ax


RE: Bot Developers Kit Version 2.0 available by mrhuge on 02-26-2006 at 12:25 PM

When I include "MPPluginHeader.h" in BotDKPlugin.cpp and use the DisplayToastW function, it compiles and links fine. Maybe you're not using the right version of the Messenger Plus! plugin API?


RE: Bot Developers Kit Version 2.01 available (update: feb 26, 2006) by mrhuge on 02-26-2006 at 01:07 PM

I've made a little change to BotDK. Check the opening post.


RE: Bot Developers Kit Version 2.01 available (update: feb 26, 2006) by DieterDHoker on 03-20-2006 at 12:26 AM

Thx for this DK, just discovered it today and I managed to make a plugin with it, that uses an activeX Dll that wraps a perl-interpreter, so i can make all those perl-commands i made available within my msn messenger conversations, without having to use my unstable perl-msn-proxy :)


RE: Bot Developers Kit Version 2.01 available (update: feb 26, 2006) by mrhuge on 03-20-2006 at 04:33 PM

quote:
Originally posted by DieterDHoker
Thx for this DK, just discovered it today and I managed to make a plugin with it, that uses an activeX Dll that wraps a perl-interpreter, so i can make all those perl-commands i made available within my msn messenger conversations, without having to use my unstable perl-msn-proxy :)
You're welcome :).

The idea of your plugin sounds cool! What do those Perl commands actually do?
RE: RE: Bot Developers Kit Version 2.01 available (update: feb 26, 2006) by DieterDHoker on 03-20-2006 at 05:16 PM

quote:
Originally posted by mrhuge

The idea of your plugin sounds cool! What do those Perl commands actually do?


Some dictionary commands, for example: !vandale <woord> that uses LWP to get the definition from vandale.nl (dutch dictionary). (actually I use DBI and an mysql-server first to see if i already have a definition for that word stored, and if not then i use LWP and the site to get it and store it in my database)

also have some translating dictionaries and a acronym lookup command, using the same principle, mainly for the dutch language.

things like !weather, !tv , !train <city> <city> to get weather information for the next day,  what's on tv right now, and train hours ... all using LWP offcourse.

small commands like !calc 10+45+cos(45) that calculates the expression.

the usual things you can do easily with perl :)

A whole lot of personal commands I use to acces information on my pc quickly.

now i'm working on this command that does a grep of the logfile of the person that is chatting with me. So people can search in my logfiles.

and a little command i'm planning to do later on, for my girlfriend so she can trigger a toast popup when i'm not responding on msn and wants to get my attention ;)

and a command to add perlcode to be executed on all the following messages in the current conversation.

only just discovered your DK, so i'm in the process of modyfing all those commands to get it better integrated in the new architecture. (like I used to have 1 global persistant Database connection, for now with your DK i always make a new connection for every command that gets triggered.)
RE: RE: Bot Developers Kit Version 2.01 available (update: feb 26, 2006) by yagiz.y on 06-09-2006 at 03:14 PM

quote:
Originally posted by DieterDHoker
... just discovered it today and I managed to make a plugin with it, that uses an activeX Dll that wraps a perl-interpreter...


Dieter, how did you manage to use a DLL with the BotDK? I am trying to link my plugin with a normal (non-ActiveX, non-COM) DLL, and Messenger Plus does not even show my plugin in the available plugins list. If I remove the references to the DLL, the plugin shows up OK.

--
Yagiz