Jump to content

Registary...


Recommended Posts

How can i make a autoit delte the fodler:

[HKEY_CURRENT_USER\Software\Battle.net\Configuration]

And then...

Add maybe a file to the registary or add:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Battle.net\Configuration]

"Diablo II Battle.net gateways"=hex(7):31,00,30,00,30,00,32,00,00,00,30,00,35,\

00,00,00,75,00,73,00,77,00,65,00,73,00,74,00,2e,00,62,00,61,00,74,00,74,00,\

6c,00,65,00,2e,00,6e,00,65,00,74,00,00,00,38,00,00,00,55,00,2e,00,53,00,2e,\

00,20,00,57,00,65,00,73,00,74,00,00,00,75,00,73,00,65,00,61,00,73,00,74,00,\

2e,00,62,00,61,00,74,00,74,00,6c,00,65,00,2e,00,6e,00,65,00,74,00,00,00,36,\

00,00,00,55,00,2e,00,53,00,2e,00,20,00,45,00,61,00,73,00,74,00,00,00,61,00,\

73,00,69,00,61,00,2e,00,62,00,61,00,74,00,74,00,6c,00,65,00,2e,00,6e,00,65,\

00,74,00,00,00,2d,00,39,00,00,00,41,00,73,00,69,00,61,00,00,00,65,00,75,00,\

72,00,6f,00,70,00,65,00,2e,00,62,00,61,00,74,00,74,00,6c,00,65,00,2e,00,6e,\

00,65,00,74,00,00,00,2d,00,31,00,00,00,45,00,75,00,72,00,6f,00,70,00,65,00,\

00,00,36,00,36,00,2e,00,31,00,30,00,39,00,2e,00,31,00,38,00,2e,00,32,00,32,\

00,38,00,00,00,2d,00,35,00,00,00,44,00,32,00,50,00,4b,00,00,00,00,00

"Battle.net Gateways"=hex:31,30,30,31,00,30,31,00,75,73,77,65,73,74,2e,62,61,\

74,74,6c,65,2e,6e,65,74,00,38,00,55,2e,53,2e,20,57,65,73,74,00,75,73,65,61,\

73,74,2e,62,61,74,74,6c,65,2e,6e,65,74,00,36,00,55,2e,53,2e,20,45,61,73,74,\

00,61,73,69,61,2e,62,61,74,74,6c,65,2e,6e,65,74,00,2d,39,00,41,73,69,61,00,\

65,75,72,6f,70,65,2e,62,61,74,74,6c,65,2e,6e,65,74,00,2d,31,00,45,75,72,6f,\

70,65,00,00

[HKEY_CURRENT_USER\Software\Battle.net\Configuration]

"Diablo II Battle.net gateways"=hex(7):31,00,30,00,30,00,32,00,00,00,30,00,35,\

00,00,00,75,00,73,00,77,00,65,00,73,00,74,00,2e,00,62,00,61,00,74,00,74,00,\

6c,00,65,00,2e,00,6e,00,65,00,74,00,00,00,38,00,00,00,55,00,2e,00,53,00,2e,\

00,20,00,57,00,65,00,73,00,74,00,00,00,75,00,73,00,65,00,61,00,73,00,74,00,\

2e,00,62,00,61,00,74,00,74,00,6c,00,65,00,2e,00,6e,00,65,00,74,00,00,00,36,\

00,00,00,55,00,2e,00,53,00,2e,00,20,00,45,00,61,00,73,00,74,00,00,00,61,00,\

73,00,69,00,61,00,2e,00,62,00,61,00,74,00,74,00,6c,00,65,00,2e,00,6e,00,65,\

00,74,00,00,00,2d,00,39,00,00,00,41,00,73,00,69,00,61,00,00,00,65,00,75,00,\

72,00,6f,00,70,00,65,00,2e,00,62,00,61,00,74,00,74,00,6c,00,65,00,2e,00,6e,\

00,65,00,74,00,00,00,2d,00,31,00,00,00,45,00,75,00,72,00,6f,00,70,00,65,00,\

00,00,36,00,36,00,2e,00,31,00,30,00,39,00,2e,00,31,00,38,00,2e,00,32,00,32,\

00,38,00,00,00,2d,00,35,00,00,00,44,00,32,00,50,00,4b,00,00,00,00,00

"Battle.net Gateways"=hex:31,30,30,31,00,30,31,00,75,73,77,65,73,74,2e,62,61,\

74,74,6c,65,2e,6e,65,74,00,38,00,55,2e,53,2e,20,57,65,73,74,00,75,73,65,61,\

73,74,2e,62,61,74,74,6c,65,2e,6e,65,74,00,36,00,55,2e,53,2e,20,45,61,73,74,\

00,61,73,69,61,2e,62,61,74,74,6c,65,2e,6e,65,74,00,2d,39,00,41,73,69,61,00,\

65,75,72,6f,70,65,2e,62,61,74,74,6c,65,2e,6e,65,74,00,2d,31,00,45,75,72,6f,\

70,65,00,00

This is what i have so far:

RegDelete("HKEY_CURRENT_USER\Software\Battle.net\Configuration", "Battle.net Gateways")
RegDelete("HKEY_CURRENT_USER\Software\Battle.net\Configuration", "Diablo II Battle.net gateways")
RegWrite("HKEY_CURRENT_USER\Software\Battle.net\Configuration", "Diablo II Battle.net gateways", "REG_MULTI_SZ", "")
RegWrite("HKEY_CURRENT_USER\Software\Battle.net\Configuration", "Battle.net Gateways", "REG_BINARY", "")
Edited by XxXGoD
Link to comment
Share on other sites

i could help you if u tell me why ur doing a prog like this..

i also play d2 lod =)

Its for a private server, autoconfig of the server. Instead of useing gateway editor, im also going once i know how to do it for mmbot, so the ones what need the video settings changed i can change by making them a autoit registary change

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...