Valhalla Legends Forums Archive | Battle.net Bot Development | Hashing

AuthorMessageTime
The-Rabid-Lord
I didnt write this but found it on my travels.

http://www.rival.bnetweb.com/rival/content.php?article.24

That link is an article on how to hash a connection to battle.net.
November 18, 2004, 1:44 PM
Zakath
It's not really much of an article. More a long example of not-incredibly-well-written code.
November 18, 2004, 1:59 PM
Myndfyr
This might be pertinent in BNBDR, but I noticed that while it says "tutorial" it screams "be a cookie cutter code copycat."

There is nothing there that actually *teaches* what is involved in hashing Battle.net.  It is also not language-agnostic.  Language agnosticism in a tutorial is not a requirement, but it is when all you do is give code.

[edit]You just beat me Zak.
November 18, 2004, 2:00 PM
Zakath
[quote author=MyndFyre link=topic=9596.msg89244#msg89244 date=1100786412]
[edit]You just beat me Zak.
[/quote]

Arrrr, that I did!

Oh man..."you must have setup.ini"

Oh no! My method for storing configuration information (using the windows registry) won't work if I want to create a hashed client?! :o

Shit, I don't remember importing either of those DLLs, either!
November 18, 2004, 2:04 PM
The-Rabid-Lord
I only found it, as i said i didnt write. I thought it may be useful for others to look and see how its done.
November 18, 2004, 3:27 PM
iago
I don't like using the registry to store information, personally.  But that's personal preference, and an argument for another time/place :)
November 18, 2004, 4:22 PM
Myndfyr
[quote author=Meh link=topic=9596.msg89251#msg89251 date=1100791636]
I only found it, as i said i didnt write. I thought it may be useful for others to look and see how its done.
[/quote]

I know that.  I'm saying that it's not useful as a tutorial.  It's copycat code.

[quote author=iago link=topic=9596.msg89254#msg89254 date=1100794945]
I don't like using the registry to store information, personally.  But that's personal preference, and an argument for another time/place :)
[/quote]

Did we ask for your opinion on using the registry?  :P  Out of curiousity, why not?
November 18, 2004, 4:51 PM
The-Rabid-Lord
[quote author=MyndFyre link=topic=9596.msg89259#msg89259 date=1100796669]
[quote author=Meh link=topic=9596.msg89251#msg89251 date=1100791636]
I only found it, as i said i didnt write. I thought it may be useful for others to look and see how its done.
[/quote]

I know that.  I'm saying that it's not useful as a tutorial.  It's copycat code.

[quote author=iago link=topic=9596.msg89254#msg89254 date=1100794945]
I don't like using the registry to store information, personally.  But that's personal preference, and an argument for another time/place :)
[/quote]

Did we ask for your opinion on using the registry?  :P  Out of curiousity, why not?
[/quote]
My comment was aimed mainley at Zakath. I felt I was beeing flamed for something I did not desrve.
November 18, 2004, 4:56 PM
Zakath
My comments were aimed more at that "tutorial," not at you Meh.
November 18, 2004, 5:56 PM
iago
[quote author=MyndFyre link=topic=9596.msg89259#msg89259 date=1100796669]
[quote author=iago link=topic=9596.msg89254#msg89254 date=1100794945]
I don't like using the registry to store information, personally.  But that's personal preference, and an argument for another time/place :)
[/quote]

Did we ask for your opinion on using the registry? :P Out of curiousity, why not?
[/quote]

1. I format frequently, and it's much easier to back up programs that don't have a presence in the registry.
2. Programs are more easily ported to/used in Linux if they don't use the registry.
3. It's much easier to find/edit configurations by hand if they are files.  Unless they put the files somewhere stupid. but eh.

<edit> If you want to persue this, let's start a new thread somewhere.
November 18, 2004, 5:57 PM
Zakath
[quote author=iago link=topic=9596.msg89264#msg89264 date=1100800674]1. I format frequently, and it's much easier to back up programs that don't have a presence in the registry.[/quote]
See, I consider formatting a time consuming nuisance. I do it as infrequently as I can practically manage.
[quote]2. Programs are more easily ported to/used in Linux if they don't use the registry.[/quote]
This is a chat client that is completely based on the Windows API we're talking about here. There'd be no point in porting it to linux; it'd make far more sense to just write a new one from scratch. :P
[quote]3. It's much easier to find/edit configurations by hand if they are files.  Unless they put the files somewhere stupid. but eh.[/quote]
Pfft...what are you doing editing these things by hand, anyway? That's what the config dialog is for. :)
November 18, 2004, 6:03 PM
Myndfyr
[quote author=Zakath link=topic=9596.msg89265#msg89265 date=1100801029]
[quote author=iago link=topic=9596.msg89264#msg89264 date=1100800674]3. It's much easier to find/edit configurations by hand if they are files.  Unless they put the files somewhere stupid. but eh.[/quote]
Pfft...what are you doing editing these things by hand, anyway? That's what the config dialog is for. :)
[/quote]
<hypocritical-statement reference="signature">Pfft, Windows newbie.</hypocritical-statement>
November 18, 2004, 6:18 PM

Search