• Welcome to Valhalla Legends Archive.
 

How do you create a war3 account?

Started by replaced, August 02, 2006, 09:14 PM

Previous topic - Next topic

replaced

How do you get the verifier value?  Me using EZBNCS, i cant even find the word verifier on it!  I also checked iagos site and i hate doing math

Hdx

EZBNCS does not expose those features. and IIRC BNCSutil.dll dosen't expose that particular function.
But it does expose all that is needed to create the account, so you should do it yourself.
Public Declare Function nls_init Lib "bncsutil.dll" (ByVal Username As String, ByVal Password As String) As Long 'really returns a POINTER!
Public Declare Function nls_init_l Lib "bncsutil.dll" (ByVal Username As String, ByVal Username_Length As Long, ByVal Password As String, ByVal Password_Length As Long) As Long
Public Declare Function nls_reinit Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Username As String, ByVal Password As String) As Long
Public Declare Function nls_reinit_l Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Username As String, ByVal Username_Length As Long, ByVal Password As String, ByVal Password_Length As Long) As Long
Public Declare Sub nls_free Lib "bncsutil.dll" (ByVal NLS As Long)
Public Declare Function nls_account_create Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Buffer As String, ByVal BufLen As Long) As Long
Public Declare Function nls_account_logon Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Buffer As String, ByVal BufLen As Long) As Long
Public Declare Sub nls_get_A Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Out As String)
Public Declare Sub nls_get_M1 Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Out As String, ByVal B As String, ByVal Salt As String)
Public Declare Function nls_check_M2 Lib "bncsutil.dll" (ByVal NLS As Long, ByVal M2 As String, ByVal B As String, ByVal Salt As String) As Long
Public Declare Function nls_check_signature Lib "bncsutil.dll" (ByVal Address As Long, ByVal Signature As String) As Long
Public Declare Function nls_account_change_proof Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Buffer As String, ByVal NewPassword As String, ByVal B As String, ByVal Salt As String) As Long 'returns a new NLS pointer for the new password
Public Declare Sub nls_get_S Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Out As String, ByVal B As String, ByVal Salt As String)
Public Declare Sub nls_get_K Lib "bncsutil.dll" (ByVal NLS As Long, ByVal Out As String, ByVal S As String)

~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

UserLoser

#2
Quote from: replaced on August 02, 2006, 09:14 PM
How do you get the verifier value?  Me using EZBNCS, i cant even find the word verifier on it!  I also checked iagos site and i hate doing math

The verifier is the result of the generator to the power of your username & password hash modulo the modulus.  The generator is constantly 47, the modulus is a constantly 0xF8FF1A8B619918032186B68CA092B5557E976C78C73212D91216F6658523C787, while the username & password hash is SHA1(Salt, SHA1(Username, ":", Password)).  Salt is a 256-bit randomly generated value by the client (you).

i.e.: Generator^Hash%Modulus

If you don't have a library for big integers, I suggest finding one on google, or writing one your self (would be a fun project), I don't have one handy at the moment.  You could also just use bncsutil.dll like HdxBmx suggested.

replaced

Yawn, just give me what u would do i vb6, dont give me this 0xF8FF1A8B619918032186B68CA092B5557E976C78C73212D91216F6658523C787....

And how do u make a hash from the username and password?!

warz

Quote from: replaced on August 03, 2006, 10:17 AM
Yawn, just give me what u would do i vb6, dont give me this 0xF8FF1A8B619918032186B68CA092B5557E976C78C73212D91216F6658523C787....

And how do u make a hash from the username and password?!

I don't think you understand. He explained your original question in as much detail as youll find anywhere. If you don't understand what is going on here, I suggest using bncsutil and just give up trying to do it on your own.

replaced

Quote from: warz on August 03, 2006, 11:02 AM
I don't think you understand. He explained your original question in as much detail as youll find anywhere. If you don't understand what is going on here, I suggest using bncsutil and just give up trying to do it on your own.

I don't think you understand how to create an account, I did not ask for your opinion if I understand how to create a war3 account or not.  I am using bncsutil and it has NO documentation what so ever on how to create an account, I can have the bot login existing war3 created accounts but not create new ones.  Show the the entire equation to get the verifier value then...  Show me how to get the hash of the username and pword through bncsuntil.

MyndFyre

Quote from: replaced on August 03, 2006, 01:41 PM
Show the the entire equation to get the verifier value then.
No. We help people who help themselves.

http://srp.stanford.edu/
http://www.javaop.com/~iago/SRP.html   (Note that this is down presently, and it's documentation of Battle.net's slightly modified SRP.  This is also on BnetDocs)
http://bnetdocs.valhallalegends.com
http://bncsutil.ionws.com

Among these four websites you should find *all* the information you need on how to authenticate and create a Warcraft III account.  If you have implementation difficulty, post the code that you have or that you've tried and show us the problematic areas that you've had. 

If you continue to just whine and beg for code I'm going to lock the thread.  Show us that you're doing something for yourself before you berate the community for not helping you.
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.

replaced

#7
http://bnetdocs.valhallalegends.com/content.php?Section=d&id=18 - does not tell me how to get the Username & Password Hash (x)  from the username and password.

http://srp.stanford.edu/ -- does not tell me how to get the username and password hash from the username and password.

http://bncsutil.ionws.com/ -- Provides no documentation on bncsutil, u can check the website yourself -- source to unzip is in tar / gz, I dont have linux here...

http://www.javaop.com/~iago/SRP.html  -- the website is down.

All I need is the verifier, don't assume that I dont know how to use bncsutil, I already get it to load war3 on accounts already created.

I have also checked through the vl forum to see a post to solve my problem and I could not find it, I also searched websites and could not find it.

Newby

#8
Quote from: replaced on August 03, 2006, 02:47 PM
http://bnetdocs.valhallalegends.com/content.php?Section=d&id=18 - does not tell me how to get the Username & Password Hash (x)  from the username and password.

http://srp.stanford.edu/ -- does not tell me how to get the username and password hash from the username and password.

You're an moron. You have no clue how to program, you just want code fed to you so you can copy and paste it and feel satisfaction thinking you wrote a bot.

Do you even know where SRP comes into play here? If you don't, you shouldn't be undertaking this project.

Please, for everyone's benefit, stop wasting your time and our time.
- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

replaced

Still don't want to tell me how to get the hash from the username and password?  You don't know?

MyndFyre

Quote from: replaced on August 03, 2006, 02:47 PM
http://bnetdocs.valhallalegends.com/content.php?Section=d&id=18 - does not tell me how to get the Username & Password Hash (x)  from the username and password.

:o

Quote from: BnetDocs
Username & Password Hash (x)
x is a value generated by the client based on the username, password, and salt value. In this formula, a comma (,) indicates concatenation:

SHA1(s, SHA1(Username, ":", Password))

Username and password are converted to UPPER CASE before hashing.

As promised, this topic is locked.  If you come up with some semblance of ability to read and understand the information that is already available, feel free to post a new topic.
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.