Entering the password and ship name as the same string
causes the server to lock up. I think that the protocol
for the creation of a new user should be
NEW <name>:<password>:<shipname>
It also breaks when you enter in the same ship name as a
user.
I know why this is, but I don't know how to fix it. It's because
of the hash_table. Perhaps a different hash table for
ports, players and ships. Will get on it after other bugs
are fixed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=201127
Actually it the new user command is
NEW <name>:<password>:<shipname>:
Don't forget that last colon!
Logged In: YES
user_id=201127
It also breaks when you enter in the same ship name as a
user.
I know why this is, but I don't know how to fix it. It's because
of the hash_table. Perhaps a different hash table for
ports, players and ships. Will get on it after other bugs
are fixed.