source: network-game/server/server.cpp

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(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   11 years dmp1488 A player respawns at their flag 10 seconds after dying
(edit) @5b1e31e   11 years dmp1488 Fix some bugs related to player attack and movement
(edit) @ff2133a   11 years dmp1488 Move player chasing behavior to the Player class so the same behavior …
(edit) @11d21ee   11 years dmp1488 When a player tries to attack someone, they will now move toward the …
(edit) @8795a38   11 years dmp1488 Fix a bug where a projectile deals damage to the wrong player when it …
(edit) @8dad966   11 years dmp1488 Added server support for player attack animations and cooldowns and …
(edit) @8a4ed74   11 years dmp1488 Made some minor server changes to help handle player attacks
(edit) @4b4b153   11 years dmp1488 The server can receive, but does not yet process, START_ATTACK and …
(edit) @46fa35a   11 years dmp1488 The server randomly chooses a player's class when they log on
(edit) @446dc65   11 years dmp1488 A player can only turn the enemy flag in if their own flag is at their …
(edit) @b8601ee   11 years dmp1488 The server keeps track of each team's score and sends SCORE meesages …
(edit) @5c84d54   11 years dmp1488 The server only checks if a player should pick up a flag when it gets …
(edit) @e330873   11 years dmp1488 Fixed a segfault related to incrementing an iterator past the end of a list
(edit) @5299436   11 years dmp1488 Added a PICKUP_FLAG message type
(edit) @7553db9   11 years dmp1488 Turning in flags works correctly in all cases and players can no …
(edit) @e4c60ba   11 years dmp1488 Players can turn in flags they have picked up to their own flag sites
(edit) @df79cfd   11 years dmp1488 The server assigns a random team to each player when they login
(edit) @b8cb03f   11 years dmp1488 Changed some server-side debugging statements
(edit) @e487381   11 years dmp1488 The server removes objects from its map when they are picked up by …
(edit) @b07eeac   11 years dmp1488 Players pick up flags when they get close to the flag objects, not the …
(edit) @23559e7   11 years dmp1488 Move player interaction with objects on the map from Player::move to …
(edit) @5f868c0   11 years dmp1488 Added partial server support for new messages for sending item info
(edit) @6e66ffd   11 years dmp1488 Add functions to the WorldMap class to allow the server to notify …
(edit) @b26229c   11 years dmp1488 Some more map debugging
(edit) @2864d8e   11 years dmp1488 Added some debugging info
(edit) @e76055f   11 years dmp1488 The server now checks if a player got close enough to a flag to pick it up
(edit) @d69eb32   11 years dmp1488 Re-enabled sending PLAYER_MOVE messages when a player encounters an …
(edit) @430c80e   11 years dmp1488 Fixed elapsed time calculation for server-side player movement
(edit) @a72bbde   11 years dmp1488 Removed some unused code for updating player positions server-side …
(edit) @876add0   11 years dmp1488 Re-added server-side player movement/validation
(edit) @74b8e79   11 years dmp1488 Deleted some commented code
(edit) @d211210   11 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.