Valhalla Legends Forums Archive | Battle.net Bot Development | Faster logons

AuthorMessageTime
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?
March 1, 2004, 4:15 PM
Spht
[quote author=Networks link=board=17;threadid=5527;start=0#msg46912 date=1078157750]
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?
[/quote]

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.
March 1, 2004, 4:46 PM
Networks
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.
March 1, 2004, 6:20 PM
LoRd
[quote author=Networks link=board=17;threadid=5527;start=0#msg46931 date=1078165209]
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.
[/quote]
We can't help the blind see.
March 1, 2004, 9:02 PM
Myndfyr
[quote author=LoRd[nK] link=board=17;threadid=5527;start=0#msg46948 date=1078174940]
[quote author=Networks link=board=17;threadid=5527;start=0#msg46931 date=1078165209]
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.
[/quote]
We can't help the blind see.
[/quote]

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!
March 1, 2004, 10:50 PM
Null
[quote author=Myndfyre link=board=17;threadid=5527;start=0#msg46973 date=1078181424]
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.
[/quote]

I beg to differ.

March 1, 2004, 10:55 PM
LoRd
[quote author=Myndfyre link=board=17;threadid=5527;start=0#msg46973 date=1078181424]
[quote author=LoRd[nK] link=board=17;threadid=5527;start=0#msg46948 date=1078174940]
[quote author=Networks link=board=17;threadid=5527;start=0#msg46931 date=1078165209]
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.
[/quote]
We can't help the blind see.
[/quote]

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!
[/quote]

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.
March 1, 2004, 11:13 PM
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.
March 2, 2004, 12:55 AM
ChR0NiC
[quote author=Networks link=board=17;threadid=5527;start=0#msg46991 date=1078188921]
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]

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.
March 2, 2004, 12:59 AM
LoRd
[quote author=Networks link=board=17;threadid=5527;start=0#msg46991 date=1078188921]
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]

[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
[/quote]

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.
March 2, 2004, 1:15 AM
PaiD
[quote author=Networks link=board=17;threadid=5527;start=0#msg46931 date=1078165209]
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.
[/quote]

::)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
March 2, 2004, 1:19 AM
CrAz3D
[quote author=Networks link=board=17;threadid=5527;start=0#msg46991 date=1078188921]
Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in [u]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.
[/quote]

If I'm not wrong 1 second = 60 milliseconds
and I've seen pings faster than 60 ms
March 2, 2004, 1:59 AM
SNiFFeR
[quote author=CrAz3D link=board=17;threadid=5527;start=0#msg47000 date=1078192764]
[quote author=Networks link=board=17;threadid=5527;start=0#msg46991 date=1078188921]
Lord ur wrong on this one, I am not asking for a function, I am asking if they were ways to logon in [u]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.
[/quote]

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

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.
March 2, 2004, 2:04 AM
Myndfyr
[quote author=CrAz3D link=board=17;threadid=5527;start=0#msg47000 date=1078192764]
If I'm not wrong 1 second = 60 milliseconds
and I've seen pings faster than 60 ms
[/quote]

roflmao!!!!!

Erm...

1 second = 1000ms.

Similarly, 1 meter = 1000 millimeters.

1 liter = 1000 milliliters.[quote][/quote]
March 2, 2004, 2:11 AM
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.
March 2, 2004, 5:45 AM
CrAz3D
OOh, my way bad. I have not been in school for 3 weeks, my brain has been completely idle...I like it.
March 2, 2004, 4:22 PM
Networks
0x1E is my connection now quit the bitchin and i didn't have to ask someone. Sorry for being an idiot...
March 2, 2004, 6:45 PM
LoRd
[quote author=Networks link=board=17;threadid=5527;start=15#msg47097 date=1078253150]
0x1E is my connection now quit the bitchin and i didn't have to ask someone. Sorry for being an idiot...
[/quote]

You using 0x1E makes your questions much more simple:

[quote]
Also does anyone know how to hash d2xp and provide some help with that, I'm sure many people would appreciate besides me.
[/quote]
Impossible.

[quote]
What could u do to make logons like 1 second if its possbile?
[/quote]
Use 0x51 instead of 0x1E.
March 2, 2004, 7:24 PM
hismajesty
Networks: If you don't/didn't even know 'your' bot well enough to know how it connects, I don't think that anybody here should be required to help you. Especially if you're going to call of it "bitchin."

Myndfyre: As LoRd said, he does help those that help themselves, instead of juist giving them the answer without them attempting or setting forth any effort. I know that he has helped me in the past.
March 3, 2004, 11:40 PM
tA-Kane
[quote author=CrAz3D link=board=17;threadid=5527;start=0#msg47000 date=1078192764]If I'm not wrong 1 second = 60 milliseconds[/quote]As Myndfyre pointed out, you are wrong. 1000 milliseconds equals a second.

What you are thinking of is a tick. 60 ticks makes 1 second, just as 60 seconds makes a minute.
March 4, 2004, 10:48 PM
UserLoser.
[quote author=LoRd[nK] link=board=17;threadid=5527;start=15#msg47102 date=1078255493]
Use 0x51 instead of 0x1E.
[/quote]

0x1E (SID_CLIENTID2) doesn't do version and CDKey checks
March 5, 2004, 1:30 AM
LoRd
[quote author=UserLoser. link=board=17;threadid=5527;start=15#msg47543 date=1078450246]
[quote author=LoRd[nK] link=board=17;threadid=5527;start=15#msg47102 date=1078255493]
Use 0x51 instead of 0x1E.
[/quote]

0x1E (SID_CLIENTID2) doesn't do version and CDKey checks
[/quote]

I figured if I said use the X-SHA-1 login sequence he wouldn't have a clue what I was saying.
March 5, 2004, 6:35 AM

Search