Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: BaDDBLooD on February 24, 2004, 07:18 PM

Title: Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 24, 2004, 07:18 PM
I Know VB in general, like i make "Non" Internet based VB Applications.  But i haven't used winsock's.

Bnls sounds pretty cool in my mind, and instead of looking for a bot source code as kp put it:

You look at the source code to bot Z.  This bot was written by someone who looked at the source code for bot Y and ripped out certain parts of code from bot Y without fully comprehending them.  Incidentally, author of bot Y probably did the same from bot X.  Result: you have half-assed poorly written code which was copied and pasted several times to "learn from."  You don't understand it, but it seems to work so you copy it into your bot.  

The step that usually follows this one is to post questions like "This code doesnt work whats wrong" on this forum.  

So i was hoping to get a Connection to a battle.net server, ( Preferably bnls - cause i like it so much, and it's so flexibile. ), that someone on these forum's has made, and not a "half-assed poorly written code which was copied and pasted several times to 'learn from' bot" because most people on these forum's aren't complete moron's.

Thanks for your help Valhalla Legends Staff Members, and people who browse this forum.

**EDIT: Preferably with a few comments, also i use Visual Basic 6.0

*** EDIT #2:  You can Email me it if you want  it private.  Or you can send me it on aim @ Help me if i need it. ( Recomended )
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: effect on February 24, 2004, 07:23 PM
So what your saying is you would like a well written source to copy and paste from , well i guess that makes sense
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: BaDDBLooD on February 24, 2004, 07:25 PM
i have no intention on using any code i aquire in this forum for a bot, unless the person who supplied it says i can.  All i wanted was a source that i could Learn off of, that wasn't hacked together off of 20 different bots.
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: o.OV on February 24, 2004, 07:46 PM
Quote from: BaDDBLooD on February 24, 2004, 07:25 PM
i have no intention on using any code i aquire in this forum for a bot, unless the person who supplied it says i can.  All i wanted was a source that i could Learn off of, that wasn't hacked together off of 20 different bots.

A login sequence is JUST a login sequence.
How you get the connection made doesn't determine if you are a code thief.
A connection is just another simulation of a game client login.
Every bot has to simulate this to login..
Unless you are TAHC.
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: BaDDBLooD on February 24, 2004, 07:57 PM
i'm sure you understand what i'm getting at..
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: Kp on February 24, 2004, 09:04 PM
Quote from: BaDDBLooD on February 24, 2004, 07:18 PM
Bnls sounds pretty cool in my mind, and instead of looking for a bot source code as kp put it:

You look at the source code to bot Z.  This bot was written by someone who looked at the source code for bot Y and ripped out certain parts of code from bot Y without fully comprehending them.  Incidentally, author of bot Y probably did the same from bot X.  Result: you have half-assed poorly written code which was copied and pasted several times to "learn from."  You don't understand it, but it seems to work so you copy it into your bot.

I'm not the one who said that.
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: BaDDBLooD on February 24, 2004, 09:06 PM
woops, my mistake KP,  IT was the account "K".
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: Eric on February 25, 2004, 12:02 AM
http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt

That should be all you need, if not, CleanSlateBot is always there for you.
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: BaDDBLooD on February 25, 2004, 03:34 PM
Excuse me lord, thank you for the help.  a friend of mine said i need a "Packet Buffer" Class module, and where can i get Documentation on all the BNET Packets?

Would more appreciate   a "Login Sequence, that is 'comented'"

Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: Eric on February 25, 2004, 03:40 PM
Quote from: BaDDBLooD on February 25, 2004, 03:34 PM
Excuse me lord, thank you for the help.  a friend of mine said i need a "Packet Buffer" Class module, and where can i get Documentation on all the BNET Packets?

Would more appreciate   a "Login Sequence, that is 'comented'"

http://botdev.valhallalegends.com
http://bnetdocs.valhallalegends.com
Title: Re:Anyone have a BNLS Connection That i can Look at?
Post by: o.OV on February 25, 2004, 08:50 PM
Quote from: BaDDBLooD on February 25, 2004, 03:34 PM
a friend of mine said i need a "Packet Buffer" Class module

A ready to use packet buffer class isn't required..
but it does make it a whole lot easier for many.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 25, 2004, 09:33 PM
woah, am getting confused here...

That bnetdoc's website is a little overmy head!

token's and stuff .. woah!

This is why i was looking for a "login Sequence" That had comments!

Could someone explain to me some Basic Parts like what a token is, and any other things that "most" people ask questions about!
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 25, 2004, 09:42 PM
QuoteCould someone explain to me some Basic Parts like what a token is, and any other things that "most" people ask questions about!
BnetDocs explains pretty much what everything is.

Quote
This is why i was looking for a "login Sequence" That had comments!
If you're not willing to do the harder work, don't do any work at all.
Most people here are willing to put forth the effort to help others learn, but not to help others copy.

Btw, o.OV:
Quote
Unless you are TAHC.
There is no client called "TAHC". "TAHC" is actually just the DWORD form of "CHAT".

Quote
How you get the connection made doesn't determine if you are a code thief.
What if you copy the code without the original coders consent and/or without crediting the original coder?
What if somehow you illegally obtained the code?
In my opinion, that would be code theft.

Quote
A connection is just another simulation of a game client login.
Every bot has to simulate this to login..
So if I made a connection to http://www.battle.net, my bot would have to simulate the gaming client I used to get there?!
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: o.OV on February 26, 2004, 04:24 AM
Quote from: LoRd[nK] on February 25, 2004, 09:42 PM
Btw, o.OV:
Quote
Unless you are TAHC.
There is no client called "TAHC". "TAHC" is actually just the DWORD form of "CHAT".
I say TAHC because if I say CHAT
he may misinterprete and think CHAT CLIENT instead..
(AIM/MSN/IRC/etc..)
I didn't want any mixups.

Quote
Quote
How you get the connection made doesn't determine if you are a code thief.
What if you copy the code without the original coders consent and/or without crediting the original coder?
What if somehow you illegally obtained the code?
In my opinion, that would be code theft.
I agree.
And my point still stands.

Quote
Quote
A connection is just another simulation of a game client login.
Every bot has to simulate this to login..
So if I made a connection to http://www.battle.net, my bot would have to simulate the gaming client I used to get there?!
No.
If I were you..
I would use a Web Browser to get there.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 11:47 AM
Quote
Quote:
Quote:
How you get the connection made doesn't determine if you are a code thief.


What if you copy the code without the original coders consent and/or without crediting the original coder?
What if somehow you illegally obtained the code?
In my opinion, that would be code theft.


I agree.
And my point still stands.
What point? You said "How you get the connection made doesn't determine if you are a code thief."

Quote
I say TAHC because if I say CHAT
he may misinterprete and think CHAT CLIENT instead..
Weather or not he may not understand, you're trying to talk about something that doesn't exist.

Quote
Quote:
Quote:
A connection is just another simulation of a game client login.
Every bot has to simulate this to login..


So if I made a connection to http://www.battle.net, my bot would have to simulate the gaming client I used to get there?!


No.
If I were you..
I would use a Web Browser to get there.
Then learn to fix your wording, and a web browser is not required to look up a webpage.

Bleh, I'm done with you, you're just far too annoying to deal with.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 03:31 PM
i never wanted to copy anyone lord.

i just wanted a "Basic" demonstration of how a Login Sequence works through BNLS, it doesn't even have to be working if the person who made it didn't want it to!  I just wanting to look at a code that wasn't "hashed" together by a bunch of people.

I am willing to do the work, i just need some guidelines to help me.  Yes, BNETDOC's does help some people, but it's not the kind of Thing that i need right now.

STOP ARGUEING IN MY POST, SHEESH!
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 03:34 PM
Quote
I am willing to do the work, i just need some guidelines to help me.
You've been given various links on where to find complete documentation on every BNLS packet.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 05:08 PM
you are so fucking stubborn.

Can't you see i don't understand bnetdoc's, i just wanted a little demo on Sending recieving bnet packets through vb, maybe Some comments on parts of it, maybe even a partial login sequence.  You have to make me feel stupid that i can't understand bnetdoc's to your Level.  I Have ( NEVER ) Used a WINSOCK Before, EVER!
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 05:14 PM
Quote from: BaDDBLooD on February 26, 2004, 05:08 PM
you are so fucking stubborn.

Can't you see i don't understand bnetdoc's, i just wanted a little demo on Sending recieving bnet packets through vb, maybe Some comments on parts of it, maybe even a partial login sequence.  You have to make me feel stupid that i can't understand bnetdoc's to your Level.  I Have ( NEVER ) Used a WINSOCK Before, EVER!

Then you probably shouldn't be trying to program something as complicated as a Battle.net Binary Bot.
However, there is a simple solution for this, it's called CleanSlateBot. Personally, I'm not a fan of CleanSlateBot, so if I were you, I'd study up on socket programming, ie: Binding, Sending, Receiving, ect.,  which will eventually help you learn to create a binary bot all on your own, or possibly just with the help of BNLS.
If you don't wish to do either, you're sadly out of luck. :(
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 05:31 PM
Ok, no offense but your a fucking moron.

YOu tell me to study on my socket programming, binding, sending, recieving packets.

Ya don't give me any links, nothing.

WHAT I WANTED IN THE FIRST PLACE WAS A DEMO ON SENDING AND RECIEVING PACKETS SO I COULD LEARN THIS!!!!!!!!!!!!!!!
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 05:41 PM
Quote from: BaDDBLooD on February 26, 2004, 05:31 PM
Ok, no offense but your a fucking moron.

YOu tell me to study on my socket programming, binding, sending, recieving packets.

Ya don't give me any links, nothing.

WHAT I WANTED IN THE FIRST PLACE WAS A DEMO ON SENDING AND RECIEVING PACKETS SO I COULD LEARN THIS!!!!!!!!!!!!!!!

Insulting me will get you nowhere, except down a point in karma.

Quote
DEMO ON SENDING AND RECIEVING PACKETS
In other words you wanted the source code to connect to Battle.net. A source code to a program is a valuable piece of information, no one here knows if all you want to do is learn from it, or just copy it, which is why I suggest learning about sockets. As for where to find information on them, you can always try http://pscode.com, and http://google.com.
Now, I have been very patient with trying to help you here, if you continue being hostile with me, I'll be done with you.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 05:48 PM
sorry for being Hostile, and thanks for your help.

I in no way intend on stealing anyone's source Code

i just want a "Login Sequence" WHatever you would like to call it, using BNLS.

It doesn't even have to "Work".  I Just want to use it as a Demo.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 06:51 PM
Quote from: o.OV on February 26, 2004, 06:33 PM
Quote
What point? You said "How you get the connection made doesn't determine if you are a code thief."
I said "How".
You stated a scenario and I agreed to it.
Reminder.. it IS A SCENARIO.
Meaning.. it isn't always the case.

Quote
Weather or not he may not understand, you're trying to talk about something that doesn't exist.
You understood something that doesn't exist?

Quote
Then learn to fix your wording ..
My wording is fine..
Anyone else who read this thread
would have known what I was talking about
when I said "connection"

Quote
.. and a web browser is not required to look up a webpage.
Did I say it was required?
I said if I were you I would use a web browser.
Heck.. If you want to use telnet instead..
Go for it =)

Just continue thinking you're always right.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: MyndFyre on February 26, 2004, 06:58 PM
Lord...  to be honest, you've been an ass.

Baddblood: you'll find that in general, you will not get free help here.  What you will often get is directions to look for concepts -- as people have suggested Sockets programming -- and they will tell you to look on your own.  Most often, this is a key phrase to look on Google.

I did a quick search on Google for "Visual Basic WinSock Control," and the first site I found is pretty nice:

http://www.vbip.com/winsock/index.asp

Also, look around Botdev for information on the PacketBuffer class; if you're using VB, I believe DarkMinion wrote it.  I have a C# implementation.

You need to be able to understand that basics of how data is stored in memory, how said data is accessed, how it is represented, etc.  Actually, I'm not certain that you need that for VB; I had to know it fairly well working on the bot in C#, but that's just me.

When I get a chance I'll IM you on AIM and we'll talk a bit more about it.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Newby on February 26, 2004, 07:00 PM
Quote from: Myndfyre on February 26, 2004, 06:58 PM
Lord...  to be honest, you've been an ass.

Don't forget what Lord said:

QuoteInsulting me will get you nowhere, except down a point in karma.

:P
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 07:11 PM
thanks myndfire.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 07:13 PM
Quote from: Myndfyre on February 26, 2004, 06:58 PM
Lord...  to be honest, you've been an ass.

Baddblood: you'll find that in general, you will not get free help here.  What you will often get is directions to look for concepts -- as people have suggested Sockets programming -- and they will tell you to look on your own.  Most often, this is a key phrase to look on Google.

I did a quick search on Google for "Visual Basic WinSock Control," and the first site I found is pretty nice:

http://www.vbip.com/winsock/index.asp

Also, look around Botdev for information on the PacketBuffer class; if you're using VB, I believe DarkMinion wrote it.  I have a C# implementation.

You need to be able to understand that basics of how data is stored in memory, how said data is accessed, how it is represented, etc.  Actually, I'm not certain that you need that for VB; I had to know it fairly well working on the bot in C#, but that's just me.

When I get a chance I'll IM you on AIM and we'll talk a bit more about it.

Pretty much all you did is sum up the information I have already given him, he can't get "free" help, he needs to do the work on his own. If that's being an ass, so be it.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 07:25 PM
ok lord, your head is pretty think now isn't it.

He actually Tried to "EXPLAIN" what he was talking about, and he offered to help me.  I would say that's more than you did?
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Eric on February 26, 2004, 07:29 PM
Quote from: BaDDBLooD on February 26, 2004, 07:25 PM
ok lord, your head is pretty think now isn't it.

He actually Tried to "EXPLAIN" what he was talking about, and he offered to help me.  I would say that's more than you did?

Find one post where I didn't try to explain to you what to ask and/or what to look for.
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: BaDDBLooD on February 26, 2004, 08:36 PM
i wish it was Commented..
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: o.OV on February 26, 2004, 09:58 PM
Quote

Quote
What point? You said "How you get the connection made doesn't determine if you are a code thief."
I said "How".
You stated a scenario and I agreed to it.
Reminder.. it IS A SCENARIO.
Meaning.. it isn't always the case.

Quote
Weather or not he may not understand, you're trying to talk about something that doesn't exist.
You understood something that doesn't exist?

Quote
Then learn to fix your wording ..
My wording is fine..
Anyone else who read this thread
would have known what I was talking about
when I said "connection"

Quote
.. and a web browser is not required to look up a webpage.
Did I say it was required?
I said if I were you I would use a web browser.
Heck.. If you want to use telnet instead..
Go for it =)

Strange.. I don't recall removing that post.

Quote
Just continue thinking you're always right.
o_o
So now you think you can read minds..
What part of what I said was wrong?
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: MyndFyre on February 26, 2004, 10:10 PM
Quote from: Gangz on February 26, 2004, 08:14 PM
Nice this post has become a bunch of people flaming each other.... You guys must have a lot of free time. Baddblood try downloading soup bot source code. I learned alot off of it. It has almost everything you would ever need from BNLS Logins, all packets are proccessed and its pretty well layed out. If you cant find it try www.sacred-soldiers.com or cold-chaos.net or another site like one of them. I hope this helps

For me, I did manage to get part of the connection algorithm from SoupBot, which basically involved me manually tracing through the path of execution of what *should* happen.  Unfortunately, SoupBot branches in a certain location.

After I decided it would be fruitless, I read through the BNLS Protocol Spec's description of 0x50 through 0x58....  Combining that with packetlogging got me off to a decent start.  =)
Title: Re:Anyone have a BNLS Login Sequence That i can Look at?
Post by: Arta on February 27, 2004, 11:43 AM
Enough.