Commit Graph
286 Commits
Author SHA1 Message Date
lotodore dbdd135bc7 More work on report game function on server side. 2012-04-08 16:54:31 +00:00
lotodore c49abf215e Preparing server side code for reporting game names. 2012-04-08 14:36:14 +00:00
lotodore ac0041cb8f Preparing "reportGameName" network message. 2012-03-31 20:14:11 +00:00
lotodore 81ee27de70 New admin function to remove a complete game by any player name within that game (#115). 2012-02-13 20:28:55 +00:00
lotodore 6af6da5658 Remove tabs and newline characters from game name on server side. 2012-02-03 21:34:26 +00:00
floty 3b96fb2196 show logos in the log preview (#101) 2012-01-28 12:51:42 +00:00
lotodore e658a18913 Do not rejoin games with 0 cash. Workaround for #108. 2012-01-28 11:50:33 +00:00
floty 5769423595 last bugfixes for sqlite-log; activating sqlite-log for release version 0.9.1 2012-01-09 12:42:04 +00:00
lotodore 03a1a1dc55 Implement chat bot mute on server side (#1). 2012-01-08 13:02:29 +00:00
floty 3a659dd5d5 logging missing network actions in sqlite; run astyle. 2012-01-05 20:54:27 +00:00
lotodore a327ac02e5 Fixing login error when uploading an avatar. 2012-01-05 19:59:35 +00:00
lotodore df35ea550f Remove log object from server, server-side logging is deactivated. Pass NULL as log object to game. 2012-01-02 21:04:49 +00:00
lotodore c7a4e61d61 Fixing network game (ticket #90). 2012-01-02 10:42:35 +00:00
lotodore 0d71521559 Fixing ticket #81: Do not show a "you were kicked from the server" message if your username is already present in the lobby. Instead, kick the existing user from the lobby. 2011-12-27 17:26:03 +00:00
lotodore 1843015630 Fixing server exception when shutting down a socket which was already closed. 2011-12-17 10:29:56 +00:00
lotodore 0a8cd1cce4 Implementing automatic kick of players after a certain timeout within a game. 2011-12-16 22:39:24 +00:00
lotodore 1bf12328ee Remove players from game (without possibility to rejoin) if they did not act within a certain time. Feature is still broken, because the timer is canceled on disconnect. 2011-12-11 19:37:51 +00:00
lotodore 7bb9841f83 More timer cleanup. 2011-12-11 17:12:26 +00:00
lotodore aad9e271db Cleaning up the different timeouts and how players can be removed from the game. 2011-12-11 14:54:17 +00:00
lotodore edef79e9d1 Disable rejoin for players who have been kicked. 2011-11-13 14:28:54 +00:00
floty 385a641ede optimizing local sqlite-logging; implementing first steps network client sqlite-logging 2011-11-09 21:39:37 +00:00
lotodore 32d26e3644 Removing AFK-warning message. Preparing integration of a new auto-AFK mode. 2011-11-07 21:07:13 +00:00
floty 7f13da91e5 applying astyle 2011-10-26 22:29:47 +00:00
lotodore 0230edaec2 New start event type to mark a certain game start as "rejoin" (in order to show a special dialog). 2011-10-26 21:45:39 +00:00
floty 8ae7db3e96 - updating sqlite-log
- handID in bero is unnecessary; removing parameter value
2011-10-21 00:16:43 +00:00
lotodore d14d1b4787 Do not check server password on official server (to prevent misconfiguration on client side). Only user auth is performed. 2011-10-20 21:41:37 +00:00
lotodore ddf2ca784b Adding enhancement #76 (server password). The server password is checked during init, in addition to possible player auth. It can be set as option "ServerPassword" in config.xml, on client and server. 2011-10-20 21:19:58 +00:00
lotodore 75b84f9401 Fixing ticket #75: Game names are now trimmed, and it is verified that the first character is printable. 2011-10-12 08:37:22 +00:00
lotodore aee0adbffe More protocol changes for rejoin. Re-adding server password to protocol. 2011-10-03 08:03:58 +00:00
lotodore 2488ea43cd More work on rejoin. This is still broken because the player id is not yet updated on client side, and the server still does not activate the rejoining player. 2011-09-11 20:38:18 +00:00
lotodore 945a8f4588 More work on rejoin. Server still sends a denial message. 2011-09-11 17:41:56 +00:00
lotodore 32ba77709e More work on rejoin: The server now detects when a rejoin is possible and allows the player to login directly, without waiting for a possible existing connection to be terminated. A session GUID is stored in the cache directory on client side for this purpose. 2011-08-28 17:14:03 +00:00
lotodore 0ed12e0ac8 Switching license from GPL2 to AGPL3. 2011-07-02 14:38:06 +00:00
lotodore db9e7f1ac2 One more warning fixed. 2011-04-10 10:56:16 +00:00
lotodore 8bac902580 Fixing loads of msvc warnings (mainly size_t vs int issues). 2011-04-10 10:04:42 +00:00
lotodore 979f079a57 No longer use database game id, because it may not exist yet (related to issue #14) 2011-03-20 22:38:03 +00:00
lotodore 95305e7ba5 Each network session now has a weak ptr to its game, to prevent looking up the game id all the time. 2011-03-10 21:53:25 +00:00
lotodore 9b9a921867 Removing SessionWrapper to prepare rejoin. This also improves dispatching network packets. 2011-03-10 20:55:46 +00:00
lotodore 5857f07309 Remove reference to network session from player objects. 2011-03-10 19:26:04 +00:00
lotodore 629ec5929d Limiting total number of sessions to prevent hitting the file descriptor ulimit. 2011-03-07 20:54:55 +00:00
lotodore 14d951243b Fixing more implicit memory leaks to make it easier to look for the serious ones. 2011-02-28 23:47:33 +00:00
lotodore 5730cd321d Rewriting network receive functions. This is still work in progress to make it more efficient. 2011-02-19 23:47:24 +00:00
lotodore 8279868417 Further simplifying sending network data. This improves performance, because sending sessions no longer need to be looked up in a map. 2011-02-19 13:56:49 +00:00
lotodore e5b9b29564 Adding chat reject message if chat is tried to be sent in an invalid state. Otherwise testing won't work. 2011-02-17 23:57:58 +00:00
lotodore dafd78c578 Fixing player counter - only count sessions which are established (after login). Send number of players in announce message. (Bug found through test case.) 2011-02-13 17:24:40 +00:00
lotodore c4b8e567ed Implementing private messages in lobby chat, ticket #12. Some cosmetic improvements are still missing. 2011-02-11 23:02:29 +00:00
lotodore 02518c67b2 Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
2011-02-11 20:02:08 +00:00
lotodore c1b1ae2fe0 Updating Guid stuff. 2011-02-09 22:23:45 +00:00
lotodore 8ac6a3f7f5 Creating session id for rejoin (ticket #5). Next step is storing this session id on the client in a file. 2011-02-09 22:09:29 +00:00
lotodore bfacc2323d Fixing another ipv4 only issue. 2011-02-06 14:56:08 +00:00