• Welcome to Valhalla Legends Archive.
 

Faster logons

Started by Networks, March 01, 2004, 10:15 AM

Previous topic - Next topic

Networks

I would like to how you improve and make a logon on a hashed connection 0x51 perhaps more efficient and alot faster. What could u do to make logons like 1 second if its possbile?

Spht

Quote from: Networks on March 01, 2004, 10:15 AM
I would like to how you improve and make a logon on a hashed connection 0x51 perhaps more efficient and alot faster. What could u do to make logons like 1 second if its possbile?

I'm pretty sure "0x51" (SID_AUTH_CHECK) is designed to check your version and CD-key, nothing to do with account logon.

You could try rewriting some of the algorithms you're using to run more efficiently, like YobGuls' CheckRevision. I know that the algorithm which BNLS uses to run versioning on files is about 7 times faster than the public implementation floating around. So depending on your ping to BNLS, you'll possibly be getting even better performance when using it than when doing it locally.

Networks

#2
Sorry I am real newbie to this whole flag thing and connection types but w/e. My bot uses a hashed connection, what type i dunno. Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides me.

Eric

Quote from: Networks on March 01, 2004, 12:20 PM
Sorry I am real newbie to this whole flag thing and connection types but w/e. My bot uses a hashed connection, what type i dunno. Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides me.
We can't help the blind see.

MyndFyre

Quote from: LoRd[nK] on March 01, 2004, 03:02 PM
Quote from: Networks on March 01, 2004, 12:20 PM
Sorry I am real newbie to this whole flag thing and connection types but w/e. My bot uses a hashed connection, what type i dunno. Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides me.
We can't help the blind see.

Lord, if you dedicated half of the time that you use to flaming newbies to helping them, then maybe there wouldn't be so many morons on the forums.

I flame, but damned if I don't offer some help sometime!
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.

effect

#5
Quote from: Myndfyre on March 01, 2004, 04:50 PM
Lord, if you dedicated half of the time that you use to flaming newbies to helping them, then maybe there wouldn't be so many morons on the forums.

I beg to differ.

Quote from: Mangix on March 22, 2005, 03:03 AM
i am an expert Stealthbot VBScript. Recognize Bitch.

Eric

#6
Quote from: Myndfyre on March 01, 2004, 04:50 PM
Quote from: LoRd[nK] on March 01, 2004, 03:02 PM
Quote from: Networks on March 01, 2004, 12:20 PM
Sorry I am real newbie to this whole flag thing and connection types but w/e. My bot uses a hashed connection, what type i dunno. Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides me.
We can't help the blind see.

Lord, if you dedicated half of the time that you use to flaming newbies to helping them, then maybe there wouldn't be so many morons on the forums.

I flame, but damned if I don't offer some help sometime!

Newbies stay newbies because they are unwilling to learn, they just want to find the easy way out.

I always offer help to the people who to me seem like they actually want to learn, rather than those who just want someone to give them something to copy off of so that they can call it their own.

And in my opinion, anti-motivation is the best motivation.

Networks

Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in 1 second and help to see through it that it works. I am not asking you to give me some sort of huge long function or help on parsing various packet.

ChR0NiC

Quote from: Networks on March 01, 2004, 06:55 PM
Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in 1 second and help to see through it that it works. I am not asking you to give me some sort of huge long function or help on parsing various packet.

I'm sure there is a way, but how would like it explained to you? Cuz I am guessing you want it explained in VB code, not in english.

Eric

#9
Quote from: Networks on March 01, 2004, 06:55 PM
Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in 1 second and help to see through it that it works. I am not asking you to give me some sort of huge long function or help on parsing various packet.

Quote
Sorry I am real newbie to this whole flag thing and connection types but w/e. My bot uses a hashed connection, what type i dunno. Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides

You don't know how your own hashed connection works, and I doubt you even care how it works, this is showing me and other readers that you obviously copied your code from somewhere else.

Despite your suspected code theft, here's what to do:

Steps to a faster connection:
.Clean coding
.Make sure you are parsing multiple packets as fast and as free of errors as possible
.Use the winsock dll, rather than the winsock ocx
.Avoid programming anything that has significant processor usage in VB (I learned that the hard way), assuming you're using BnetAuth.dll, the functions are already coded in C++. To make it faster you'd have to obtain the sourcecode to BnetAuth.dll, and rewrite the functions, or just create a new one.

The hashing of Diablo II Expansion is the same as the hashing for Diablo II, except for the fact that you need to hash two CDKeys instead of one. Refer to BnetDocs.

PaiD

#10
Quote from: Networks on March 01, 2004, 12:20 PM
Sorry I am real newbie to this whole flag thing and connection types but w/e. My bot uses a hashed connection, what type i dunno. Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides me.

::)How can anyone help you on your d2xp hashing problems when you dont even know your hashed connection. ::)

:oAlso if you dont use 0x50 login then you cant use d2xp, just a heads up. :o

Edit: I didnt see that lord just posted what I just said before me

CrAz3D

Quote from: Networks on March 01, 2004, 06:55 PM
Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in 1 second[/u] and help to see through it that it works. I am not asking you to give me some sort of huge long function or help on parsing various packet.

If I'm not wrong 1 second = 60 milliseconds
and I've seen pings faster than 60 ms
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

SNiFFeR

#12
Quote from: CrAz3D on March 01, 2004, 07:59 PM
Quote from: Networks on March 01, 2004, 06:55 PM
Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in 1 second[/u] and help to see through it that it works. I am not asking you to give me some sort of huge long function or help on parsing various packet.

If I'm not wrong 1 second = 60 milliseconds
and I've seen pings faster than 60 ms

This is just how I've always thought about it, now this being true, who knows not me.

It's the speed from the send/rec of that packet (0x25), not the time of the entire login.

MyndFyre

#13
Quote from: CrAz3D on March 01, 2004, 07:59 PM
If I'm not wrong 1 second = 60 milliseconds
and I've seen pings faster than 60 ms

roflmao!!!!!

Erm...

1 second = 1000ms.

Similarly, 1 meter = 1000 millimeters.

1 liter = 1000 milliliters.
Quote
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.

Grok

I wouldn't mind it being deleted, either.  My point was you guys had slid into stupid arguments over whether the person requesting information wanted code or just an explanation, and that is such a tired topic.  How much "good" bnet bot code is out there anyway?  There are maybe 10 of you who write code worth copying from.  The remainder just write code that barely works.  That's good in an of itself, but no need for panties to get in a wad about sharing.