Menu

#1 Duplicate strings lockup server

open-later
nobody
3
2003-10-30
2002-07-01
Anonymous
No

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>

Discussion

  • Ryan Glasnapp

    Ryan Glasnapp - 2002-07-03

    Logged In: YES
    user_id=201127

    Actually it the new user command is

    NEW <name>:<password>:<shipname>:
    Don't forget that last colon!

     
  • Ryan Glasnapp

    Ryan Glasnapp - 2003-10-23
    • status: open --> open-fixed
     
  • Ryan Glasnapp

    Ryan Glasnapp - 2003-10-27
    • status: open-fixed --> open-later
     
  • Ryan Glasnapp

    Ryan Glasnapp - 2003-10-27

    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.

     
  • Ryan Glasnapp

    Ryan Glasnapp - 2003-10-30
    • priority: 5 --> 3
     

Log in to post a comment.

MongoDB Logo MongoDB