Skip to content

Cannot login with just created account #2

@timfel

Description

@timfel

I just used the bncs_client.py script to try and log on with an account that didn't exist to pvpgn.pro. The log gives me this:

INFO:BNCS:Client completed identification as WarCraft II: Battle.net Edition
DEBUG:BNCS:UDP test skipped - sending pre-configured value
INFO:BNCS:Logging into account 'chatbot' using OLS...
ERROR:BNCS:Account login failed - Account does not exist
INFO:BNCS:Creating account 'chatbot' using OLS...
INFO:BNCS:Successfully created account 'chatbot'
INFO:BNCS:Logging into account 'chatbot' using OLS...
ERROR:BNCS:Account login failed - Incorrect password
INFO:BNCS:Disconnected: dead

Subsequent attempts do not try to create the account, so it seems to now exist. So it seems while it created the account successfully, something is up with the double_hash_password function that prevents it from actually logging in with the (single hashed) password it submitted during account creation. Is there something I'm doing wrong?

For reference: Running python 3.10.0, compiled on Ubuntu Linux 20.04 x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions