network game setup

Hi all, I’m making a network fps In blender game engine. My problem is that I need to have a database of who Is connected, and I don’t know how to do that. It would have to be a gamelogic variable or a property of an empty so every user can connect to it. I need it so my scripts can use the name of the player empty for movement. I am simply making an fps template, copying the player into a layer, then adding one to the spawn point when a user connects, who then Is that player. Basically, a list of players (which are added when you connect) in an accessible medium, from a python script Initilased once on connect.
Sorry for the long post. Thanks in advance!

I think you’re right with the GameLogic variable or object property. You could use a dictionary to store what the name of the players were, what objects they represent, etc., and access that for each object shortly after joining.

Yes, does anyone know how to do this? i am using wsag, i don’t really want to use dictionary, as what is have is an fps template which has a player on the map, and the same on another layer.
it is the same template for each distro. it gets the users connected, and their names. it adds a player from the layer, and names it according to thenames of the players” then when you type in your name at the start of the game, it names your player according to your name, and all the python scripts get the name of the your player.

EDIT: Okay, never mind. I think you can change the names of each added object through Python. Get the name that the player types in, and then name the added Player object that name (or give him a player property that shows what his name is).

thanks,
i have found how to use getowner as a string
i think: setattr(object,“property”, str(controller.owner))