• Welcome to Valhalla Legends Archive.
 

Turning Assbot into Binary bot?

Started by ZeratulsDomain, July 24, 2005, 08:43 PM

Previous topic - Next topic

ZeratulsDomain

I have used assbot in the past to collect user stats and it all worked out nicely. Now I want to use it in replacement with stealtboth in a private channel (so I have more control over it).

I have looked at coding it from scratch, although I do have some networking experience (high school cisco) I have never coded with winsock (I wouldn't even know how to send/receive raw packets (or is it simpler then that?)) That and I currently want to add features to a working bot as opposed to coding a bot.

Anyway... How hard would it be to change the assbot (FYI – it uses telnet) to be a <binary bot> (so I can join a clan channel)? I have been google'ing this and searching the forum for the past 2 days but haven't found what I was looking for...

Help would be appreciated.

Yegg

Well, if you want to create the code without being aided by other people's code, it could take a very long time, considering you don't know how to read packets (I am assuming). You would need to gather all necessary data to send to Battle.net by reading the packet logs and using bnetdocs.valhallalegends.com as a guide. MSDN should provide enough information on how to use Winsock controls, but other than that I would suggest learning how to read packets and learn how Battle.net sends and receives packets.

Tontow


ZeratulsDomain

#3
Yegg: I do half know how to read packets (I used to be able to identify the mac/ip destination/source along with the checksum and SYN and the actual message.)  I also partly understand how battle.net accepts its packets... I guess ill read up on winsock (though I always under the impression winsock could not send raw UDP packets in there hex form.)

Tontow: I was thinking about using BG3 if I could not get the bot to work. But bg3 seems to be down... There forums are down (including the link you gave) and the program keep asking me to update itself with the same update (I checked google cache and it looks like other people are having the same problem). Not to mention if I minimize it and tell it to <listen> it says the program has been altered:

Quote[7:29:59 PM]Welcome To BG 3.5.7
[7:29:59 PM]<html>
<head>
<title>decry.net: The Leading Law Site on the Net</title>
</head>
<frameset cols="1,*" border=0>
  <frame name="top" src="/t.php?cat=law" scrolling=no frameborder=0 noresize framespacing=0 marginwidth=0 marginheight=0>
  <frame src="/search.php" scrolling="auto" framespacing=0 marginwidth=0 marginheight=0 noresize>
</frameset>
<noframes>
This page requires frames.
</noframes>
</html>
[7:29:59 PM]Checking for updates...A new version is availiable.

When I minimize and listen.

[7:30:28 PM]Your Copy Of Bg Appears To Be Altered Or a program to change memory state is running. This action is not condoned! Please download a fresh copy from www.novaslp.net/bg3/

Looks like there domain name changed...

Tontow

Fome the link I gave
Quote
On an attempt to make it easier for the users. I have made an installer, all you do is chose the destination file.

Destination File: Your BG3 folder.

Installer: Click Me

Change Log:
SC, SC:BW Verbyte changed to 0xCD.

Now updateing hashes is in your hands. I will not release any.

Update BG3.

MyndFyre

Quote from: ZeratulsDomain on July 25, 2005, 07:11 PM
Yegg: I do half know how to read packets (I used to be able to identify the mac/ip destination/source along with the checksum and SYN and the actual message.)  I also partly understand how battle.net accepts its packets... I guess ill read up on winsock (though I always under the impression winsock could not send raw UDP packets in there hex form.)

Tontow: I was thinking about using BG3 if I could not get the bot to work. But bg3 seems to be down... There forums are down (including the link you gave) and the program keep asking me to update itself with the same update (I checked google cache and it looks like other people are having the same problem). Not to mention if I minimize it and tell it to <listen> it says the program has been altered:

What you know as "packets" from your Cisco classes are not the common (misused) terminology people are referring to here.  Most people are referring simply to chunks of TCP/IP data.

As of Windows XP SP2, you are no longer able to create raw packets with Winsock (you still could if you implemented your own networking stack).  However, Winsock's functions let you deal with the data on the wire at a more abstract level, handling the SYN/ACK requests and data transfers on its own, and giving you only buffers to work with back and forth for data only.  BnetDocs is an excellent resource, and its information pertains to information only in the data part of the TCP packets.

You do not need to use UDP to make a binary bot -- just TCP/IP.

BG3 has always been through http://www.novaslp.net/bg3/.  The link Yegg posted is inaccurate.

Note that packets are not in "hex" or "binary" form -- unless you decide to view their contents.  Read my post on endianness, as well as on hex and binary numeric representations (note that both posts are dead topics -- it'd be better to reply here regarding their contents).  It would also be worthwhile to read Arta's information for newcomers.

I'll warn you on this much though -- chances are good that unless Assbot was designed extremely well (unlikely), its telnet form will probably not be able to be converted with ease.  In other words, it'd probably be easier to go from scratch.
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.

Spht

Quote from: MyndFyre on July 25, 2005, 09:20 PMI'll warn you on this much though -- chances are good that unless Assbot was designed extremely well (unlikely), its telnet form will probably not be able to be converted with ease.  In other words, it'd probably be easier to go from scratch.

Sadly everything Ickis writes is extremely orderly and professional, so the Telnet layer is probably designed in such a way that it can be inserted to another project with ease.  :)

I'd suggest doing it from scratch anyhow.  Use AssBot as a nice reference if you're unsure how to do something.