source: network-game/server/server.cpp

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @3d6f78f   11 years dmp1488 Comments and design doc changes
(edit) @1a47469   11 years dmp1488 Logging out works correctly now
(edit) @90eaad2   11 years dmp1488 When the server receives a logout message, it broadcasts it now …
(edit) @95ffe57   11 years dmp1488 The server now has a map of Player pointers instead of Players and …
(edit) @3ef8cf4   11 years dmp1488 The server correctly handles LEAVE_GAME mesages
(edit) @ab8fd40   11 years dmp1488 The server can process LEAVE_GAME messages
(edit) @a6fe73d   11 years dmp1488 Serer uses updated Game class constructor
(edit) @7d8d5d3   11 years dmp1488 Renamed JOIN_GAME_INFO to JOIN_GAME_SUCCESS
(edit) @b48ef09   11 years dmp1488 New message types and server code for creating and joining games
(edit) @f203c5c   11 years dmp1488 Minor server code cleanup and debugging
(edit) @f41a7f9   11 years dmp1488 Each player now holds a reference to their current game
(edit) @b92e6a7   11 years dmp1488 The Game class now has a WorldMap. When a client creates or joins a …
(edit) @99afbb8   11 years dmp1488 The server keeps track of games and adds players to them
(edit) @b8f789d   11 years dmp1488 The server broadcasts GAME_INFO messages in response to game creation …
(edit) @d05086b   11 years dmp1488 Support for logging to a textfile
(edit) @c4c2a3c   11 years dmp1488 The player must select a class when registering
(edit) @411c1ae   11 years dmp1488 When a player dies or logs off, he drops any flag he might be carrying
(edit) @dee75cc   11 years dmp1488 Remove the Message.h include from several files
(edit) @9a4fa04   11 years dmp1488 Debugging
(edit) @198cf2d   11 years dmp1488 MessageProcessor handles receiving multiple ACKs for the same message
(edit) @9b5d30b   11 years dmp1488 Moved server message sending/receiving into MessageProcessor
(edit) @694c3d2   11 years dmp1488 The server now does bounds checking on player movement based on the …
(edit) @521c88b   11 years dmp1488 Upon player registration, the server stores the selected player class …
(edit) @66c4ec4   11 years dmp1488 Restore the player's health and move him next to his base when he respawns
(edit) @c76134b   12 years dmp1488 A player respawns at their flag 10 seconds after dying
(edit) @5b1e31e   12 years dmp1488 Fix some bugs related to player attack and movement
(edit) @ff2133a   12 years dmp1488 Move player chasing behavior to the Player class so the same behavior …
(edit) @11d21ee   12 years dmp1488 When a player tries to attack someone, they will now move toward the …
(edit) @8795a38   12 years dmp1488 Fix a bug where a projectile deals damage to the wrong player when it …
(edit) @8dad966   12 years dmp1488 Added server support for player attack animations and cooldowns and …
(edit) @8a4ed74   12 years dmp1488 Made some minor server changes to help handle player attacks
(edit) @4b4b153   12 years dmp1488 The server can receive, but does not yet process, START_ATTACK and …
(edit) @46fa35a   12 years dmp1488 The server randomly chooses a player's class when they log on
(edit) @446dc65   12 years dmp1488 A player can only turn the enemy flag in if their own flag is at their …
(edit) @b8601ee   12 years dmp1488 The server keeps track of each team's score and sends SCORE meesages …
(edit) @5c84d54   12 years dmp1488 The server only checks if a player should pick up a flag when it gets …
(edit) @e330873   12 years dmp1488 Fixed a segfault related to incrementing an iterator past the end of a list
(edit) @5299436   12 years dmp1488 Added a PICKUP_FLAG message type
(edit) @7553db9   12 years dmp1488 Turning in flags works correctly in all cases and players can no …
(edit) @e4c60ba   12 years dmp1488 Players can turn in flags they have picked up to their own flag sites
(edit) @df79cfd   12 years dmp1488 The server assigns a random team to each player when they login
(edit) @b8cb03f   12 years dmp1488 Changed some server-side debugging statements
(edit) @e487381   12 years dmp1488 The server removes objects from its map when they are picked up by …
(edit) @b07eeac   12 years dmp1488 Players pick up flags when they get close to the flag objects, not the …
(edit) @23559e7   12 years dmp1488 Move player interaction with objects on the map from Player::move to …
(edit) @5f868c0   12 years dmp1488 Added partial server support for new messages for sending item info
(edit) @6e66ffd   12 years dmp1488 Add functions to the WorldMap class to allow the server to notify …
(edit) @b26229c   12 years dmp1488 Some more map debugging
(edit) @2864d8e   12 years dmp1488 Added some debugging info
(edit) @e76055f   12 years dmp1488 The server now checks if a player got close enough to a flag to pick it up
(edit) @d69eb32   12 years dmp1488 Re-enabled sending PLAYER_MOVE messages when a player encounters an …
(edit) @430c80e   12 years dmp1488 Fixed elapsed time calculation for server-side player movement
(edit) @a72bbde   12 years dmp1488 Removed some unused code for updating player positions server-side …
(edit) @876add0   12 years dmp1488 Re-added server-side player movement/validation
(edit) @74b8e79   12 years dmp1488 Deleted some commented code
(edit) @d211210   12 years dmp1488 Add server-side checking of player movement
(edit) @7b43385   12 years dmp1488 Smooth player movement now works, albeit poorly.
(edit) @8f85180   12 years dmp1488 Added a method for measuring milliseconds and implemented smooth …
(edit) @66906aa   12 years dmp1488 The server should now smoothly move players to their targets
(edit) @f401cac   12 years dmp1488 Fixed some bugs in the player movement code
(edit) @60017fc   12 years dmp1488 Added code for player movement
(edit) @b128109   12 years dmp1488 Added MSG_TYPE_PLAYER_MOVE, which allows players to tell the server …
(edit) @594d2e9   12 years dmp1488 When a user logs in, the server sends a message with the player info …
(edit) @8a3ef42   12 years dmp1488 Fixed a bug where the server message type wsasn't being set correctly …
(edit) @1106210   12 years dmp1488 Changed the player serialization code
(edit) @01d0d00   12 years dmp1488 The server now uses a map to store players with player ids as keys
(edit) @3b8adee   12 years dmp1488 Added serialize and deserialize methods to Player and modified the …
(edit) @edfd1d0   12 years dmp1488 Moved the Player class to the common directory, added a position to …
(edit) @da692b9   12 years dmp1488 Fixed some minor server bugs
(edit) @3b1efcc   12 years dmp1488 The server sends back an error on failed registration and sends chat …
(edit) @b53c6b3   12 years dmp1488 Capitalized the filenames in common/*
(edit) @cbc595d   12 years dmp1488 Changed a few minor things on the server
(edit) @41ad8ed   12 years dmp1488 The server properly handles registration messages
(edit) @371ce29   12 years dmp1488 The server now uses nonblocking sockets and sleep to free up cpu usage
(edit) @59061f6   12 years dmp1488 Added new data access methods to save and retrieve player data
(edit) @36082e8   12 years dmp1488 Moved the database code to a new class
(edit) @8e540f4   12 years dmp1488 Created a separate function for processing error messages, began …
(edit) @73f75c1   12 years dmp1488 Created findPlayerByAddr and added some more checks on the client name …
(edit) @633f42a   12 years dmp1488 Fixed a bug related to a player logging out
(edit) @07028b9   12 years dmp1488 The server now accepts and processes logout messages
(edit) @d2b411a   12 years dmp1488 Server correctly receives and replies to login and chat messages by …
(edit) @2488852   12 years dmp1488 Added the player class, added a list of logged-in players, and changed …
(edit) @cb1f288   12 years dmp1488 Fixed a bug with detecting the client Hello message
(edit) @e084950   12 years dmp1488 Converted the server to use sendMessage and receiveMessage and it now …
(add) @e3535b3   12 years dmp1488 Initial commit for server
Note: See TracRevisionLog for help on using the revision log.