- Complete networking aspect

- only TCP, works has been tested
- Commented out Lists and replaced with arrays, the way the list was working it wouldn't have worked, if you can figure out how to make it work feel free to fix it up.
- TODO: When user types exit, the game object becomes useless, I need a Reset function of some kind to reset it for when a new player comes in to reuse that player object.
- TODO: Encryption
- TODO: Fix main person so they have admin commands like list, restart instead of a game with the main server. (ATM Just like that for testing, but now you can test with telnet client)
This commit is contained in:
u8sand_cp 2010-07-26 18:45:21 -07:00
parent c965d5e97a
commit 281fe4b320
8 changed files with 120 additions and 384 deletions

View file

@ -54,10 +54,10 @@ namespace MUDGame
//Player must be instanced AFTER BuildRealms as it needs Game.InitialRealm.InitialZone.InitialRoom
//property so that it can set it's starting room correctly.
player = new BaseCharacter(game);
player = new BaseCharacter(game,true);
//Add the player to the game.
//Note once the server is fully implemented the player will be generated automatically by Game.
game.PlayerCollection.Add(player);
//game.PlayerCollection.Add(player);
//Send game info to player
Console.WriteLine(game.GameTitle);