Clan x86

Technical (Development, Security, etc.) => General Programming => Botdev => Topic started by: Furious on January 13, 2007, 11:40:30 pm

Title: Re-writing the connection method
Post by: Furious on January 13, 2007, 11:40:30 pm
How much effort would it take for someone ( with experience ) to re-write the connection method of a bot from local hashing to BNLS? ( In C++ )

Sorry if it's a dumb question, programming isn't my thing.  :-\
Title: Re: Re-writing the connection method
Post by: Newby on January 13, 2007, 11:41:21 pm
With experience? Lots of experience? Not much time. Heh.
Title: Re: Re-writing the connection method
Post by: Furious on January 14, 2007, 09:59:55 am
Anyone up for it?  It's actually warz's (http://www.rafm.org/?p=2) bot.

Here's his little write-up:

Quote
battle.net channel moderation client
This is a quick and simple battle.net 'op' channel moderation client. Supports local hashing via BNCSutil, and has oper.dll-style flagging. This is a console application, only. There is an option hide-console setting, to allow the bot to be hidden from view. This project does not support the lockdown era checkrevision, and is not being updated

Before I left BNET last time ( Before the 1.13 patch some time ) I was using this and I really enjoyed it.  I came back and idle in a friends channel now, but SphtBot3 isn't going to cut it with the amount of activity the channel gets.
Title: Re: Re-writing the connection method
Post by: Warrior on January 15, 2007, 12:42:47 pm
How much effort would it take for someone ( with experience ) to re-write the connection method of a bot from local hashing to BNLS? ( In C++ )

Sorry if it's a dumb question, programming isn't my thing.  :-\

Depends on the level of abstraction they put over their Battle.net code. If they intertwined it heavily with the hashing stuff then it could become very tedious for an inexperienced programmer.

I'd start by understanding his current code, what he does locally to retrieve the values he sends to Battle.net. Then replace that with BNLS values returned from BNLS packets.
Title: Re: Re-writing the connection method
Post by: MyndFyre on January 15, 2007, 01:12:34 pm
I'd start by understanding his current code, what he does locally to retrieve the values he sends to Battle.net. Then replace that with BNLS values returned from BNLS packets.
One thing that might be very effective and helpful for this task would be to draw.  Use Visio or something else, but draw out how the procedures work and depend on one another.  Draw the flow of the logic from step-to-step.  That's excellent!
Title: Re: Re-writing the connection method
Post by: warz on January 23, 2007, 07:07:00 pm
Any luck? :P
Title: Re: Re-writing the connection method
Post by: Joe on January 26, 2007, 10:19:54 pm
I was actually about to sit down and do this to JavaOp. :P