# # ChangeLog for server/server.cpp in network-game # # Generated by Trac 1.5.4 # Nov 14, 2024, 3:54:56 AM Mon, 02 Feb 2015 01:01:44 GMT Dmitry Portnoy [d58e3c3] * common/MessageContainer.h (modified) * server/server.cpp (modified) When a clients fails to create a game, send a CREATE_GAME_FAILURE ... Mon, 02 Feb 2015 00:53:42 GMT Dmitry Portnoy [6ba31d2] * server/server.cpp (modified) When a game start, message all clients not in the game so they remove ... Tue, 11 Nov 2014 01:20:11 GMT Dmitry Portnoy [48801af] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) Use an enum for the player's team Tue, 11 Nov 2014 01:05:14 GMT Dmitry Portnoy [c941e07] * server/DataAccess.cpp (modified) * server/server.cpp (modified) Only load the db settings once and actually use the loaded settings ... Mon, 10 Nov 2014 03:12:54 GMT Dmitry Portnoy [426fb84] * server/DataAccess.cpp (modified) * server/DataAccess.h (modified) * server/server.cpp (modified) Save the actual time a game ends to the databse and send it to the ... Sat, 08 Nov 2014 01:38:54 GMT Dmitry Portnoy [7fa452f] * client/Client/GameRender.cpp (modified) * client/Client/main.cpp (modified) * common/Game.cpp (modified) * common/Player.cpp (modified) * common/Player.h (modified) * server/DataAccess.cpp (modified) * server/server.cpp (modified) Change the player team variable so that 0 means no team, 1 means blue ... Sat, 08 Nov 2014 01:13:40 GMT Dmitry Portnoy [306758e] * client/Client/main.cpp (modified) * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) Remove the serverSide argument from Game::addPlayer() since it's no ... Fri, 07 Nov 2014 00:28:30 GMT Dmitry Portnoy [f3dfead] * server/server.cpp (modified) Load the db settings file only once instead of many times Fri, 17 Oct 2014 01:19:28 GMT Dmitry Portnoy [c666518] * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) Move handleGameEvents and handlePlayers events from the Game class to ... Sat, 19 Jul 2014 00:32:33 GMT Dmitry Portnoy [53643ca] * .gitignore (modified) * common/Game.cpp (modified) * common/Player.cpp (modified) * common/Player.h (modified) * server/DataAccess.cpp (modified) * server/DataAccess.h (modified) * server/LuaLoader.cpp (added) * server/LuaLoader.h (added) * server/db_settings.lua (added) * server/dbmod.txt (added) * server/makefile (modified) * server/server.cpp (modified) Server loads user profile and game history info from the database, ... Sat, 05 Jul 2014 02:27:33 GMT Dmitry Portnoy [cdb0e98] * server/server.cpp (modified) Server replies to the client's PROFILE request with hard-coded data ... Fri, 04 Jul 2014 22:43:06 GMT Dmitry Portnoy [abc4d56] * server/server.cpp (modified) Server processes and broadcasts START_GAME messages Fri, 04 Jul 2014 20:34:34 GMT Dmitry Portnoy [f15d6a9] * server/server.cpp (modified) Server processes JOIN_GAME messages and broadcasts the info to all ... Wed, 29 Jan 2014 02:06:36 GMT dportnoy [64a1f4e] * common/Game.cpp (modified) * server/server.cpp (modified) Game.addPlayer reset all the player's stats as well Sun, 26 Jan 2014 22:04:27 GMT dportnoy [c991530] * client/Client/GameRender.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) The playerClass instance variable of the Player class is now an enum ... Sat, 25 Jan 2014 18:50:46 GMT dportnoy [9ee50ce] * server/server.cpp (modified) Server logs unknown messages Fri, 24 Jan 2014 00:27:15 GMT dportnoy [7f884ea] * common/Game.cpp (modified) * common/Game.h (modified) * common/WorldMap.cpp (modified) * common/WorldMap.h (modified) * server/server.cpp (modified) Map-related structs are now outside of the WorldMap class Wed, 22 Jan 2014 01:31:27 GMT dportnoy [0678d60] * common/Game.cpp (modified) * common/MessageProcessor.cpp (modified) * common/Player.cpp (modified) * common/WorldMap.cpp (modified) * common/WorldMap.h (modified) * server/DataAccess.cpp (modified) * server/server.cpp (modified) All server warnings have been fixed and the WorldMap class has a new ... Mon, 20 Jan 2014 19:10:55 GMT dportnoy [204edcf] * server/server.cpp (modified) Server uses setters and getters to access id and targetPlayer ... Mon, 20 Jan 2014 16:59:34 GMT dportnoy [9ba9b96] * common/Player.cpp (modified) * common/Player.h (modified) * common/Projectile.cpp (modified) * common/Projectile.h (modified) * common/WorldMap.cpp (modified) * common/WorldMap.h (modified) * server/server.cpp (modified) All ids should now be unsigned ints Sun, 19 Jan 2014 20:19:18 GMT dportnoy [d998572] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) updateTarget (from the Player class) now takes the target as a ... Sun, 19 Jan 2014 19:40:55 GMT dportnoy [d05c484] * common/Game.cpp (modified) * common/Game.h (modified) * common/MessageProcessor.cpp (modified) * common/MessageProcessor.h (modified) * server/makefile (modified) * server/server.cpp (modified) Some game-specific functions moved from server.cpp to the Game class ... Tue, 07 Jan 2014 01:07:36 GMT dportnoy [6054f1e] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) Moved damagePlayer to the Player class Sat, 28 Dec 2013 16:21:05 GMT dportnoy [2e63b64] * server/server.cpp (modified) gameMap removed from server Sat, 28 Dec 2013 16:08:34 GMT dportnoy [bcfd99a] * server/server.cpp (modified) When a player leaves a game, any flag they were carrying is dropped Sat, 28 Dec 2013 14:18:05 GMT dportnoy [360c0f1] * server/server.cpp (modified) Server no longer sends OBJECT messages on player login or runs the ... Fri, 27 Dec 2013 20:55:07 GMT dportnoy [9bfc1cb] * common/MessageContainer.h (modified) * server/server.cpp (modified) The ATTACK message has been removed and the START_ATTACK message has ... Wed, 25 Dec 2013 16:58:42 GMT dportnoy [29fdf12] * server/server.cpp (modified) The GAME_INFO message sent when a game finishes now includes the game ... Wed, 25 Dec 2013 16:44:20 GMT dportnoy [df74597] * server/server.cpp (modified) Server-side logic for handling a game victory is fixed Wed, 25 Dec 2013 15:21:45 GMT dportnoy [f3fb980] * server/server.cpp (modified) Removed global score variables from server Tue, 24 Dec 2013 20:06:30 GMT dportnoy [8554263] * common/Common.cpp (modified) * common/Common.h (modified) * common/MessageProcessor.cpp (modified) * server/server.cpp (modified) Restructuring and code cleanup Mon, 23 Dec 2013 23:50:11 GMT dportnoy [e1af80c] * server/server.cpp (modified) When a game ends, the server sets currentGame to NULL for all ... Mon, 23 Dec 2013 23:32:26 GMT dportnoy [778d0c9] * server/server.cpp (modified) Correction in the server's creation of the FINISH_GAME message Mon, 23 Dec 2013 20:05:55 GMT dportnoy [c9f6a1c] * common/Game.cpp (modified) * common/Game.h (modified) * common/GameSummary.cpp (added) * common/GameSummary.h (added) * server/makefile (modified) * server/server.cpp (modified) New GameSummary class for storing game results Mon, 23 Dec 2013 19:10:51 GMT dportnoy [8ce793b] * server/server.cpp (modified) For for server bug caused by improper deletion while iterating over games Mon, 23 Dec 2013 17:28:52 GMT dportnoy [3b6f46b] * server/server.cpp (modified) Minor code changes Mon, 23 Dec 2013 17:26:01 GMT dportnoy [e5b96e2] * server/server.cpp (modified) When a team scores 3 points, the server sends FINISH_GAME messages to ... Mon, 23 Dec 2013 17:06:49 GMT dportnoy [ad1e2fc] * server/server.cpp (modified) When a player picks up a flag, the relevant PLAYER message is now ... Mon, 23 Dec 2013 16:56:22 GMT dportnoy [e62b56c] * common/MessageContainer.h (modified) * design/multipleGameDesign.txt (modified) * server/server.cpp (modified) The code that processes player movement, attacks, and flag captures ... Sun, 22 Dec 2013 23:22:46 GMT dportnoy [35f6097] * server/server.cpp (modified) Players are revived correctly in individual games Sun, 22 Dec 2013 22:59:13 GMT dportnoy [5ae8dca] * server/server.cpp (modified) Server moves projectiles in all individual games and damages players ... Sun, 22 Dec 2013 22:14:43 GMT dportnoy [45734ff] * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) The Game class stores a list of projectiles present in that game Sun, 22 Dec 2013 02:29:05 GMT dportnoy [483a2cb] * server/server.cpp (modified) Melee attacks and dying work in individual games Sat, 21 Dec 2013 19:15:00 GMT dportnoy [ffadc8e] * server/server.cpp (modified) Server handles movement for players who have attack targets in ... Sat, 21 Dec 2013 16:06:44 GMT dportnoy [d3efa1a] * server/server.cpp (modified) A player gets a list of existing games when they login Sat, 21 Dec 2013 02:35:19 GMT dportnoy [b73bc28] * server/server.cpp (modified) Turning in the opposing team's flag now works in individual games and ... Fri, 20 Dec 2013 03:42:30 GMT dportnoy [ce2bb87] * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) A player can pick up an opponent's flag in an individual game Fri, 20 Dec 2013 01:41:49 GMT dportnoy [402cf86] * common/Game.cpp (modified) * common/Game.h (modified) * data/map.txt (modified) * server/server.cpp (modified) The server checks player movement in individual games and stops ... Thu, 19 Dec 2013 03:31:45 GMT dportnoy [0129700] * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) The Game class validates player movement on the server side Wed, 18 Dec 2013 01:27:55 GMT dportnoy [70fc3e8] * server/server.cpp (modified) Flags are placed correctly when a new game is created Wed, 18 Dec 2013 00:57:06 GMT dportnoy [4509648] * server/server.cpp (modified) The server replies with the correct message type to a LOGOUT message Wed, 18 Dec 2013 00:08:50 GMT dportnoy [2d78e03] * server/server.cpp (modified) Minor server fix Tue, 17 Dec 2013 23:35:52 GMT dportnoy [453087e] * common/MessageContainer.h (modified) * server/server.cpp (modified) PLAYER_JOIN_GAME messages, rather than PLAYER ones, are now sent to ... Tue, 17 Dec 2013 03:03:33 GMT dportnoy [1248984] * server/server.cpp (modified) Server deletes games with no players remaining Tue, 17 Dec 2013 00:46:17 GMT dportnoy [3d6f78f] * design/multipleGameDesign.txt (modified) * server/server.cpp (modified) Comments and design doc changes Mon, 16 Dec 2013 02:49:26 GMT dportnoy [1a47469] * design/message_spec.txt (modified) * server/server.cpp (modified) Logging out works correctly now Fri, 04 Oct 2013 17:23:24 GMT dportnoy [90eaad2] * server/server.cpp (modified) When the server receives a logout message, it broadcasts it now ... Fri, 04 Oct 2013 17:06:20 GMT dportnoy [95ffe57] * client/Client/main.cpp (modified) * server/server.cpp (modified) The server now has a map of Player pointers instead of Players and ... Fri, 27 Sep 2013 20:05:35 GMT dportnoy [3ef8cf4] * server/server.cpp (modified) The server correctly handles LEAVE_GAME mesages Fri, 27 Sep 2013 19:55:50 GMT dportnoy [ab8fd40] * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) The server can process LEAVE_GAME messages Fri, 27 Sep 2013 18:58:48 GMT dportnoy [a6fe73d] * server/server.cpp (modified) Serer uses updated Game class constructor Fri, 27 Sep 2013 16:49:13 GMT dportnoy [7d8d5d3] * common/MessageContainer.h (modified) * server/server.cpp (modified) Renamed JOIN_GAME_INFO to JOIN_GAME_SUCCESS Fri, 27 Sep 2013 15:43:51 GMT dportnoy [b48ef09] * common/Game.cpp (modified) * common/MessageContainer.h (modified) * server/server.cpp (modified) New message types and server code for creating and joining games Thu, 26 Sep 2013 23:08:57 GMT dportnoy [f203c5c] * server/server.cpp (modified) Minor server code cleanup and debugging Thu, 26 Sep 2013 22:07:24 GMT dportnoy [f41a7f9] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) Each player now holds a reference to their current game Thu, 26 Sep 2013 20:29:14 GMT dportnoy [b92e6a7] * common/Game.cpp (modified) * common/Game.h (modified) * common/WorldMap.cpp (modified) * server/server.cpp (modified) The Game class now has a WorldMap. When a client creates or joins a ... Thu, 26 Sep 2013 02:59:02 GMT dportnoy [99afbb8] * common/Game.cpp (modified) * common/Game.h (modified) * server/server.cpp (modified) The server keeps track of games and adds players to them Thu, 26 Sep 2013 01:24:58 GMT dportnoy [b8f789d] * server/server.cpp (modified) The server broadcasts GAME_INFO messages in response to game creation ... Thu, 01 Aug 2013 01:56:17 GMT dportnoy [d05086b] * common/Common.cpp (modified) * common/Common.h (modified) * common/MessageProcessor.cpp (modified) * common/MessageProcessor.h (modified) * server/.gitignore (modified) * server/server.cpp (modified) Support for logging to a textfile Sat, 27 Jul 2013 13:43:27 GMT dportnoy [c4c2a3c] * server/server.cpp (modified) The player must select a class when registering Tue, 23 Jul 2013 23:31:40 GMT dportnoy [411c1ae] * server/server.cpp (modified) When a player dies or logs off, he drops any flag he might be carrying Mon, 22 Jul 2013 23:56:12 GMT dportnoy [dee75cc] * client/Client/main.cpp (modified) * common/MessageProcessor.h (modified) * server/makefile (modified) * server/server.cpp (modified) Remove the Message.h include from several files Sat, 20 Jul 2013 14:11:04 GMT dportnoy [9a4fa04] * server/server.cpp (modified) Debugging Mon, 15 Jul 2013 00:14:43 GMT dportnoy [198cf2d] * common/MessageProcessor.cpp (modified) * common/MessageProcessor.h (modified) * server/server.cpp (modified) MessageProcessor handles receiving multiple ACKs for the same message Sun, 14 Jul 2013 21:22:38 GMT dportnoy [9b5d30b] * common/Message.cpp (modified) * common/Message.h (modified) * common/MessageProcessor.cpp (modified) * common/MessageProcessor.h (modified) * server/server.cpp (modified) Moved server message sending/receiving into MessageProcessor Sun, 23 Jun 2013 17:45:05 GMT dportnoy [694c3d2] * server/server.cpp (modified) The server now does bounds checking on player movement based on the ... Sat, 22 Jun 2013 13:26:58 GMT dportnoy [521c88b] * common/Player.cpp (modified) * server/DataAccess.cpp (modified) * server/DataAccess.h (modified) * server/server.cpp (modified) Upon player registration, the server stores the selected player class ... Wed, 19 Jun 2013 23:46:30 GMT dportnoy [66c4ec4] * server/server.cpp (modified) Restore the player's health and move him next to his base when he ... Tue, 18 Jun 2013 23:16:21 GMT dportnoy [c76134b] * common/Player.cpp (modified) * common/Player.h (modified) * common/Projectile.cpp (modified) * server/DataAccess.cpp (modified) * server/server.cpp (modified) A player respawns at their flag 10 seconds after dying Sun, 16 Jun 2013 23:12:31 GMT dportnoy [5b1e31e] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) Fix some bugs related to player attack and movement Tue, 11 Jun 2013 01:24:09 GMT dportnoy [ff2133a] * common/Player.cpp (modified) * common/Player.h (modified) * common/Projectile.cpp (modified) * server/server.cpp (modified) Move player chasing behavior to the Player class so the same behavior ... Sun, 09 Jun 2013 21:30:32 GMT dportnoy [11d21ee] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) When a player tries to attack someone, they will now move toward the ... Sun, 09 Jun 2013 19:27:52 GMT dportnoy [8795a38] * server/server.cpp (modified) Fix a bug where a projectile deals damage to the wrong player when it ... Mon, 03 Jun 2013 23:05:20 GMT dportnoy [8dad966] * common/Message.h (modified) * common/Player.cpp (modified) * common/Player.h (modified) * server/makefile (modified) * server/server.cpp (modified) Added server support for player attack animations and cooldowns and ... Sun, 26 May 2013 22:34:28 GMT dportnoy [8a4ed74] * server/server.cpp (modified) Made some minor server changes to help handle player attacks Sun, 26 May 2013 21:01:11 GMT dportnoy [4b4b153] * server/server.cpp (modified) The server can receive, but does not yet process, START_ATTACK and ... Sun, 26 May 2013 20:27:54 GMT dportnoy [46fa35a] * common/Player.cpp (modified) * common/Player.h (modified) * server/server.cpp (modified) The server randomly chooses a player's class when they log on Sun, 26 May 2013 15:34:27 GMT dportnoy [446dc65] * server/server.cpp (modified) A player can only turn the enemy flag in if their own flag is at ... Sat, 25 May 2013 23:51:29 GMT dportnoy [b8601ee] * common/Message.h (modified) * server/server.cpp (modified) The server keeps track of each team's score and sends SCORE meesages ... Sat, 25 May 2013 23:35:00 GMT dportnoy [5c84d54] * server/server.cpp (modified) The server only checks if a player should pick up a flag when it gets ... Sat, 25 May 2013 23:09:52 GMT dportnoy [e330873] * server/server.cpp (modified) Fixed a segfault related to incrementing an iterator past the end of ... Sat, 25 May 2013 22:50:26 GMT dportnoy [5299436] * common/Message.h (modified) * server/server.cpp (modified) Added a PICKUP_FLAG message type Sat, 25 May 2013 21:37:47 GMT dportnoy [7553db9] * server/server.cpp (modified) Turning in flags works correctly in all cases and players can no ... Sat, 25 May 2013 20:31:40 GMT dportnoy [e4c60ba] * common/WorldMap.cpp (modified) * common/WorldMap.h (modified) * server/server.cpp (modified) Players can turn in flags they have picked up to their own flag sites Sat, 25 May 2013 19:32:50 GMT dportnoy [df79cfd] * common/Player.cpp (modified) * server/server.cpp (modified) The server assigns a random team to each player when they login Sat, 25 May 2013 18:53:59 GMT dportnoy [b8cb03f] * server/server.cpp (modified) Changed some server-side debugging statements Sat, 25 May 2013 18:04:08 GMT dportnoy [e487381] * common/WorldMap.cpp (modified) * common/WorldMap.h (modified) * server/server.cpp (modified) The server removes objects from its map when they are picked up by ... Sat, 25 May 2013 01:45:54 GMT dportnoy [b07eeac] * common/Common.cpp (modified) * common/Common.h (modified) * common/Message.cpp (modified) * server/server.cpp (modified) Players pick up flags when they get close to the flag objects, not ... Fri, 24 May 2013 01:23:49 GMT dportnoy [23559e7] * common/Player.cpp (modified) * server/server.cpp (modified) Move player interaction with objects on the map from Player::move to ... Wed, 22 May 2013 22:34:42 GMT dportnoy [5f868c0] * common/Message.h (modified) * common/WorldMap.cpp (modified) * common/WorldMap.h (modified) * server/server.cpp (modified) Added partial server support for new messages for sending item info