Valhalla Legends Forums Archive | Battle.net Bot Development | D2 Gateways

AuthorMessageTime
Imperceptus
How can I add my own gateway option to the list of gateways in the D2 Client?
April 26, 2008, 8:41 AM
Ringo
HKEY_CURRENT_USER\Software\Battle.net\Configuration\Diablo II Battle.net gateways
April 26, 2008, 8:53 AM
Imperceptus
thanks. im trying to set it to point to my computer so that i can see all the traffic.  so far not so good, lol.
April 26, 2008, 12:28 PM
FrostWraith
You could just write a simple proxy that would relay everything byte for byte if you aren't already doing so.
April 26, 2008, 2:08 PM
UserLoser
[quote author=Imperceptus link=topic=17468.msg177908#msg177908 date=1209199317]
How can I add my own gateway option to the list of gateways in the D2 Client?
[/quote]
what ringo said ^

Since I mis-read the first post...might as well keep this here incase anyone needs it:

To obtain a list of servers reqest the following from the server via SID_GETFILETIME then download if a newer one is out.

bnserver.ini
bnserver-d2dv.ini
bnserver-war3.ini
April 26, 2008, 4:48 PM
Yegg
[quote author=UserLoser link=topic=17468.msg177914#msg177914 date=1209228486]
[quote author=Imperceptus link=topic=17468.msg177908#msg177908 date=1209199317]
How can I add my own gateway option to the list of gateways in the D2 Client?
[/quote]
what ringo said, but isn't reliable if user doesn't have it installed
[/quote]

If the user doesn't have what installed? If they don't have the game installed then they won't have to worry about a list of gateways in the first place.
April 27, 2008, 4:08 AM
UserLoser
this forum needs to let people delete their own posts
April 27, 2008, 6:22 AM
Ringo
[quote author=UserLoser link=topic=17468.msg177945#msg177945 date=1209277371]
If it's not installed, Ringo's suggestion fails.
[/quote]
Well, I figgerd it would have to be installed, as he said "in the D2 Client" :P
Then again, if the client (or bot in any case) does not support manualy editing of gateway domain's, and you want it to connect to a LAN or somthing (think hes trying to make a gateway/proxy-like server) then you would probly wanna edit a gateway to get it to connect to lan to download a modifyed server ini (with out getting into modifying the bncache to much), in which case C:\WINDOWS\system32\drivers\etc\hosts -> w/e.battle.net -> 127.0.0.1 or w/e  should be effective
April 27, 2008, 8:15 AM
Imperceptus
ringo was on target. did the trick for me.
April 27, 2008, 3:04 PM
Yegg
[quote author=Ringo link=topic=17468.msg177949#msg177949 date=1209284132]
[quote author=UserLoser link=topic=17468.msg177945#msg177945 date=1209277371]
If it's not installed, Ringo's suggestion fails.
[/quote]
Well, I figgerd it would have to be installed, as he said "in the D2 Client" :P
[/quote]

That's exactly why I couldn't see what UserLoser was originally getting at.
April 27, 2008, 4:35 PM
Imperceptus
I have failed in the same ways before and had to modify my post with more logical answers.  I have a bad habit of skimming or reading a sentence up to a point to which I know the answer, from which my mind quickly says "OH I KNOW HOW". And then I respond like he did.  Then I read my post(thankfully before I get flamed) and try to fix it. LOL
April 27, 2008, 6:29 PM
UserLoser
I misread first post, oops.  Didnt see that he wanted to add his own option.  I thought he said he wants his own option to strictly list the gateways...didn't make sense to me.  So yeah you have to modify what Ringo said
April 27, 2008, 7:01 PM

Search