Menu

Gameserv v1.2.0 up for release

I have recently implemented the hashing scheme with the other developers help. I am interested to see how well it will work on a larger network.

The way the player/clients list are made:

There are two arrays of linked lists. Each element in the array is an entire linked list. So, for the clients array, it is hashed by nickname, meaning we use the nickname to get the element in the array corresponding to the linked list that person is in.

The clients list is hashed by nickname, and the player list is hashed by player name since these are the most common searches on each list.

I still have to iron out nickname changes before releasing... because if the nickname changes, then the hash changes.

Posted by Domenic Datti 2004-04-06

Log in to post a comment.