Author Topic: Re-writing the connection method  (Read 4828 times)

0 Members and 1 Guest are viewing this topic.

Offline Furious

  • Hero Member
  • *****
  • Posts: 1833
  • I hate rabbits
    • View Profile
Re-writing the connection method
« 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.  :-\
Quote
[23:04:34] <deadly7[x86]> Newby[x86]
[23:04:35] <deadly7[x86]> YOU ARE AN EMO
[23:04:39] <Newby[x86]> shush it woman

Quote
[17:53:31] InsaneJoey[e2] was banned by x86 (GO EAT A BAG OF FUCK ASSHOLE (randomban)).

Quote from: Ergot
Put it this way Joe... you're on my Buddy List... if there's no one else on an you're the only one, I'd rather talk to myself.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Re-writing the connection method
« Reply #1 on: January 13, 2007, 11:41:21 pm »
With experience? Lots of experience? Not much time. Heh.
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Furious

  • Hero Member
  • *****
  • Posts: 1833
  • I hate rabbits
    • View Profile
Re: Re-writing the connection method
« Reply #2 on: January 14, 2007, 09:59:55 am »
Anyone up for it?  It's actually warz's 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.
« Last Edit: January 14, 2007, 10:01:47 am by Furious »
Quote
[23:04:34] <deadly7[x86]> Newby[x86]
[23:04:35] <deadly7[x86]> YOU ARE AN EMO
[23:04:39] <Newby[x86]> shush it woman

Quote
[17:53:31] InsaneJoey[e2] was banned by x86 (GO EAT A BAG OF FUCK ASSHOLE (randomban)).

Quote from: Ergot
Put it this way Joe... you're on my Buddy List... if there's no one else on an you're the only one, I'd rather talk to myself.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Re-writing the connection method
« Reply #3 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.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Re-writing the connection method
« Reply #4 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!
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline warz

  • Hero Member
  • *****
  • Posts: 1134
    • View Profile
    • chyea.org
Re: Re-writing the connection method
« Reply #5 on: January 23, 2007, 07:07:00 pm »
Any luck? :P
http://www.chyea.org/ - web based markup debugger

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Re-writing the connection method
« Reply #6 on: January 26, 2007, 10:19:54 pm »
I was actually about to sit down and do this to JavaOp. :P
I'd personally do as Joe suggests

You might be right about that, Joe.