Commit Graph

3 Commits

Author SHA1 Message Date
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
e09ba4fb93 Add capability to delete unused channels to source plugin 2013-03-23 17:16:44 +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