What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Bot Developers Kit available! (Update 16-05)

Pages: (5): « First « 1 2 3 4 [ 5 ] Last »
2 votes - 5 average   Bot Developers Kit available! (Update 16-05)
Author: Message:
AxelTB
New Member
*


Posts: 7
Joined: Feb 2006
RE: Bot Developers Kit available! (Update 16-05)
Hi allz,
I've just installed your PlugIn but I have a problem...
I have registered my dll under windows and followed the instruction 2 make your Plugin able to use my dll but when i try to open the about Dialog Box the program crash. It do the same even if I try to configure and It doesn't execute the load function when i load It!!!
Why???

I Have To move my dll in a specific folder???

Thanks for the answer
Ax
(I know that my english is orrible, excuse me for it)

Re-Edited: Ah, i used VC++6 to compile my dll...

This post was edited on 02-15-2006 at 09:42 PM by AxelTB.
02-15-2006 09:41 PM
Profile E-Mail PM Find Quote Report
BoBaLeX
New Member
*


Posts: 7
– / Male / –
Joined: Feb 2006
RE: Bot Developers Kit available! (Update 16-05)
Hi AxelTB

Seeing your problem, I think that:
Maybe you've not indicated correctly what is the ProgID of you PlugIn  to BotDK! I mean, in the registry (I've tried to set a wrong ProgID, and when you do it, in fact, the about box and plugin box make the program crash)
If you want to know what is the progID, you can use COMExplorer (VC++ add .1 at the end of the progID : for ex. YourBot.Bot.1)

Or maybe the problem is in VC++ (I noted that VC++, in the header file YourAtlObjetName.h, return by doing
return E_NOTIMPL;
for example:
code:
public:
    STDMETHOD(Initialize)(IPluginHost * objPluginHost)
    {
        return E_NOTIMPL;
    }

replace it by any ohter return (ie. return TRUE;, or return 0; ) and, the "crash" will disappear.....
(I'm not sure about that but I think I had the same pb, can't remember!)

I thik it'll help you

(as for my problem, I still don't know how to solve it ^^)

This post was edited on 02-16-2006 at 10:53 AM by BoBaLeX.
02-16-2006 10:50 AM
Profile E-Mail PM Find Quote Report
AxelTB
New Member
*


Posts: 7
Joined: Feb 2006
RE: Bot Developers Kit available! (Update 16-05)
I've added the .1 at the end of the name and i discovered that it is the real name of the class by a program but I still have the same problem...
I've also changed all E_NOTIMPL with 0 as you said but it was useless...

I tried to use a debugger program (Hackman Debugger) and at the start of messenger he to me too: "Hooking recv failed!Hooking send failed!BotDK loaded successfully!", but it doesn't seems to be the cause of my problem...

Do anyone have a full-working plugin or everyone have problem using it?
02-16-2006 09:51 PM
Profile E-Mail PM Find Quote Report
BoBaLeX
New Member
*


Posts: 7
– / Male / –
Joined: Feb 2006
RE: Bot Developers Kit available! (Update 16-05)
Hmmm... strange!
Yes I've a working plugin, coded with VC++6 too! (hm... working, not exactly, as I have this problem with the OnMessageReceive/Sent functions etc... but no crash, and the AboutBox and ShowConfig functions are working correctly for me)

for the pb in OnMessageReceive/sent maybe it's a cause of the problem in hooking recv/send.... but I don't know if these debug string are really ... exact :p

because
"[3000] Hooking recv failed!
[3000] Hooking send failed!
[3000] BotDK loaded successfully!"
sounds strange:  "successfully" ? uh? and what about the hooks error ? lol .... :P

I would appreciate any help from MrHuge, I think he knows ;)
02-16-2006 10:13 PM
Profile E-Mail PM Find Quote Report
mrhuge
Junior Member
**

Avatar

Posts: 88
Reputation: 5
46 / Male / –
Joined: May 2003
O.P. RE: Bot Developers Kit available! (Update 16-05)
From MSN Messenger version 7 BotDK has a problem hooking the Winsock functions which means it can't intercept messages. I've already found a solution for this, but I've been to busy doing other things (baught a house, stuff like that :P) that, until now, I didn't have the time to correct this problem.

I also have a new version lying around for quite some time which is a little easier to use (I think), which I'd like to finish and upload. Actually it's completely ready, I've only got to finish off the documentation. I'm thinking about solving this problem in this new version and upload that one.

Basically, the big change is, that it's not a plugin anymore but just an ActiveX DLL which you can use in your MSGPlus! plugins. This means that you will be able to combine the power of the MSGPlus! plugin API and the BotDK API in one plugin.
02-17-2006 09:34 AM
Profile PM Find Quote Report
BoBaLeX
New Member
*


Posts: 7
– / Male / –
Joined: Feb 2006
RE: Bot Developers Kit available! (Update 16-05)
Ok, :)

I hope you had no problem with you house... and that all is going right!

Thank you for your explanation, since i was thinking that the problem was coming from "me"... :p

So, I'll wait for the moment, and thank you for your work ;)
Just impatient to see the new version / problem corrected!
02-17-2006 10:04 AM
Profile E-Mail PM Find Quote Report
AxelTB
New Member
*


Posts: 7
Joined: Feb 2006
RE: Bot Developers Kit available! (Update 16-05)
I'm looking forward your new plugin...
02-18-2006 01:15 PM
Profile E-Mail PM Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: Bot Developers Kit available! (Update 16-05)
I'll be sure to try this out as soon as you upload the new version! Keep it up.
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
02-19-2006 02:10 PM
Profile PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: Bot Developers Kit available! (Update 16-05)
Just wondering if you're planning on making BotDK open source, as you did for MSN Proxy, as I'm interested to see how you did the winsock hooking, as I had an (unsuccessful) attempt t doing it a while ago.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
02-20-2006 10:13 AM
Profile E-Mail PM Web Find Quote Report
Pages: (5): « First « 1 2 3 4 [ 5 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On