• Welcome to Valhalla Legends Archive.
 

I am making a bot in REALBasic

Started by eBeL, August 07, 2004, 01:24 PM

Previous topic - Next topic

eBeL


tA-Kane

Use Virtual PC.

Or write your own binary gateway.

Either will work.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

eBeL

Quote from: tA-Kane on August 11, 2004, 12:09 PM
Use Virtual PC.

Or write your own binary gateway.

Either will work.
1. I dont know binary
2. Virtual PC costs 250+$$$
Im only 14 and dont have a job, how can I afford this?

Eli_1

#18
Quote from: eBeL on August 11, 2004, 03:25 PM
Quote from: tA-Kane on August 11, 2004, 12:09 PM
Use Virtual PC.

Or write your own binary gateway.

Either will work.
1. I dont know binary
2. Virtual PC costs 250+$$$
Im only 14 and dont have a job, how can I afford this?

00111110 01100101 01101011 01101111 01101010 00101111 00111100 00100000 01010000 00111010 00100000 00100001 01111001 01110010 01100001 01101110 01101001 01100010 00100000 01110111 01101111 01101110 01101011 00100000 01001001

Anyway, I believe a "binary gateway" works as sort of a proxy and translates binary packets sent to you from battle.net to their CHAT protocol equivalent, and vise versa.

e.g.
C -> BinaryGateway
Winsock.SendData "wo0t" & vbCrLf

BinaryGateway -> S
FF 0E 09 00 77 6F 30 74 00
ÿ...wo0t.

eBeL


Kp

Quote from: eBeL on August 11, 2004, 07:51 PMthat makes no sense

A tip for you: if you're going to complain that you don't understand something, specify exactly what you don't understand.  Quote the specific section you had trouble comprehending.  Also, minor point, but if it really didn't make any sense, regulars would've flamed and/or corrected the post.  Therefore, we can safely conclude instead that it is you who lack the sense to understand what has been freely given.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

eBeL

Okay we will try it your way, I do not understand what a Binary Gateway is or how to get one.

And what is this? I do not know how to use this or what it does even:

C -> BinaryGateway
Winsock.SendData "wo0t" & vbCrLf

BinaryGateway -> S
FF 0E 09 00 77 6F 30 74 00
ÿ...wo0t.

tA-Kane

Virtual PC can be gotten without paying for it..., like all things... ;)
Quote from: eBeL on August 12, 2004, 10:13 AMOkay we will try it your way, I do not understand what a Binary Gateway is or how to get one.
A Binary Gateway is a third party server which translates a CHAT connection to and from a binary connection (such as a StarCraft connection).

CHAT Bot <-> BinaryGateway <-> StarCraft Server

CHAT Bot connects to BinaryGateway. BinaryGateway connects to the StarCraft server (Battle.net). Once connected, the BinaryGateway sends the "normal" login prompt to the CHAT bot, to trigger the bot's username and password mechanism (if it wasn't triggered upon connecting). The BinaryGateway then receives the username and password and does the binary hashing stuff, and sends that to the StarCraft server.

Once logged in, the BinaryGateway sends 2010 NAME (username) to the CHAT bot.

The BinaryGateway translates the event packets (packet ID 0x0F) into the textual events that the CHAT bot expects.

The CHAT Bot simply sends what it wants to say. The BinaryGateway translates that into sent chat events.

All during this, the BinaryGateway silently handles things that a CHAT connection doesn't see, such as advertisement changes.

Quote from: eBeL on August 12, 2004, 10:13 AMAnd what is this? I do not know how to use this or what it does even:

C -> BinaryGateway
Winsock.SendData "wo0t" & vbCrLf

BinaryGateway -> S
FF 0E 09 00 77 6F 30 74 00
ÿ...wo0t.
That's Eli's "short, sweet, and to-the-point" way of describing to you what I just described above. Think of C as the Client (CHAT bot), and S as the Server (StarCraft server; Battle.net). Client sends to BinaryGateway "wo0t" & vbCrLf.  BinaryGateway receives that and translates that into the sent chat packet (FF 0E 09 00 77 6F 30 74 00), and sends it to the Server.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

eBeL

so is Binary Gateway something I connect to? Or is it something you build into your bot or what...

tA-Kane

It could be either.  One of the really old (from about 2 1/2 years ago) versions of my bot would allow a CHAT bot to "take over" the binary connection that my bot had already stolen from StarCraft. That was just like Binary Gateway. I want to be able to do that again in my newer bot.

The Binary Gateway that most people here are referring to, however, is a separate program.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

MyndFyre

Hrm.  It occurs to me that, with the release of the .NET SSCLI (Shared Source Common Language Infrastructure) for Mac OS X, I might just be able to write something of a BG for Mac using my bot.  ;)

That would be an interesting endeavor....  Since I don't have a Mac to test it with especially.  :/

I'll let you know if I write one, though.  :)
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

tA-Kane

My bot compiles for Mac OS X, but I don't have Mac OS X to test it with...  ;)
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

eBeL

Would you mind if we talked on AIM for a while? I have a few questions.

tA-Kane

Sure, I'm Kanezor on AIM. Who're you?
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com