• Welcome to Valhalla Legends Archive.
 

Getting Spht bot to show clan logins/log offs?

Started by thebigred, September 22, 2006, 05:35 PM

Previous topic - Next topic

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. 

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.

thebigred

#2
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.

rabbit

They are DLLs renamed to BCP.  The documentation is private.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

thebigred


Warrior

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.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

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.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Spht


rabbit

Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Warrior

Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?


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?