News:

How did you even find this place?

Main Menu

C++ Binary Bot source

Started by iago, June 28, 2005, 04:47:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iago

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

Quik

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

rabbit


iago


Sidoh

Thanks iago! I'll have to take a look at this when I get back home!

GameSnake

From what this looks like it's just a  little crippled, updated hash coding and needs a GUI and it'll get going.

iago

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.

GameSnake

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.

AntiVirus

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

c0n

Quote from: Brandon 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.

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.

MyndFyre

Quote from: Brandon on August 30, 2005, 04:43:11 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.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

AntiVirus

#11
Alright Myndfyre, that seems logical.  But, do you have any suggested sites that have these programs on there?

QuoteI'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.
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

MyndFyre

#12
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.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

iago

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.)

AntiVirus

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