Jared Weinstock-TL

Chau Nguyen

Todd Carpenter

Kyle McArdle

Nick Deimler

Tom Bergamini *NEW*
Getting the Correct Trace Backs
28 February 2009 | by chau

I finally got the server to identify the different users. This is actually really interesting because it now allows me to run different functions for different users. What the code does now is that when a user connects into a room they are given a unique player ID.

So if 2 players join a room the first player will be given 1 and the 2nd player will be given 2. However, if the 2nd player leaves and joins a different room where he is the 1st player, he will be given a 1.

So with that situated, I am now able to have multiple users interacting at the same time because they are all given unique IDs.

Look for a working sample within the week as we just got the player cube and animations done on Friday.

As always, here’s the output trace back statement as a sort of proof.

The user has joined a room and the room as assigned him a new player ID. His user ID number remains the same.

The user has joined a room and the room as assigned him a new player ID. His user ID number remains the same.


No Comments Yet

There are no comments yet. You could be the first!

Leave a Comment

Copyright © 2009 | The Fourmation | All Rights Reserved.