DarkBlizz - Making Battle.net Magic -

Battle.net R&D => Development => Topic started by: brew on May 10, 2008, 09:43:32 AM

Title: new chat bot
Post by: brew on May 10, 2008, 09:43:32 AM
thief's revelation bot has inspired me to develop a battle.net chat bot that will triumph over all.. here's my idea:
•MDI document interface, with tabs. Kind of like IDA :)
•Tabbed bot config (because my current method of making all the controls and frame x not visible and then having another one appear is shit.. not really, just so much work and messy)
•Custom anti-flood algorithm (compile it on your own into raw executable code, will include a default module)
•Will have an option to use bncsutil for hashing, cdkey decoding, srp, etc
•BNLS support for checkrevision (all three, 0x09, 0x18 and 0x1a, you can choose)
•Advanced flood filtering options
•Mutli profile (duh) with option of asynchronous or synchronous sockets
•SC game support (not full, will exit when game starts), hosting and joining
•Winamp support
•Downloads checkrevision modules
•Automatic hash file updates from patch

pretty much like brewbot except mutliprofile and a few other things removed.
if all goes well i'll then clean it up and release it as my first public bot.
Title: Re: new chat bot
Post by: Myst on May 11, 2008, 12:21:27 AM
sounds good, hope to see some ss's of it soon.
Title: Re: new chat bot
Post by: brew on May 26, 2008, 12:42:28 PM
alpha 0.8 horizon is nearing completion
here are some screenshots, the main gui is just about done




Title: Re: new chat bot
Post by: I Luv Bnet on May 26, 2008, 08:17:57 PM
Is BreW some kind of elite hacker? When does this bot become public?
Title: Re: new chat bot
Post by: brew on May 26, 2008, 09:29:24 PM
When does this bot become public?

So i noticed that blend between the listview and the channel label, and i liked it. made the gui look so streamlined... so i got rid of the richedit's borders too. it's starting to look like an mdi version of warrior's piece of glass :-/...
Title: Re: new chat bot
Post by: xampp on May 26, 2008, 10:02:51 PM
looks great dude, also its not written in vb6. also its  a private bot. :(
Title: Re: new chat bot
Post by: brew on July 13, 2008, 01:55:34 AM
So, it's been just about 2 months since I started thinking about this project and now here I am:
 • GUI works pretty well, still adding features there
 • No other support except local hashed starcraft so far, but connects at least :)
 • MOSTLY done with the configuration, still a few things to fix up.
 • Rudimentary internal command processor.
 • Dropped the customizable antiflood algorithm. Too complex, and besides: who's going to make them?

What I have left to do:
 • Finish up the config, it's still pretty rough around the edges.
 • Make the Listview's drag resizing a little more finished, right now I just have the resize itself and a cursor icon change.
 • Find a way to redraw the richedit so the text doesn't blur with WS_EX_TRANSPARENT...
 • Somehow fix my addchat so the richedit's caret doesn't hover above the crlf. This is so annoying when the focus is lost, resized, then it is redrawn.
 • Fix the listview's items' back color to not use the null brush (-1, otherwise the background picture would be cut), but instead, do what visual basic does to redraw it.
 • Add support for more clients :)...
 • Add support for external dll hashing (bncsutil.dll, checkrevision.dll)
 • Add bnls support
 • Add proxy support
 • Add antiflood
 • Add floodbot protection
 • Add an about (and maybe even a help) dialog box.
 • Add a chat log system. This should be very easy, and gone are the days of struggling to read the unformatted text! Read your logs the way you would on your bot, since they are now rich text formatted (rtf) files.

A great feature with this bot that I'm working on is to have an atmosphere. You can talk to people in different places. Not just a black box, with a list of people in a black box, and some text being displayed in a black box. Different channels now have different feelings to them. You can associate background pictures, fonts, font size, text color, etc with a certain channel. For example, Op HeLL's background pictures could be flames, and the text could be reddish, etc. It has a hellish theme. How appropriate for a channel called Op Hell! Theoretically is no limit to the number of custom atmosphere channels you could have, although my hash table's size is 64 entries. I have a few questions for you about this feature though:
 1). Would you like it even?
 2). Should I actually change the fonts and text color? I could imagine that would get annoying, and also hard for me to do since I would have to save the formatting and then reparse it when changing colors.
 3). Should I save the channels in a single file called channels.atm (atm for ATMosphere)? Or should I have a directory filled with channelname.atm files? You could edit these files from notepad as well as through the GUI.

Another idea that somewhat sprouted from the listview's per-channel background: What if the listview image can be set by the clan's website? You specify the website to download the image from, and when you join the channel, it does. This is all made very easy by using the LVBKIF_SOURCE_URL flag in the ulFlags member of the LVBKIMAGE. Perhaps the same can be done for an extended "channel topic", as with IRC?

Overall, I think I made a lot of progress for typing like, 5 lines a night :P!
Title: Re: new chat bot
Post by: Myst on September 28, 2008, 03:57:20 PM
I'm pretty sure he'll be releasing this program soon. Thanks for registering!