#
# ChangeLog for server in network-game
#
# Generated by Trac 1.5.3
# Jan 23, 2025, 9:28:42 AM

Sat, 08 Feb 2014 04:57:39 GMT Dmitry Portnoy <dmp1488@…> [2e5aa0c]
	* .gitignore (modified)
	* graphics_library/makefile (added)
	* server/.gitignore (deleted)

	Global .gitignore has server files as well and the graphics library ...


Wed, 29 Jan 2014 02:06:36 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [9ee50ce]
	* server/server.cpp (modified)

	Server logs unknown messages


Fri, 24 Jan 2014 00:27:15 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [204edcf]
	* server/server.cpp (modified)

	Server uses setters and getters to access id and targetPlayer ...


Mon, 20 Jan 2014 17:08:29 GMT dportnoy <dmp1488@…> [949cf70]
	* server/makefile (modified)

	Server makefile uses -Wall to compile all files


Mon, 20 Jan 2014 16:59:34 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [2e63b64]
	* server/server.cpp (modified)

	gameMap removed from server


Sat, 28 Dec 2013 16:08:34 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [df74597]
	* server/server.cpp (modified)

	Server-side logic for handling a game victory is fixed


Wed, 25 Dec 2013 15:21:45 GMT dportnoy <dmp1488@…> [f3fb980]
	* server/server.cpp (modified)

	Removed global score variables from server


Tue, 24 Dec 2013 20:06:30 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [3b6f46b]
	* server/server.cpp (modified)

	Minor code changes


Mon, 23 Dec 2013 17:26:01 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [35f6097]
	* server/server.cpp (modified)

	Players are revived correctly in individual games


Sun, 22 Dec 2013 22:59:13 GMT dportnoy <dmp1488@…> [5ae8dca]
	* server/server.cpp (modified)

	Server moves projectiles in all individual games and damages players ...


Sun, 22 Dec 2013 22:14:43 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [483a2cb]
	* server/server.cpp (modified)

	Melee attacks and dying work in individual games


Sat, 21 Dec 2013 19:15:00 GMT dportnoy <dmp1488@…> [ffadc8e]
	* server/server.cpp (modified)

	Server handles movement for players who have attack targets in ...


Sat, 21 Dec 2013 16:06:44 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [70fc3e8]
	* server/server.cpp (modified)

	Flags are placed correctly when a new game is created


Wed, 18 Dec 2013 00:57:06 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [2d78e03]
	* server/server.cpp (modified)

	Minor server fix


Tue, 17 Dec 2013 23:35:52 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [1248984]
	* server/server.cpp (modified)

	Server deletes games with no players remaining


Tue, 17 Dec 2013 00:46:17 GMT dportnoy <dmp1488@…> [3d6f78f]
	* design/multipleGameDesign.txt (modified)
	* server/server.cpp (modified)

	Comments and design doc changes


Mon, 16 Dec 2013 02:49:26 GMT dportnoy <dmp1488@…> [1a47469]
	* design/message_spec.txt (modified)
	* server/server.cpp (modified)

	Logging out works correctly now


Fri, 04 Oct 2013 17:23:24 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [3ef8cf4]
	* server/server.cpp (modified)

	The server correctly handles LEAVE_GAME mesages


Fri, 27 Sep 2013 19:55:50 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [a6fe73d]
	* server/server.cpp (modified)

	Serer uses updated Game class constructor


Fri, 27 Sep 2013 16:49:13 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [f203c5c]
	* server/server.cpp (modified)

	Minor server code cleanup and debugging


Thu, 26 Sep 2013 22:07:24 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [b8f789d]
	* server/server.cpp (modified)

	The server broadcasts GAME_INFO messages in response to game creation ...


Tue, 24 Sep 2013 16:24:32 GMT dportnoy <dmp1488@…> [b72ed16]
	* common/WorldMap.cpp (modified)
	* server/DataAccess.cpp (modified)

	Included crypt header and reduced debug messages during map load


Sun, 22 Sep 2013 21:03:47 GMT dportnoy <dmp1488@…> [f419b09]
	* common/Game.cpp (added)
	* common/Game.h (added)
	* common/MessageContainer.h (modified)
	* server/makefile (modified)

	Added a Game class and new messages types for creating, joining, and ...


Thu, 01 Aug 2013 01:56:17 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [c4c2a3c]
	* server/server.cpp (modified)

	The player must select a class when registering


Fri, 26 Jul 2013 18:28:39 GMT dportnoy <dmp1488@…> [46d6469]
	* common/MessageContainer.cpp (added)
	* common/MessageContainer.h (added)
	* common/MessageProcessor.cpp (modified)
	* common/MessageProcessor.h (modified)
	* server/makefile (modified)

	Some bug fixes for MessageProcessor. MessageContainer is now in its ...


Tue, 23 Jul 2013 23:31:40 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [9a4fa04]
	* server/server.cpp (modified)

	Debugging


Mon, 15 Jul 2013 00:14:43 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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


Tue, 02 Jul 2013 22:24:22 GMT dportnoy <dmp1488@…> [787806f]
	* common/Message.cpp (modified)
	* common/Message.h (modified)
	* server/makefile (modified)

	Added an ACK message type and a skeleton MessageProcessor class


Sun, 23 Jun 2013 17:45:05 GMT dportnoy <dmp1488@…> [694c3d2]
	* server/server.cpp (modified)

	The server now does bounds checking on player movement based on the ...


Sun, 23 Jun 2013 14:12:33 GMT dportnoy <dmp1488@…> [7ca5d21]
	* server/DataAccess.cpp (modified)

	The server can handle loading a NULL class from the db


Sat, 22 Jun 2013 13:26:58 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [8a4ed74]
	* server/server.cpp (modified)

	Made some minor server changes to help handle player attacks


Sun, 26 May 2013 21:01:11 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [5299436]
	* common/Message.h (modified)
	* server/server.cpp (modified)

	Added a PICKUP_FLAG message type


Sat, 25 May 2013 21:37:47 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [b8cb03f]
	* server/server.cpp (modified)

	Changed some server-side debugging statements


Sat, 25 May 2013 18:04:08 GMT dportnoy <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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 <dmp1488@…> [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


Tue, 21 May 2013 22:00:54 GMT dportnoy <dmp1488@…> [6e66ffd]
	* client/Client/main.cpp (modified)
	* common/WorldMap.cpp (modified)
	* common/WorldMap.h (modified)
	* server/server.cpp (modified)

	Add functions to the WorldMap class to allow the server to notify ...


Sat, 18 May 2013 21:29:09 GMT dportnoy <dmp1488@…> [b26229c]
	* common/Player.cpp (modified)
	* common/WorldMap.cpp (modified)
	* server/server.cpp (modified)

	Some more map debugging


Sat, 18 May 2013 21:02:28 GMT dportnoy <dmp1488@…> [2864d8e]
	* common/Player.cpp (modified)
	* server/server.cpp (modified)

	Added some debugging info


Sat, 18 May 2013 20:50:33 GMT dportnoy <dmp1488@…> [e76055f]
	* common/Player.cpp (modified)
	* common/WorldMap.h (modified)
	* server/server.cpp (modified)

	The server now checks if a player got close enough to a flag to pick ...


Sat, 18 May 2013 20:30:53 GMT dportnoy <dmp1488@…> [d69eb32]
	* server/server.cpp (modified)

	Re-enabled sending PLAYER_MOVE messages when a player encounters an ...


Sat, 18 May 2013 20:14:14 GMT dportnoy <dmp1488@…> [430c80e]
	* server/server.cpp (modified)

	Fixed elapsed time calculation for server-side player movement