Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending move packet with join corrupts userdb file #28

Open
Proliecan opened this issue Dec 17, 2023 · 1 comment
Open

Sending move packet with join corrupts userdb file #28

Proliecan opened this issue Dec 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Proliecan
Copy link
Owner

No description provided.

@Proliecan Proliecan added this to the jetzt4-Geekend milestone Dec 17, 2023
@Proliecan Proliecan added the bug Something isn't working label Dec 17, 2023
@Proliecan
Copy link
Owner Author

This

void Bot::join()
    {
        // send join packet
        do_write("join|" + username + "|" + password + "\n");
        // send first move packet
        do_write("move|" + firstMove + "\n");
        // start game loop
        gameLoop();
    }

without specifying a firstMove

makes the user file come out as

name$passwd_hash
move

Why?
No clue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant