Valhalla Legends Archive

Programming => General Programming => Topic started by: UserLoser on July 31, 2003, 10:27 PM

Title: Starting BCP support in Visual Basic.
Post by: UserLoser on July 31, 2003, 10:27 PM
I'm interested in adding support obviously to my bot.  I'm just not sure how to get all the information that I need.  I do have BCEL.dll, and Spht did help me a bit, but I didn't get very far at all.  So far I have very little done on the PluginInformationStruct, if any if it's correct.

I also have these two declaration functions, not sure if they're correct either.

Public Declare Function FreePlugin Lib "BCEL.dll" (ByVal bcpPlugin As String) As Boolean
Public Declare Function LoadPlugin Lib "BCEL.dll" (bcpPluginInformation As PluginInformation)


Any help would be great.  I looked at the EmptyPlugin, and the structs in there for each revision, but my C++ knowledge is very bad and there's not much I can fully understand in there to help me get it all correct.
Title: Re:Starting BCP support in Visual Basic.
Post by: Zorm on July 31, 2003, 11:28 PM
http://zorm.phactorx.com/BCEL.bas
Source code given to me by Skywing and Yoni when I was going to add BCP support in VB.
Title: Re:Starting BCP support in Visual Basic.
Post by: dxoigmn on August 01, 2003, 01:23 AM
What is BCEL.dll?
Title: Re:Starting BCP support in Visual Basic.
Post by: Zorm on August 01, 2003, 01:50 AM
Binary Chat Emulation Layer, it loads plugins and handles them something which would be a lot of work to do natively in VB.
Title: Re:Starting BCP support in Visual Basic.
Post by: UserLoser on August 01, 2003, 08:05 AM
Thanks a ton Zorm. :D