Valhalla Legends Forums Archive | Spht's Forum | Getting Spht bot to show clan logins/log offs?

AuthorMessageTime
thebigred
The thing that made EternalChat so unique from everything else was that it would always tell when clan members logged in or out.  Is there a way to get this in Sphtbot?  I looked through the scripts and plugins but I couldn't find anything. 
September 22, 2006, 10:35 PM
Spht
It would be possible to write a plugin for this.  ClanManager.bcp adds much of the clan functionality that EternalChat has to SphtBotv3, but it does not display user status updates on the chat window as they happen--I found it used to get quite irritating when in a large clan.
September 22, 2006, 10:55 PM
thebigred
oh I see.    I'm gonna take a look around ClanManager.bcp.  Where could I get some documentation on .bcp files?  Are they byte code from vb? 

Would you happen to remember how you coded it?  Does BNET just send you something that tells you when the clan list changes?  I'm considering writing some code for it but I'm not sure if I know enough coding since I've never done VB.  I might do a JavaOP plugin for this though since I feel stronger in that field.
September 23, 2006, 5:39 PM
rabbit
They are DLLs renamed to BCP.  The documentation is private.
September 23, 2006, 7:46 PM
thebigred
[quote author=rabbit link=topic=15770.msg158812#msg158812 date=1159040794]
They are DLLs renamed to BCP.  The documentation is private.
[/quote]

Oh I see, thanks
September 23, 2006, 8:22 PM
Quarantine
The documentation isn't private persay, it is possible to do it after some hardwork and good thinking. I'm sure if you show atleast initiative to get decently far in implementing it some people might be nice enough to lend a helping hand.

The problem is releasing the code publicly once you have implemented it, especially if you recieved help. I don't think Skywing wants everyone and their grandma with drag and drop BCP support in their bots.

I think the hardest part was making sure I supported all the callbacks correctly in my Bot and even then I still had some missing things.
September 24, 2006, 5:58 PM
rabbit
Actually, I know where some BCP code is public, but I won't say.  Anyway, I could never get it to work fully in my bot, so I eventually gave up on it.  Anyway, just poking at it and making attempts to make a plugin won't yeild all the calls you can make.
September 24, 2006, 9:17 PM
Spht
All the information you'd need is available at http://www.valhallalegends.com/pub/BCP/, even a sample plugin.
September 25, 2006, 6:20 PM
rabbit
[s]You suck for not telling me about this[/s]Thanks.
September 25, 2006, 10:43 PM
Quarantine
http://www.valhallalegends.com/pub/BCP/Documentation/
haha.
September 25, 2006, 11:02 PM
UserLoser
http://www.valhallalegends.com/pub/BCP/SDK/BCP.h
http://www.valhallalegends.com/skywing/files/binarychat/ReadMe.rtf
September 26, 2006, 2:35 AM
thebigred
Was looking over the .h during class and I was wondering if there were any fully functional plugins involving clan usage I could peek through? 

October 3, 2006, 8:07 PM

Search