Commit Graph

5 Commits

Author SHA1 Message Date
Stefan Hacker
b3a7219cb8 Source plugin now remembers channel names of controlled channels
- validateChannelDB and channel state changes now maintain
  mappings database
- Name mappings are used during channel creation
2013-03-24 14:39:13 +01:00
Stefan Hacker
0782eace33 Introduce constraints and name mapping to source plugin database.
- Using default values now instead of NULL to signal empty field
  because NULL values are considered distinct in the context of
  UNIQUE table constraints in sqlite
- Introduced new table for mappings from sid, game, server and team
  to channel name i preparation for new functionality
- Updated and expanded unit test
2013-03-24 14:39:13 +01:00
Stefan Hacker
28195110c0 Expand unit test coverage for source plugin.
- Added testValidateChannelDB
- Fixed channel validation not considering deleted server
2013-03-23 17:16:45 +01:00
Stefan Hacker
23ce059c98 Basic functionality and test coverage for source plugin 2013-03-23 17:16:45 +01:00
Stefan Hacker
4b61aa2fec Add source module to mumo
The source module is inspired by the bf2 module and is supposed to allow on-the-fly context/identity based player management for source engine based games. Currently supported games are TF2, DOD:S, CStrike:Source and HL2DM.

This commit adds the basic structure with unit tests for many of the components. For now only dynamic channel creation and player movement is implemented.

Left todo are dynamic ACL/Group management, unused channel deletion, server channel re-use and, most importantly, actual testing beyond the small unit test coverage.
2013-03-23 17:16:44 +01:00