Author Topic: C++ Binary Bot source  (Read 10800 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
C++ Binary Bot source
« on: June 28, 2005, 04:47:47 pm »
First off, this will not work.  This was my first attempt at writing a bot.  Nearly all the research was done myself, before I knew how to reverse engineer, so I called the functions straight from the .snp and .dll rather than doing them myself.  As a result, it only supports Starcraft 1.07 or 1.08 or something.

Anyway, I did some neat stuff.  This is years old, back when I used C++, and it's commented well.  Maybe somebody can learn something *shrug*

It will connect, using my code, and it has a buffer type object (I think?).  Anyway, here is the code:

http://www.javaop.com/~iago/CBinaryBot

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: C++ Binary Bot source
« Reply #1 on: June 28, 2005, 06:07:40 pm »
Thanks, will have a look over it.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: C++ Binary Bot source
« Reply #2 on: June 28, 2005, 09:03:00 pm »
Can you pack it, please?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: C++ Binary Bot source
« Reply #3 on: June 29, 2005, 05:11:47 pm »
No

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: C++ Binary Bot source
« Reply #4 on: June 29, 2005, 07:32:12 pm »
Thanks iago! I'll have to take a look at this when I get back home!

Offline GameSnake

  • News hound
  • Hero Member
  • *****
  • Posts: 2937
    • View Profile
Re: C++ Binary Bot source
« Reply #5 on: August 13, 2005, 09:54:06 pm »
From what this looks like it's just a  little crippled, updated hash coding and needs a GUI and it'll get going.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: C++ Binary Bot source
« Reply #6 on: August 13, 2005, 11:02:47 pm »
It's not crippled, it's incomplete. 

I had never intended to write a gui for it, the entire project was more for practice than anything.  Most of the code is useless, but the principles might help somebody.

Offline GameSnake

  • News hound
  • Hero Member
  • *****
  • Posts: 2937
    • View Profile
Re: C++ Binary Bot source
« Reply #7 on: August 14, 2005, 12:06:08 am »
Oh I see, well I'm soso at C/C++ and this does help some what, I used NBBot's source as a main study of bot framwork in C.

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: C++ Binary Bot source
« Reply #8 on: August 30, 2005, 04:43:11 pm »
Sorry about reviving a semi-dead topic.

What is NBBot, and will it still work with the new patches?

I am learning C++, and I perfer to learn by looking at things already done, instead of just reading a book.  So, if you know of any other open source C++ bots that work on b.net, would you guys tell me please?

P.S.
Sorry about reviving a semi-dead topic.
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline c0n

  • Full Member
  • ***
  • Posts: 201
  • I'm new here!
    • View Profile
Re: C++ Binary Bot source
« Reply #9 on: August 30, 2005, 04:53:29 pm »
Sorry about reviving a semi-dead topic.

What is NBBot, and will it still work with the new patches?

I am learning C++, and I perfer to learn by looking at things already done, instead of just reading a book.  So, if you know of any other open source C++ bots that work on b.net, would you guys tell me please?

P.S.
Sorry about reviving a semi-dead topic.

NBBot is an old bot made by Adron[vL] (i think). It was used to massload and shit... i remember using it, and its many different remakes.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: C++ Binary Bot source
« Reply #10 on: August 30, 2005, 07:13:49 pm »
I am learning C++, and I perfer to learn by looking at things already done, instead of just reading a book.  So, if you know of any other open source C++ bots that work on b.net, would you guys tell me please?
Unless you have already made a bot, then trying to learn C++ by making one is just a silly task.  You should consider not doing that, instead of doing it.

Learn C++ by modifying and tinkering with some easier, less complicated, less-involved programs that are out there already.
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 AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: C++ Binary Bot source
« Reply #11 on: August 30, 2005, 07:31:07 pm »
Alright Myndfyre, that seems logical.  But, do you have any suggested sites that have these programs on there?

Quote
I'm both anti-newbie and anti-Newby (I hope I get NewbFyre back so I can kill him for being part-spawn of Newby), but if you have a genuine interest in learning, you'll find I'm extremely receptive and willing to help.  What I just can't stand is people who are unwilling to help themselves, and who always want others to give them the easy way out of something.  I hate that.  With a passion.
That isn't what I am aiming for.  Seeing that you hate it... I rather not make someone angry who is willing to help.
« Last Edit: August 30, 2005, 07:35:42 pm by Brandon »
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: C++ Binary Bot source
« Reply #12 on: August 30, 2005, 08:51:35 pm »
Well, I wish I could suggest something further, but C++ was not my first language, and mostly I've learned it in passing.  Learning C# and Java really helped me learn (regular) C++, but I'm not nearly as proficient with it as others here.  Browse around CodeProject and other websites that offer free code.  Find something that interests you and tinker with it.  Make sure it's interesting to you.

The first language I learned was JavaScript.  I learned it through trial-and-error, and dug in to make it do all kinds of fun things.

Anyway, good luck.  If you have any specific questions I may be able to help.
« Last Edit: August 30, 2005, 10:16:06 pm by MyndFyre[x86] »
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 iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: C++ Binary Bot source
« Reply #13 on: August 30, 2005, 09:45:02 pm »
NBBot wasn't written by Adron, it was written by people who've since fallen through the cracks of History.  But it was maintained by Adron for a long time, perhaps ongoing. 

There was a long involved story about how the source got released (originally to Blizzard, and evenually given to Skywing, and stolen off Grok's computer and released publicly, etc.)

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: C++ Binary Bot source
« Reply #14 on: August 30, 2005, 11:24:57 pm »
Thanks MyndFyre.

Also, thanks Ron for you breathe taking story. :) (It was actually very interesting.)
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus