source: network-game/server/server.cpp

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @d58e3c3   10 years dmp1488 When a clients fails to create a game, send a CREATE_GAME_FAILURE …
(edit) @6ba31d2   10 years dmp1488 When a game start, message all clients not in the game so they remove …
(edit) @48801af   10 years dmp1488 Use an enum for the player's team
(edit) @c941e07   10 years dmp1488 Only load the db settings once and actually use the loaded settings …
(edit) @426fb84   10 years dmp1488 Save the actual time a game ends to the databse and send it to the …
(edit) @7fa452f   10 years dmp1488 Change the player team variable so that 0 means no team, 1 means blue …
(edit) @306758e   10 years dmp1488 Remove the serverSide argument from Game::addPlayer() since it's no …
(edit) @f3dfead   10 years dmp1488 Load the db settings file only once instead of many times
(edit) @c666518   10 years dmp1488 Move handleGameEvents and handlePlayers events from the Game class to …
(edit) @53643ca   10 years dmp1488 Server loads user profile and game history info from the database, …
(edit) @cdb0e98   10 years dmp1488 Server replies to the client's PROFILE request with hard-coded data …
(edit) @abc4d56   10 years dmp1488 Server processes and broadcasts START_GAME messages
(edit) @f15d6a9   10 years dmp1488 Server processes JOIN_GAME messages and broadcasts the info to all players
(edit) @64a1f4e   11 years dmp1488 Game.addPlayer reset all the player's stats as well
(edit) @c991530   11 years dmp1488 The playerClass instance variable of the Player class is now an enum …
(edit) @9ee50ce   11 years dmp1488 Server logs unknown messages
(edit) @7f884ea   11 years dmp1488 Map-related structs are now outside of the WorldMap class
(edit) @0678d60   11 years dmp1488 All server warnings have been fixed and the WorldMap class has a new …
(edit) @204edcf   11 years dmp1488 Server uses setters and getters to access id and targetPlayer …
(edit) @9ba9b96   11 years dmp1488 All ids should now be unsigned ints
(edit) @d998572   11 years dmp1488 updateTarget (from the Player class) now takes the target as a …
(edit) @d05c484   11 years dmp1488 Some game-specific functions moved from server.cpp to the Game class …
(edit) @6054f1e   11 years dmp1488 Moved damagePlayer to the Player class
(edit) @2e63b64   11 years dmp1488 gameMap removed from server
(edit) @bcfd99a   11 years dmp1488 When a player leaves a game, any flag they were carrying is dropped
(edit) @360c0f1   11 years dmp1488 Server no longer sends OBJECT messages on player login or runs the …
(edit) @9bfc1cb   11 years dmp1488 The ATTACK message has been removed and the START_ATTACK message has …
(edit) @29fdf12   11 years dmp1488 The GAME_INFO message sent when a game finishes now includes the game …
(edit) @df74597   11 years dmp1488 Server-side logic for handling a game victory is fixed
(edit) @f3fb980   11 years dmp1488 Removed global score variables from server
(edit) @8554263   11 years dmp1488 Restructuring and code cleanup
(edit) @e1af80c   11 years dmp1488 When a game ends, the server sets currentGame to NULL for all participants
(edit) @778d0c9   11 years dmp1488 Correction in the server's creation of the FINISH_GAME message
(edit) @c9f6a1c   11 years dmp1488 New GameSummary class for storing game results
(edit) @8ce793b   11 years dmp1488 For for server bug caused by improper deletion while iterating over games
(edit) @3b6f46b   11 years dmp1488 Minor code changes
(edit) @e5b96e2   11 years dmp1488 When a team scores 3 points, the server sends FINISH_GAME messages to …
(edit) @ad1e2fc   11 years dmp1488 When a player picks up a flag, the relevant PLAYER message is now …
(edit) @e62b56c   11 years dmp1488 The code that processes player movement, attacks, and flag captures …
(edit) @35f6097   11 years dmp1488 Players are revived correctly in individual games
(edit) @5ae8dca   11 years dmp1488 Server moves projectiles in all individual games and damages players …
(edit) @45734ff   11 years dmp1488 The Game class stores a list of projectiles present in that game
(edit) @483a2cb   11 years dmp1488 Melee attacks and dying work in individual games
(edit) @ffadc8e   11 years dmp1488 Server handles movement for players who have attack targets in …
(edit) @d3efa1a   11 years dmp1488 A player gets a list of existing games when they login
(edit) @b73bc28   11 years dmp1488 Turning in the opposing team's flag now works in individual games and …
(edit) @ce2bb87   11 years dmp1488 A player can pick up an opponent's flag in an individual game
(edit) @402cf86   11 years dmp1488 The server checks player movement in individual games and stops …
(edit) @0129700   11 years dmp1488 The Game class validates player movement on the server side
(edit) @70fc3e8   11 years dmp1488 Flags are placed correctly when a new game is created
(edit) @4509648   11 years dmp1488 The server replies with the correct message type to a LOGOUT message
(edit) @2d78e03   11 years dmp1488 Minor server fix
(edit) @453087e   11 years dmp1488 PLAYER_JOIN_GAME messages, rather than PLAYER ones, are now sent to …
(edit) @1248984   11 years dmp1488 Server deletes games with no players remaining
(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   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
Note: See TracRevisionLog for help on using the revision log.